I am trying to implement a DescriptionPanel using the following code:
<Description:DescriptionPanel ID="DescPanel" runat="server">
This sample displays a google map. Click buttons below to switch between different
Google maps.
<asp:Button CssClass="btn" ID="btnRoad" runat="server" Text="Normal" OnClientClick="FullMapView.SetCurrentBackgroundMapType(google.maps.MapTypeId.ROADMAP); return false;" />
<asp:Button CssClass="btn" ID="btnAerial" runat="server" Text="Hybrid" OnClientClick="FullMapView.SetCurrentBackgroundMapType(google.maps.MapTypeId.HYBRID); return false;" />
<asp:Button CssClass="btn" ID="btnSatellite" runat="server" Text="Satellite" OnClientClick="FullMapView.SetCurrentBackgroundMapType(google.maps.MapTypeId.SATELLITE); return false;" />
<asp:Button CssClass="btn" ID="btnPhysical" runat="server" Text="Physical" OnClientClick="FullMapView.SetCurrentBackgroundMapType(google.maps.MapTypeId.TERRAIN); return false;" />
</Description:DescriptionPanel>
I have the description Panel on my software now and it renders correctly however when I try to use the button it will not change the background image. I do notice that this is a clientside click event and I do not see any javascript method that is named this.
Any help would be greatly appreciated.