Raising GridView's SelectedIndexChanged event in ASP .net 2.0

J

Jay

Hello,

I am populating the data from the DataView in my GridView. I want to
raise the SelectedIndexChanged Event or the RowCommand event when I click any
where on any of the rows in the GridView. All my columns are "BoundField"s
and the "DataField" property is set to a column in the DataView. I don't
want to add a "ButtonField" in my GridView.

Please let me know how I can achieve the above.

Thanks!!
jay
 
P

PeterKellner

Hello,

I am populating the data from the DataView in my GridView. I want to
raise the SelectedIndexChanged Event or the RowCommand event when I click any
where on any of the rows in the GridView. All my columns are "BoundField"s
and the "DataField" property is set to a column in the DataView. I don't
want to add a "ButtonField" in my GridView.

Please let me know how I can achieve the above.

Thanks!!
jay

The new book from WROX called "MVP Hacks" has a full example of this.
It's not simple.
Peter Kellner
http://peterkellner.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top