All pastes #99629 Raw Edit

Stuff

public text v1 · immutable
#99629 ·published 2006-07-25 14:11 UTC
rendered paste body
<%@ Control Language="C#" %>

 <div id="lcSidebar" runat="server">
			 ddd
</div>
			 
<div id="dcSidebar" runat="server">
			 
</div>
		 
 <script Language="C#" runat="server">
     
     private void OnLoad()
     {
         this.lcSidebar.InnerText = "hi";
            if (Request.QueryString["sb"] == "lc")
            {
                lcSidebar.InnerHtml = "<a href=\"" + Context.Request.FilePath.ToString() + "\"><img src=\"images/arrow2.gif\" alt=\"Arrow\" style=\"cursor:hand; float:left; margin-top:1px; margin-left:3px; border:0px;\"> <span style=\"float:left; margin-left:2px; cursor:hand;\">LEARNING CENTER</span></a><br>" +
                                        "<div id=\"sidebarItem\">" +
                                            "<a href=\"video_over_ip+php\">Video Over IP</a><br>" +
                                            "<a href=\"migration_strategies+php\">Migration Strategies</a><br>" +
                                            "<a href=\"recording_at_the_edge+php\">Recording at the Edge</a><br>" +
                                            "<a href=\"managing_bandwidth+php\">Managing bandwidth</a><br>" +
                                            "<a href=\"storage+php\">Storage</a><br>" +
                                            "<a href=\"reliability+php\">Reliability</a><br>" +
                                            "<a href=\"video_compression+php\">Video compression</a><br>" +
                                            "<a href=\"video_resolution+php\">Video resolution</a><br>" +
                                            "<a href=\"http://boschsecurity+us/feature/index+aspx?featureid=45\">Audio</a><br>" +
                                            "<a href=\"cameras_and_encoders+php\">Cameras and encoders</a><br>" +
                                            "<a href=\"decoders+php\">Decoders</a><br>" +
                                            "<a href=\"vcrs_dvrs_nvrs+php\">VCRs, DVRs, and NVRs</a><br>" +
                                            "<a href=\"automatic_network_replenishment+php\">Automatic Network Replenishment</a><br>" +
                                            "<a href=\"http://www+boschsecurity+com/ipnetworkvideo/en/start/faq_en+htm\">FAQs</a><br>" +
                                            "<a href=\"video_over_ip_templates+php\">Video over IP Templates</a><br>" +
                                            "<a href=\"video_management_system_interfaces+php\">Video Management System Interfaces</a><br>" +
                                            "<a href=\"how_do_i+php\">How do I?(Video Demonstrations)</a><br>" +
                                    "</div>";
            }
            else
            {
                lcSidebar.InnerHtml = "<a href=\"default.aspx?sb=lc\"><img src=\"images/arrow1.gif\" alt=\"Arrow\" style=\"cursor:hand; float:left; margin-top:1px; margin-left:3px; border:0px;\"> <span style=\"float:left; margin-left:2px; cursor:hand;\">LEARNING CENTER</span></a><br>";
            }

            //design center links
            if (Request.QueryString["sb"] == "dc")
            {
                this.dcSidebar.InnerHtml = "<a href=\"" + Request.FilePath.ToString() + "\"><img src=\"images/arrow2.gif\" alt=\"Arrow\" style=\"cursor:hand; float:left; margin-top:1px; margin-left:3px; border:0px;\"> <span style=\"float:left; margin-left:2px; cursor:hand;\">DESIGN CENTER</span></a><br>" +
                                             "<div id=\"sideBarItem\">" +
                                                 "<a href=\"single_camera_to_browser.php\">Single camera to PC<br>Web browser</a><br>" +
                                                 "<a href=\"single_ptz_to_browser.php\">Single PTZ to browser</a><br>" +
                                                 "<a href=\"single_camera_to_analog_monitor.php\">Single camera to analog monitor</a><br>" +
                                                 "<a href=\"single_camera_to_vga_monitor.php\">Single camera to VGA monitor</a><br>" +
                                                 "<a href=\"single_camera_to_workstation_and_monitor.php\">Single camera to workstation<br>&amp; monitor</a><br>" +
                                                 "<a href=\"single_ptz_to_workstation_and_analog_control_station.php\">Single PTZ to workstation<br>&amp; analog control station</a><br>" +
                                                 "<a href=\"single_camera_with_local_dvr_recording.php\">Single camera with local DVR recording</a><br>" +
                                                 "<a href=\"multiple_camera_network_recording.php\">Multiple camera network recording</a><br>" +
                                                 "<a href=\"pure_ip_virtual_matrix.php\">Pure IP virtual matrix</a><br>" +
                                                 "<a href=\"sensing_alarms_and_driving_relays.php\">Sensing alarms and driving relays</a><br>" +
                                                 "<a href=\"80211b_wireless.php\">802.11b wireless</a><br>" +
                                                 "<a href=\"900_mhz_point_to_point_wireless.php\">900 MHz point-to-point wireless</a><br>" +
                                                 "<a href=\"laser_point_to_point.php\">Laser point-to-point</a><br>" +
                                                 "<a href=\"bosch_video_over_ip_with_dibos_recording.php\">Bosch video over IP with Dibos recording</a><br>" +
                                                 "<a href=\"ip_allegiant_keyboard_with_multiple_monitors.php\">IP Allegiant keyboard with multiple monitors</a><br>" +
                                                 "<a href=\"allegiant_with_autodome_using_rs232.php\">Allegiant with AutoDome using RS232</a><br>" +
                                                 "<a href=\"vasa.php\">Virtual Allegiant Satellite application (VASA)</a><br>" +
                                                 "<a href=\"allegiant_satellite_sdk.php\">Allegiant Satellite SDK</a><br>" +
                                                 "<a href=\"allegiant_satellite_sdk2.php\">Allegiant Satellite SDK</a><br>" +
                                                 "<a href=\"allegiant_satellite_sdk3.php\">Allegiant Satellite SDK</a><br>" +
                                             "</div>";
            }
            else
            {
                this.dcSidebar.InnerHtml = "<a href=\"default.aspx?sb=dc\"><img src=\"images/arrow1.gif\" alt=\"Arrow\" style=\"cursor:hand; float:left; margin-top:1px; margin-left:3px; border:0px;\"> <span style=\"float:left; margin-left:2px; cursor:hand;\">DESIGN CENTER</span></a><br>";
            }
     }

          
 </script>