Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 12, 2011 03:58 PM by urenjoy
Nov 15, 2006 03:17 AM|LINK
I want to move the sidebar to top in wizard control. How to do that??? I know control adapters can help but it is too tough to write those. Let me know how to do that. Any other solution is also welcome.
Nov 30, 2006 06:14 PM|LINK
Not sure if you found a solution but I found this on google:
Hope it helps.
Dec 02, 2006 01:55 AM|LINK
Jan 09, 2007 04:41 PM|LINK
Hi verender, i strucked here with the same problem.
How to set the sidebar on the top of the wizard. plz put the code if possibe.
Hopes u solves my problem
Thanks in advance.
Jan 13, 2007 01:41 PM|LINK
either use the solution in the link above
or Put A menu control on top of wizard control and hide the side bar. When step change even happens change the active menu and grey all others. It is easy but good workaround. There is no way you can move the side bar to Top unless microsoft writes a control
adapter for Wizard control which replaces table with DIV. Then we can use stylesheet to move the cells to top until then we have to live with this
Jan 31, 2007 09:35 AM|LINK
Mar 22, 2008 01:54 AM|LINK
verinder, there's another solution, which may be more flexible than sticking a menu on top of the Wizard:
use the MultiView control instead of the Wizard control. Put a standard Menu control where ever you want it,
outside the MultiView. then, with the little popup menu on the Menu control (on the design surface), manually add the menu items, one for each wizard step. do
not enter anything for "navigateUrl". then create a MenuItemClick script for the menu control, containing the following code:
protected void navMenu_MenuItemClick(object sender, MenuEventArgs e)
int index = Int32.Parse(e.Item.Value);
MultiView1.ActiveViewIndex = index;
Then create Next and Back buttons on the page, again outside the MultiView, and create event code similar to the above:
Next: MultiView1.ActiveViewIndex = MultiView1.ActiveViewIndex + 1
Back: MultiView1.ActiveViewIndex = MultiView1.ActiveViewIndex - 1
The multiView control has many advantages over the Wizard control, because you have total control over the entire page. the Wizard control is extremely limited, and offers very little advantage in terms of point-and-click programming.
The neat thing about the MultiView is that it apparently sends each view back to the server for safekeeping, when the user flips to a different view, and then restores all data-entry values, like whatever the user typed into the text box, when the user returns
to the first view.
someone, please tell me how to achieve that with a regular page!
Sep 22, 2009 02:26 PM|LINK
You add </tr><tr> in the SidebarTemplate. Outside the box...
<asp:DataList ID="SideBarList" runat="server" HorizontalAlign="Justify" RepeatDirection="Horizontal">
<asp:LinkButton ID="SideBarButton" runat="server" BorderWidth="0px"
<SelectedItemStyle Font-Bold="True" />
Nov 27, 2009 10:22 PM|LINK
uff you get a hundred with that post cristitodoran, it works! and works really fine and easy. I'm not bill gates but stand by me in anything that u ever need.
Nov 30, 2009 02:29 PM|LINK
Can you (or anyone) please explain how/why this works? Closing a non-existant/unopened "tr" and then opening another right before the close of a "SideBarTemplate" does not strike me as something with obvious behavior ...
Thank-you ... I've got a lot to learn, so as basic as your explanation can be, the better :-)