Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
88 views
Hi,
I have a database sql server on the remote web server, there are some tables that contain thousands of data on which I have to do some research display.
My question is the following, for example, using a control radcombobox, which technique is faster to load and display the data?

1) SqlDataSource
2) Entity datasouce
3) Web Service?

thanks
Fabio Cirillo
Top achievements
Rank 1
 asked on 09 Dec 2014
1 answer
190 views
I am trying to create a Bubble chart but when bubbles occupy the same space the series labels are rendered on top of each other.

Is there anyway to keep this from happening.  Maybe add some sort of offset?
Danail Vasilev
Telerik team
 answered on 09 Dec 2014
2 answers
78 views
LS,

After changing the value of the property 'ClientSettings-Scrolling-AllowVerticalScroll" to "true" the layout of the grid changes in an undesired way.
(Check the images).

The width of the second header column cannot hold the text anymore. The second header column seems to be rendered with the width of the first (85px) and vice versa (300px).


I'm fairly new to this control and have no idea why such a simple change has such an impact. I must be doing something else wrong but i cannot find anything strange in the code (provided below).

Anyone any idea why the grid behaves like this?


<telerik:RadPivotGrid ID="pivControles" runat="server"
                      Skin="Metro"
                      AllowSorting="true"
                      AllowPaging="false"
                      RowGroupsDefaultExpanded="false"
                      TotalsSettings-RowGrandTotalsPosition="Last"
                      TotalsSettings-RowsSubTotalsPosition="None"
                      TotalsSettings-ColumnsGrandTotalsPosition="Last"
                      TotalsSettings-ColumnsSubTotalsPosition="None"
                      TotalsSettings-GrandTotalsVisibility="RowsAndColumns"
                      OnNeedDataSource="PivControles_NeedDataSource"
                      OnItemCommand="PivControles_ItemCommand"
                      OnCellDataBound="pivControle_CellDataBound"
                      ShowFilterHeaderZone="false"
                      ShowColumnHeaderZone="false"
                      ShowRowHeaderZone="false"
                      ShowDataHeaderZone="false"
                      EnableToolTips="true"
                      ClientSettings-ClientEvents-OnToolTipShow="showToolTip"
                      ClientSettings-ClientEvents-OnCellMouseOut="CellMouseOut"
                      ClientSettings-ClientEvents-OnCellMouseOver="CellMouseOver"
                      ClientSettings-Scrolling-AllowVerticalScroll="true" >
                    <Fields>
                        <telerik:PivotGridColumnField DataField="SpecialismeOmschrijving"
                                                      CellStyle-BackColor="#F0F0F0"
                                                      Caption="Specialisme"
                                                      UniqueName="Specialisme" />
                        <telerik:PivotGridRowField DataField="ClusterIdEnCode"
                                                   ShowGroupsWhenNoData="false"
                                                   CellStyle-Width="85px"
                                                   CellStyle-BackColor="#F0F0F0"
                                                   Caption="Cluster" />
                        <telerik:PivotGridRowField DataField="ControleCodeEnOmschrijving"
                                                   CellStyle-CssClass="controleomschrijvingcell"
                                                   Caption="Controle" 
                                                   CellStyle-Width="300px"
                                                   CellStyle-BackColor="#F0F0F0" />
                        <telerik:PivotGridAggregateField DataField="AantalControleResultaten"
                                                         Caption="Aantal resultaten"
                                                         Aggregate="Sum"
                                                         CellStyle-CssClass="pivotcell">
                            <CellTemplate>
                                <asp:LinkButton ID="btnGoToWerklijst" runat="server" 
                                                onmouseover="BtnMouseOver(this)"
                                                onmouseout="BtnMouseOut(this)"
                                                ForeColor="#153291" 
                                                Text="<%# Container.DataItem %>" />
                            </CellTemplate>
                        </telerik:PivotGridAggregateField>
                    </Fields>
</telerik:RadPivotGrid>

Galin
Telerik team
 answered on 09 Dec 2014
4 answers
192 views
Hi,

I have many error with the constructor of 'Telerik.Web.UI.ExternalScriptHelper'.
I can not reproduce this error in local, and we only have it from time to time in production
So I need your help to understand what could cause that.

In my call stack I have this.
This call stack was created with DebugDiag v2.0

[[GCFrame]][[PrestubMethodFrame] (Telerik.Web.UI.ExternalScriptHelper.ResolveSecurePath)] Telerik.Web.UI.ExternalScriptHelper.ResolveSecurePath(System.String)Telerik.Web.UI.RadScriptManager.OnResolveScriptReference(System.Web.UI.ScriptReferenceEventArgs)+19dSystem_Web_Extensions_ni!System.Web.UI.ScriptManager.RegisterScripts()+10fSystem_Web_Extensions_ni!System.Web.UI.ScriptManager.OnPagePreRenderComplete(System.Object, System.EventArgs)+c8[[MulticastFrame] (System.EventHandler.Invoke)] System.EventHandler.Invoke(System.Object, System.EventArgs)System_Web_ni!System.Web.UI.Page.OnPreRenderComplete(System.EventArgs)+aa368eSystem_Web_ni!System.Web.UI.Page.ProcessRequestMain(Boolean, Boolean)+e58System_Web_ni!System.Web.UI.Page.ProcessRequest(Boolean, Boolean)+a0System_Web_ni!System.Web.UI.Page.ProcessRequest()+5bSystem_Web_ni!System.Web.UI.Page.ProcessRequest(System.Web.HttpContext)+f0ASP.catalog_learner_home_aspx.ProcessRequest(System.Web.HttpContext)+9System_Web_ni!System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()+257System_Web_ni!System.Web.HttpApplication.ExecuteStep(IExecutionStep, Boolean ByRef)+abSystem_Web_ni!System.Web.HttpApplication+PipelineStepManager.ResumeSteps(System.Exception)+511System_Web_ni!System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext, System.AsyncCallback)+72System_Web_ni!System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest, System.Web.HttpContext)+269System_Web_ni!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)+411System_Web_ni!System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)+2bSystem_Web_ni!DomainNeutralILStubClass.IL_STUB(Int64, Int64, Int64, Int32)+24System_Web_ni!DomainNeutralILStubClass.IL_STUB(IntPtr, System.Web.RequestNotificationStatus ByRef)+4b[[NDirectMethodFrameStandalone] (System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion)] System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr, System.Web.RequestNotificationStatusByRef)System_Web_ni!System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)+540System_Web_ni!System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)+2bSystem_Web_ni!DomainNeutralILStubClass.IL_STUB(Int64, Int64, Int64, Int32)+24[[ContextTransitionFrame]]


Exception Type   MessageStack TraceRemote Stack Trace34System.TypeInitializationException   Une exception a été levée par l'initialiseur de type pour 'Telerik.Web.UI.ExternalScriptHelper'.    Remote Stack Trace not available


In this Dump I have also some other error.
Telerik.Web.UI.ConfigurationSettingMissingException   1   <none>   Telerik.Web.UI.ExternalScriptHelper..cctor()
System.OutOfMemoryException   1   <none>   Telerik.Web.UI.ExternalScriptHelper..cctor()
   System.StackOverflowException   1   <none>   Telerik.Web.UI.ExternalScriptHelper..cctor()
   System.ExecutionEngineException   1   <none>   Telerik.Web.UI.ExternalScriptHelper..cctor()
   System.Threading.ThreadAbortException   2   <none>   Telerik.Web.UI.ExternalScriptHelper..cctor()
   

christophe
Top achievements
Rank 1
 answered on 09 Dec 2014
0 answers
100 views
Hi Telerik Team,

I am getting the Error while Executing the Stored Procedure regarding Time out Error, While Generating Telerik Reports.

Would you please suggest to me if any idea regarding Time out Error.

below is the screenshot for this

I am using Softwares are: MY SQL Workbench 6.0 CE

                                          MY SQL Server 5.7.
                                          MY SQL Connector Net 6.3.5









Venkateswarlu
Top achievements
Rank 1
 asked on 09 Dec 2014
1 answer
258 views
We are suddenly receiving the error detailed below but I am unable to determine the cause. The Telerik assembly is from 2011 so it is a few years old.

Exception Details: System.Reflection.TargetParameterCountException: Parameter count mismatch.

Stack Trace: 
[TargetParameterCountException: Parameter count mismatch.]
System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +10910101
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +54
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
Talifun.Web.Compress.Decryptor.DecryptString(String input) +217
Talifun.Web.Compress.WebResourceCompressionModule.GetDataFromQuery(NameValueCollection queryString) +141
[HttpException (0x80004005): This is an invalid webresource request.]
Talifun.Web.Compress.WebResourceCompressionModule.GetDataFromQuery(NameValueCollection queryString) +312
Talifun.Web.Compress.WebResourceCompressionModule.OnPreRequestHandlerExecute(Object sender, EventArgs e) +259
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408
Pavlina
Telerik team
 answered on 09 Dec 2014
1 answer
230 views
We are suddenly receiving the error outlined and I am unsure what could be the cause. The version of Telerik is a few years old but has been working for ages.

Error: Parameter count mismatch.​
Example Url: http://www.darlingcollective.com/WebResource.axd?d=icsadJ8Zc2rtQ_8NGTlm_jaJgpUwM1o7gz5kDbVk_NAwVMYjg4zv7a015htSWRhTaMKZNK6cxFYmS5br7LYZ3fHz73U1&t=635145392180000000
Exception Details: System.Reflection.TargetParameterCountException: Parameter count mismatch.

Stack trace:
[TargetParameterCountException: Parameter count mismatch.]
System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +10910101
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +54
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
Talifun.Web.Compress.Decryptor.DecryptString(String input) +217
Talifun.Web.Compress.WebResourceCompressionModule.GetDataFromQuery(NameValueCollection queryString) +141

[HttpException (0x80004005): This is an invalid webresource request.]
Talifun.Web.Compress.WebResourceCompressionModule.GetDataFromQuery(NameValueCollection queryString) +312
Talifun.Web.Compress.WebResourceCompressionModule.OnPreRequestHandlerExecute(Object sender, EventArgs e) +259
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
Pavlina
Telerik team
 answered on 09 Dec 2014
1 answer
119 views
Hello everybody,

following problem:

I have a RadGrid with a datasource to a custom class. The Grid is in "Batch" edit mode. When I try to save the changes in "itemcommand" event the edititems count are zero. Do u have any ideas?

<telerik:RadGrid runat="server" ID="RadGrid1" ShowFooter="True" AllowFilteringByColumn="false" AllowSorting="True" ExportSettings-FileName="Besuchspruefung"
             OnNeedDataSource="RadGrid1_NeedDataSource" OnBatchEditCommand="RadGrid1_BatchEditCommand" OnItemCommand="RadGrid1_ItemCommand"  OnItemDataBound="RadGrid1_ItemDataBound">
            <MasterTableView AutoGenerateColumns="False"   CommandItemDisplay="Top" CommandItemSettings-ShowAddNewRecordButton="false"  DataKeyNames="besuchID_Ist" EditMode="Batch">
                <BatchEditingSettings OpenEditingEvent="Click" EditType="row" SaveAllHierarchyLevels="false" />

01.Protected Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs)
02.       Dim u As tmeotUser = CType(Membership.GetUser(), tmeotUser)
03.       Dim con As New ConnectionClass
04. 
05.       If (e.CommandName = "Update") Then
06. 
07.           For Each editedItem As GridEditableItem In RadGrid1.EditItems
08.               Dim newValues As Hashtable = New Hashtable
09. 
10.               'The GridTableView will fill the values from all editable columns in the hash
11.               e.Item.OwnerTableView.ExtractValuesFromItem(newValues, editedItem)
12. 
13.                    'perform update
14. 
15.               editedItem.Edit = False
16.           Next
17.       End If
18.       RadGrid1.Rebind()
19.   End Sub

Many thanks in advance!
Viktor Tachev
Telerik team
 answered on 09 Dec 2014
3 answers
138 views
I'm having a problem with the Menu on an iPad.  I'm using UI for ASP.NET AJAX, 2014.3 1024. The iPad os is V 8.1.  The menu works fine on an iPhone os V 7.1.1.

It's something to do with my application setup, although I haven't been able to determine what.  I set up a version of the demo app locally and then copied that to my application.  The major differences in the web.config are connection strings and such that my application uses.

I've attached the rendered HTML from my app and the Telerik demo.

Please let me know if you need anything else to help me troubleshoot this issue.

Thank you,
Tonya
Dimitar
Telerik team
 answered on 09 Dec 2014
6 answers
108 views
We found that every time a user clicks the Grid Export, the session size grows.  In our example we have a grid with about 700 records.  Every time the user clicks export the session state size grows another 1mb.  This has become a problem as our session sizes are now growing upto 100mb.  At which point the users are reporting slow downs which we can duplicate with an overly large session state size.

Questions:
Is this a known issue?  If so is it fixed in a newer version?
Is there a method to clear the session values used in the export, after the export is completed?

Notes:
We are storing session using the ASPState session database
We are using an older Telerik version (2013.3.1324) - but are in the process of upgrading.
All of our grids using the Telerik export are behaving this way.

Thanks for the help
Tim
Jeff
Top achievements
Rank 1
 answered on 08 Dec 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?