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

Find Controls in CustomDialog

2 Answers 42 Views
Editor
This is a migrated thread and some comments may be shown as answers.
pluc
Top achievements
Rank 1
pluc asked on 22 Mar 2010, 03:07 PM
Hello,
I'm migrating from Telerik Version 1Q 2007 to 1Q 2010.

I have following scenario:

Page[ RadEditor[ Custom Dialog ]  ]

CustomDialog[ RadStrip[] MultiPage[PageView[ RadEditor ], PageView[TextBox], PageView[RadTreeView], ... ] ]

And I have to get an object referenced to the Controls inside the Pageviews (clientside).
But I even can't find the RadTabstrip nor the pageView with:

 

function initDialog() {  

var clientParameters = getRadWindow().ClientParameters;

var tabStrip = $find("<%= RadTabStrip1.ClientID %>");

var pageView = $find("<%= RadMultiPage1.ClientID %>");

 

 

 

 

at least the ClientParameters are ok. Can someone help?
Thanks.

 

2 Answers, 1 is accepted

Sort by
0
pluc
Top achievements
Rank 1
answered on 23 Mar 2010, 12:53 PM
Is this maybe caused by the order of the scripts?
It doesn't find the controls because it is executed during initiation (load / onload)?
Help please.
0
Rumen
Telerik team
answered on 25 Mar 2010, 10:43 AM
Hi,

You can see how to get reference to Telerik AJAX controls on the client in this KB article: How-to create a javascript array of all particular RadControls on the page.

All the best,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
pluc
Top achievements
Rank 1
Answers by
pluc
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or