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

[Solved] server double click event without the overhead of always posting back

2 Answers 109 Views
Grid
This is a migrated thread and some comments may be shown as answers.
dr
Top achievements
Rank 1
dr asked on 04 Jun 2009, 03:17 PM
Hello,

I need to fire code(move user to view the details of the record and do some other stuff) when the user double clicks on the grid.

Now the only way i was able to fire the server code was to enable .ClientSettings.EnablePostBackOnRowClick = true;
but this gives me the overhead of a single row click posting back and i do not want that behavior for obvious reasons.

is there a way around the this, or is this the best i can do?

thanks

J

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 05 Jun 2009, 04:20 AM
Hi,

Check out the following KB article which explains how to perform postback on row double-click.
Performing postback from grid client events

Regards
Shinu.
0
dr
Top achievements
Rank 1
answered on 09 Jun 2009, 02:46 PM
had no luck with that technique, is that article using the current grid model?

I got it to work using this post.

http://www.telerik.com/community/forums/aspnet-ajax/grid/rowdouble-click-on-serverside.aspx

thanks

j




Tags
Grid
Asked by
dr
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
dr
Top achievements
Rank 1
Share this question
or