or
<telerik:RadListView ID="rlvStaffNotes" ViewStateMode="Enabled" AllowPaging="True" runat="server" CssClass="ui-staffnote-container" ItemPlaceholderID="staffNotesPlaceHolder" OnNeedDataSource="rlvStaffNotes_NeedDataSource"> <LayoutTemplate> <fieldset> <asp:Panel ID="staffNotesPlaceHolder" runat="server" /> <telerik:RadDataPager ID="rpgrStaffNotes" runat="server" AllowSorting="true" PagedControlID="rlvStaffNotes" PageSize="5" ViewStateMode="Enabled"> <Fields> <telerik:RadDataPagerButtonField FieldType="FirstPrev" /> <telerik:RadDataPagerButtonField FieldType="Numeric" /> <telerik:RadDataPagerButtonField FieldType="NextLast" /> <telerik:RadDataPagerPageSizeField PageSizeText="Page size: " /> <telerik:RadDataPagerTemplatePageField> <PagerTemplate> <div style="float: right"> <b> Items <asp:Label runat="server" ID="CurrentPageLabel" Text="<%# Container.Owner.StartRowIndex+1%>" /> to <asp:Label runat="server" ID="TotalPagesLabel" Text="<%# Container.Owner.TotalRowCount > (Container.Owner.StartRowIndex+Container.Owner.PageSize) ? Container.Owner.StartRowIndex+Container.Owner.PageSize : Container.Owner.TotalRowCount %>" /> of <asp:Label runat="server" ID="TotalItemsLabel" Text="<%# Container.Owner.TotalRowCount%>" /> <br /> </b> </div> </PagerTemplate> </telerik:RadDataPagerTemplatePageField> </Fields> </telerik:RadDataPager> </fieldset> </LayoutTemplate> <ItemTemplate> <div class="ui-staffnote-item"> <div style="clear:both; position:relative;"> <span class="ui-staffnote-created"> <asp:Label runat="server" ID="created" Text='<%# DataBinder.Eval(Container.DataItem, "Created") %>' /> </span> <span class="ui-staffnote-type"> <asp:Label runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Type")%>' /> </span> <span class="ui-staffnote-createdby"> <asp:Label runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "CreatedBy")%>' /> </span> </div> <div style="clear:both; position:relative;"> <span class="ui-staffnote-title"> <asp:Label runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Title").ToString().Trim()%>' /> </span> <span class="ui-staffnote-notation"> <asp:Label runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Notation").ToString().Trim()%>' /> </span> </div> <div style="clear:both; position:relative;"> </div> </div> </ItemTemplate> </telerik:RadListView><telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableViewState="False"> </telerik:RadWindowManager>Protected Sub list_State_SelectedIndexChanged(sender As Object, e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) Handles list_State.SelectedIndexChanged If list_State.SelectedValue = "NV" Then Dim url As String = String.Format("nevada-alert.aspx") Dim NewWindow As RadWindow = New RadWindow() NewWindow.ID = "win_ServiceState" NewWindow.Title = "Nevada is currently offline." NewWindow.Height = 330 NewWindow.Width = 420 NewWindow.ReloadOnShow = True NewWindow.Modal = True NewWindow.ShowContentDuringLoad = False NewWindow.KeepInScreenBounds = True NewWindow.VisibleOnPageLoad = True NewWindow.NavigateUrl = url RadWindowManager1.Windows.Add(NewWindow) End If End Sub<telerik:GridBoundColumn DataField="Name" FilterControlAltText="Filter Name column" FooterText="<h6>Count: " Aggregate="Count" AutoPostBackOnFilter="true" CurrentFilterFunction="StartsWith" ShowFilterIcon="False" HeaderText="Name" SortExpression="Name" UniqueName="Name" FooterStyle-HorizontalAlign="Left" AllowSorting="true" AllowFiltering="true" ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="false"> <FilterTemplate> <telerik:RadTextBox ID="RadName" runat="server" Width="100px" ClientEvents-OnValueChanged="NameChanged"> </telerik:RadTextBox> <telerik:RadScriptBlock ID="RadScriptBlock2" runat="server"> <script type="text/javascript"> function NameChanged(sender, args) { var txtbox = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>"); txtbox.filter("Name", args.get_value(), "StartsWith"); } </script> </telerik:RadScriptBlock> </FilterTemplate> </telerik:GridBoundColumn> I am stuck in a problem with a Radwindow pop-up and need your help.
On Rad Window, when I click on a button, a new pop -up opens and hides behind the previous Radwindow. In this
case the javascript code written below
returns incorrect parent.:
var parentPane = parent.getContentPane();
var parentForm = parentPane.getExtContentElement().contentWindow.document;
var TextBox = parentForm.getElementById(TextBoxID);
 
Ideally, the parent should be the Rad window from which the new pop-up was opened but here it is showing "Home.aspx" as its
parent. I tried window.opener() and other probable workarounds but none of them worked.
<telerik:RadComboBox ID="StateList" Runat="server" Skin="Windows7" Width="150px" ViewStateMode="Enabled" EmptyMessage="State/Region" ExpandAnimation-Type="InOutQuad" BorderStyle="None" AppendDataBoundItems="True" DataSourceID="sqlStates" DataTextField="StateName" DataValueField="StateAbbr" CausesValidation="False"> <Items> <telerik:RadComboBoxItem runat="server" Text="" Selected="true" Value="" /> </Items> <ExpandAnimation Type="InOutQuad" /> </telerik:RadComboBox>Protected Sub btn_submit_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles btn_submit.ClickDim State as String = StateList.SelectedValue'shows empty every time'if I plug in a standard ASP.net DropDownList and tie it to the same SQL data source, it works fine.End Sub
