RadAjaxManager & MultiPageView not working

5 posts, 0 answers
  1. Prashanthi
    Prashanthi avatar
    7 posts
    Member since:
    Jan 2012

    Posted 06 Jan 2012 Link to this post

    I get the following Javascript error:
    Error: Unable to set value of the property 'control': object is null or undefined
    When I add a MultiPageView control to the <UpdatedControls> list in RadAjaxManager.

    <telerik:AjaxSetting AjaxControlID="RadGridUser" >
    <UpdatedControls>  

    <telerik:AjaxUpdatedControl ControlID="RadMultiPage1"/>

    </UpdatedControls>

    </telerik:AjaxSetting>


    On ItemSelected event of RadGridUser, I want to be able to refresh (content and selected page index) of the RadMultiPage control.

     
  2. Richard
    Richard avatar
    479 posts
    Member since:
    Nov 2011

    Posted 06 Jan 2012 Link to this post

    Prashanthi:

    Take a look at the Microsoft JScript runtime error: Unable to set value of the property 'control': object is null or undefined  forum thread for some potential causes of the error (i.e. controls not fully loaded prior to attempting to access them).

    Hope this helps!
  3. Prashanthi
    Prashanthi avatar
    7 posts
    Member since:
    Jan 2012

    Posted 09 Jan 2012 Link to this post

    I could not find a solution to this in the other thread.
    How can I delay the javascript execution so that it executed after all the controls are loaded?

    Thanks.

  4. Prashanthi
    Prashanthi avatar
    7 posts
    Member since:
    Jan 2012

    Posted 24 Feb 2012 Link to this post

    I have not been able to find a solution to this yet.
    Getting an error when I add RadMultiPage1 to the <UpdatedControls> collection here:
    (Unable to set value of the property 'control': object is null or undefined)
    <telerik:AjaxSetting AjaxControlID="RadGrid1">
                   <UpdatedControls>
                       <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                       <telerik:AjaxUpdatedControl ControlID="RadMenu1" />
                       <telerik:AjaxUpdatedControl ControlID="RadGridPermission" />
                       <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                       <telerik:AjaxUpdatedControl ControlID="UserName" />
                       <telerik:AjaxUpdatedControl ControlID="FirstName" />
                       <telerik:AjaxUpdatedControl ControlID="LastName" />
                   </UpdatedControls>
               </telerik:AjaxSetting>
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 29 Feb 2012 Link to this post

    Hi,

    Please note that there are some specifics in adding the RadMultiPage and RadTabStrip controls into the RadAjaxManager settings. Please follow the approach provided in this help topic and verify if this makes any difference.

    Regards,
    Maria Ilieva
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top