If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Newbie: Datagrid.SelectIndexChanged question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-06-04, 15:01
meBrian meBrian is offline
Registered User
 
Join Date: Apr 2002
Posts: 1
Newbie: Datagrid.SelectIndexChanged question

I have a grid with limited information displayed from a dataset. On the same page I have multiple textboxes which I would like to populate with details from the selected record in the datagrid. I would prefer to keep all this on one page rather than going to a "detail page". How do I reference the selected item and get the data to the textboxes?
Reply With Quote
  #2 (permalink)  
Old 10-06-04, 19:32
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Sounds like you want to right a bit of javascript so that on the select of a row it calls a populate command to fill the text boxes.

You could of course submit back but I don't think that is really what you are wanting to do and you could use frame and just refresh the frame with the text boxes but it really depends.

If you can post the rendered page (eg. the html etc generated from the asp.Net app) then we should be able to help.

Cheers,
Shaun
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On