Based on comboBox selected value disable grid controls

2 posts, 0 answers
  1. SP
    SP avatar
    1 posts
    Member since:
    Jan 2013

    Posted 12 Jan 2013 Link to this post

    hi,

    hope doing well, i want to disable grid controls when radgrid is in editable mode based on combobox selection, combobox control is not in the radgrid i have tried javascript to do that but  no luck i was unable to find controls in the radgrid, can any one tell me server side and client side both.

    Thanks
    Regards
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 14 Jan 2013 Link to this post

    Hi,

    Try the following javascript to achieve your scenario.
    JS:
    function OnClientSelectedIndexChanged(sender, args) {
      var editForm = $find("RadGrid2").get_masterTableView().get_editItems();
             var txt=editForm[0].findElement("TextBox1");
    }

    Thanks,
    Shinu
Back to Top