Ramakrishna
Top achievements
Rank 1
Ramakrishna
asked on 13 Jul 2010, 12:13 PM
Hi All,
I have some controls like textbox,button,combobox inside radwindow.
I want to read those controls value using javascript.
Please help me in solving this.
I have some controls like textbox,button,combobox inside radwindow.
I want to read those controls value using javascript.
Please help me in solving this.
4 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 13 Jul 2010, 12:52 PM
Hello Ramakrishnan,
If you want to access the controls from parent page, then you can try the approach - Call the function written in RadWindow page, from the parent page by getting reference to window component. You need to use the contentWindow property to reference the Content Window of the RadWindow component.
You can find more information in the following link:
Calling Functions in Windows
Thanks,
Princy.
If you want to access the controls from parent page, then you can try the approach - Call the function written in RadWindow page, from the parent page by getting reference to window component. You need to use the contentWindow property to reference the Content Window of the RadWindow component.
You can find more information in the following link:
Calling Functions in Windows
Thanks,
Princy.
0
Ramakrishna
Top achievements
Rank 1
answered on 13 Jul 2010, 01:00 PM
Hi Princy thanks for your quick reply.
But i have placed controls inside content template of the radwindow and i need to validate those controls using javascript function.
so for this purpose i'm trying to find those controls using $find(controlId) method ,but i couldn't succedd in doin so.
But i have placed controls inside content template of the radwindow and i need to validate those controls using javascript function.
so for this purpose i'm trying to find those controls using $find(controlId) method ,but i couldn't succedd in doin so.
0
Wired_Nerve
Top achievements
Rank 2
answered on 26 Apr 2013, 07:24 PM
Did you find a solution?
0
Hi,
Try to replace the $find(controlId) method with $get(contrlId) as shown in this live demo: Return Values from a Dialog.
If you are unable to achieve the desired result, open a support ticket and provide a simple runnable project, which shows the problem.
Best regards,
Rumen
the Telerik team
Try to replace the $find(controlId) method with $get(contrlId) as shown in this live demo: Return Values from a Dialog.
If you are unable to achieve the desired result, open a support ticket and provide a simple runnable project, which shows the problem.
Best regards,
Rumen
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.