Select to view content in your preferred language

Bing Maps Panel/Map Split Behavior

816
3
04-19-2010 01:52 PM
JoePetraglia
Emerging Contributor
Can anyone provide some insight/direction on how to develop a behavior where there is an animated expandable/collapsible panel on the left and a map on the right, just like Bing Maps?

In my application I have a panel that is hidden below the viewable area of the browser with a tab sticking out into the viewable area. The tab overlays the map (which takes up most of the viewable area). When the user clicks the tab the panel expands up into view. Right now the expanded panel just overlays the map. What I would like is that when the panel expands up into view the map adjusts (shrinks/shortens) to fill the remaining space.

I have a parent user control which has several children. This panel user control and the map user control are two of the children.

Any help would be much appreciated, thanks!
0 Kudos
3 Replies
HubertLo
Emerging Contributor
Sounds like you need a Splitter control. I don't think such control exists from the Silverlight Toolkit so you may have to go the 3rd party path. Telerik's Silverlight controls have the Splitter and you can download the trial version from their site. Try the controls out, the amount you pay will save you hours of work.


P.S. I use Telerik's Silverlight control for my production project and we have been using Telerik's ASP.NET controls for years now. Telerik's quality and tech support is second to none.
0 Kudos
BrandonCopeland
Emerging Contributor
0 Kudos
dotMorten_esri
Esri Notable Contributor
The GridSplitter is built-in and comes out of the box with Silverlight. You don't need the toolkit for this.
http://msdn.microsoft.com/en-us/library/system.windows.controls.gridsplitter(VS.95).aspx
0 Kudos