or

| <telerik:RadComboBox ID="RadComboBox_SchoolName_Search" runat="server" Skin="Default" |
| Width="575px" Font-Names="Arial" HighlightTemplatedItems="true" MarkFirstMatch="true" |
| AutoPostBack="true" EnableTextSelection="true" EnableItemCaching="true"> |
| <HeaderTemplate> |
| <table style="text-align: left; width: 575px"> |
| <tr> |
| <td style="width: 400px; font-weight: bold;"> |
| School Name |
| </td> |
| <td style="width: 175px; font-weight: bold;"> |
| State |
| </td> |
| </tr> |
| </table> |
| </HeaderTemplate> |
| <ItemTemplate> |
| <table style="width: 630px; text-align: left"> |
| <tr> |
| <td style="width: 430px;"> |
| <%# DataBinder.Eval(Container.DataItem, "SchoolName")%> |
| </td> |
| <td style="width: 200px;"> |
| <%# DataBinder.Eval(Container.DataItem, "State")%> |
| </td> |
| </tr> |
| </table> |
| </ItemTemplate> |
| <CollapseAnimation Duration="200" Type="None" /> |
| </telerik:RadComboBox> |
| private void Populate_RadComboBox_SchoolName_Search() |
| { |
| DataTable _SchoolwithState = new DataTable(); |
| _SchoolwithState.Clear(); |
| RadComboBox_SchoolName_Search.Items.Clear(); |
| _SchoolwithState = objLookup.Populate_SchoolwithStatename(); |
| if (_SchoolwithState.Rows.Count > 0) |
| { |
| if (_SchoolwithState.Rows.Count > 15) |
| { |
| RadComboBox_SchoolName_Search.Height = 410; |
| } |
| RadComboBox_SchoolName_Search.DataSource = _SchoolwithState; |
| RadComboBox_SchoolName_Search.DataTextField = "SchoolName"; |
| RadComboBox_SchoolName_Search.DataValueField = "SchoolID"; |
| RadComboBox_SchoolName_Search.DataBind(); |
| } |
| RadComboBox_SchoolName_Search.Items.Insert(0, new RadComboBoxItem("---Search Students by School Name---")); |
| } |

| <telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1" IsSticky="true"> |
| </telerik:RadAjaxLoadingPanel> |
| <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="LoadingPanel1" > |
| <telerik:RadComboBox runat="server" ID="RadComboTipo" Skin="Vista" AutoPostBack="true" Width="200px" |
| OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged" > |
| <Items> |
| <telerik:RadComboBoxItem Text="Select" Value="-1" Selected="true"></telerik:RadComboBoxItem> |
| <telerik:RadComboBoxItem Text="Case1" Value="1" ></telerik:RadComboBoxItem> |
| </Items> |
| </telerik:RadComboBox> |
| <div style="height:33px;"></div> |
| <telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" runat="server" MultiPageID="RadMultiPage1" |
| Skin="Default" CssClass="tabStrip"> |
| </telerik:RadTabStrip> |
| <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" OnPageViewCreated="RadMultiPage1_PageViewCreated" CssClass="multiPage"> |
| </telerik:RadMultiPage> |
| </telerik:RadAjaxPanel> |
| bool isOnClickAttached = false; |
| IEnumerator keys = this.buttonSubmit.Attributes.Keys.GetEnumerator(); |
| while (keys.MoveNext()) |
| { |
| if (keys.Current.Equals("onClick")) |
| { |
| isOnClickAttached = true; |
| break; |
| } |
| } |
| if (!isOnClickAttached) |
| this.buttonSubmit.Attributes.Add("onClick", string.Format("realPostBack('{0}', ''); return false;", this.buttonSubmit.UniqueID)); |

