Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
379
Attach Client Side Onclick event from code-behind in UltraWebGrid
posted

I am using UltraWebGrid in my project. The requirement is that I need to attach a function for onclick event to only those cells which have a value in it and this can be done only from code-behind. But I'm unable to find a solution for this. I tried finding "Attributes.Add" for a cell from code-behind to attach a function on "onclick" event of the cell but there's no "Attributes" property for a cell.

Please suggest how can I attach the "onclick" event to only the desired cell through code-behind in a WebGrid.

Regards
Anuj