Search code examples
c#asp.netinappbrowser

The 'controlType' attribute must be specified on the 'adapter' tag


I want to store view state data in server side .

<browsers>
    <browser refID="Default">
        <controlAdapters>
            <adapter ControlType="System.Web.UI.Page" adapterType="ServerSideViewStateAdapter" />
        </controlAdapters>
    </browser>

while compiling solution im getting below error

The 'controlType' attribute must be specified on the 'adapter' tag.

I'm unable to use System.Web.UI.Page namespace in visual studio 2008


Solution

  • It is a typo I guess. Change the attribute name from ControlType to controlType. It should be small c.