Hi all,
.Net newbie here.
I'm trying to design a page that has a bunch of options on a screen, where some are optional, and a button on the bottom of the page that the user must press to procceed.
I've put together a user control for each set of options, which are then inserted as the different panels of the PanelBar on the main page.
This works out pretty good since the options are hidden unless the user want's to mess with them.
The PanelBar has the HorizontalAlignment="Stretch" so it is taking up the entire width of the page.
I have two problems.
1. I can figure out how to add a button at the bottom of the page, while the scrollbar for the PanelBar takes up the entire rightside to the bottom of the screen.
2. The top two Panels are not optional so the user must select something. Is there anyway I can lock the top two panels open so that the user can't collapse them?
2 is not a big deal but would be nice if I had the option to lock the panels open.
But 1 is a must. What I want to accomplish for the button to be at the bottom of the page where if all the panels are expanded and a scrollbar is visible the user would have to scroll to see the button.
What I tried to do was add an extra PanelBarItem as the last item in the panel bar, and remove its Header so that the user can't collapse it, but can't figure out away to remove it.
Worst case I can have the button just below the PanelBar, but that would make the scrollbar come up short (the height of the button) toward the bottom of the page, which is going to look a little funny.
.Net newbie here.
I'm trying to design a page that has a bunch of options on a screen, where some are optional, and a button on the bottom of the page that the user must press to procceed.
I've put together a user control for each set of options, which are then inserted as the different panels of the PanelBar on the main page.
This works out pretty good since the options are hidden unless the user want's to mess with them.
The PanelBar has the HorizontalAlignment="Stretch" so it is taking up the entire width of the page.
I have two problems.
1. I can figure out how to add a button at the bottom of the page, while the scrollbar for the PanelBar takes up the entire rightside to the bottom of the screen.
2. The top two Panels are not optional so the user must select something. Is there anyway I can lock the top two panels open so that the user can't collapse them?
2 is not a big deal but would be nice if I had the option to lock the panels open.
But 1 is a must. What I want to accomplish for the button to be at the bottom of the page where if all the panels are expanded and a scrollbar is visible the user would have to scroll to see the button.
What I tried to do was add an extra PanelBarItem as the last item in the panel bar, and remove its Header so that the user can't collapse it, but can't figure out away to remove it.
Worst case I can have the button just below the PanelBar, but that would make the scrollbar come up short (the height of the button) toward the bottom of the page, which is going to look a little funny.