Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
319 views

I support a C#.net  2012 web form application. I am thinking of adding the radeditor to the application so users can edit letters like a word document on the web. There will be letters that are to be written in several languages like Spanish, Arabic, French, English and a few other languages. When the application is running a 'generic' template letter will be loaded and the user can edit the letter in the various languages. Almost all the users will only know English and Spanish and they do not know the other languages.

Thus my few questions are about the foreign languages are:

1. Can the radeditor handle the different languages? If so, do I need to change any radeditor settings to handle these different languages? If so, what would I need to change?

2. Can the radeditor format date/time that is applicable for the languages? If so, what would I need to do to format the date/time information?

 

 

Rumen
Telerik team
 answered on 07 May 2019
5 answers
272 views

Hi,

in my webapplication I use a RadMenu that contains some RadMenuItems.

The code is the following:

<asp:Content ID="Content2" ContentPlaceHolderID="FolderContent" runat="Server">
    
     <telerik:RadMenu RenderMode="Lightweight" ID="RadMenu1" Flow="Vertical" CssClass="mainMenu" runat="server" ShowToggleHandle="true">
            <Items>
                <telerik:RadMenuItem Text="Leistungen" NavigateUrl="Views/Office/ServiceListView.aspx" />
                <telerik:RadMenuItem Text="Warengruppen" NavigateUrl="" />
                <telerik:RadMenuItem Text="Artikel" NavigateUrl="Views/Office/ArticleListView.aspx"></telerik:RadMenuItem>

 

When I click on MenuItem "Leistungen" the page ServiceListView.aspx in the folder Views/Office/ should be load in the MainContent and in the browser.

But it doesn't work.

I get the following error message:

System.Web.HttpException: "Vorangestellte .. können nicht zum Beenden auf oberster Verzeichnisebene verwendet werden."

How can I adjust the path without errors?

 

Vessy
Telerik team
 answered on 07 May 2019
3 answers
210 views
Hi,
 
     We tried the examples given in the Telerik site for RadCalendar and implemented Localization for the same successfully. But, it works only for the Culture \ CultureInfo properties (like "en-US", "fr-FR") for both RadScheduler and RadCalendar. But, in our application we are using only "CurrentUICulture", which has the value of only neutral culture (like en, fr etc ...) . When this is assigned to the RadCalendar, we are getting the following error:

Message: Culture 'fr' is a neutral culture. It cannot be used in formatting and parsing and therefore cannot be set as the thread's current culture.
Stack trace:
   at System.Globalization.

CultureInfo.CheckNeutral(CultureInfo culture)
   at System.Globalization.CultureInfo.get_DateTimeFormat()
   at Telerik.Web.UI.Scheduler.Views.Month.RendererBase.CreateNavigationPane(Control container)
   at Telerik.Web.UI.Scheduler.Views.Month.Renderer.GetContent()
   at Telerik.Web.UI.RadScheduler.CreateContent()
   at Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource)
   at System.Web.UI.Control.EnsureChildControls()
   at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
   at Telerik.Web.ChildControlHelper.FindControlRecursive(String ID, Control root)
   at Telerik.Web.ChildControlHelper.FindControlRecursive(String ID, Control root)
   at Telerik.Web.ChildControlHelper.FindControlRecursive(String ID, Control root)
   at Telerik.Web.UI.RadAjaxControl.OnPagePreRender(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


But, as per the information given in the link below, the 'CultureInfo' property should also support the two letter ISO Language names like "en" or "fr" etc ..  
     http://www.telerik.com/help/aspnet-ajax/p_telerik_web_ui_radcalendar_cultureinfo.html

Can you please let us know a solution for this ? How can we assign the 'CurrentUICulture' (TwoLetterISOLanguage Name) value to the 'RadCalendar' control, which has only the 'CultureInfo' property ?

Thanks & Regards,
Karthik.
Vessy
Telerik team
 answered on 07 May 2019
2 answers
123 views
I recently had to reinstall VS2017. When I try to add the controls to the tool box by selecting the DLL i get this error: telerik.web.design.tlb could not be loaded
Rumen
Telerik team
 answered on 07 May 2019
2 answers
149 views

     When trying to add some images using RADEDITOR there is some error that says:

"Cannot deserialize dialog parameters. Please refresh the editor page.
Error Message:Invalid character in a Base-64 string."

so I can only enter text.

 

Vessy
Telerik team
 answered on 07 May 2019
1 answer
519 views

I am trying to show/hide a RadAjaxLoadingPanel explicitly. I am using a RadAjaxPanel (want to try avoiding having to change my page to use a RadAjaxManager instead). I have set the ClientEvents-OnRequestStart="RequestStart" ClientEvents-OnResponseEnd="ResponseEnd" for my RadAjaxPanel. 

<telerik:RadCodeBlock ID="RadCodeBlock" runat="server">
        <script type="text/javascript">
            var currentLoadingPanel = null;
            var currentUpdatedControl = null;
 
            function RequestStart(sender, args) {
                currentLoadingPanel = $find("<%= RadLoadingPanel1.ClientID %>");
 
                if (args.get_eventTarget() == "<%= btnGo.UniqueID %>") {
                    currentUpdatedControl = "<%= RadAjaxPanel1.ClientID %>";
                }
                //show the loading panel over the updated control
                currentLoadingPanel.show(currentUpdatedControl);
            }
 
            function ResponseEnd() {
                //hide the loading panel and clean up the global variables
                if (currentLoadingPanel != null)
                    currentLoadingPanel.hide(currentUpdatedControl);
                currentUpdatedControl = null;
                currentLoadingPanel = null;
            }
        </script>
    </telerik:RadCodeBlock>

 

ResponseStart() and ResponseEnd() are called properly, but the loading panel does not hide when currentLoadingPanel.hide(currentUpdatedControl) is called. The loading panel just stays there forever. This is what my loading panel looks like.

<telerik:RadAjaxLoadingPanel ID="RadLoadingPanel1" runat="server">
</telerik:RadAjaxLoadingPanel>
Rumen
Telerik team
 answered on 07 May 2019
1 answer
135 views

Hello,

I have crated a custom paragraph style. e.g :

  • Definition Term, <dt>

The Problem is when I select/highlight the paragraph wrapped in <dt> tag, the drop down match to "Normal" instead of "Definition Term".

Is this a expected behavior? Is there any way to make the selected item in drop down list to be "Definition Term" while I am selecting the paragraph wrapped in <dt> tag?

 

Thanks and Regards,

Ming Sheng

Rumen
Telerik team
 answered on 07 May 2019
7 answers
687 views
Hi,
Here is my scenario:
Parent page:
I have a text box and a button for search feature.  Once I click the button I am opening a radwindow by javascript. Works fine and I display the results in a grid.  Now when I click on one result it should refresh the parent page with the selected value.  Works fine.

The problem:
When I click on the result and Parent page refreshes but it closes the RadWindow that's been opened.  I do want to keep this radwindow till I decide close it.  This way I can refer back to the results and view each result in the parent page.  How would I keep the rad window open all the time (Not loosing it when the parent page refreshes).  Please advise.

Thanks,
Rumen
Telerik team
 answered on 06 May 2019
3 answers
236 views

Hello,

I have a database with links to images and videos.

I would like to bind them into a single radimagegallery.

Is it possible ? Like the example in : https://demos.telerik.com/aspnet-ajax/image-gallery/examples/functionality/templates/defaultvb.aspx but with a database.

How can i do this ?

Thanks a lot

Peter Milchev
Telerik team
 answered on 06 May 2019
1 answer
289 views

Hi everyone,

I'm trying to build a page that shows a radgrid with a series of rows.  Each row has a role name (from oracle) and a radio button with continue or revoke and a comments field.  Pretty simple right?  So I would like the user to be able to click on Continue or Revoke for each role and then add a comment if they like.  At the end they can hit the "save changes" button.

It seems like with Batch Edit mode, you have to select a row first, then click on a radio button.  Which is two clicks instead of one.  But if you don't do that then you don't get the command in the GridBatchEditingEventArgs of the BatchEditCommand event.

 

Has anyone else been able to successfully implement this type of functionality?  Is there a trick of some sort?

 

Thanks in advance,
Cory

Eyup
Telerik team
 answered on 06 May 2019
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?