Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
193 views
I have a radgrid that is set to batch editmode with edittype of "cell"

When I hit the addrecord button I want a date column to default to today's date.

Anyone have an example?

Thanks,
Eyup
Telerik team
 answered on 02 Apr 2015
2 answers
62 views
Hi,

i have written code to add new tab and the code is : 

RadTabStrip objRadTabStrip = (RadTabStrip)Page.Master.FindControl("DefaultContent").FindControl("radTabStrip1");
RadTab objChildTab = new RadTab();

      objChildTab.Text = objTabItem.TabText;
     objChildTab.Value = objTabItem.TabValue;
     objChildTab.PageViewID = objTabItem.PageViewID;
     objChildTab.ToolTip = objTabItem.TabURL;
     objRadTabStrip.Tabs.Add(objChildTab);
     objRadTabStrip.DataBind();

this code is written on button click which is present on user control(.ascx) page.
user control is called in demo.aspx page and this demo.aspx page is called from some other page.
So when i add new tab at that time it not visible on UI but if i refresh the whole page the it gets visible and it takes too much time to refresh full page.

I want as soon as i click on add new tab button the newly crated tab should be visible on UI.

Please help me to do this.
Susheel
Top achievements
Rank 1
 answered on 02 Apr 2015
6 answers
935 views
Hi Guys,

I am experiencing an error in my application when there is more than 1 editor on the page.  I receive the following error when I try to post back:

Invalid JSON primitive: .

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentException: Invalid JSON primitive: .

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 

[ArgumentException: Invalid JSON primitive: .]
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject() +562290
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) +263
   System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) +80
   System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) +44
   Telerik.Web.UI.RadWebControl.LoadPostData(String postDataKey, NameValueCollection postCollection) +107
   Telerik.Web.UI.RadWebControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +13
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +8910120
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +878


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1



I am using .NET 4.0 and Telerik v. 2011.2.712.35.

I have got this working by removing one of the 2 editors on the page.  This is just a basic FormView, nothing terribly tricky.

Here is the code I'm using for both controls (different IDs and data bindings of course):
<telerik:RadEditor ID="edtSpecificationsContent" runat="server" StripFormattingOnPaste="AllExceptNewLines" SpellCheckSettings-DictionaryLanguage="en-US" ImageManager-UploadPaths="~/Uploads/Images/" ImageManager-ViewPaths="~/Uploads/Images/" ImageManager-DeletePaths="~/Uploads/Images/" ImageManager-MaxUploadFileSize="1024000" DocumentManager-UploadPaths="~/Uploads/Documents/" DocumentManager-ViewPaths="~/Uploads/Documents/" DocumentManager-DeletePaths="~/Uploads/Documents/" DocumentManager-MaxUploadFileSize="5120000" NewLineBr="false" Html='<%# Bind("Specifications") %>' ToolsFile="TinyToolsFile.xml" SkinID="DefaultSetOfTools" Width="600px"><CssFiles><telerik:EditorCssFile Value="Edit.css" /></CssFiles></telerik:RadEditor>

I can PM more of my code if that helps.

Thanks in advance guys.

Regards,
Danny
Marin Bratanov
Telerik team
 answered on 02 Apr 2015
1 answer
115 views
Hello

We are using Q2 2014 version.  The problem we have occurs in Firefox (not in IE).  When we use the backspace key to remove a character in RadEditor, it removes two.
How can we fix that?

Thank you
Raka
Marin Bratanov
Telerik team
 answered on 02 Apr 2015
0 answers
71 views
Please suggest me a solution for this.It is really very urgent and i don't have any idea how to fix this
Mahesh
Top achievements
Rank 1
 asked on 02 Apr 2015
1 answer
69 views
Hi,

I observed, pinning is possilbe through code.

1. Is there any option to set pinning through UI.

Regards
Vasu
Eyup
Telerik team
 answered on 02 Apr 2015
1 answer
306 views
The Rad Navigation control is perfect for our mobile targeted pages. However, a couple of questions:

1)  the menu bar and button uses a little too much of the limited screen real estate. Is there a way to change its size? I tried setting the height property to say 35px but the button did not scale. This also left a gap between the drop down menus and the menu bar. I am using the BlackMetroTouch skin.
2) Also, can you suggest css to make the menu text a little bigger? It's a little small for touch on a smart phone.

Thanks.

Charles
Magdalena
Telerik team
 answered on 02 Apr 2015
9 answers
837 views
I have a rad grid where I want to click 'Page 8' and only pull back records 81-90. My pagesize is set to 10. I have tried the link below and added all the code to the onneeddatasource, but I am not sure how to get the pageindex that I just clicked. CurrentPageIndex seems to be the index the page is currently on. I need the page I clicked. Also, how does rad grid look at when you hit the 'last page' or 'first page' or 'next page' or 'previous page' or 'next pages..'

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/custompaging/defaultcs.aspx
Phillip
Top achievements
Rank 1
 answered on 02 Apr 2015
1 answer
106 views
Hi,

i used one RadToolbar and i added downloading type options to RadToolbar as button when i select Excel and click on export button it is working fine
but when i select Word and click export i am getting error like

0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'toLowerCase': object is null or undefined

full description like


Unhandled exception at line 6, column 55946 in http://localhost/xyzWebSite/Telerik.Web.UI.WebResource.axd?

_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions, Version=4.0.0.0, Culture=neutral, 

PublicKeyToken=31bf3856ad364e35:en-US:fa6755fd-da1a-49d3-9eb4-1e473e780ecd:ea597d4b:b25378d2;Telerik.Web.UI, Version=2015.1.225.45, 

Culture=neutral, PublicKeyToken=121fae78165ba3d4:en-US:d3cd47d0-4d93-4bad-8b9f-

f9fea0aa4c69:16e4e7cd:f7645509:24ee1bba:c128760b:1e771326:88144a7a:a7e79140:2003d0b8:f46195d3:aa288e2d:258f1c72

0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'toLowerCase': object is null or undefined








Unhandled exception at line 1177, column 2 in http://localhost/xyzWebSite/DXR.axd?

r=1_187,1_101,1_180,1_175,1_120,7_51,7_54,7_48,7_53,1_98,1_172,1_170,1_121,1_130,1_124-iTrva

0x8000ffff - Microsoft JScript runtime error: Invalid calling object






Ivan Danchev
Telerik team
 answered on 02 Apr 2015
1 answer
68 views
Hello,

I'm trying to modify the Timeline View because I want to show the attachments and the time bar at the bottom of the TimeLine view instead of the top.

The Screenshot attached is a preview of what I want to do is there a way to do that?

Thanks for the time. 
Plamen
Telerik team
 answered on 02 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?