function showNextItem(dir) { var oRotator = $find('<%= RadRotator1.ClientID %>'); if (dir == 0) { oRotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Right); } else { oRotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Left); } }<tr:RadRotator ID="RadRotator1" runat="server" ...><%@ Page Language="vb" AutoEventWireup="false" CodeBehind="dropdownlist.aspx.vb" Inherits="TestaTredjepartWeb.dropdownlist" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <asp:ScriptManager ID="s" runat="server"> </asp:ScriptManager> <div> <telerik:RadDropDownList ID="ddl" runat="server"> </telerik:RadDropDownList> </div> </form></body></html>Public Class dropdownlist Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ddl.Items.Add(New Telerik.Web.UI.DropDownListItem(HttpUtility.HtmlEncode("<script>alert('hello1');</script>"), "1")) ddl.Items.Add(New Telerik.Web.UI.DropDownListItem(HttpUtility.HtmlEncode("<script>alert('hello2');</script>"), "2")) End SubEnd Class<telerik:RadButton ID="ButtonPairAndroid" runat="server" Text="Pair Android Device" Width="230px" OnClick="ButtonPairAndroid_Click" OnClientClicking="CallClientShow" CausesValidation="False" /> <telerik:RadNotification ID="RadNotification1" runat="server" Height="110px" Position="Center" Text="Retreiving PIN number" Title="Device Pairing" Width="350px" AutoCloseDelay="0" OnCallbackUpdate="OnCallbackUpdate" UpdateInterval="0" LoadContentOn="TimeInterval" OnClientHidden="OnClientHidden"> </telerik:RadNotification> <telerik:RadScriptBlock ID="block" runat="server"> <script type="text/javascript"> function CallClientShow(sender, args) { var notification = $find("<%=RadNotification1.ClientID %>"); notification.set_updateInterval(3000); notification.set_text("Retreiving PIN number"); notification.show(); args.set_cancel(false); } function OnClientHidden(sender, eventArgs) { var notification = $find("<%=RadNotification1.ClientID %>"); notification.set_updateInterval(0); } </script> </telerik:RadScriptBlock>
In the above post the Telerik Admin suggested a browser file fix which worked very well for my Windows 7, IE 11 machine.
However it did not fix Windows 8.1 IE11. The problem exists until you switch to compatibility mode.
Is there something else we can do to the browser file until we resolve the impact of upgrading to .Net 4.5?
thanks,
Tim Kelley
protected DataSet Data { get { if (Application["data"] == null) { return null; } return Application["data"] as DataSet; } }private void ImportFromExcel() { // Bind Data and populate Dropdown string filePath = String.Format("~/ImportProduction/{0}", FileName); FileStream stream = File.Open(Server.MapPath(filePath), FileMode.Open, FileAccess.Read); IExcelDataReader excelReader = ExcelReaderFactory.CreateOpenXmlReader(stream); excelReader.IsFirstRowAsColumnNames = firstRowIsHeaderRowCheckBox.Checked; Application["data"] = excelReader.AsDataSet(); excelReader.Close(); foreach (DataTable t in Data.Tables) { var name = t.TableName; var index = Data.Tables.IndexOf(t); RadComboBoxItem item = new RadComboBoxItem(name, index.ToString()); RadComboBox1.Items.Add(item); }
RadGridImport.Rebind(); }protected void RadGridImport_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e) { if (Data != null) { var selectedWorkSheet = RadComboBox1.SelectedIndex; if (selectedWorkSheet != -1) (sender as RadGrid).DataSource = Data.Tables[selectedWorkSheet]; ValidateButton.Enabled = true; } }I am having this issue since very long that Filter Icon of GridNumericColumn is not displayed Properly.
See Attached Image. It happens only in IE7. Above IE7 it works perfect. And also it happens with GridNumericColumn
Column only. It works with BoundColumn.
I am using following code and css as it suugests in some of telerik forum but it doesn't work.
|
<telerik:GridNumericColumn DataField="abc" HeaderText="abc" UniqueName="abc" |
|
FilterControlWidth="80%" SortExpression="abc" FilterListOptions="VaryByDataType" |
|
Resizable="true" AutoPostBackOnFilter="false" ShowSortIcon="true" DataType="System.Int32"> |
|
<ItemStyle Width="7%" /> |
|
<HeaderStyle Width="7%" /> |
|
</telerik:GridNumericColumn> |
|
<!--[if IE 7]> |
|
<style type="text/css"> |
|
.riTextBox,.riFocused,.riEnabled,.riHover |
|
{ |
|
height:15px !important; |
|
} |
|
#ctl00_ContentPlaceHolder_grdAppointmentSearch_ctl00_ctl02_ctl03_RNTBF_abc |
|
{ |
|
width:50px !important; |
|
max-width:50px !important; |
|
} |
|
</style> |
|
<![endif]--> |