Problem is paging in datagrid

GKG

Member
Joined
Aug 11, 2005
Messages
18
Programming Experience
1-3
Hai everybody,
I am facing a problem in my web application.

ASP.NET with code behind VB.NET
=========================

In a web form, i am populating data in a Data grid. I have a Button Column of commandname "select" and command Type "link". In run time, If i click this button it has to open a new page to show some details.
But If I navigate to next page using page index of the grid, the control is going to "Datagrid1_itemcommand" event and executing the script written there, then it is coming to "Datagrid_Pageindexchanged" event. How to make the program control to skip executing "Datagrid1_itemcommand" while navigating thru pages of grid. Help me in solving this.

with thanks in advance..
 
Back
Top