or
function OpenWindow(oWnd, url, width, height) { url = url == null ? oWnd.get_navigateUrl() : url; width = width == null ? oWnd.get_width() : width; width = width == null ? 600 : width; height = height == null ? oWnd.get_height() : height; height = height == null ? 600 : height; oWnd.set_keepInScreenBounds(true); oWnd.set_showContentDuringLoad(false); oWnd.setSize(width, height); oWnd.setUrl(url); oWnd.show(); }function GetRadWindow() { var oWindow = null; if (window.radWindow) { oWindow = window.radWindow; } else if (window.frameElement.radWindow) { oWindow = window.frameElement.radWindow; } return oWindow; } function returnToParent(ID) { //create the argument that will be returned to the parent page var oArg = new Object(); oArg.ID = ID; //get a reference to the current RadWindow var oWnd = GetRadWindow(); oWnd.Close(); }| <telerik:GridBoundColumn DataField="AddressLine2" HeaderText="AddressLine2" SortExpression="AddressLine2" |
| UniqueName="AddressLine2" AutoPostBackOnFilter="True"> |
| </telerik:GridBoundColumn> |
| <telerik:GridTemplateColumn HeaderText="City" DataField="City" SortExpression="City" |
| Groupable="true" GroupByExpression="City" UniqueName="CityColumn" AutoPostBackOnFilter="True"> |
| <EditItemTemplate> |
| <telerik:RadComboBox ID="CityEditControl" runat="server" Skin="Web20" DataSourceID="lkpCities" |
| DataTextField="City" DataValueField="UID" SelectedValue='<%# Bind("lkpCitiesID")%>' |
| MarkFirstMatch="true" AppendDataBoundItems="true"> |
| <Items> |
| <telerik:RadComboBoxItem Text="Select" Value="0" /> |
| </Items> |
| </telerik:RadComboBox> |
| </EditItemTemplate> |
| <ItemTemplate> |
| <%#Eval("City")%> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
