J
Jorge Ribeiro
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
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