| <telerik:RadComboBox ID="cboCustomer" runat="server" AllowCustomText="false" Filter="StartsWith" |
| MarkFirstMatch="true" AutoCompleteSeparator="None" OnClientFocus="OnClientFocus"> |
| <CollapseAnimation Duration="200" Type="OutQuint" /> |
| </telerik:RadComboBox> |
| function OnClientFocus(combo, e) |
| { |
| combo.showDropDown(); |
| } |
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<%@ Register assembly="RadComboBox.Net2, Version=2.8.5.0, Culture=neutral, PublicKeyToken=175e9829b585f1f6" namespace="Telerik.WebControls" tagprefix="rad" %>
<!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>
</head>
<body>
<form id="form1" runat="server">
<div>
<rad:RadComboBox ID="RadComboBox1" runat="server" AllowCustomText="True"
MarkFirstMatch="True" SkinsPath="~/RadControls/ComboBox/Skins" Width="150px">
<Items>
<rad:RadComboBoxItem runat="server" Text="One" Value="One" />
<rad:RadComboBoxItem runat="server" Text="Two" Value="Two" />
<rad:RadComboBoxItem runat="server" Text="Three" Value="Three" />
<rad:RadComboBoxItem runat="server" Text="Four" Value="Four" />
<rad:RadComboBoxItem runat="server" Text="Five" Value="Five" />
</Items>
</rad:RadComboBox>
</div>
</form>
</body>
</html>
| <add name="Telerik_Web_UI_DialogHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.axd" type="Telerik.Web.UI.DialogHandler" /> |
string JS = "<script type=text/javascript>";
JS +=
"function GetRadWindow1(){";
JS +=
"var oWindow = null;";
JS +=
"if (window.radWindow) oWindow = window.radWindow;";
JS +=
"else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;";
JS +=
"return oWindow;}";
JS +=
"var oWindow = GetRadWindow1();";
JS +=
"oWindow.Close();";
JS +=
"oWindow.BrowserWindow.refreshGrid();";
JS +=
"</script>";
RegisterStartupScript(
"CloseWindowStartupScript", JS);
I have tried this method and is still not working
lblClose.Text=
"<script type='text/javascript'>GetRadWindow().Close();GetRadWindow().BrowserWindow.refreshGrid();</script>";
BUT When I remove the proxy manager in this window. Everything works. Any resolution to this issue?
| div.radwindow.inactivewindow, div.radwindow.radwindow_MidasBlue.normalwindow.transparentwindow td.corner, div.radwindow.radwindow_MidasBlue.normalwindow.transparentwindow td.titlebar, div.radwindow.radwindow_MidasBlue.transparentwindow td.footercenter |
| { |
| opacity: 1.0 !important; /* CSS 3 , opera 9*/ |
| filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100) !important; /* MSIE */ |
| -moz-opacity: 1.0 !important; |
| } |
I am trying to selected the PanelBar item when user click on the button. I do not understand why I am not able to set the selecteditem. Thanks for any feedbacks.
RadPanelBar1.SelectedItem.Value = "2";
RadPanelBar1.DataBind();
RadPanelItem test = (RadPanelItem)RadPanelBar1.SelectedItem;
RadPanelItem parent = (RadPanelItem) test.Parent;