or

<telerik:RadButton ID="bSearch" runat="server" Text="Search" OnClick="bSearch_Click" Width="90px"> <Icon SecondaryIconCssClass="rbSearch" SecondaryIconRight="4" SecondaryIconTop="4" /></telerik:RadButton>Q1 2014 (Version number: 2014.1.225)
Control is throwing a JavaScript error on IE7: “Could not get the fontWeight property. Invalid argument”.
Solution:<script type="text/javascript"> Telerik.Web.UI.RadAutoCompleteBox.DropDown.prototype._createTextSizingDiv = function (sourceElement) { var textSizingDiv = document.createElement("div"), fontStyles = ["font-size", "font-family", "font-weight", "font-variant", "font-style", "text-transform"], fontStylesProperties = ["fontSize", "fontFamily", "fontWeight", "fontVariant", "fontStyle", "textTransform"]; textSizingDiv.style.position = 'absolute'; textSizingDiv.style.display = 'block'; textSizingDiv.style.visibility = 'hidden'; // In IE 7/8 getComputedStyle takes styles in format "fontSize", while in other browsers // it must be "font-size". After fixing the getComputedStyles implementation to resolve // the format, remove this workaround if ($telerik.getComputedStyle(sourceElement, fontStyles[0], null) === null) { fontStyles = fontStylesProperties; } for (var i = 0, length = fontStyles.length; i < length; i++) { textSizingDiv.style[fontStylesProperties[i]] = $telerik.getComputedStyle(sourceElement, fontStyles[i], null); } return textSizingDiv; }</script><style type="text/css"> html .RadAutoCompleteBox .racTokenList { display: block; }</style><button style="width: 150px; margin-bottom: 0px;" onclick="openRadWin(); return false;">Exchange rate calculator</button><telerik:RadButton ID="Button11" runat="server" Text="" CssClass="cNexchange" HoveredCssClass="cHexchange" PressedCssClass="cCexchange" OnClientClicked="openRadWin(); return false;"> <Image EnableImageButton="true" /> </telerik:RadButton><script type="text/javascript"> //<![CDATA[ function openRadWin() { var width = "430px"; var height = "355px"; var left = "800px"; var top = "150px"; radopen("currencies.aspx", "RadWindow1", width, height, left, top); } //]]> </script><head id="Head1" runat="server"> <title>Client Note</title> <meta http-equiv="x-ua-compatible" content="IE=edge" /> <link href="styles.css" rel="stylesheet" type="text/css" /> </head><telerik:RadEditor ID="RadEditorEdit" ToolsFile="EditorTools.xml" ToolTip="Maximum 3000 characters allowed." EditModes="All" runat="server" ToolbarMode="ShowOnFocus" Content='<%# Bind("Notes_Comment") %>'> <ExportSettings OpenInNewWindow="true"> </ExportSettings> <Tools> <telerik:EditorToolGroup Tag="Bottom"> <telerik:EditorTool Name="AbsolutePosition" ShowIcon="true" /> <telerik:EditorTool Name="TrackChangesDialog" Enabled="true" ShowIcon="true" /> </telerik:EditorToolGroup> </Tools> <Modules> <telerik:EditorModule Name="RadEditorDomInspector" Enabled="true" Visible="true" /> <telerik:EditorModule Name="RadEditorStatistics" Enabled="true" Visible="true" /> </Modules></telerik:RadEditor>
Protected Sub gvAccounts_GroupsChanging(sender As Object, e As GridGroupsChangingEventArgs) Handles gvAccounts.GroupsChanging If (e.Action = GridGroupsChangingAction.Group) Then gvAccounts.AllowPaging = False gvAccounts.MasterTableView.GetColumnSafe(e.Expression.GroupByFields(0).FieldName).Visible = False gvAccounts.MasterTableView.CommandItemSettings.ShowExportToExcelButton = False gvAccounts.MasterTableView.CommandItemSettings.ShowExportToPdfButton = False ElseIf (e.Action = GridGroupsChangingAction.Ungroup) Then IF ''add some code here to check if there are any grouped columns, if false then gvAccounts.MasterTableView.CommandItemSettings.ShowExportToExcelButton = True gvAccounts.MasterTableView.CommandItemSettings.ShowExportToPdfButton = True End If gvAccounts.AllowPaging = True gvAccounts.MasterTableView.GetColumnSafe(e.Expression.GroupByFields(0).FieldName).Visible = True End IfEnd Sub