Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
176 views
Hi Telerik!

I have a radeditor whose contentereamode is set to "Div".  When the editor loads the content is set in code-behind.

Everything is ok but the backspace doesnt work. I can type into the editor, can delete with DEL key ..but can not delete with back space..

Please help..
Rumen
Telerik team
 answered on 25 Sep 2012
1 answer
146 views
Here's a weird one. I have a page with a Formview (insert and edit modes) and various Rad controls within it.

One particular Rad Combobox is causing problems. Within the ItemUpdating event of my formview, I'm getting the selected value of the combobox and assigning it to a parameter of an ObjectDataSource on the page:

odsPage.UpdateParameters["ParentPageCode"].DefaultValue = ddlParentPage.SelectedItem.Value;

This works fine on my local dev machine (using VS 2012 and IIS Express). However when deployed to a production server, ddlParentPage.SelectedItem.Value is always equal to 1, no matter what option is selected in the combobox.

If it helps at all, the app is .NET4.5, and using the latest version of RadControls.

Matt
John
Top achievements
Rank 1
 answered on 25 Sep 2012
1 answer
919 views
Hii,
I am Having a problem in production.........but working fine in development.

Source:

System.Web

Message:

An error occurred while communicating with the remote host. The error code is 0x80070001.


Stack trace:


at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Inner Exception:


System.Web.HttpException (0x80004005): An error occurred while communicating with the remote host. The error code is 0x80070001. ---> System.Runtime.InteropServices.COMException (0x80070001): Incorrect function. (Exception from HRESULT: 0x80070001) at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect) at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte[] buffer, Int32 offset, Int32 size) at System.Web.HttpRequest.GetEntireRawContent() at System.Web.HttpRequest.FillInFormCollection() at System.Web.HttpRequest.get_Form() at System.Web.HttpRequest.get_HasForm() at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) at System.Web.UI.Page.DeterminePostBackMode() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Target Site:


Boolean HandleError(System.Exception)



So Please can any one help me out to find a solution to get rid of this error?

Thanks & Regards
Dev Jagarlamudi
Slav
Telerik team
 answered on 25 Sep 2012
3 answers
132 views
Good Day,

I am using a RadTreeview bound to a RadSiteMapDataSource configured as below.

<telerik:RadSiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="false" />
<telerik:RadTreeView ID="SiteTree" runat="server" DataSourceID="SiteMapDataSource1" EnableViewState="true" SingleExpandPath="true">
    <ExpandAnimation Type="OutQuart" Duration="300" />
    <CollapseAnimation Type="OutQuint" Duration="200" />
</telerik:RadTreeView>

The sitemap's data represents a simple hierarchy of something like:
parent1---
--child1
--child2
parent2---
---child1
---child2

There are other pages that exist beyond the child pages that are not represented in the sitemap, since they should not be selected from the nav menu.  The problem exists when navigating beyond the child page to an unmapped page.  The RadTreeview basically doesn't know which node was previously selected & therefore looses focus on the current selected node.  
This seems to be a common problem with treeview controls since by default they don't persist using the session and is well documented in the wicked code article here: http://msdn.microsoft.com/en-us/magazine/cc163598.aspx in the section named SiteMapPaths and Unmapped Pages.

I would like to configure the radtreeview to remember the currently selected node.  Basically when the user navigates off of the last mapped child page,  I'd like that last mapped child node to stay highlighted in the radtreeview.  

I found a past forum post here: http://www.telerik.com/community/forums/aspnet/treeview/how-do-i-maintain-treeview-state-after-postback.aspx where it mentioned using the RetainScrollPosition attribute, but I cannot find any reference to it in the current release.  Based on that thread, it appeared that it did exactly what I was looking for...

Any advise on how to accomplish this using the current radtreeview?

Bozhidar
Telerik team
 answered on 25 Sep 2012
3 answers
301 views
I need open an url using zoom animation effect, equal to KendoUI window control.
It's possible ?
How ????


Thank you.
Marin Bratanov
Telerik team
 answered on 25 Sep 2012
14 answers
378 views
Hi,

We are globalizing the application which uses Telerik Controls. We are not using RESX files. We are using CUSTOM DB RESOURCE MANAGER. Hence, RESX files will no more be used for storage. We willbe using the Database to store the resources.

But seems like Telerik i turn uses its RESX files. To make our application use the Database for resources instead of RESX files, we will be overriding a configuration in web.config.

On overriding this configuration, Telerik is also expecting its reosurces to be available in our Database.

Is there any solution to make Telerik use its RESX files even when we are using Database in our application for other resources?

Or, do we have to push Telerik's resources to our Database to make it work? If so, is there an exhaiustive set of resources that we can add to the Database so that in future, we do not need any maintanence activity on this regard.

It will be helpful if we get a solution or suggestion on this at the earliest. We need a solution or suggestion immediately since we are in Construction phase and are facing this issue.

Thanks.
Simon
Top achievements
Rank 1
 answered on 25 Sep 2012
1 answer
405 views
Hi All,

I want to format my "Values" column as shown below format in child/detail grid.  It is a currency value.  I have used GridNumericColumn type and added following properties to this column
DataFormatString="${0:C}" DataType="System.Decimal" NumericType="Currency".

However, it is not formatting currency field for negative values.
 
Example:

 Product Name

Product ID

Values

A

1

$ -12.00 

B

2

$11

C

3

$ - 13

D

4

$ 14

E

5

$ - 16

F

6

$ - 17

 

 

 


so i want all the negative values of coulmn "values" into brackets and without $ sign.
Expected result

 Product Name

Product ID

Values

A

1

$(12.00 )

B

2

$11

C

3

$(13)

D

4

$ 14

E

5

$(16)

F

6

$(17)

 

 

 


Galin
Telerik team
 answered on 25 Sep 2012
1 answer
156 views
Hi Team,

A couple of days back we have been getting really weired behaviour with the RadSpell Telerik control.

To tell you of the current scenario:-
1.    We have a load balancer which balances the traffic between the two servers, so when using the load balance URL the RadSpell throws out the following error :-

 


---------------------------

Error

---------------------------

A Runtime Error has occurred.

Do you wish to Debug?

 

Line: 6

Error: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.

Parameter name: data

---------------------------

Yes   No  

---------------------------

We log each and every error into out backend so the error recorder corresponding to this in the backed is :-


No dictionary loaded. Set the DictionaryPath property from the spell checker settings or copy the dictionaries
 to ~/App_Data/RadSpell/  

at Telerik.Web.UI.Dictionaries.EditDistanceDictionary.Load(TextReader baseDictionaryReader,
ICustomDictionarySource customSource, String cacheKey)
at Telerik.Web.UI.SpellChecker.LoadDictionary()
at Telerik.Web.UI.SpellChecker.get_dictionary()    
at Telerik.Web.UI.SpellChecker.CheckWord(String word, String sLastWord) 
at Telerik.Web.UI.TelerikSpellCheckProvider.CheckWord(ITextWord current, ITextWord previous)    
at Telerik.Web.UI.SpellChecker.CheckText()     at Telerik.Web.UI.SpellChecker.BadWordsJScript()    
at Telerik.Web.UI.SpellCheckHandlerNoSession.ProcessSpellCheckRequest(HttpResponse response,
SpellChecker checker, String text)    
at Telerik.Web.UI.SpellCheckHandlerNoSession.ProcessRequest(HttpContext context)    
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously

2.    When using the individual server URL (instead of the load balance), we do not get such error and the RadSpell works just prefectly fine.

Solutions applied by me:-
1.    I have verified that both the server contains the dictionary file under ~/App_Data/RadSpell/  folder.
2.    The dictionary files have no difference.
3.    Tried adding the loacation Tag o the web.config but that did not work out


<location path="Telerik.Web.UI.WebResource.axd">  

    <system.web>      

        <authorization>

            <allow users="*" />      

        </authorization>  

    </system.web>

</location>

 


4.    I tried using fiddler to capture the code that is being sent and I got a 
        302 code for telerik.web.ui.spellcheckhandler.axd.
        But sometime it just works fine and returns a 200 code.
5.    The Httphandlers already contain the entry for spellcheker and other controls in web.config.

 


<httpHandlers>

  <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />

  <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />

  <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />

</httpHandlers>


We have tried several solution but none of them worked out

  • The only solution left is enforcing the Encryption key in web.config but not sure if this will resolve the issue.

The file version of telerik control on being used by us is :- 2010.3.1317.35

Team please help us with this issue.

______________________________________________________
Thanks,
Bineet

Rumen
Telerik team
 answered on 25 Sep 2012
1 answer
124 views
Hi,

1) Is there any event available to get Collapse/Expand Button click.

2) when ribbon is in Collapse Mode and then if user click over any tab then tab should be Expand.
Pls check below link. Collapse Example ribbon then Click on any tab, will expand Ribbon BUT, the moment user click anywhere on the page, Ribbon Gets Collapsed. http://demos.telerik.com/aspnet-ajax/ribbonbar/examples/default/defaultcs.aspx 


Pls do the needful.
Ivan Zhekov
Telerik team
 answered on 25 Sep 2012
1 answer
155 views
friends, I must be missing something here please help.. Thanks

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <script type="text/javascript">
        //Put your JavaScript code here.
    </script>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <div>
        <telerik:RadTreeView ID="RadTreeView0" runat="server">
            <NodeTemplate>
                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="http://www.bing.com">[ View ]  </asp:HyperLink>
                <%# DataBinder.Eval(Container, "Text") %>
            </NodeTemplate>
        </telerik:RadTreeView>
        <telerik:RadToolTipManager ID="ToolTipManager1" runat="server" AutoTooltipify="true"
            ToolTipZoneID="RadTreeView0" Position="TopCenter" Animation="Resize" RelativeTo="Element"
            Title="Employee Details" HideEvent="ManualClose" ShowCallout="false" ContentScrolling="Auto"
            Width="300px" Height="200px"></telerik:RadToolTipManager>
    </div>
    </form>
</body>
</html>

using Telerik.Web.UI;
 
public partial class Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        RadTreeNode category1 = new RadTreeNode("Group1", "Group1");
        RadTreeNode Category1Node;
        RadTreeNodeCollection radCollection = new RadTreeNodeCollection(category1);
        for (int i = 5 - 1; i >= 0; i--)
        {
            Category1Node = new RadTreeNode(i.ToString(), i.ToString());
            category1.Nodes.Add(Category1Node);
        }
        RadTreeView0.Nodes.Add(category1);
 
 
        RadTreeNode category2 = new RadTreeNode("Group2", "Group2");
        RadTreeNode category3 = new RadTreeNode("Group3", "Group3");
        RadTreeNode Category2Node;
        radCollection = new RadTreeNodeCollection(category2);
        for (int i = 3 - 1; i >= 0; i--)
        {
            Category2Node = new RadTreeNode(i.ToString(), i.ToString());
            category2.Nodes.Add(Category2Node);
        }
        RadTreeView0.Nodes.Add(category2);
 
        RadTreeView0.Nodes.Add(category3);
 
    }
}

Marin Bratanov
Telerik team
 answered on 25 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?