or
<telerik:GridButtonColumn UniqueName="HistoryColumn" HeaderStyle-Width="18px" ButtonType="ImageButton" CommandName="History" Text="Get History" ImageUrl="~\Images\history.png">
</telerik:GridButtonColumn>Protected Sub RadGrid1_ItemCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.ItemCommandIf e.CommandName = "History" ThenDim categoryId As String = e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)"UniqueID").ToStringDim url As String = "link&UniqueID=" & categoryIdEnd IfEnd Subvar radTbLine = $find('radTbLine' + lineNum);
radTbLine.set_textBoxValue(arrPrevLines[y]);radTbLine1_text').value = 'test';?
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
|
<%@ Page Title="Stars Pluses Minuses" Language="C#" MasterPageFile="~/Staff/Staff.master" AutoEventWireup="true" CodeFile="StarsPlusMinus.aspx.cs" Inherits="Staff.Reporting.AR.StarsPlusMinus" %><asp:Content ID="Content1" ContentPlaceHolderID="head_staff" Runat="Server"></asp:Content><asp:Content ID="Content2" ContentPlaceHolderID="main_staff" Runat="Server"> <asp:Panel ID="SelectionPanel" runat="server" CssClass="SelectionPanel"> <telerik:RadComboBox ID="FormComboBox" runat="server" Label="Form: " Width="150px" CssClass="PupilChooserCombo" AutoPostBack="True" OnDataBound="FormComboBox_OnDataBound" DataSourceID="FormDataSource" DataTextField="DESCRIPTION" DataValueField="CODE"> </telerik:RadComboBox> <telerik:RadComboBox ID="PeriodComboBox" runat="server" Label="Period: " Width="150px" CssClass="PupilChooserCombo" AutoPostBack="True" DataSourceID="PeriodDataSource" DataTextField="PERIOD_NAME" DataValueField="PERIOD_ID" OnDataBound="PeriodComboBox_DataBound"> </telerik:RadComboBox> </asp:Panel> <telerik:RadGrid ID="PupilGrid" runat="server" AllowAutomaticUpdates="True" AutoGenerateColumns="False" CellSpacing="0" DataSourceID="GridDataSource" GridLines="None"> <ExportSettings> <Pdf> <PageHeader> <LeftCell Text=""></LeftCell> <MiddleCell Text=""></MiddleCell> <RightCell Text=""></RightCell> </PageHeader> <PageFooter> <LeftCell Text=""></LeftCell> <MiddleCell Text=""></MiddleCell> <RightCell Text=""></RightCell> </PageFooter> </Pdf> </ExportSettings> <ValidationSettings EnableModelValidation="False" EnableValidation="False" /> <MasterTableView ClientDataKeyNames="LINE_ID" CommandItemDisplay="TopAndBottom" DataKeyNames="LINE_ID" DataSourceID="GridDataSource" EditMode="Batch" ShowHeadersWhenNoRecords="True"> <CommandItemSettings ExportToPdfText="Export to PDF" ShowAddNewRecordButton="False" ShowCancelChangesButton="True" ShowRefreshButton="False" ShowSaveChangesButton="True"></CommandItemSettings> <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"> <HeaderStyle Width="20px"></HeaderStyle> </RowIndicatorColumn> <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column" Created="True"> <HeaderStyle Width="20px"></HeaderStyle> </ExpandCollapseColumn> <Columns> <telerik:GridBoundColumn DataField="INFORMAL_NAME" FilterControlAltText="Filter INFORMAL_NAME column" HeaderText="INFORMAL_NAME" ReadOnly="True" SortExpression="INFORMAL_NAME" UniqueName="INFORMAL_NAME"> <ColumnValidationSettings> <ModelErrorMessage Text="" /> </ColumnValidationSettings> </telerik:GridBoundColumn> <telerik:GridBoundColumn ReadOnly="True" DataField="ACADEMIC_HOUSE_DESCRIPTION" FilterControlAltText="Filter ACADEMIC_HOUSE_DESCRIPTION column" HeaderText="ACADEMIC_HOUSE_DESCRIPTION" SortExpression="ACADEMIC_HOUSE_DESCRIPTION" UniqueName="ACADEMIC_HOUSE_DESCRIPTION"> <ColumnValidationSettings> <ModelErrorMessage Text="" /> </ColumnValidationSettings> </telerik:GridBoundColumn> <telerik:GridBoundColumn ReadOnly="True" DataField="FORM_DESC" FilterControlAltText="Filter FORM_DESC column" HeaderText="FORM_DESC" SortExpression="FORM_DESC" UniqueName="FORM_DESC"> <ColumnValidationSettings> <ModelErrorMessage Text="" /> </ColumnValidationSettings> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="STARS" DataType="System.Decimal" FilterControlAltText="Filter STARS column" HeaderText="STARS" SortExpression="STARS" UniqueName="STARS"> <ColumnValidationSettings> <ModelErrorMessage Text="" /> </ColumnValidationSettings> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="PLUSES" DataType="System.Decimal" FilterControlAltText="Filter PLUSES column" HeaderText="PLUSES" SortExpression="PLUSES" UniqueName="PLUSES"> <ColumnValidationSettings> <ModelErrorMessage Text="" /> </ColumnValidationSettings> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="MINUSES" DataType="System.Decimal" FilterControlAltText="Filter MINUSES column" HeaderText="MINUSES" ReadOnly="True" SortExpression="MINUSES" UniqueName="MINUSES"> <ColumnValidationSettings> <ModelErrorMessage Text="" /> </ColumnValidationSettings> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="LINE_ID" DataType="System.Int32" FilterControlAltText="Filter LINE_ID column" HeaderText="LINE_ID" ReadOnly="True" SortExpression="LINE_ID" UniqueName="LINE_ID"> <ColumnValidationSettings> <ModelErrorMessage Text="" /> </ColumnValidationSettings> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="HEADER_ID" DataType="System.Int32" FilterControlAltText="Filter HEADER_ID column" HeaderText="HEADER_ID" SortExpression="HEADER_ID" UniqueName="HEADER_ID"> <ColumnValidationSettings> <ModelErrorMessage Text="" /> </ColumnValidationSettings> </telerik:GridBoundColumn> </Columns> <EditFormSettings> <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn> </EditFormSettings> <BatchEditingSettings EditType="Cell"></BatchEditingSettings> <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle> </MasterTableView> <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle> <FilterMenu EnableImageSprites="False"></FilterMenu> </telerik:RadGrid> <asp:SqlDataSource ID="FormDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:PassMainConnectionString %>" SelectCommand="usps_SA_GetForms" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:ProfileParameter Name="ACADEMIC_YEAR" PropertyName="CurrentAcademicYear" Type="Int32" /> </SelectParameters> </asp:SqlDataSource> <asp:SqlDataSource ID="PeriodDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:PassMainConnectionString %>" SelectCommand="usps_SA_GetAssessmentPeriods" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:ProfileParameter Name="ACADEMIC_YEAR" PropertyName="CurrentAcademicYear" Type="Int32" /> </SelectParameters> </asp:SqlDataSource> <asp:SqlDataSource ID="GridDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:PassMainConnectionString %>" SelectCommand="usps_SA_GetPupilsForSPMGrid" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:Parameter Name="SCHOOL" Type="String" DefaultValue="SA"/> <asp:ControlParameter ControlID="PeriodComboBox" Name="PERIOD_ID" PropertyName="SelectedValue" Type="Int32" /> <asp:ControlParameter ControlID="FormComboBox" Name="FORM_CODE" PropertyName="SelectedValue" Type="String" /> <asp:ProfileParameter Name="ACADEMIC_YEAR" PropertyName="CurrentAcademicYear" Type="Int32" /> </SelectParameters> </asp:SqlDataSource></asp:Content>using System;using System.Linq;using NLog;using Telerik.Web.UI;namespace Staff.Reporting.AR{ public partial class StarsPlusMinus : System.Web.UI.Page { private readonly Logger _logger = LogManager.GetCurrentClassLogger(); protected void Page_Error(object sender, EventArgs e) { Exception ex = Server.GetLastError(); _logger.Fatal(ex); Server.ClearError(); //store exception to display some details to the user Session[Profile.DomainUsername + "LastError"] = ex; Response.Redirect("/Staff/StaffError.aspx", true); } protected void Page_Load(object sender, EventArgs e) { } protected void PeriodComboBox_DataBound(object sender, EventArgs e) { if (IsPostBack) return; //always select the current period on first visit var item = PeriodComboBox.Items.FirstOrDefault(i => i.Text.EndsWith("(*)")); if (item != null) item.Selected = true; } protected void FormComboBox_OnDataBound(object sender, EventArgs e) { if (IsPostBack) return; FormComboBox.Items.Insert(0, new RadComboBoxItem("Choose ...", "XX") { Selected = true }); } }}<telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" ControlsToSkip="None" DecoratedControls="All" Skin="MyCustomSkin" /><asp:Content ContentPlaceHolderID="phContent" runat="server"><br><br><br> <br> <script type="text/javascript"><br><br> function openPOW() {<br><br> var win2 = $find('ctl00_phContent_winPOW')<br> win2.show();<br> <br> }<br><div><br></div></script><br><br><br> <asp:ScriptManager runat="server"></asp:ScriptManager><br> <telerik:RadWindow Behaviors="Maximize,Minimize,Close" Modal="true" AutoSize="true" ID="winPOW" runat="server" Skin="Sitefinity"><br> <ContentTemplate><br> <iframe style="width:750px;height:450px;" src="../orders/PredictiveOrderDeliveryDates.aspx" id="myframePOW"></iframe><br> <br> <br> </ContentTemplate><br> </telerik:RadWindow><br> <br><input type="button" id="opPOW" onclick="openPOW()" /><br></asp:Content><br><br><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"><asp:Content ContentPlaceHolderID="phContent" runat="server"></font><br style="font-size: 14.399999618530273px;"><br style="font-size: 14.399999618530273px;"><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> </font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> <script type="text/javascript"></font><br style="font-size: 14.399999618530273px;"><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> function openPOW() {</font><br style="font-size: 14.399999618530273px;"><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> var win = $('ctl00_phContent_winPOW');</font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> win.show();</font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> </font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> }</font><br style="font-size: 14.399999618530273px;"><div style="font-size: 14.399999618530273px;"><br></div><font style="font-size: 14.399999618530273px;"></script></font><br style="font-size: 14.399999618530273px;"><br style="font-size: 14.399999618530273px;"><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> <asp:ScriptManager runat="server"></asp:ScriptManager></font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> <telerik:RadWindow Behaviors="Maximize,Minimize,Close" Modal="true" AutoSize="true" ID="winPOW" runat="server" Skin="Sitefinity"></font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> <ContentTemplate></font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> <iframe style="width:750px;height:450px;" src="../orders/PredictiveOrderDeliveryDates.aspx" id="myframePOW"></iframe></font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> </font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> </font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> </ContentTemplate></font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> </telerik:RadWindow></font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> </font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"><input type="button" id="opPOW" onclick="openPOW()" /></font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"></asp:Content></font><br style="font-size: 14.399999618530273px;"><br><br><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> Dim lnkPredictiveOrderWizard As New LinkButton</font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> With lnkPredictiveOrderWizard</font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> .Text = "Use Predictive Wizard"</font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> .ToolTip = "Use a wizard to create order"</font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> .CssClass = "menubar_wizard"</font><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> .ID = "lnkPredictiveOrderWizard"</font><br style="font-size: 14.399999618530273px;"><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> AddHandler .Click, AddressOf PredictiveWizard</font><br style="font-size: 14.399999618530273px;"><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> End With</font><br style="font-size: 14.399999618530273px;"><br style="font-size: 14.399999618530273px;"><font style="font-size: 14.399999618530273px;"> _master.Menubar.Add(lnkPredictiveOrderWizard)</font><br><br><br><br> Public Sub PredictiveWizard(ByVal sender As Object, ByVal e As EventArgs)<br> Dim jscript As String = "javascript:openPOW();"<br><br>Page.ClientScript.RegisterStartupScript(Me.GetType(), "key", jscript, True)<br>end sub<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="Site.master.vb" Inherits="RadControlsWebApp.Site" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.10.0.min.js"></script> <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.10.0/jquery-ui.min.js"></script> <script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.10.0.min.map"></script> <link rel="Stylesheet" type="text/css" href="../App_Themes/Default/Application.css" /> <asp:ContentPlaceHolder ID="cnthead" runat="server"> </asp:ContentPlaceHolder></head><body> <form id="form1" runat="server"> <telerik:RadAjaxManager ID="ram" runat="server"> </telerik:RadAjaxManager> <telerik:RadScriptManager ID="rsm" runat="server"> <CompositeScript> <Scripts> <asp:ScriptReference Path="~/Content/Scripts/Common.js" /> </Scripts> </CompositeScript> </telerik:RadScriptManager> <telerik:RadScriptBlock ID="rtsb" runat="server"> <script type="text/javascript"> CheckSplitterSize = function () { var splitter = $find("<%= RadSplitter1.ClientID %>"); var pane = splitter.getPaneById('<%= contentPane.ClientID %>'); var height = pane.getContentElement().scrollHeight; splitter.set_height(height); pane.set_height(height); } SplitterLoaded = function (splitter, arg) { //alert('in SplitterLoaded '); var pane = splitter.getPaneById('<%= contentPane.ClientID %>'); var height = pane.getContentElement().scrollHeight; splitter.set_height(height); pane.set_height(height); } Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(function (sender, e) { $get("<%= appLoadingPanel.ClientID %>").style.height = document.documentElement.clientHeight + "px"; var loadingImage = document.getElementById('<%= appLoadingPanel.FindControl("imgLoading").ClientID %>'); $.showInCenter(loadingImage); if (document.documentElement.scrollHeight > document.documentElement.clientHeight) { $get("<%= appLoadingPanel.ClientID %>").style.height = document.documentElement.scrollHeight + "px"; } }); </script> </telerik:RadScriptBlock> <telerik:RadWindowManager ID="rwm" runat="server" Style="z-index: 21000" /> <asp:ContentPlaceHolder ID="ScriptPlaceHolder" runat="server"> </asp:ContentPlaceHolder> <table cellpadding="0" cellspacing="0" style="border-style: solid; width: 100%; background-color: White;"> <tr> <td style="width: 100%;"> <p> This is header. </p> </td> </tr> <tr> <td style="width: 100%;"> <asp:ContentPlaceHolder ID="cphTopPage" runat="server"> </asp:ContentPlaceHolder> </td> </tr> <tr> <td style="width: 100%;"> <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Height="400px" SkinID="Sunset" OnClientLoaded="SplitterLoaded"> <telerik:RadPane ID="navigationPane" runat="server" Width="15%" MinWidth="100" Scrolling="None" Height="100%"> <asp:Panel ID="pnlLeftTreeView" runat="server" Height="100%" CssClass="ScrollingMenu"> <telerik:RadPanelBar ID="pnlBarLeftNav" runat="server" Width="100%" ExpandMode="SingleExpandedItem" Skin="Telerik"> </telerik:RadPanelBar> </asp:Panel> </telerik:RadPane> <telerik:RadSplitBar ID="RadSplitbar1" runat="server" Height="100%" CollapseMode="Forward"> </telerik:RadSplitBar> <telerik:RadPane ID="contentPane" runat="server" Height="100%" Width="85%" ShowContentDuringLoad="false" Scrolling="None"> <table style="width: 100%;"> <tr> <td> <asp:ValidationSummary ID="vsMain" runat="server" DisplayMode="BulletList" CssClass="ValidationSummary" /> </td> </tr> <tr> <td align="left"> </td> </tr> <tr> <td align="right" valign="top"> <asp:ContentPlaceHolder ID="cphRadButtons" runat="server"> </asp:ContentPlaceHolder> </td> </tr> <tr> <td> <asp:ContentPlaceHolder ID="cphContent" runat="server"> </asp:ContentPlaceHolder> </td> </tr> </table> </telerik:RadPane> </telerik:RadSplitter> </td> </tr> <tr> <td> <p> This is site footer. </p> </td> </tr> </table> <telerik:RadAjaxLoadingPanel ID="appLoadingPanel" runat="server" IsSticky="true" Transparency="50" ClientIDMode="Static" BackgroundPosition="Center" CssClass="LoadingPanel" ZIndex="100000"> <div style="height: 100%; width: 100%; background-color: #fff;"> <asp:Image ID="imgLoading" runat="server" AlternateText="Loading" SkinID="sknLoading" /> </div> </telerik:RadAjaxLoadingPanel> </form></body></html>Content Page Code Behind:<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master"CodeBehind="SplitterDemo.aspx.vb" Inherits="RadControlsWebApp.SplitterDemo" %><asp:ContentID="Content1"ContentPlaceHolderID="cnthead"runat="server"></asp:Content><asp:ContentID="Content2"ContentPlaceHolderID="ScriptPlaceHolder"runat="server"><telerik:RadScriptBlockID="scr"runat="server"><scripttype="text/javascript">OnRequestEnd = function (sender, arg) {CheckSplitterSize();}</script></telerik:RadScriptBlock></asp:Content><asp:ContentID="Content3"ContentPlaceHolderID="cphTopPage"runat="server"></asp:Content><asp:ContentID="Content4"ContentPlaceHolderID="cphRadButtons"runat="server"><div><telerik:RadAjaxPanelID="rapContent"runat="server"LoadingPanelID="appLoadingPanel"><asp:ButtonID="btnClickMe"runat="server"Text="Click Me"/></telerik:RadAjaxPanel></div></asp:Content><asp:ContentID="Content5"ContentPlaceHolderID="cphContent"runat="server"><telerik:RadAjaxPanelID="RadAjaxPanel1"runat="server"LoadingPanelID="appLoadingPanel"ClientEvents-OnResponseEnd="OnRequestEnd"><asp:CheckBoxID="chkSelect"runat="server"Text="Show/Hide Panel"AutoPostBack="true"/><asp:PanelID="pnlHiddenPanel"runat="server"Visible="false"><divstyle="height: 800px">This is very long text.<br/><asp:LabelID="lblSelect"runat="server"/><br/><asp:DropDownListID="drpSelect"runat="server"AutoPostBack="true"><asp:ListItemText="C#"Value="C#"/><asp:ListItemText="Asp.Net"Value="Asp.Net"/><asp:ListItemText="SQL"Value="SQL"/><asp:ListItemText="Telerik"Value="Telerik"/></asp:DropDownList></div></asp:Panel><br/>Name:<asp:TextBoxID="txtName"runat="server"></asp:TextBox><asp:RequiredFieldValidatorID="req1"runat="server"ControlToValidate="txtName"ErrorMessage="Name required"Text="!"ForeColor="Red"></asp:RequiredFieldValidator><br/>Last Name:<asp:TextBoxID="txtLastName"runat="server"></asp:TextBox><asp:RequiredFieldValidatorID="RequiredFieldValidator1"runat="server"ControlToValidate="txtLastName"ErrorMessage="Last Name required"Text="!"ForeColor="Red"></asp:RequiredFieldValidator><br/>Age:<asp:TextBoxID="txtAge"runat="server"></asp:TextBox><asp:RequiredFieldValidatorID="RequiredFieldValidator2"runat="server"ControlToValidate="txtAge"ErrorMessage="Age required"Text="!"ForeColor="Red"></asp:RequiredFieldValidator></telerik:RadAjaxPanel></asp:Content>Common.js :PublicClassSplitterDemoInheritsSystem.Web.UI.PageProtectedSubPage_Load(ByValsenderAsObject,ByValeAsSystem.EventArgs)HandlesMe.LoadEndSubPrivateSubbtnClickMe_Click(senderAsObject, eAsSystem.EventArgs)HandlesbtnClickMe.ClickEndSubPrivateSubchkSElect_CheckedChanged(senderAsObject, eAsSystem.EventArgs)HandleschkSelect.CheckedChangedConsumeTime(2)pnlHiddenPanel.Visible =CBool(chkSelect.Checked)EndSubPrivateSubConsumeTime(ByValsecondsAsInteger)DimtickerAsDateTime = DateTime.Now()WhileDateDiff(DateInterval.Second, ticker, DateTime.Now) <= secondsEndWhileEndSubPrivateSubdrpSelect_SelectedIndexChanged(senderAsObject, eAsSystem.EventArgs)HandlesdrpSelect.SelectedIndexChangedlblSelect.Text ="You selected :"+ drpSelect.SelectedValueEndSubEndClassapplication.css :$.getRadWindow =function(win) {varoWindow =null;if(win.radWindow) oWindow = win.radWindow;elseif(win.frameElement && win.frameElement.radWindow) oWindow = win.frameElement.radWindow;returnoWindow;}$.showRadWindow =function(id) {varwindow = $find(id);if(window !=null) {window.set_status("Ready");window.show();returntrue;}elsereturnfalse;}$.showInCenter =function(ctrl) {posY = $.getScrollOffset() + ($.getInnerHeight() / 2) - (ctrl.height / 2);posX = document.documentElement.clientWidth / 2 - (ctrl.width / 2);$(ctrl).css({ position:"relative", top: posY +"px", left: posX +"px"});}$.getInnerHeight =function() {vary;if(self.innerHeight)// all except Explorery = self.innerHeight;elseif(document.documentElement && document.documentElement.clientHeight)y = document.documentElement.clientHeight;elseif(document.body)// other Explorersy = document.body.clientHeight;return(y);}$.getScrollOffset =function() {vary;if(self.pageYOffset)y = self.pageYOffset;elseif(document.documentElement && document.documentElement.scrollTop)y = document.documentElement.scrollTop;elseif(document.body)y = document.body.scrollTop;return(y);}Image.skin:body{background-color:#C0C0C0;margin:0;padding:2px;font-family:Verdana,Arial,Helvetica,sans-serif;font-style:normal;line-height:18px;color:#333333;font-weight:normal;font-size:12px;height:auto;}a{text-decoration:underline;}a:hover{color:#d0981b;}.ValidationSummary{border:2pxsolidred;color:red;margin:5px0px;padding:15px;background:#fffurl(images/errors.png)no-repeat5px50%;}.ValidationSummary ul{margin:0;padding:0;margin-left:60px;list-style-type:square;}.InformationMessage{border:2pxsolidyellow;color:maroon;margin:5px0px;padding:15px;background:#fffurl(images/information.png)no-repeat5px50%;}.InformationMessage li{margin:0;padding:0;margin-left:60px;list-style-type:square;}.ScrollingDiv{position:relative;border-color:#4682b4;border-style:solid;background-color:#FFFFCC;}.ScrollingMenu{position:relative;}.LoadingPanel{z-index:100000;background-color:#ffffdd;border-color: Gray;position:absolute;height:100%;width:100%;top:0px;left:0px;}Attaching Loading.gif What i am missing?? How can i resolve both problems?<asp:ImageSkinID="sknLoading"runat="server"ImageUrl="Images/Loading.gif"/>