I have a WHDG on my page and I am trying to resolve which cell the user clicks on.
I enabled activation on my grid, and set a clientside event where i can see what is clicked from javascript. I also added a eventhandler for Activation.ActiveCellChanged to handle the event server side, but it never gets called.
How can I have a event fired server side with the new selected cell?
Hello Joe,
The grid needs its datasource on every postback in order to function properly. If you don’t want to request it from the database every time you can implement some caching of the data or you can keep it in the session.
Let me know if you have further questions with this issue.
Regards,
Lyuba
Developer Support Engineer
Infragistics
www.infragistics.com/support
Hi
As mentioned above, the PostBack will not function properly if data bind is not done for grid. In my case neither the PostBack is happening for ActiveCellChange nor the event is fired. Any perticular reason why is that happening?
N.B. : The Activation Enabled is set to True and AutoPostBackFlag is set to True for ActiveCellChange.
Regards
Mithilesh
An update on my previous post. The ActiveCellChange PostBack worked when I set the EnableDataViewState to true. I have a new issue now. I am getting the post back if I click on one of the column but not all. The row gets selected when I click on any of the Cell, but the ActiveCellChange post back is not working for all cells.
I've set the RowSelectType="Single" , CellClickAction="Row" and CellSelectType as "Single"
Please help me on this.