This is a migrated thread and some comments may be shown as answers.

Button in RadGrid requires two clicks

1 Answer 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steven Berndt
Top achievements
Rank 1
Steven Berndt asked on 01 Nov 2010, 04:38 PM
Hi,

I'm creating a RadGrid totally programmatically in the code behind in a server control.  This grid contains a GridButtonColumn that triggers a routine in the code behind.  It works, but the first time the page is rendered, the button requires two clicks.  It does postback on the first click, but the command handler is not called.  On the second click, the command handler is called.  Any ideas what I'm doing wrong.  Thanks in advance for your help.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 02 Nov 2010, 10:33 AM
Hello,

In which event, are you trying to create the RadGrid? I hope the following documentation will be of help in creating grid programatically.
Programmatic creation


Thanks,
Princy.
Tags
General Discussions
Asked by
Steven Berndt
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or