>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.
>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.