Hi Team,
I have to design a Reports page. Using Rad Docks & Rad Tabs. Requirements given below
Report Page contains Different Set of Dynamically created User controls. Normally User can add controls from Menu.
User controls in the Reports page can be shown in Two Views. User have a button to switch/change the view.
1) Windows view [ Contains Two Zones, User can dock the controls from One Zone to Other Zone]
2) Tab View [Tabs and Tab pages]
User Can Switch between the views at any time.
- While in Windows View, user can click on “Tabs View” and Tabs page will open with same reports as in Windows view.
- While in Tabs View, user can click on “Windows View” and Windows page will open with same reports as in Tabs view.
User can save the report. Just we will update the User Control Names, Position and ZOne number and other values in the database.
When User Switches from Windows to Tab.. same controls with user selected data should be displayed in the form of Tabs.
When user switches to Tab to Windows.. half of the controls added to first zone and the remaining to second zone.
Note: These controlled are created dynamically
My Approch:
I created two aspx pages one for Windows view and other for Tabs View.
Using Cookies when user switches the view , I am re-creating the same controls in the other page with selected data. vice versa.
But I could not populate the selected data .. But my Client does not want this approch.
He wants it to be done in One page.
His approch is like, One panel for Tabs View and Other Panel for Windows View.
When User switches the view , I have to add all the controls one panel to other panel .. Vice versa.
Please help me how to do this with a good example ? Also please let me know you have any other alternatives.
Thanks in Advance
Nag