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

lost fire ItemCommand after a .Redirect page

1 Answer 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
RRE
Top achievements
Rank 2
Iron
RRE asked on 27 Oct 2008, 11:43 AM
Hi,

I build a query.
I set the datasource.selectcommand of my grid to my query
I bin my grid.

It works, and after a selection of a row I take some info inside the row selected and I redirect to another page.

I use the radGrid event:

radgrid1_ItemCommand

When I go back from the new page on the old with the Explorer navigator button everythink seems good, but if I click again on another row the event radgrid1_ItemCommand won't fire again.

I have to rebind my grid to have the events working again.
There is a way to avoid that?
I'm missing something?

thanks for help

Renato

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 28 Oct 2008, 02:11 PM
Hi Renato,

I tested the setup which you mentioned, and the control behaved as expected.
Attached to this message, is the code which I used for testing. Take a look at it and let me know if I am leaving something out.

Regards,
Yavor
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
RRE
Top achievements
Rank 2
Iron
Answers by
Yavor
Telerik team
Share this question
or