I need to pass a Infragistics ultrawebtree from a page to another. I used Session("data") for this and then I just access it from another page. But when I assign the session value after casting to a Infragistics ultrawebtree control in my second page, it
doesnot build the tree structure and it is invisibile. Is I am wroung in this approach, is there any other way to pass the entire tree structure from one page and display it into another page. Any help is appreciated
you can try this way, do a server.transfer and then access the treeview control in page2 using PreviousPage.FindControl()....get the control and add it to page2.form.controls collection...
VishnuKB
None
0 Points
5 Posts
Passing an object(control) in session from one page to another
Mar 29, 2012 02:38 PM|LINK
I need to pass a Infragistics ultrawebtree from a page to another. I used Session("data") for this and then I just access it from another page. But when I assign the session value after casting to a Infragistics ultrawebtree control in my second page, it doesnot build the tree structure and it is invisibile. Is I am wroung in this approach, is there any other way to pass the entire tree structure from one page and display it into another page. Any help is appreciated
Infragistics Session
VishnuKB
None
0 Points
5 Posts
Re: Passing an object(control) in session from one page to another
Mar 29, 2012 03:14 PM|LINK
Export the tree structure to XML format, and store the XML in session. According to the documentation there should be a
function somewhere.ramiramilu
All-Star
95463 Points
14106 Posts
Re: Passing an object(control) in session from one page to another
Mar 29, 2012 03:29 PM|LINK
you can try this way, do a server.transfer and then access the treeview control in page2 using PreviousPage.FindControl()....get the control and add it to page2.form.controls collection...
Thanks,
Infragistics Session
JumpStart
VishnuKB
None
0 Points
5 Posts
Re: Passing an object(control) in session from one page to another
Apr 10, 2012 05:23 PM|LINK
I cannot do this way. Since I am loading page in an another web page. Any way thanks for your reply
Infragistics Session