Thank you so much . Previous article was helpful...
Could you please help me in the below query mentioned.
In my page I have two grids. One master and one child. The child grid is being generated at run time and attached to the master grid.
I want to fire the CellFormatting and FilterChanged event of the child grid at run time.
My requirement is when any filtering condition is set for the child grid then that column of the child grid should be changed to blue color. So I want to fire the Filter change event of the child grid.
Though I have subscribed that event for the child grid , when I set any filtering condition on child grid , events are not getting fired.
For setting event for child grid I have done this at page_load event.
private void CreateChildEvents()
for (int i = 0; i < this.rgvBorrowSum.MasterGridViewTemplate.ChildGridViewTemplates.Count; i++)
this.rgvBorrowSum.MasterGridViewTemplate.ChildGridViewTemplates[i].FilterChanged += new FilterChangedEventHandler(ContractBrowser_FilterChanged);
Could you please help me out on this.