1
Vote

mdbf and disabling viewstate

description

Hi,
 
I have a web app, (really web and mobile web) using traditional web form, NOT MobilePages. If I disable viewstate for a page (using page directive: EnableViewState=”false”) then I get a exception. Could i disable view-state or is it imposible?
 
Thx in advance,
 
System.Exception: No mobile controls device configuration was registered for the requesting device. User agent string is 'Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)'.
en System.Web.UI.MobileControls.ControlsConfig.GetDeviceConfig(HttpContext context)
en System.Web.UI.MobileControls.MobilePage.get_RequestingDeviceConfig()
en System.Web.UI.MobileControls.MobilePage.get_Adapter()
en System.Web.UI.MobileControls.MobilePage.OnUnload(EventArgs e)
en System.Web.UI.Control.UnloadRecursive(Boolean dispose)
en System.Web.UI.Page.UnloadRecursive(Boolean dispose)
en System.Web.UI.Page.ProcessRequestCleanup()
en System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
en System.Web.UI.Page.ProcessRequest()
en System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
en System.Web.UI.Page.ProcessRequest(HttpContext context)
en System.Web.Mobile.ErrorHandlerModule.Application_Error(Object source, EventArgs e)

comments