Last post May 06, 2009 02:52 AM by TonyCheung1888
Apr 30, 2009 09:18 AM|TonyCheung1888|LINK
I have a girdview with selection enabled. BEsides, when the 'select' button is pressed, the row style will change.
My problem is, when the user selected a row, then (for whatever reason) the gridview is refreshed (with a databind command), the selected row is still shown to be 'selected' (i.e. with the selectedRowStyle still applied) after the databind.
How can I make the selected row to become an ordinary/ non-selected row after databinding?
Apr 30, 2009 09:53 AM|kavita_khandhadia|LINK
well for that u have to write a Client side function ..and stop the grid from doing post back.. u shud call the following funtion when u select a row. if u dont know how.. plz paste ur code here,
May 05, 2009 05:04 AM|Samu Zhang - MSFT|LINK
May 06, 2009 02:52 AM|TonyCheung1888|LINK
Thank you Samu... this is clean code!