Programmatically deselect a row in webgrid

1 reply. Last post: January 13, 2011 10:57 AM by Beryl Bucher
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Beryl BucherMember

Hi!  I have a webgrid that is dependent on a datasource with parameters set on certain textboxes on the window.  When those fields change I have a post-back that sets other hidden fields and then refreshes the SQL datasource, and I do a databind() on the grid.

This works fine when the grid does not have a selected row.  However, when the user has clicked on a row, I get an error message "'_HTMLOBJ' is null or not an object" on the line "v04254._HtmlObj.disabled = !v57079".

I'm thinking that the simplest way around this is to simply programmatically deselect the row before databinding but I can't seem to figure out how to accomplish that. (I tried disabling & then re-enabling the grid but that didn't help)

Any help would be appreciated!

All times are GMT -5. The time now is 3:55 AM.
Previous Next