Selecting Row in DataGrid

ecpmendoza

New member
Joined
Jun 30, 2003
Messages
4
Location
Philippines
Hi All,

Im using a datagrid object of ASP.NET application and I want to select/highlight a row without using the "Link/Select Button".. Is it possible?
 
Not without some link in the row.

One alernative would be to have the user enter a row number or an id number into a textbox and click a button then on the server you would pinpoint the row and do what you want with it.
 
sukesh

what control are you using for the list in your repeater sample
Also where can I get the code for download??

cheers
Zubie
 
It basically uses a simple table inside a repeater.
Highlighting, Selecting & Sorting is done using behaviors ( .htc file ).
In case you need to target non IE browsers you can get the javascript for these functions ( highlight etc... ) available on the net. Just try a search on google.


This is the article which explains the different samples in zip
http://www.v4cnet.com/articles/aspdotnet/aspdotnet_004.xml


This is the download. This zip file also contains other samples like checkbox, radio button, dynamic hyperlink etc inside grid...
http://www.v4cnet.com/downloads/gridtest.zip
 
Back
Top