locked
The ControlAvailable and ControlUnavailable events are not available for controls in a collection. RRS feed

  • Question

  • Hi

    I have a datagrid and inside the grid I have a drop down and a textblock. Now on selection change of dropdown inside the grid I want to assign the value to the textblock.

    So I have written this code

    var test = this.FindControlInCollection("Price", this.MyTable.SelectedItem);

                test.ControlAvailable += new EventHandler<ControlAvailableEventArgs>(test_ControlAvailable);

    But I am getting the error which I have mentioned in the title of the thread. How can I achieve the requirement

    Friday, July 19, 2013 5:25 PM