Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Paging and button"-Conflict in datagrid

Status
Not open for further replies.

ganjafarmerIT

Programmer
Jun 29, 2004
30
NL
Hi all,

I have a datagrid with a butto in it and Ive enabled paging.
The button worx well when I hit it there is a sub(Subx) that fires.
But when I click the second page Subx fires to.
I don't know why this is happening, or if Ihave missed something.

I anyone has seen this before or knows what I did wrong don't be shy.

Any help is appriciated, thnx in advance

 
Can you post your code for the button? Did you check for the CommandName of the Button in the Code?

Hope everyone is having a great day!

Thanks - Jennifer
 
Thnx for your reply Jen

I already solved it by changing the properties of the button.
the button was first triggered by OnItemCommand and that gived a conflict, but by changing the buttoncolumn de sub is being triggered on OnEditCommand. I don't know if this is right, but it worx.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top