How to access UserControl element on ItemCommand event

2 posts, 0 answers
  1. Flyznex
    Flyznex avatar
    3 posts
    Member since:
    May 2016

    Posted 28 Jul Link to this post

    I want to access UserControl element ex: textbox, checkbox, combobox...etc on ItemCommand event. I found some topic say can't do it. But, I hope someone can solve this. Thank all!

    P/s: I have 4 button with custom command in usercontrol edit form. ItemCommand can do command, but can't access UserControl to retrieve value from control in it.

  2. Eyup
    Admin
    Eyup avatar
    3010 posts

    Posted 02 Aug Link to this post

    Hi,

    You will need a bit specific syntax to get the UserControl instance. Please check the approach provided in the following section:
    http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/rows/accessing-cells-and-rows#accessing-controls-in-editinsert-mode

    I hope this will prove helpful.

    Regards,
    Eyup
    Telerik by Progress
    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