Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > RadControls in DotNetNuke > accessing Radgrid form template controls using javascript

Not answered accessing Radgrid form template controls using javascript

Feed from this thread
  • Hrishikesh avatar

    Posted on Feb 1, 2012 (permalink)

    Hi,
    i have radgrid and i want to access controls of radgrid which are in
    <EditFormSettings EditFormType="Template">
    <FormTemplate>
    </FormTemplate>
    </EditFormSettings>
    I want to access these controls using javascript.
    please give me solution .

    thanx in advance.

    Reply

  • Tsvetina Tsvetina admin's avatar

    Posted on Feb 6, 2012 (permalink)

    Hello Hrishikesh,

    You could use the client API of RadGrid to access the edit item elements in client script as shown in this help article:
    http://www.telerik.com/help/aspnet-ajax/grid-griddataitem-get-editformitem.html

    Then, using the found object, you can find the needed controls' DOM elements through jQuery, access their IDs and pass them to the $find method, e.g.:
    var id = $telerik.$(editFormItem).find(".RadComboBox")[0].id;
    var combo = $find(id);

    I hope this helps.

    Greetings,
    Tsvetina
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > RadControls in DotNetNuke > accessing Radgrid form template controls using javascript