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

Anyway to stop a command Item button from posting back?

3 Answers 44 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Winston Ware
Top achievements
Rank 1
Winston Ware asked on 23 Jul 2009, 02:25 PM
I’m trying to pop-up a RadWindow from a RadGrid command item button.  What happens is that the window shows briefly, then the page postsback and the window is gone.  What I would like to do is show the window, wait for the user to submit a value in the window, and then refresh the original page with the RadGrid.  I just can’t figure out how to stop the command item from posting back.  Any help greatly appreciated!  Thanks! Winston

3 Answers, 1 is accepted

Sort by
0
Jon
Top achievements
Rank 1
answered on 23 Jul 2009, 03:04 PM
Hi Winston,

Should be as simple as using return false in the OnClientClick property of the button.  I had a similar issue a while back...

Cheers,

Jon
0
Winston Ware
Top achievements
Rank 1
answered on 30 Jul 2009, 06:49 PM
Got pulled away on a different project but I got this to work.  Thanks Jon!
0
Jon
Top achievements
Rank 1
answered on 31 Jul 2009, 07:53 AM
Hi Winston,

No worries, know how that is only too well ;)

Pleased I could help.

Cheers,

Jon
Tags
Grid
Asked by
Winston Ware
Top achievements
Rank 1
Answers by
Jon
Top achievements
Rank 1
Winston Ware
Top achievements
Rank 1
Share this question
or