|
-
Nov 24th, 2003, 12:58 PM
#1
Thread Starter
Lively Member
Focus on individual control within editable data grid
Hi,
I'm using an editable datagrid in my asp.net application. This is an absolutely fantastic feature if not for one problem, which I'm sure someone can help me with. When I click the edit button on the right hand side of the grid it replaces the table cells with the relevant controls (ie textboxes), problem is, it looses the focus, so if I've got about 500 records on the screen (the user has specifically requested no paging), the page reloads at with the top of the screen in focus, but you have to scroll down to get the controls. Can anyone give me an idea of how I would go about setting it so that the page will scroll down to the editable record when it reloads?
Cheers,
AuldNick
-
Nov 24th, 2003, 01:27 PM
#2
PowerPoster
There is a script that you can use. I seen it in one of my asp.net books. I think it was Programming Microsoft ASP.Net by Dino someone.
I am at work, and don't have the time right now to dig it all out and help you, but maybe sometime today I will free up enough to do that.
-
Nov 25th, 2003, 04:02 AM
#3
Thread Starter
Lively Member
Thanks for that, I wouldn't spend your own time trying to help on this one, I only really use this in case someone knows the answer off the top of their heads. I can try and dig out the script from somewhere myself, that's what I'm paid to do after all, but thanks very much.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|