Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Gridview RowCommand Event needs twice clicks to run?

Reply
Thread Tools

Gridview RowCommand Event needs twice clicks to run?

 
 
slayer35 slayer35 is offline
Junior Member
Join Date: Jul 2006
Posts: 2
 
      08-12-2006
>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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GridView.RowCommand Event fires twice - user link buttonas follow disa kansagara ASP .Net 1 01-27-2009 06:21 AM
GridView.RowCommand Event fires twice Just Me ASP .Net 1 09-29-2007 10:15 PM
GridView _Sorting-event triggers twice every time user clicks on header Rolf Barbakken ASP .Net 1 09-03-2006 03:43 PM
GridView RowCommand problem: GridView Nested in Repeater HeavyMetal ASP .Net Web Controls 0 08-08-2006 01:17 PM
Help: GridView RowCommand Event intercepts RowDeleting Event keithb ASP .Net 1 06-09-2006 11:39 PM



Advertisments