Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

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, 16: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, 20:32
rokslide rokslide is offline
Coffee Minion
 
Join Date: Nov 2003
Location: Sydney
Posts: 1,515
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

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