First, configure in the web. config file:
1) Add the following in <system. web>:
<AnonymousIdentification enabled = "true"/> // enable Anonymous
<Profile enabled = "true">
<Properties>
<Add name = "a" allowAnonymous = "true" type = "String"/>
</Properties>
</Profile>
2) in <configuration>, lower-layer configuration
<System. web. extensions>
<Scripting>
<WebServices>
<ProfileService enabled = "true"
ReadAccessProperties = ""
WriteAccessProperties = "a"/>
</WebServices>
</Scripting>
</System. web. extensions>
"A" is the personalized attribute set by the ProfileProperty attribute of DragOverlayExtender. multiple attributes can be separated by commas.
Then, merge the corresponding controls in the. aspx file:
<PC3: DragOverlayExtender ID = "DragOverlayExtender1" runat = "server" Enabled = "true" TargetControlID = "Calendar1" ProfileProperty = "a" ProfileServiceID = "ProfileService1"/>
<PC3: ProfileService ID = "ProfileService1" runat = "server" AutoSave = "true">
</PC3: ProfileService>
Done.
These two controls are included in the Microsoft. Web. Preview. dll assembly and belong to the ajax ctp version.