I have UltraWebGrid which I create dynamically, using DataBind and a helper class.
In the InitializeRow event, I generate ImageButtons in one of the columns.
Clearly, since it's ImageButton
I need it to call a function.
But Some of the functions should be server side (since it supposed to call the business logic layer).
I know that if I have a code-behind OnClick function and I would like to add client-side command I could do something like that:
How can I call a code behind function which is not connected in any way to the imagebutton dynamically? (I currently use Attribute.Add, but if there's some other way to do that - I'd love to know)