v2010.3.1215.35
I drop a RadAjaxManager on a form. Then I use Configure Ajax Manager to set updated controls. The result looks like this:
The expected resulting error is:
Warning Generation of designer file failed: Telerik.Web.UI.AjaxSettingsCollection must have items of type 'Telerik.Web.UI.AjaxSetting'. 'telerik.web.ui.ajaxsetting' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'.
If I manually enter the markup, IntelliSense properly guides the creation of the tags to create the following:
So what causes that?
I'm thinking this is just another variant on errors related to control references. With every release of RadControls and every new project I find myself frustrated with questions like the following:
Do I need a reference in web.config like this? :
Does that need to have the version ID?
Is it better to GAC for development or deployment?
Why is it that if I don't include a registration like the following in every user control I get errors on nested controls?
And how do I avoid issues if I'm working on a client project that's a year old but my current system has the latest RadControls in the toolbox?
These kinds of questions and related problems have apparently affected the developer experience for many people over the years.
I'm hoping Telerik can publish a comprehensive new doc that describes the known issues and resolutions related to assembly references, page control references, nested user controls, master pages with RadAjaxManagerProxy, etc.
Thanks for your time.
I drop a RadAjaxManager on a form. Then I use Configure Ajax Manager to set updated controls. The result looks like this:
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik.web.ui.ajaxsetting
ajaxcontrolid
=
"RadAjaxPanel1"
>
<
updatedcontrols
>
<
telerik.web.ui.ajaxupdatedcontrol
controlid
=
"RadAjaxPanel1"
>
</
telerik.web.ui.ajaxupdatedcontrol
>
</
updatedcontrols
>
</
telerik.web.ui.ajaxsetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
The expected resulting error is:
Warning Generation of designer file failed: Telerik.Web.UI.AjaxSettingsCollection must have items of type 'Telerik.Web.UI.AjaxSetting'. 'telerik.web.ui.ajaxsetting' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'.
If I manually enter the markup, IntelliSense properly guides the creation of the tags to create the following:
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadAjaxPanel1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadAjaxPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
So what causes that?
I'm thinking this is just another variant on errors related to control references. With every release of RadControls and every new project I find myself frustrated with questions like the following:
Do I need a reference in web.config like this? :
<
pages
>
<
controls
>
<
add
tagPrefix
=
"telerik"
namespace
=
"Telerik.Web.UI"
assembly
=
"Telerik.Web.UI"
/>
</
controls
>
</
pages
>
Is it better to GAC for development or deployment?
Why is it that if I don't include a registration like the following in every user control I get errors on nested controls?
<%@ Register TagPrefix="telerik"
Assembly="Telerik.Web.UI, Version=2010.3.1215.35"
Namespace="Telerik.Web.UI" %>
And how do I avoid issues if I'm working on a client project that's a year old but my current system has the latest RadControls in the toolbox?
These kinds of questions and related problems have apparently affected the developer experience for many people over the years.
I'm hoping Telerik can publish a comprehensive new doc that describes the known issues and resolutions related to assembly references, page control references, nested user controls, master pages with RadAjaxManagerProxy, etc.
Thanks for your time.