ecpmendoza Posted June 30, 2003 Posted June 30, 2003 Hi All, I'm 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? Quote
Moderators Robby Posted June 30, 2003 Moderators Posted June 30, 2003 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. Quote Visit...Bassic Software
sukesh Posted July 2, 2003 Posted July 2, 2003 Highlighting rows If you are trying just to highlight the row then check out repeater sample from the following link http://v4cnet.europe.webmatrixhosting.net/ and download the code from my site. Quote
zubie Posted July 2, 2003 Posted July 2, 2003 sukesh what control are you using for the list in your repeater sample Also where can I get the code for download?? cheers Zubie Quote
sukesh Posted July 2, 2003 Posted July 2, 2003 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.