Monday, March 26, 2012

cc1 and cc2 prefix for controls

All --

Please help.

After upgrading from AjaxBeta2 to AjaxRC1, I now get some strange prefixes for the controls when I drag them from the Toolbox to an ASPX page, as follows...

<cc1:autocompleteextender id="AutoCompleteExtender1" runat="server" />
<cc1:dragoverlayextender id="DragOverlayExtender1" runat="server" />
<cc1:profileservice id="ProfileService1" runat="server"></cc1:profileservice>
<cc2:script id="Script1" runat="server" />
<cc1:timercontrol id="TimerControl1" runat="server"></cc1:timercontrol>
<asp:scriptmanager id="ScriptManager1" runat="server"></asp:scriptmanager>
<asp:scriptmanagerproxy id="ScriptManagerProxy1" runat="server"></asp:scriptmanagerproxy>
<asp:timer id="Timer1" runat="server"></asp:timer>
<asp:updatepanel id="UpdatePanel1" runat="server"></asp:updatepanel>
<asp:updateprogress id="UpdateProgress1" runat="server"></asp:updateprogress>

...so my question is...

Why do some controls use the expected "asp:" prefix and other use the odd "cc1:" or "cc2:" prefix?

How can this be fixed so that all controls use the same prefix, "asp:"?

Please advise.

Thank you.

-- Mark Kamoski

hello.
well, normally that is something that is defined by the programmer that builds the control through the use of the?taprefixattribute.?what's?happening?is?that?probably?the?controls?of?the?toolkit?didn't?define?that?prefix?and??now?you?get?a?default?prefix?when?you?drag?the?control?to?the?designer.

No comments:

Post a Comment