This is a migrated thread and some comments may be shown as answers.

[Solved] Rad Ajax Manger Issue after Update

1 Answer 109 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ken Gunderman
Top achievements
Rank 1
Ken Gunderman asked on 03 Feb 2010, 03:19 PM

 

Recentally I updated my Rad controls to this version: RadControls for ASP.NET AJAX Q3 2009 NET3.5


I drag and drop a RadAjaxManager on to the page and use the "Configure Ajax manager" API to set up the control and this is what is automaticaly generate in the source view:

 

 

<telerik:RadAjaxManager ID="ramCreateMessage" runat="server">

    <AjaxSettings>

        <telerik.web.ui.ajaxsetting ajaxcontrolid="chkPriorityMessage"><updatedcontrols>

<telerik.web.ui.ajaxupdatedcontrol controlid="chkReadReceipt"></telerik.web.ui.ajaxupdatedcontrol>

</updatedcontrols>

</telerik.web.ui.ajaxsetting>

        <telerik.web.ui.ajaxsetting ajaxcontrolid="btnSendMessage"><updatedcontrols>

<telerik.web.ui.ajaxupdatedcontrol controlid="lblRecipientError"></telerik.web.ui.ajaxupdatedcontrol>

</updatedcontrols>

</telerik.web.ui.ajaxsetting>

    </AjaxSettings>

</telerik:RadAjaxManager>

The telerik.web.ui.ajaxsetting Tag is causing this  error

 

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: 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'.

Source Error:

Line 111:<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
Line 112:    <AjaxSettings>
Line 113:        <telerik.web.ui.ajaxsetting ajaxcontrolid="chkPriorityMessage"><updatedcontrols>
Line 114:<telerik.web.ui.ajaxupdatedcontrol controlid="chkReadReceipt"></telerik.web.ui.ajaxupdatedcontrol>
Line 115:</updatedcontrols>

 

I can edit the client side code and correct the issue by doing this

 

<telerik:RadAjaxManager ID="ramCreateMessage" runat="server">

    <AjaxSettings>

        <telerik:AjaxSetting AjaxControlID="chkPriorityMessage">

            <UpdatedControls>

                <telerik:AjaxUpdatedControl ControlID="chkReadReceipt" />

            </UpdatedControls>

        </telerik:AjaxSetting>

        <telerik:AjaxSetting AjaxControlID="btnSendMessage">

         <UpdatedControls>

          <telerik:AjaxUpdatedControl ControlID="lblRecipientError" />

         </UpdatedControls>

        </telerik:AjaxSetting>

    </AjaxSettings>

</telerik:RadAjaxManager>

This is how the Configure Ajax manager API should be generating the code, I would like to use the Configure Ajax manager API And NOT have to always modify my code from the source. How do I fix this????? This Just happened after I updated my controls, PLEASE HELP.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Ken Gunderman
Top achievements
Rank 1
answered on 03 Feb 2010, 09:47 PM
Problem was not resolved PLEASE HELP
Tags
Ajax
Asked by
Ken Gunderman
Top achievements
Rank 1
Answers by
Ken Gunderman
Top achievements
Rank 1
Share this question
or