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
    Eyup avatar
    4046 posts

    Posted 02 Aug 2016 Link to this post


    You will need a bit specific syntax to get the UserControl instance. Please check the approach provided in the following section:

    I hope this will prove helpful.

    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