Gridview RowCommand Event needs twice clicks to run?

Discussion in '.NET' started by slayer35, Aug 12, 2006.

  1. slayer35

    slayer35

    Joined:
    Jul 13, 2006
    Messages:
    2
    >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.
     
    slayer35, Aug 12, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rolf Barbakken
    Replies:
    1
    Views:
    2,524
    sumu1234
    Sep 3, 2006
  2. keithb
    Replies:
    1
    Views:
    4,328
    PeterKellner
    Jun 10, 2006
  3. Just Me
    Replies:
    1
    Views:
    804
    nothingsoriginalontheinternet@gmail.com
    Sep 29, 2007
  4. disa kansagara
    Replies:
    1
    Views:
    1,042
  5. PontiMax

    Clicks and double-clicks

    PontiMax, Jul 14, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    191
    Eliyahu Goldin
    Jul 14, 2004
Loading...

Share This Page