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

[Solved] How to make button Postback?

3 Answers 173 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Atle
Top achievements
Rank 1
Atle asked on 06 Sep 2009, 01:28 AM
Hi,
I'm having fun with the grid and I can make it work fine.
I have a  GridButtonColum with CommandName that I can pick up in MyRadGrid_ItemCommand. Thats good. But the command I'm running is a file download and I need PostBack. I have seached the forum and the documentation but nothing I try seems to work.

So how can I make the button do a full Postback ? If I disable Ajax completely the button works as expected.

Atle

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 07 Sep 2009, 08:05 AM
Hello Atle,

If you want to exclude a control from ajaxifying you can use one of the approaches presented in the following help article:
Exclude controls from ajaxifying

Kind regards,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Accepted
Princy
Top achievements
Rank 2
answered on 07 Sep 2009, 10:44 AM
Hi,

You can also refer the following forum link which discusses a similar scenario.
Disabling AJAX on GridButtonColumn

Princy
0
Atle
Top achievements
Rank 1
answered on 08 Sep 2009, 01:33 AM
Thank You!
I followed the link. They suggested to change to GridtemplateColumn where I can define an ID. That worked!

Atle

 

Tags
Grid
Asked by
Atle
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Princy
Top achievements
Rank 2
Atle
Top achievements
Rank 1
Share this question
or