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 2016 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
    3125 posts

    Posted 02 Aug 2016 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.
Back to Top