Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
531 views

 The way the button is setup, is that there are a couple of rad buttons inside a rad tree list, of which is in a user control, and the usercontrol is inside a rad wizard, and finally the rad wizard is inside an rad ajax panel. I tested the wizard with the buttons locally on my machine and pushed it online and I have no issues. However, I am getting error emails that it seems to be throwing an error on the rad button, with a couple of other users. So far I only received two of the errors in the control. So I am unsure as to why it would be throwing an error. Would any one know why it worked for me but it threw these errors on a couple of users?

Here are a couple of the stack trace errors:

System.ArgumentException: Invalid object passed in, ':' or '}' expected. (181): {"text":"Add","value":"","checked":false,"target":"","navigateUrl":"","commandName":"AddTag","commandArgument":"","autoPostBack":true,"selectedToggleStateIndex":0,"validationGroup"% at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeDictionary(Int32 depth) at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) at Telerik.Web.UI.RadButton.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

Here's another one :

System.ArgumentException: Unterminated string passed in. (29): {"text":"Add","value":"","che at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeString() at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeMemberName() at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeDictionary(Int32 depth) at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) at Telerik.Web.UI.RadButton.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Vessy
Telerik team
 answered on 07 Aug 2020
2 answers
236 views

Hi

We need to download version 2014.3.1209 of Telerik UI for ASP.NET AJAX, as we're working on an app from a client which is using that version.

Under download software i only see a few version, is there a way to get this specific version at all?

 

Thanks

Richard
Top achievements
Rank 1
 answered on 06 Aug 2020
1 answer
137 views

I am dynamically adding RadFilter editors, such as  RadFilterTextFieldEditor, to RadFilter, server side.

When the web page is running, if a user enters certain "dangerous" text strings such as "<!--" or "<script>" into the RadFilterTextFieldEditor, the RadFilter control stops functioning (you can no longer add new expressions or groups to your Filter expression).  If I try to navigate to another page in my web app, I get logged out because my session has been destroyed/lost.  There MAY be an unhandled "A potentially dangerous Request.Form value was detected" exception that is causing the user session to be destroyed.

My fix would be to intercept the RadFilterTextFieldEditor text and strip any potentially dangerous user input (such as embedded JavaScript).

I do not see an OnBlur/OnChange event on the RadFilterTextFieldEditor that I could use to intercept the user input before it is posted.

I tried adding an asp.net validator on the RadFilter control but that does not work because RadFilter is not an "input" type of control.

I looked at the RadFilter client side events (OnFilterCreated/OnFilterCreating) but those do not appear to allow me to strip the user text input before it is too late.

Can you suggest a way to handle RadFilterTextFieldEditor text to prevent users from entering "dangerous" text.

Courtney

 

Attila Antal
Telerik team
 answered on 06 Aug 2020
1 answer
100 views

Hi Team,
    I am using RadMultiPage and controls added in RadPageView, when i run asp page i get mouse out and mouse over actions on same time, when i mouse over it calendar icon just move from rights, the ordinary behavior is  just change the icon color from grey to blue, but here appear both color icon just move right to left.

 

     <telerik:RadMultiPage ID="SideOperationsPage" Width="100%" Height="100%"  ScrollBars="none"
                            runat="server" SelectedIndex="0">
                            <telerik:RadPageView ID="DefaultPage" Width="100%" Height="100%" runat="server">

                                <div style="width: 100%; height: 100%; overflow: auto;">

<table>

<tr>

  <td style="width: 60%;" align="center">
                                                <telerik:RadDatePicker ID="dcreatedto" DateInput-DateFormat="dd/MM/yyyy" Width="97%" runat="server">
                                                    <Calendar ID="Calendar2" runat="server">
                                                        <SpecialDays>
                                                            <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Yellow">
                                                            </telerik:RadCalendarDay>
                                                        </SpecialDays>
                                                    </Calendar>
                                                </telerik:RadDatePicker>
                                            </td>

</tr>

</table>

</div>

</telerik:RadPageView>

    <telerik:RadPageView ID="CustomPage" Width="100%" Height="100%" runat="server">

                                <div style="width: 100%; height: 100%; overflow: auto;">

                                    

<table>
<tr>
  <td style="width: 60%;" align="center">
                                                <telerik:RadDatePicker ID="dcreatedfrom" DateInput-DateFormat="dd/MM/yyyy" Width="97%" runat="server">
                                                    <Calendar ID="Calendar2" runat="server">
                                                        <SpecialDays>
                                                            <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="Yellow">
                                                            </telerik:RadCalendarDay>
                                                        </SpecialDays>
                                                    </Calendar>
                                                </telerik:RadDatePicker>
                                            </td>
</tr>
</table>

                                    

                                </div>

                            </telerik:RadPageView>
                        </telerik:RadMultiPage>

 

Same as combobox also behave like that 

 

Here the screenshot

Combobox

Before mouse hover -- http://prntscr.com/t9pmju

After mouse hover --http://prntscr.com/t9pmt8

 

 

Calendar

Before mouse hover -- http://prntscr.com/t9pb50

After mouse hover -- http://prntscr.com/t9pena

 

Note : That RadMultiPage in div control which is call div control like sliding drawer.

Pls reply asap

Thanks

M Kumar
Top achievements
Rank 1
Iron
Veteran
 answered on 06 Aug 2020
1 answer
168 views

Hi Team,

Recently we upgraded the telerik version on our web app, and experiencing 60% increase in the loading time. 

Version upgraded to - 2020.1.219.45

Issues with both loading the content on grid , also the export feature ( export to excel ) went upto 100% increase in loading time. 

Pls help us to fix these performance issues. 

 

With regards

Shankar M

Doncho
Telerik team
 answered on 05 Aug 2020
1 answer
2.0K+ views

Hello,

The project that i'm working on uses Telerik version 2013.3.1324.40 and recently the following error happened in our client (see attached image for more details):

Uncaught TypeError: Cannot read property 'parentNode' of null at Object._endRequest (Telerik.Web.UI.WebRe...e41%3ae4f8f289:6089)

When analyzing the JS line in which the problem occurred we realized that it is related to the panels that Ajax uses to update the page objects (in this case, the absence of them).

However, so far we have not been able to simulate the situation and the customer himself confirmed that the error is irregular and after the error happens they reenter the page and do the same action and it works just fine.

If possible, we would be grateful if you could guide us to what may be causing the error in order to correct it.

Note: I apologize for any grammatical errors as english is not my first language.

Best regards,

Vessy
Telerik team
 answered on 05 Aug 2020
13 answers
3.5K+ views
Hi all,

how to use find control in rad grid item command ... i have two text boxes. i wish to retrieve the values from that textboxes inside the rad grid item command.. please help how it's possible...

Regards,
Prassin
Roger
Top achievements
Rank 1
Veteran
 answered on 04 Aug 2020
4 answers
274 views

Hello,

I've got a problem. I've got a pie with two values. Sometimes it happens, that both values are 0.
If that happens, the Piechart will get transparent.

I already added a second series, but the gray part is still clickable and tooltip appears.

Is there any possibility to show a whole gray pie if there are no values?

Regards

Vessy
Telerik team
 answered on 04 Aug 2020
10 answers
314 views
hi,
what is the event for grid column resize?
In my application,when i am resizing the grid column i have to change that column data.
Doncho
Telerik team
 answered on 04 Aug 2020
12 answers
575 views
Hi, I create a RadOrgChart page.  But it's not fit into the screen. I  would like to make it smaller.  My Telerik version is 2011.3.1115.40. 
I attached my screen's screen shot.

Here is my Code;
<%@ Page Title="" Language="C#" MasterPageFile="~/Controls/MasterPages/User.master" Theme="Default" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Sections_OrgChart_Default" %>
  
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  
  
<telerik:RadOrgChart runat="server" ID="RadOrgChart1" ></telerik:RadOrgChart>
  
</asp:Content>
And my Cs codes, 
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Getron.AAM;
using Getron.AAM.EntityManagement;
using Getron.Core.Base.Objects;
using System.Data;
  
public partial class Sections_OrgChart_Default : EntityProtectedPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        OrgSchema osch = new OrgSchema();
        QueryEntity qent = new QueryEntity();
        qent.QueryEntityType = Getron.Core.Enums.EQueryEntityType.WhereCondition;
        qent.Query = "SupervisorId=@SupervisorId";
        Getron.DBInterface.Parameter p0 = new Getron.DBInterface.Parameter("@SupervisorId", ParameterDirection.Input, DbType.Int64, 0);
        p0.Value = 23;
        qent.Parameters.Add(p0);
  
        DataTable dt = new DataTable();
        dt = osch.GetCustomViewAll("OrgSchemaAllData", new List<string>() { "SystemUserIntCode", "SystemUserName", "SuperVisorId" }, qent);
  
        RadOrgChart1.DataTextField = "SystemUserName";
        RadOrgChart1.DataFieldID = "SystemUserIntCode";
        RadOrgChart1.DataFieldParentID = "SupervisorId";
  
        RadOrgChart1.DataSource = dt;
        RadOrgChart1.DataBind();
    }
}

Vessy
Telerik team
 answered on 04 Aug 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?