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
295
Row ID
posted

Is there an ID property for row object?

 

The reason I ask: To use AJAX TK HoverMenuExtender to create hover menu outside the grid, need to use ID of row as TargetControlID. Microsoft's grid does have row ID.

 

If there is no equivalent row ID, is there a way to create hover menu outside UltraWebGrid? Thanks.

Parents
  • 19308
    posted

    Hi Chris,

    Each WebGrid row can be referenced with an ID in the DOM, but the row objects themselves don't have ID properties (on the server side).  The ID's are constructed as follows [GridID]_r_[row index].  So for example, the first row of "UltraWebGrid1" will have an id of UltraWebGrid1_r_0

    Hope this helps,

    -Tony

Reply Children