Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Yes its the datagrid again!

Reply
Thread Tools

Yes its the datagrid again!

 
 
stuart
Guest
Posts: n/a
 
      06-03-2004
Hi All

Why is it that when I allow paging on my datagrid and have the control flipping through the pages ok, it fires the datagrids CommandDelete or CommandEdit event handler. It seems to do this when turning back a page from 3 to 2

Cheers
 
Reply With Quote
 
 
 
 
stuart
Guest
Posts: n/a
 
      06-03-2004
I should mention that there are 3 pages of 20 each, 3-1 fires edit event, 3-2 fires delete

help....
 
Reply With Quote
 
 
 
 
stuart
Guest
Posts: n/a
 
      06-03-2004
Ok, I've sorted it but I don't know why its happening

When I move the position of the pager buttons to "top" then it stops happening. It can't be coinsdance that I'm using 2 button columns (1 is edit, 2 is delete) and when I'm moving back to page 1, edit fires and when I move back to page 2, delete fires

Anyone know why this may be happening cause it's anoying that I'll have to keep putting the pager to the top for this sort of functionallity to work

cheers me deers
 
Reply With Quote
 
Robert Koritnik
Guest
Posts: n/a
 
      06-03-2004
Best way is to check the client source and see what gets executed with
javascript calls. This would probably be the key to solution of your
problem.

--
RobertK
{ Clever? No just smart. }

"stuart" <> wrote in message
news:AFE31DD6-D704-4E3B-AEA9-...
> Ok, I've sorted it but I don't know why its happening.
>
> When I move the position of the pager buttons to "top" then it stops

happening. It can't be coinsdance that I'm using 2 button columns (1 is
edit, 2 is delete) and when I'm moving back to page 1, edit fires and when I
move back to page 2, delete fires.
>
> Anyone know why this may be happening cause it's anoying that I'll have to

keep putting the pager to the top for this sort of functionallity to work?
>
> cheers me deers



 
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
Re: Yes means yes Bucky Breeder Computer Support 0 05-19-2009 01:37 PM
yes minister and yes prime minister wanted music_mania DVD Video 11 12-11-2006 07:32 PM
[IE: Yes Opera:Yes Mozilla:No] : Error on Postback and Validation teo ASP .Net 3 11-11-2006 04:53 AM
Kernel.y and yes,yes,yes not least surprise Jamie Herre Ruby 1 01-07-2005 07:33 PM
yes yes Kevin Walsh Computer Support 1 08-30-2004 12:55 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