Telerik.Web.UI
Upgrade from old version to last new version
old version:2014
new vesion:2022.3.913.40
1.Data paging and excel export are abnormal
If you click next page or the last page or switch the number of pages, all control data becomes empty exception, and cannot return, only refresh the page
2.office excel error also occurs in exported data
The above functions in the old version instinct to work normally, the new version error, I do not know how to repair
Trying to hide the arrow on drag and drop for RadListBox. Found a post on setting the z-index for the css style .rlbDragClue and I've tried everything, display:none, visibility:hidden, background:none, all with the !important designator, nothing works. Always get the arrow.
.rlbDragClue {I have placed a RadComboBox inside a RadWindow I am using as a modal popup to capture some info. The RadComboBox is dynamically databound to a datatable result set and I can confirm that the data is loaded into the RadComboBox by clicking Up/Down arrows, I can see the other entries. However, clicking on the dropdown button, the dropbox will not expand. I have also tried the basic RadDropDownList with the same result.
I then tried an asp:DropDownList and it work's correctly.
If I place the RadComboxBox outside of the RadWindow, it works. There are no javascript errors on the page.
Can anyone help?
<telerik:RadWindow ID="Results_popup" runat="server" Title="Import Results" VisibleTitlebar="true" VisibleStatusbar="false" VisibleOnPageLoad="false"
Modal="true" Width="900px" height="600px" DestroyOnClose="True" KeepInScreenBounds="true" OnClientClose="ClosePopUpWindow_Replace"
Behaviors="Close, Move, Resize">
<ContentTemplate>
<div id="inner-container" class="window-container">
<asp:UpdatePanel ID="UpdatepanelListEdit" runat="server" UpdateMode="Conditional" RenderMode="Block" Visible="false">
<ContentTemplate>
<div class="row">
<telerik:RadComboBox RenderMode="Lightweight" ID="drpListStatus" runat="server" Width="200" Label="Status:" />
<telerik:RadDropDownList ID="drpListStatusX" runat="server" />
<asp:DropDownList ID ="drpListStatusTmp" runat="server" CssClass="dropdown" />
</div>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</ContentTemplate>
</telerik:RadWindow>
For example: ああああ
Hi,
I have a template xlsm file that I import using Radspreadprocessing. If you look at the code it's pretty straightorward.
Telerik.Windows.Documents.Spreadsheet.Model.Workbook wb; Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider fp = new Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.Xlsm.XlsmFormatProvider(); On the original imported xlsm, there is a button that runs a macro on the wsRefresh sheeet.
However, when I export the modified input xlsxm the button disappears.
I haven't a clue what I am doing wrong.
Any help would be great.
Thanks ... Ed
using (Stream input = new FileStream(filePath, FileMode.Open)) { wb = fp.Import(input); } WebClient wc = new WebClient(); Worksheet wsPivot; Worksheet wsData; Worksheet wsRefresh; wsPivot = wb.Worksheets.GetByName("Pivot"); wsData = wb.Worksheets.GetByName("Data"); wsRefresh = wb.Worksheets.GetByName("Refresh"); int row; if (dtFilters.Rows.Count > 0 && wsData != null) { for (int i = 0; i < dtFilters.Rows.Count; i++) { row = i + 2; copy data from the app to the spreadsheet(s) } } using (MemoryStream stream = new MemoryStream()) { fp.Export(wb, stream); //var content = stream.ToArray(); bytes = stream.ToArray(); Response.ClearHeaders(); Response.ClearContent(); Response.AppendHeader("content-disposition", "attachment; filename=SeedplanReport.xlsm"); Response.ContentType = "application/vnd.ms-excel";//"application /vnd.openxmlformats-officedocument.spreadsheetml.sheet"; Response.BinaryWrite(bytes); //content Response.End(); }
What I understand GetScreenDimensions(string userAgent) return 0 If there is no match.
What return GetScreenSize(string userAgent) If there is no match?
Dim screenSize As DeviceScreenSize = Detector.GetScreenSize(Request.UserAgent) If Not screenSize = ?????
And is Telerik.Web.Device.Detection still developing?
I have a searchbox in a radwindows. Id like to focus my searchbox on opening the radwindows in javascript. Is it possible?
<telerik:GridTemplateColumn HeaderStyle-Width="10%" ItemStyle-Width="10%" AllowFiltering="false" UniqueName="editPercentComplete" HeaderText="% Work Complete" DataField="PercentComplete" ReadOnly="false" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<asp:Label ClientIDMode="Static" ID="PercentCompleteLabel" runat="server" Text='<%# Eval("PercentComplete","{0:#,#;(#,#);0}%") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="PercentCompleteTextBox" runat="server" AutoPostBack="true" Width="90%" CommandName="PercentWorkComplete" OnTextChanged="PercentCompleteTextBox_TextChanged" ClientIDMode="Static" Text='<%# Bind("PercentComplete") %>'></asp:TextBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
We are working on a solution and one of the columns on one of the pages is a percentage complete column.
When in view mode the ItemTemplate should show the value with the % symbol like
53%
When user click into the cell and the EditItemTemplate shows it should show the data without the % like as follows:
53
This just wont work. The EditItemTemplate is just an asp.net TextBox. No matter how I bind it when the TextBox gets loaded it just seems to get the text in the label.
I thought behind the scenes the grid would create the HTML for the label and bind it with the formatted text and the TextBox would be created with the unformatted text, but that doesnt seem to be the case.
Can anyone help with how to set name attribute within button element of Rad Combo Box?
The button appears when html is rendered - <button class="rcbActionButton" tabindex="-1" type="button">
Either client side or server side will work.
Using RadMenu's, submenu is getting expanded on click but if I click on other submenu previous one is not getting collapsed and it remain open only.
I tried below javascript, got it from Telerik forums. It is working for level 1 menu items not for submenu items (level 2 menu items) and sub-submenu items(level 3 items) also.
I have to click twice on level 2 items to open level 3 items.
Code:
<script type="text/javascript">
function onClientItemClicked(sender, args) {
sender.close(true);
}
function OnClientMouseOverHandler(sender, eventArgs) {
if (eventArgs.get_item().get_parent() == sender) {
sender.set_clicked(false);
}
}
</script>
<telerik:RadMenu ID="SampleMenu" runat="server" Skin="Product" RenderMode="Lightweight" ShowToggleHandle="true" AppendDataBoundItems="true" EnableEmbeddedSkins="false" EnableRoundedCorners="true" EnableShadows="true" ExpandDelay="300" ExpandAnimation-Type="InSine" Flow="Vertical" OnClientItemClicked="OnClientItemClicked" OnClientMouseOver="OnClientMouseOverHandler">