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

[Solved] Passing FilterExpression to a new window

1 Answer 126 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Graham
Top achievements
Rank 1
Graham asked on 20 Jun 2009, 07:35 AM
I want to be able to open a new window (preferably a normal browser window rather than a RadWindow) for a print version of a RadGrid (ExportPDF is not suitable).

To do this I need to pass the FilterExpression of the RadGrid to the new window. I can do this in two ways -

1. Pass the FilterExpression in the URL of the new window
2. Set a session object to the FilterExpression and retrieve it in the new window

How can I set the session object client side (i.e. on a button click)?

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 24 Jun 2009, 02:49 PM
Hello Graham,

You cannot directly reference the Session object of your ASP.NET web site from the client. If you do not want to pass the filter expression as a query string, you will need a postback to access the filter expression and save it to the session.

Kind regards,
Veli
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Graham
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or