Getting radwindow child controls id in javascript

5 posts, 0 answers
  1. Ramakrishna
    Ramakrishna avatar
    16 posts
    Member since:
    Aug 2008

    Posted 13 Jul 2010 Link to this post

    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.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 13 Jul 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ramakrishna
    Ramakrishna avatar
    16 posts
    Member since:
    Aug 2008

    Posted 13 Jul 2010 Link to this post

    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.

  5. Wired_Nerve
    Wired_Nerve avatar
    163 posts
    Member since:
    Oct 2007

    Posted 26 Apr 2013 Link to this post

    Did you find a solution?
  6. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 01 May 2013 Link to this post

    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
    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
UI for ASP.NET Ajax is Ready for VS 2017