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

Hello, Everyone.

I am trying to add an image to content in ​RAD editor.  I call the Image Manager window and when I click on the Images folder and Image Manager tries to parse the folder content the progress indicator displays inside the image list pane and never ends.  I can access images stored in the root of the image folder location however if I need to navigate to a subfolder under the image folder root I experience the problem with accessing the content - Image Manager can never finish the job of reading the folder content and displaying it in the pane.

 

Refreshing the folder pane works fine.  The same thing happens when I access the Document Manager.  I double checked security settings and the AppPool has full access rights to any of these folders.

 Any suggestions how to fix this?
Thanks everyone in advance

Ianko
Telerik team
 answered on 06 Oct 2015
4 answers
52 views

Hi,

We are using the args parameter for windows a lot throughout our application, and something has changed here since the last version!

For example if setting the OnClientClick="function(sender, args){alert(args.get_argument());}", in the old version (2015 Q2) that return "null" when closing the window, but in the new Q3 release it returns "object" when pressing the close button of the radwindow!

Full example:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="window.aspx.vb" Inherits="TestaTredjepartWeb.window" %>
 
<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="s" runat="server">
        </asp:ScriptManager>
        <div>
            <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
                <Windows>
                    <telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="true" RenderMode="Lightweight" Title="Hello" OnClientClose="function(sender, args){alert(args.get_argument());}">
                    </telerik:RadWindow>
                </Windows>
            </telerik:RadWindowManager>
        </div>
    </form>
</body>
</html>

 

The object returned seems to be a browser event-object... And when examining your source code it tries to detect this and return null, but only if the object is a Sys.UI.DomEvent, which it isn't in the new version!

Regards
Andreas

 

Andreas
Top achievements
Rank 1
 answered on 06 Oct 2015
1 answer
97 views
Good day Telerik team

Inside the main page I have a radgrid in which has a button within a GridTemplateColumn for each of its items. This button opens a first Radwindow me with .Show () property in JavaScript in this first tabulation radwindow works perfectly with the tab key. Now in this first radwindow I have another radgrid that works the same way as the first and one second opening radwindow me. The problem here is not working abut the tab key in the second radwindow tab, when I press the tab key icon radwindow title of the second open is selected and then jumps back but never selected controls within this second radwindow .

Please tell me a solution, because I need the tab key to move through the controls (there are many) the second open radwindow.

Thank you.
Marin Bratanov
Telerik team
 answered on 06 Oct 2015
5 answers
370 views
Hi,
I am using RadSpell checker in my applicatioin. In this particular scenario dictionary settings are comming from DB on per user basis. In order to create dictionary settings we have provided a screen where user can upload a custom dictionary, can select a specific custom dictionary etc. Once these settings are defined and saved, application get these setting from DB whenver and wherever required. Till this point everything is perfectly fine but now I have to give the option of Auto Spell Check without making use of RadSpell button. In this case user will define (will be enabled/disabled from setting page) if he/she want to do spell check or not rather having spell check enabled all the time. Could please anyone tell me how I can achieve my desired functionality also how I can do spell check on lost focus without making use of RadSpell button.
Kind Regards,.
Marin Bratanov
Telerik team
 answered on 06 Oct 2015
1 answer
296 views

Hello!

 

I have a content page with a RadWizard and a RadAjaxManagerProxy. In my MasterPage, I have a RadAjaxLoadingPanel that's used globally.

I would like to trigger the RadAjaxLoadingPanel when the "Finish" button in the RadWizard has been fired. As you can see from my code below, I tried adding a reference to the wizard from itself in the Proxy with the loadingPanel ID but it doesn't work, so I'm guessing I have to wire it up through jquery in my OnClientButtonClicking() function?

 

MasterPage: 

<body class="index">
    <form id="form1" runat="server">
  
        <!-- Script Manager -->
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <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" />
            </Scripts>
        </telerik:RadScriptManager>
  
        <!-- Ajax Manager -->
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="defaultLoadingPanel">
        </telerik:RadAjaxManager>
  
        <!-- Default Loading Panel -->
        <telerik:RadAjaxLoadingPanel ID="defaultLoadingPanel"
            runat="server"
            BackgroundPosition="Center"
            IsSticky="true"
            CssClass="MyModalPanel"
            Transparency="10"
            Skin="MetroTouch" />
  
  
...
  
    </form>
</body>

 

Content Page: 

<!-- Javascript -->
<script type="text/javascript">
        function OnClientButtonClicking(sender, args) {
            var command = args.get_command();
 
            if (command == 3) {
                args.set_cancel(!window.confirm("<% =CancelMessage %>"));
            }
        }
</script>​
 
  
<!-- AJAX Proxy Manager -->
<telerik:RadAjaxManagerProxy runat="server" ID="ajaxProxy">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="wizOrganization">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="wizOrganization" LoadingPanelID="defaultLoadingPanel" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>
  
  
  
  
<telerik:RadWizard runat="server" ID="wizOrganization"
    Skin="MetroTouch"
    RenderedSteps="All"
    DisplayCancelButton="true"
    DisplayNavigationBar="true"
    DisplayProgressBar="true"
    Width="100%"
    DisplayNavigationButtons="true"
    NavigationButtonsPosition="Bottom"
    ProgressBarPosition="left"
    NavigationBarPosition="left"
    OnClientButtonClicking="OnClientButtonClicking">
  
    <WizardSteps>
  
        <telerik:RadWizardStep runat="server"
            Title="Step1"
            ID="wizStep_1"
            CausesValidation="false"
            ToolTip="Step1">
  
            {fields}
  
        </telerik:RadWizardStep>
  
        <telerik:RadWizardStep runat="server"
            Title="Step2"
            ID="wizStep_2"
            CausesValidation="false"
            ToolTip="Step2">
  
            {fields}
  
        </telerik:RadWizardStep>
  
        <telerik:RadWizardStep runat="server"
            Title="Step3"
            ID="wizStep_3"
            CausesValidation="false"
            ToolTip="Step3">
  
            {fields}
  
        </telerik:RadWizardStep>
    </WizardSteps>
</telerik:RadWizard>
 

 

Thanks for your help!

Chris

Peter Filipov
Telerik team
 answered on 06 Oct 2015
2 answers
180 views

If we download a tif file from the internet and upload it, then the said image is visible properly in Rad image editor.
But in case if we create an image in “Paint” and save it as type “tif” then the said image is NOT visible in the Rad Image editor.

Please provide a suitable solution.

Vessy
Telerik team
 answered on 06 Oct 2015
17 answers
262 views

When trying to upload/save a .gif file I am getting the following error "Arithmetic operation resulted in an overflow.". Here is the code where the error occurs.

 

                Telerik.Web.UI.ImageEditor.EditableImage img = e.Image;
                
                if (img.Width > 600 && img.Height > 600)
                    img.Resize(600, 600);
                img.Image.Save(sFullPath + sFileName + sExt);

                if (img.Width > 150 && img.Height > 150)
                    img.Resize(150, 150);
                img.Image.Save(sFullPath + sThumbName + sExt);

 

I added the code to check the size of the image before calling the Resize but it still throws the error. How do I fix this?

 

Vessy
Telerik team
 answered on 06 Oct 2015
7 answers
773 views
When I place a datepicker in a dialog, sometimes I notice that the popup gets cut off if there isn't enough room above or below the datepicker. In all cases, I have enough room for the popoup within the dialog, just not enough room for the entire popup above or below the picker. It would be nice if the picker could detect the container boundaries and appear in a satisfactory location. Alternatively, if you could provide a PopupDirection of "Right" (and Left) so the popup will display vertically centered to the right of the picker icon, that would also help.
Venelin
Telerik team
 answered on 06 Oct 2015
2 answers
118 views

I'm trying to get the color of the appointment for a resource and the header when using grouping to match also. I can set the colors of both but not using the built-in css styles.

Sub Page_Load

        sqlConn.Open()
        sqlDataRdr = sqlCmd.ExecuteReader()
    RadScheduler1.ResourceStyles.Clear()

        Do While sqlDataRdr.Read()

            If Not System.DBNull.Value.Equals(sqlDataRdr.Item("ID")) Then
                    RadScheduler1.ResourceStyles.Add(New ResourceStyleMapping("Calendar", sqlDataRdr.Item("ID"), sqlDataRdr.Item("colorStyle")))
            End If
        Loop
        sqlConn.Close()​

 

Ivan Danchev
Telerik team
 answered on 05 Oct 2015
2 answers
125 views

I need a clientside equivalent to rotate a shape in raddiagram. Till now, I'm using the following serverside code :

diagramShape.RotationSettings.Angle = 45;

So, are there an alternative javascript to do the job.

Thanks in advance.

Vessy
Telerik team
 answered on 05 Oct 2015
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?