Hello
I'm using a RadFilter(dropdownFilter) in my ASP.Net Ajax application and noticed that upon changing the Field/Value , the change takes about 8-10 seconds to reflect..
When we change Filed/Value , a call or handler event is initiated to the Telerik.Web.UI.Resource.axd and its taking time to get the response and render the control with selected Filed/Value.
Any help on this is appreciated.
Attached the call that triggers to WebResource.axd .
Below my Scriptmanager configuration -
<telerik:RadScriptManager ID="ScriptManager" runat="server" EnablePageMethods="false" EnableEmbeddedjQuery="false"
EnablePartialRendering="true" EnableScriptGlobalization="false" EnableScriptLocalization="true"
EnableHandlerDetection="false" ScriptMode="Release" EnableScriptCombine="false" AsyncPostBackTimeout="600">
<Groups>
<telerik:ScriptReferenceGroup>
<Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryExternal.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryPlugins.js" />
</Scripts>
</telerik:ScriptReferenceGroup>
</Groups>
</telerik:RadScriptManager>
Hello,
I am attempting to integrate the drag/drop feature into a RadTreeList. The dragging is enabled and seems to work great but when an item is dropped it attempts a postback but does not change position. I assume this is because I need to manually assign it a value in comparison to a parent item. Does anyone have any experience or examples they could provide to display this functionality better? The most I have found online was this brief article:
https://docs.telerik.com/devtools/aspnet-ajax/controls/treelist/items/items-drag-and-drop
My code:
<telerik:RadTreeList ID="treeViewGrid" runat="server" DataKeyNames="ModuleId" CommandItemDisplay="Top" ParentDataKeyNames="ParentId" AutoGenerateColumns="false" EnableDragAndDrop="true">
<ClientSettings AllowItemsDragDrop="true">
<Selecting AllowItemSelection="True" />
</ClientSettings>
<Columns>
....
</columns>
....
Database:
moduleid
1
displayorder
1
moduletype
1
parentid
0
displayorder
2
moduletype
1
parentid
0
moduleid
2
My guess would be that there is a OnDropItem that runs server side where I can assign a new display order based on the previous order. Any help on this is appreciated! Thanks!
Hi Team,
I am getting console issue with getParentElement(),this shows element value as null
which affects all other functionalaities.
function RadEditorElementDesignerModule(element) {
RadEditorElementDesignerModule.initializeBase(this, [element]);
};
RadEditorElementDesignerModule.prototype =
{
initialize: function() {
RadEditorElementDesignerModule.callBaseMethod(this, 'initialize');
var selfPointer = this;
this.get_editor().add_selectionChange(function() { selfPointer.doSomething(); });
this.doSomething();
},
doSomething: function() {
var module = this.get_element();
Test.$('RadEditorElementDesignerModule').setInnerHTML('').hide();
var selection = this.get_editor().getSelection();
var element = selection.getParentElement();
if (element.designer) {
if (designers[element.designer]) {
try {
designers[element.designer](element, module);
BDS.$('RadEditorElementDesignerModule').show();
}
catch (ex) { }
}
}
}
Error:
Uncaught TypeError: Cannot read properties of null (reading 'designer')
at RadEditorElementDesignerModule.doSomething (Shell.aspx?
at RadEditorElementDesignerModule.initialize
at RadEditorElementDesignerModule.Sys$Component$endUpdate [as endUpdate] (VM4504 ScriptResource.axd:3685)
at $create (VM4790 bds-min.js:3)
at Telerik.Web.UI.Editor.ModulesManager.createModule (VM5225 ScriptResource.axd:391)
at Telerik.Web.UI.Editor.ModulesManager.createModules (VM5225 ScriptResource.axd:375)
at Telerik.Web.UI.Editor.ModulesManager.initialize (VM5225 ScriptResource.axd:365)
at c.RadEditor.initialize (VM5221 ScriptResource.axd:8095)
at c.RadEditor.Sys$Component$endUpdate [as endUpdate] (VM4504 ScriptResource.axd:3685)
at Sys$_Application$endCreateComponents [as endCreateComponents] (VM4504 ScriptResource.axd:4897)
doSomething @ Shell.aspx?
Can anyone please help me what should I replace.
I have done extensive research on this issue and have yet to find a solution that works. I have a simple RadGrid, 2 columns are Template Columns. Each of those 2 columns have a RadDropDownList (DDL) with SQL Data Sources. I would like the selection of the first DDL to define the data list of the second DDL. Also, this needs to work in Insert and Edit modes.
I am stuck at two instances, at one point the first DDL - after making a selection it posts-back and loses the selected item. It resets to "- Select -" and does not bind the second DDL with any data.
Another is when I get an error that states I can't use Eval, Bind, etc., to a non-databound control.
Please take a look at my code and point me in the correct direction!
<telerik:RadGrid ID="rgvHDwithLoc" runat="server" AutoGenerateColumns="False" DataSourceID="sdsHDwithLoc" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AutoGenerateDeleteColumn="false" AutoGenerateEditColumn="False">
<GroupingSettings CollapseAllTooltip="Collapse all groups" />
<MasterTableView AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" CommandItemDisplay="Top" DataKeyNames="owedRequestID" DataSourceID="sdsHDwithLoc" EditMode="EditForms">
<CommandItemSettings ShowCancelChangesButton="false" ShowSaveChangesButton="false" />
<Columns>
<telerik:GridEditCommandColumn EditText="Edit" UpdateText="Update" CancelText="Cancel" HeaderText="Edit"></telerik:GridEditCommandColumn>
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" ConfirmText="Are you sure you want to delete this record?" ConfirmTitle="Delete Adjustment" FilterControlAltText="Filter delete column" HeaderText="Delete" UniqueName="delete">
</telerik:GridButtonColumn>
<telerik:GridBoundColumn DataField="owedRequestID" DataType="System.Int32" FilterControlAltText="Filter owedRequestID column" HeaderText="owedRequestID" ReadOnly="True" SortExpression="owedRequestID" UniqueName="owedRequestID" Display="false">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="wageAdjRequestID" DataType="System.Int32" FilterControlAltText="Filter wageAdjRequestID column" HeaderText="wageAdjRequestID" SortExpression="wageAdjRequestID" UniqueName="wageAdjRequestID" Display="false" ReadOnly="true">
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn DataField="sapWageCode" FilterControlAltText="Filter sapWageCode column" HeaderText="Wage Code" SortExpression="sapWageCode" UniqueName="sapWageCode">
<EditItemTemplate>
<telerik:RadDropDownList ID="ddlsapWageCode" runat="server" SelectedValue='<%# Bind("sapWageCode") %>' DataTextField="sapWageCodeAndName" DataValueField="sapWageCode" DataSourceID="sdsWageCode" Width="400" DefaultMessage="- Select -" AutoPostBack="True" CausesValidation="false" EnableViewState="true" OnSelectedIndexChanged="ddlsapWageCode_SelectedIndexChanged"></telerik:RadDropDownList>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="sapWageCodeLabel" runat="server" Text='<%# Eval("sapWageCode") %>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="sapAttnCode" FilterControlAltText="Filter sapAttnCode column" HeaderText="Attn Code" SortExpression="sapAttnCode" UniqueName="sapAttnCode">
<EditItemTemplate>
<telerik:RadDropDownList ID="ddlsapAttnCode" runat="server" DataTextField="sapAttnCodeAndName" DataValueField="sapAttnCode" Width="400" SelectedValue='<%# Eval("sapAttnCode")%>' DefaultMessage="- Select -"></telerik:RadDropDownList>
</EditItemTemplate>
<InsertItemTemplate>
<telerik:RadDropDownList ID="ddlsapAttnCode" runat="server" DataTextField="sapAttnCodeAndName" DataValueField="sapAttnCode" Width="400" DefaultMessage="- Select -"></telerik:RadDropDownList>
</InsertItemTemplate>
<ItemTemplate>
<asp:Label ID="sapAttnCodeLabel" runat="server" Text='<%# Eval("sapAttnCode") %>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="sapWorkCenter" FilterControlAltText="Filter sapWorkCenter column" HeaderText="Work Center" SortExpression="sapWorkCenter" UniqueName="sapWorkCenter">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="sapDept" FilterControlAltText="Filter sapDept column" HeaderText="Dept" SortExpression="sapDept" UniqueName="sapDept">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Hours" DataType="System.Decimal" FilterControlAltText="Filter Hours column" HeaderText="Hours" SortExpression="Hours" UniqueName="Hours">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="RatePay" DataType="System.Decimal" FilterControlAltText="Filter RatePay column" HeaderText="RatePay" SortExpression="RatePay" UniqueName="RatePay">
</telerik:GridBoundColumn>
<telerik:GridDateTimeColumn DataField="Date" DataType="System.DateTime" FilterControlAltText="Filter Date column" HeaderText="Date" SortExpression="Date" UniqueName="Date" DataFormatString="{0:d}">
</telerik:GridDateTimeColumn>
<telerik:GridTemplateColumn DataField="sapJobCode" FilterControlAltText="Filter sapJobCode column" HeaderText="Job Code" SortExpression="sapJobCode" UniqueName="sapJobCode">
<EditItemTemplate>
<telerik:RadDropDownList ID="ddlsapJobCode" runat="server" DataSourceID="sdsJobCode" DataTextField="sapJobCodeAndName" DataValueField="sapJobCode" SelectedValue='<%# Bind("sapJobCode") %>' Width="400" DefaultMessage="- Select -"></telerik:RadDropDownList>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="sapJobCodeLabel" runat="server" Text='<%# Eval("sapJobCode") %>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn1 column" UniqueName="EditCommandColumn1">
</EditColumn>
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
<asp:SqlDataSource ID="sdsHDwithLoc" runat="server" ConnectionString="<%$ ConnectionStrings:XXXXXX_SAP %>"
DeleteCommand="DELETE FROM [tblSAP_HoursDollarsOwedRequest] WHERE [owedRequestID] = @owedRequestID"
SelectCommand="SELECT * FROM view_SAP_WageAdjRequest_hoursDollarsOwed WHERE (wageAdjRequestID = @wageAdjRequestID)"
UpdateCommand="UPDATE tblSAP_HoursDollarsOwedRequest SET sapWageCode = @sapWageCode, sapAttnCode = @sapAttnCode, sapWorkCenter = @sapWorkCenter, sapDept = @sapDept, Hours = @Hours, RatePay = @RatePay, sapJobCode = @sapJobCode, Date = @Date WHERE (owedRequestID = @owedRequestID)"
InsertCommand="INSERT INTO tblSAP_HoursDollarsOwedRequest (wageAdjRequestID, sapWageCode, sapAttnCode, sapWorkCenter, sapDept, Hours, RatePay, sapJobCode, [Date]) VALUES (@wageAdjRequestID, @sapWageCode, @sapAttnCode, @sapWorkCenter, @sapDept, @Hours, @RatePay, @sapJobCode, @Date)">
<SelectParameters>
<asp:ControlParameter ControlID="lblWageAdjID" PropertyName="Text" Name="wageAdjRequestID" Type="Int32" />
</SelectParameters>
<DeleteParameters>
<asp:Parameter Name="owedRequestID" Type="Int32" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="sapWageCode" Type="String" />
<asp:Parameter Name="sapAttnCode" Type="String" />
<asp:Parameter Name="sapWorkCenter" Type="String" />
<asp:Parameter Name="sapDept" Type="String" />
<asp:Parameter Name="Hours" Type="Decimal" />
<asp:Parameter Name="RatePay" Type="Decimal" />
<asp:Parameter Name="sapJobCode" Type="String" />
<asp:Parameter Name="Date" Type="DateTime" />
<asp:Parameter Name="owedRequestID" Type="Int32" />
</UpdateParameters>
<InsertParameters>
<asp:ControlParameter ControlID="lblWageAdjID" PropertyName="text" Name="wageAdjRequestID" Type="Int32" />
<asp:Parameter Name="sapWageCode" Type="String" />
<asp:Parameter Name="sapAttnCode" Type="String" />
<asp:Parameter Name="sapWorkCenter" Type="String" />
<asp:Parameter Name="sapDept" Type="String" />
<asp:Parameter Name="Hours" Type="Decimal" />
<asp:Parameter Name="RatePay" Type="Decimal" />
<asp:Parameter Name="sapJobCode" Type="String" />
<asp:Parameter Name="Date" Type="DateTime" />
</InsertParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="sdsWageCode" runat="server" ConnectionString="<%$ ConnectionStrings:XXXXXX_SAP %>"
SelectCommand="SELECT [sapWageCode], sapWageCode + ' - ' + sapWageCodeName AS sapWageCodeAndName FROM [tblSAP_WageCode] WHERE [sapWageCodeActive] = 1 ORDER BY [sapWageCodeName]"></asp:SqlDataSource>
<asp:SqlDataSource ID="sdsAttnCode" runat="server" ConnectionString="<%$ ConnectionStrings:XXXXXX_SAP %>"
SelectCommand="SELECT [sapAttnCode], sapAttnCode + ' - ' + sapAttnCodeName AS sapAttnCodeAndName FROM [tblSAP_AttnCode] WHERE [sapAttnCodeActive] = 1 AND sapWageCode = @sapWageCode">
<SelectParameters>
<asp:ControlParameter ControlID="ddlsapWageCode" PropertyName="SelectedValue" Name="sapWageCode" Type="String" />
</SelectParameters>
</asp:SqlDataSource>And I have tried this in my VB code behind:
Protected Sub ddlsapWageCode_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs)
Dim wageCodeDDL As RadDropDownList = CType(sender, RadDropDownList)
Dim insertItem As GridEditFormInsertItem = CType(wageCodeDDL.NamingContainer, GridEditFormInsertItem)
Dim attnCodeDDL As RadDropDownList = CType(insertItem.FindControl("ddlsapAttnCode"), RadDropDownList)
Dim strWageCode = wageCodeDDL.SelectedValue.ToString
Dim strAttnCode As String = Nothing
Dim strAttnCodeAndName As String = Nothing
Dim myConn As New SqlConnection(ConfigurationManager.ConnectionStrings("XXXXXX_SAP").ConnectionString)
Dim strSelect As String = "SELECT [sapAttnCode], sapAttnCode + ' - ' + sapAttnCodeName AS sapAttnCodeAndName FROM [tblSAP_AttnCode] WHERE [sapAttnCodeActive] = 1 AND sapWageCode = @sapWageCode"
Dim myCmd As New SqlCommand(strSelect, myConn)
myConn.Open()
With myCmd.Parameters
.Add(New SqlParameter("@sapWageCode", strWageCode))
End With
Dim dr As SqlDataReader = myCmd.ExecuteReader
While dr.Read
strAttnCode = dr("sapAttnCode")
strAttnCodeAndName = dr("sapAttnCodeAndName")
End While
myConn.Close()
myCmd.Dispose()
myConn.Dispose()
dr.Close()
attnCodeDDL.DataValueField = strAttnCode
attnCodeDDL.DataTextField = strAttnCodeAndName
attnCodeDDL.DataBind()
End Sub
Can the Radgrid print function print a multi page grid?
My grid just prints out the first page - it is more like a print screen function than a print grid function.
Thank You
Doug Juola
djuola@cox.net

While introducing a screenshot feature to one of our applications, we're experiencing unexpected behavior.
The screenshots are grabbed as a blob, client-side, converted to a base64 string, then saved in a RadListBox. We found that if greater than five base64 strings are saved in the RadListBox, the item count is zero, and triggers an error on our server side save functionality.
In most cases the limit of five works as expected, however, at times, even with the limit of five images (as base64 strings), the list box item count is zero.
Is there a size limit to the RadListBox? So far, the only explanation I can come up with is the list box control is overwhelmed with data and purges itself.
What else could cause this?

Hi,
I have a RadTapStrip and a RadmultiPage: The code is below though I have cut off the RadMultiPage for brevity.
In The code behind which I've left out, again for brevity,In each pageview there is a RadHTMLChart. I read an article that said that all pageviews are loaded automatically unless they are set to Select Only.
The code makes certain tabs invisible under certain circumstances. In this case the first tab is made invisible. so the second tab shows up first. To make sure that the second tab is selected and the associated RadHTMLChart shows up I set the Selectedindex for the RadTabStrip to 1.
RadTabStrip1.SelectedIndex = 1;
I wasn't sure if that was right but I did see that the second tab is highlighted as I hoped when the screen renders; just to be clear this "second" tab is the first tab after the real first tab is made invisible . However the RadHTMLChart associated with that tab does not show up.
I clicked the next tab and the associated RadHtmlChart DID appear for that tab. Then when I went back to click the previous tab that didn't show the radHTMLChart when the screen was FIRST rendered; this time the radHTMLchart DID show up.
To do research I put a line in the codebehind to explicitly activate the RadHTMLChart when the screen FIRST renders,
RadMultiPage1.FindPageViewByID("RadPageView2").Selected = true;
This time when the screen first rendered it DID show the associated radHTMLChart.
I believe I'm missing something in the odd situation where tabs are made invisible.
The code from the aspx file is below:
-------------------------------------------------------------------------------------------
<telerik:RadTabStrip runat="server" ID="RadTabStrip1" MultiPageID="RadMultiPage1" SelectedIndex="0" Skin="Simple" Visible="false">
<Tabs>
<telerik:RadTab Text="One" Width="200px"></telerik:RadTab>
<telerik:RadTab Text="Two" Width="200px"></telerik:RadTab>
<telerik:RadTab Text="Three" Width="200px"></telerik:RadTab>
<telerik:RadTab Text="Four" Width="200px"></telerik:RadTab>
<telerik:RadTab Text="Five" Width="200px"></telerik:RadTab>
<telerik:RadTab Text="Six" Width="200px"></telerik:RadTab>
<telerik:RadTab Text="Seven" Width="200px"></telerik:RadTab>
<telerik:RadTab Text="Eight" Width="200px"></telerik:RadTab>
<telerik:RadTab Text="Nine" Width="200px"></telerik:RadTab>
<telerik:RadTab Text="Ten" Width="200px"></telerik:RadTab>
<telerik:RadTab Text="Eleven" Width="200px"></telerik:RadTab>
</Tabs>
</telerik:RadTabStrip><br />
<telerik:RadMultiPage runat="server" id="RadMultiPage1" SelectedIndex="0">
<telerik:RadPageView runat="server" ID="RadPageView1">
<div>
<telerik:RadHtmlChart runat="server" Width="100%" Height="800px" ID="ChartInsideDiameter" Skin="Metro" PlotArea-XAxis-MinorGridLines-Visible="false"
PlotArea-XAxis-MajorGridLines-Visible="false" PlotArea-YAxis-MajorGridLines-Visible="false" PlotArea-YAxis-MinorGridLines-Visible="false">
<PlotArea>
<Series>
<telerik:LineSeries DataFieldY="Field1" Name="">
<TooltipsAppearance Color="White" />
</telerik:LineSeries>
</Series>
<XAxis DataLabelsField="Label1">
<LabelsAppearance RotationAngle="75">
</LabelsAppearance>
<TitleAppearance Text="Date">
</TitleAppearance>
</XAxis>
<YAxis Step=".15">
<TitleAppearance Text="Title1">
</TitleAppearance>
</YAxis>
</PlotArea>
<Legend>
<Appearance>
</Appearance>
</Legend>
<ChartTitle>
</ChartTitle>
</telerik:RadHtmlChart>
</div>
</telerik:RadPageView>
<telerik:RadPageView runat="server" ID="RadPageView2">
<div>
<telerik:RadHtmlChart runat="server" Width="100%" Height="800px" ID="ChartInsideDiameterA" Skin="Metro" PlotArea-XAxis-MinorGridLines-Visible="false"
PlotArea-XAxis-MajorGridLines-Visible="false" PlotArea-YAxis-MajorGridLines-Visible="false" PlotArea-YAxis-MinorGridLines-Visible="false">
<PlotArea>
<Series>
<telerik:LineSeries DataFieldY="Field2" Name="">
<TooltipsAppearance Color="White" />
</telerik:LineSeries>
</Series>
<XAxis DataLabelsField="Label2">
<LabelsAppearance RotationAngle="75">
</LabelsAppearance>
<TitleAppearance Text="Date">
</TitleAppearance>
</XAxis>
<YAxis Step=".2">
<TitleAppearance Text="Title2">
</TitleAppearance>
</YAxis>
</PlotArea>
<Legend>
<Appearance>
</Appearance>
</Legend>
<ChartTitle>
</ChartTitle>
</telerik:RadHtmlChart>
</div>
</telerik:RadPageView>

Hi ,
we are creating dynamic report in that one of the columns contain 100 and above characters . so we set text wrap as true.
Result as
If we set false for text wrap, then result as below
data not show as fully,
Below the code that we create dynamic report Dim detailsTxt As New Telerik.Reporting.TextBox
detailsTxt.Size = New SizeU(Unit.Inch(col.ColumnName.Length), Unit.Inch(0.2))
detailsTxt.Location = New Drawing.PointU(Unit.Inch(iniLeft), Unit.Inch(0.01))
detailsTxt.Style.Font.Size = New Unit(10)
detailsTxt.Style.VerticalAlign = VerticalAlign.Middle
detailsTxt.Style.TextAlign = HorizontalAlign.Left
detailsTxt.TextWrap = False
detailsTxt.StyleName = "Data"
detailsTxt.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid
detailsTxt.CanGrow = True
detailsTxt.KeepTogether = True
detailsTxt.Multiline = True
' detailsTxt.Format = Format("{0:n}")
detailsTxt.Value = "=Fields.[" + col.ColumnName.ToString & "]"
detail.Items.Add(detailsTxt)
What we expect
Pls reply with any solution, we are using Telerik version is 11.1.7.614 , is it new version fixed this bug ?
Thanks.
Hi
I have a page with a RadProgressBar over an loadbalancer (AWS Elastic Load Balancer).
When I access the page not using the loadbalancer address everyting works fine. But when I access using the address of loadbalancer the progressbar close after 90 seconds.
I know, the default timeout of scriptmanager is 90 seconds. But the scriptmanager have the AsyncPostBackTimeout with 2000 seconds.
<telerik:RadScriptManager ID="ScriptManager1" EnableScriptCombine="true" AsyncPostBackTimeout="2000" OutputCompression="Forced" ScriptMode="Release" runat="server" />
<telerik:RadProgressManager ID="RadProgressManager1" RefreshPeriod="5000" RegisterForSubmit="false" runat="server" />
In the AWS loadbalancer have the idle timeout param and I set the value to 900 seconds. I can confirm this configuration working very fine because the page still load until the end of the request, but the radprogress closes after 90 seconds or 18 times of the radprogress handler calls the server.
The web.config has executionTimeout="10800", and this works because the page remains running until the end.
Anybody have any idea about the problem and solution?
Thanks
I am trying to set the datasource property of a radcombobox in the selectedindexchanged eventhandler of another radcombobox.
I am getting this error.
How do I accomplish this?
