Radgrid > edit template > user control > textbox... how?

2 posts, 0 answers
  1. Paul
    Paul avatar
    16 posts
    Member since:
    Feb 2016

    Posted 08 Jun Link to this post

    Suppose I have a radgrid that displays records from a database table. The radgrid has an edit template, for editing these records. Inside the edit template is a user control. The user control has a textbox.

    The question: How can I examine the contents of the textbox in the user control from the main page, client side? By main page, I mean the page that contains the radgrid. Is this even possible?

    I've not been able to figure it out so far.

  2. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 13 Jun Link to this post

    Hello Paul,

    You can use $telerik.findControl() if you are using RadTextBox or $telerik.findElement() if you are using asp:TextBox:
    http://www.telerik.com/forums/client-side-help-required#vBzJZGDiMkGnpEnfoy2ShA

    You can also check the RadGridEditComboClientHideModified.zip web site sample provided in the following post for a practical implementation:
    http://www.telerik.com/forums/find-control-in-insert-item-grid-client-side#2tgx6AugyU6c562P--mIIg

    I hope this will prove helpful.

    Regards,
    Eyup
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top