URGENT Datagrid bug!!?!?

Discussion in 'ASP .Net Web Controls' started by Jorge Ribeiro, Apr 5, 2006.

  1. hello

    i've an ASP.NET Application that in several pages uses datagrids to hold data.

    In one particular datagrid I did configure it to allow sorting in all
    columns and paging using index numbered paging

    In my first column of that datagrid I've a command bound column that in
    command name has "sel_cod" and it's supposed to perform some kind of task in
    code behind, trapping the itemCommand event and comparing the command name in
    the arguments passed.

    my problem, and a particulary strange one, is that in some cases when i
    clicked a page index to change datagrid pages it raises the itemCommand event
    with "sel_cod" in the commandName property of the event... is this a bug?!?!
    it must be because it does not make any sense..
    because of that i've the most bizarre behavior with that datagrid... when i
    click to change page it jumps to another as suppose to be in the case of
    sel_cod command...

    i hope i could made my self clear

    i need the datagrid not to mix page events and the other commands in the
    same itemCommand event...
    the first time i change page that itemCommand has Page in commandName but
    when back to first page it then, go figure, has "sel_cod",the name of my
    other select command


    i need urgent help on this one

    best regards

    Jorge Ribeiro
    Jorge Ribeiro, Apr 5, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sanjetha
    Replies:
    1
    Views:
    379
    Andrew Thompson
    Jan 5, 2004
  2. Sachin Jagtap

    URGENT !! QUEUE STL PROBLEM URGENT!!

    Sachin Jagtap, Apr 28, 2005, in forum: C++
    Replies:
    4
    Views:
    1,031
    Mark Stijnman
    Apr 29, 2005
  3. Steve B.
    Replies:
    0
    Views:
    510
    Steve B.
    Feb 28, 2007
  4. Rob
    Replies:
    3
    Views:
    427
  5. Replies:
    1
    Views:
    253
Loading...

Share This Page