Display gridview in new window

Posted by Ricardo Deano on Stack Overflow See other posts from Stack Overflow or by Ricardo Deano
Published on 2010-04-27T08:29:59Z Indexed on 2010/04/27 8:33 UTC
Read the original article Hit count: 334

Filed under:
|
|
|

Hello all.

Just a bit of advice needed really in terms of how I should handle my current scenario:

I have a web page that searches for products/category information the results of which are at present displayed in a gridview on the same page.

However, said gridview is a bit of a beast and as such, I would like to have a page that the user searches for, a button is pressed and the subsequent gridview is displayed in a new window.

Ultimately, I would like the user to be able to make multiple searches so that new windows can have multiple gridviews containing different data sets.

My current thinking is to create session variables that can be pulled through onto 'the gridview page'. Having said that, I'm not sure that would work if multiple searches are created?

I am also thinking I might be able to create said 'gridview window' using javascript but my concern here is the potential loss of functionality of the gridview i.e. paging, sorting, editing, etc.

Does anyone have any thoughts or theories on this? What would be "best practise"? Any thoughts greatly appreciated and taken on board.

PS: This is being developed in .net, using c# and LINQ. PPS: I'm a noob so be gentle!!

© Stack Overflow or respective owner

Related posts about gridview

Related posts about ASP.NET