Gridview RowCommand Event needs twice clicks to run?

Joined
Jul 13, 2006
Messages
2
Reaction score
0
>Hello;
>I'am using template field (imagebutton,button) and buttonfield ,my problem is when i click one of the buttons page refresh but button didnt do it's job,when i click the button second time ,it works.Every button I use doesn't solve my problem.

>the gridview datasource is a datatable and bind from a button according to a selectedvalue of a dropdownlist.

>But when i use a sqldatasource and bind the grid with this datasource ,everything works good.This problem happens when i bind the grid with a button click event.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top