Respond to events from within a radgrid edit form

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

    Posted 22 Jun 2016 Link to this post

    Ok, I've been banging my head against my computer trying to get this to work for a couple days, and been searching these forums for anybody having the same problem, but so far no luck.  Here's the situation. Seems simple enough:

    1. I have a Radgrid.

    2. The radgrid has an editform

    3. The editform has many controls, dropdown lists, textboxes etc.

    4. Controls INSIDE THE EDIT FORM have to change in response to user activity INSIDE THE EDIT FORM. For example, dropdownlist2 has to be loaded with different options in response to the user's selecting options in dropdownlist1. These two dropdown lists are ON THE EDIT FORM, they are NOT columns in the radgrid.

    The problem seems to be that I cannot respond to events, such as "ItemChanged" or "TextChanged" or any other event of a control that is INSIDE AN EDITFORM.

    I'm making all the upper case letters because every no matter how I word my Google search on this problem, I get answered related to how to respond to events of controls that are in COLUMNS of the RADGRID, which is NOT my problem. The Radgrid's ItemCommand event does not fire when a control is clicked on that is INSIDE THE EDITFORM.

    Any help would be most appreciated. Thanks!

    - Paul


  2. Viktor Tachev
    Viktor Tachev avatar
    2500 posts

    Posted 24 Jun 2016 Link to this post

    Hello Paul,

    In order to implement the feature you can approach similar to the one illustrated in the following example:

    For reference I am attaching a sample project where the feature is outlined. Give the sample a try and let me know how it works for you.

    Viktor Tachev
    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