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

RadAjaxManager & MultiPageView not working

4 Answers 103 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Prashanthi
Top achievements
Rank 1
Prashanthi asked on 06 Jan 2012, 07:27 PM
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.

 

4 Answers, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 06 Jan 2012, 11:37 PM
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!
0
Prashanthi
Top achievements
Rank 1
answered on 09 Jan 2012, 04:58 PM
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.

0
Prashanthi
Top achievements
Rank 1
answered on 24 Feb 2012, 10:07 PM
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>
0
Maria Ilieva
Telerik team
answered on 29 Feb 2012, 12:10 PM
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.
Tags
Ajax
Asked by
Prashanthi
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Prashanthi
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or