Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
309 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
195 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
274 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
821 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
126 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
133 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
3 answers
75 views

I'm wondering if someone from Telerik could explain to me the usefulness of the PITS (unfortunate acronym) system? As of this moment it is showing you are working on 16 out of 553 open items with the vast majority of open items showing no scheduled date. I suppose if I wanted a list of all the things Telerik IS NOT working on, then this would be of some use, but I could probably come up with such a list on my own and it would probably be just as accurate. As it stands the PITS list gives me the impression that Telerik isn't dedicating much in the way of resources to improving their controls. This is surprising given the increase in Telerik's prices in recent years and the obvious resources they have spent in developing and marketing various IDE framework names like "Kendo" and "Icenium". In the last year they have even managed to release a (questionable IMO) redesign of their demos website and deploy a host of bloggers to discuss and advocate all things Telerik. But what the vaunted PITS system shows is that more than 97% of developer's suggestions, some of them several years old, go largely ignored for an indeterminate amount of time. Now, I always had a feeling that PITS was where ideas went to die, but I guess this confirms it. So, I guess I'm surprised that a company which has clearly made a larger effort to sell their product as opposed to improve their product in recent years has allowed their customers such an un-obscured view of their PITS.
Rumen
Telerik team
 answered on 05 Oct 2015
0 answers
54 views

i have 2 TreeViews if i check any one item the same item from the 2nd TreeView should be disabled i need an example for that, also i am facing a width (Scrolling) issue in every tooltip of my project, this might because of telerik version update.

for your Info i am attaching image.

Ali
Top achievements
Rank 1
 asked on 05 Oct 2015
2 answers
85 views

Hi,

I try create custom skin but doesn't load properly, but when i put my css on body is work fine

i include attachment result and code.

 

So can you help me how i can put the telerik style inside head tag ?

 

Currently i use telerik 2015.1.401.45.

Ivan
Top achievements
Rank 1
 answered on 05 Oct 2015
1 answer
103 views

Is it possible to change the target sub-container at run time? I am trying to use the radcloudupload control to upload files into several sub-containers, depending on options selected in the form at time of upload.

 

Thank you in advance.

Peter Filipov
Telerik team
 answered on 05 Oct 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?