Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Focus on a datagrid line

Reply
Thread Tools

Focus on a datagrid line

 
 
Skeptical
Guest
Posts: n/a
 
      09-21-2004
Hello,

I have a datagrid that returns over 5000 rows, when a user selects a row the
datagrid posts back and comes back to the very first line. If the user
selectes lets say line 1000 he/she needs to scroll back all the way to that
line.

Is there a way to stop that from happening? That is postback will not
refresh the datagrid or postback will focus on the selected line?

Thanks


 
Reply With Quote
 
 
 
 
Greg Burns
Guest
Posts: n/a
 
      09-21-2004
Check out SmartNavigation (note: it is IE specific)

A 5000 row datagrid doesn't sound very user friendly to begin with... :^)

HTH,
Greg

"Skeptical" <> wrote in message
news:...
> Hello,
>
> I have a datagrid that returns over 5000 rows, when a user selects a row
> the datagrid posts back and comes back to the very first line. If the user
> selectes lets say line 1000 he/she needs to scroll back all the way to
> that line.
>
> Is there a way to stop that from happening? That is postback will not
> refresh the datagrid or postback will focus on the selected line?
>
> Thanks
>
>



 
Reply With Quote
 
 
 
 
Skeptical
Guest
Posts: n/a
 
      09-21-2004
Thanks a lot that is exactly what I have been looking for. It works in a
standard row selecting case but somehow fails when I open
another frame. It gives me an "Invalid Pointer" error. Not sure why but
apparently it does not want to play along with a javascripted button in the
datagrid.

Thanks,

PS: Actually there are only 1000 rows at the time...


"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:%23%...
> Check out SmartNavigation (note: it is IE specific)
>
> A 5000 row datagrid doesn't sound very user friendly to begin with... :^)
>
> HTH,
> Greg
>
> "Skeptical" <> wrote in message
> news:...
>> Hello,
>>
>> I have a datagrid that returns over 5000 rows, when a user selects a row
>> the datagrid posts back and comes back to the very first line. If the
>> user selectes lets say line 1000 he/she needs to scroll back all the way
>> to that line.
>>
>> Is there a way to stop that from happening? That is postback will not
>> refresh the datagrid or postback will focus on the selected line?
>>
>> Thanks
>>
>>

>
>



 
Reply With Quote
 
Skeptical
Guest
Posts: n/a
 
      09-21-2004
Well It looks like this is a known problem with SmartNavigation.

http://weblogs.asp.net/ksamaschke/ar...4/27/6085.aspx

http://www.eggheadcafe.com/ng/micros.../post92530.asp




"Skeptical" <> wrote in message
news:u$...
> Thanks a lot that is exactly what I have been looking for. It works in a
> standard row selecting case but somehow fails when I open
> another frame. It gives me an "Invalid Pointer" error. Not sure why but
> apparently it does not want to play along with a javascripted button in
> the datagrid.
>
> Thanks,
>
> PS: Actually there are only 1000 rows at the time...
>
>
> "Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
> news:%23%...
>> Check out SmartNavigation (note: it is IE specific)
>>
>> A 5000 row datagrid doesn't sound very user friendly to begin with... :^)
>>
>> HTH,
>> Greg
>>
>> "Skeptical" <> wrote in message
>> news:...
>>> Hello,
>>>
>>> I have a datagrid that returns over 5000 rows, when a user selects a row
>>> the datagrid posts back and comes back to the very first line. If the
>>> user selectes lets say line 1000 he/she needs to scroll back all the way
>>> to that line.
>>>
>>> Is there a way to stop that from happening? That is postback will not
>>> refresh the datagrid or postback will focus on the selected line?
>>>
>>> Thanks
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Jim Fisher
Guest
Posts: n/a
 
      10-22-2004
"Skeptical" wrote concerning SmartNavigation:

> > Thanks a lot that is exactly what I have been looking for. It works in a
> > standard row selecting case but somehow fails when I open
> > another frame. It gives me an "Invalid Pointer" error. Not sure why but
> > apparently it does not want to play along with a javascripted button in
> > the datagrid.



And again in:

> Well It looks like this is a known problem with SmartNavigation.
>
> http://weblogs.asp.net/ksamaschke/ar...4/27/6085.aspx
>
>

http://www.eggheadcafe.com/ng/micros.../post92530.asp

It *is* a problem with SmartNavigation, but not too big of a problem to get
around:

http://www.CodingMonk.com/?_msg=177

-Jim


 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Read a file line by line and write each line to a file based on the5th byte scad C++ 23 05-17-2009 06:11 PM
this.window.focus() vs. window.focus() vs. this.focus() Roger Javascript 3 03-08-2007 08:53 PM
How to read a text file line by line and remove some line kaushikshome C++ 4 09-10-2006 10:12 PM
Beginner: read $array with line breaks line by line Marek Stepanek Perl Misc 12 09-02-2006 10:27 AM
Read a file line by line with a maximum number of characters per line Hugo Java 10 10-18-2004 11:42 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57