Hi,
I'm having problems getting the ASP.net datagrid to update a page on a row click, or datagrid selecteIndexChanged Event.
Can Anyone Give me any suggetions on which direction to head in?
Thanks
Hi,
I'm having problems getting the ASP.net datagrid to update a page on a row click, or datagrid selecteIndexChanged Event.
Can Anyone Give me any suggetions on which direction to head in?
Thanks
make sure that the auto postback property for the grid is set to true
Code King aka Code WizZzard: Motivated By The Challenge, Driven By The Will To Succeed.
In The Land Of Programmers, The Code WizZzard Is KING. Sen on anything VB
Are you sure this is a feature of an asp.net 2003 data grid
Sorry about that I was thinking about a dropdownlist.
Send a sample code to illustrate what you are trying to do.
Code King aka Code WizZzard: Motivated By The Challenge, Driven By The Will To Succeed.
In The Land Of Programmers, The Code WizZzard Is KING. Sen on anything VB
Yeah, the event handler code would probably give some idea of what is going on. Handling events fired from within a DataGrid (or any other webcontrol for that matter) can be tricky if you haven't done it before. It isn't as straight forward as dealing with events fired at the Page level.
make sure you have a link button with command name = select, or a command column that has select....
you see i once thought that just clicking that row would cause the selected index changed event like in windows forms... but no, you have to put in place what causes the selection... and may a times it is a button with CommandName : "Select".
Cultured in Aggression and Koding like a Warrior!!
“Common sense is instinct. Enough of it is genius.” - George Bernard Shaw.
"The significant problems we face cannot be solved by the same level of thinking that created them." - Albert Einstein