Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
114 views
Hello Telerik Guys,

I have a error in the File explorer control. When i moving the folders from one folder to another folders i have got the error message of "The selected folder could not be deleted because the application did not have enough permissions.Please contact the administrator".

Please see the attached image.

Hare i have a question i am performing the Move operation but the control gives me the error msg for the delete operation.

Please Consider my request that how would i overcome with above mentioned problem.

Your suggestios and feedback will greatful to me.

I am looking forward of your quick respone.

Thanks.
Dobromir
Telerik team
 answered on 12 Jan 2011
1 answer
40 views
Hi
We are using Ajaxcontrol toolkit version 4.1.40412.2 and Telerik version 2009.02.0826.20 but when we load Ajax control in
combination of Telerik controls then it gives general JavaScript error .
Can you please provide details of the correct version of Telerik dll compatible with correct version of Ajaxcontrol toolkit dll
and supported JavaScript file.
Also if possible  please provide sample project for the issue 
please not we are using Visual studio 2010 with Framework 3.5
Sebastian
Telerik team
 answered on 12 Jan 2011
6 answers
219 views
I have a radgrid.GridTemplateColumn contains a RadComboBox.How get value RadComboBox in the event OnClientTextChange?
xvikx
Top achievements
Rank 1
 answered on 12 Jan 2011
1 answer
97 views
Hi
 
We have an issue where RadEditor is not setting font size 3 (12) correctly in IE for Table contents, but everything works fine in Firefox .

How I can resolve this issue so that in IE size 12 get applied correctly ?   Please see attached screenshot for details 

Thanks in Advance

Syed

 


 
Rumen
Telerik team
 answered on 12 Jan 2011
1 answer
146 views
Forgive me if I've overlooked the answer to this problem, but I've searched the forums and couldn't find an easy way to accomplish this. I'm looking to use an Image for a RadMenuItem control, but I want it to display on the right hand side of the text, not the left. There is no ImagePosition attribute supported for the RadMenuItem control. 

I can switch the RadMenu "Dir" property to "rtl" and that renders it exactly like I need it to be rendered, except for the menu then renders right to left which won't work. Is there any way to accomplish this? 
Princy
Top achievements
Rank 2
 answered on 12 Jan 2011
1 answer
105 views
Hello Telerik Community,

I am attempting to get the RadRotator to work with some Client API.

Everything works except there is a minor bug that I can't figure out what I am doing wrong.

I have the following Rotator Control:

<telerik:RadRotator runat="server" ID="imageSlider" RotatorType="AutomaticAdvance"
                        ScrollDirection="Left" FrameDuration="300" ScrollDuration="1" Width="640px" ItemWidth="640px"
                        Height="640px" ItemHeight="640px" PauseOnMouseOver="False"  OnClientLoad="onRotatorLoadHandler" >
                        <ItemTemplate>
                            <asp:Image ID="Image1" ImageUrl='<%# "~/" + Eval("Path") %>' runat="server" />
                        </ItemTemplate>
                    </telerik:RadRotator>

Now, i have the following buttons:

<table>
                        <tr>
                            <td>
                                <asp:ImageButton ID="cmdStepBack" runat="server" ImageUrl="~/App_Themes/Default/Images/360Controls/first.png"
                                    OnClientClick="return stepBackward();" ToolTip="Step Backwards" />
                            </td>
                            <td>
                                <asp:ImageButton ID="cmdPause" runat="server" ImageUrl="~/App_Themes/Default/Images/360Controls/pause.png"
                                    OnClientClick="return pauseRotator();" ToolTip="Pause Animation" />
                                <asp:ImageButton ID="cmdPlay" runat="server" ImageUrl="~/App_Themes/Default/Images/360Controls/play.png"
                                    OnClientClick="return startRotator();" Style="display: none;" ToolTip="Play Animation" />
                            </td>
                            <td>
                                <asp:ImageButton ID="cmdStepForward" runat="server" ImageUrl="~/App_Themes/Default/Images/360Controls/last.png"
                                    OnClientClick="return stepForward();" ToolTip="Step Forward" />
                            </td>
                        </tr>
                    </table>

And finally, I have the following javascript:

<script language="javascript" type="text/javascript">
            var oRotator;
            function onRotatorLoadHandler(sender, args) {
                oRotator = sender;
            }
 
            function pauseRotator() {
               
                document.getElementById("cmdPause").style.display = "none";
                document.getElementById("cmdPlay").style.display = "";
 
                oRotator.pause();
 
                return false;
            }
 
            function startRotator() {
               
                document.getElementById("cmdPause").style.display = "";
                document.getElementById("cmdPlay").style.display = "none";
 
                oRotator.resume();
                return false;
            }
 
            function stepBackward() {
                oRotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Right);
                pauseRotator();
                return false;
            }
 
            function stepForward() {
                oRotator.showNext(Telerik.Web.UI.RotatorScrollDirection.Left);
                pauseRotator();
                return false;
            }
 
        </script>

So, when I click on Play/Pause, it works just fine and dandy. No issues.

However, when I click on stepForward or stepBackward, I have to call showNext then pause the rotator in order for it to work (this is while the animation is going -- there is a different issue when i pause it).

When I pause the animation first, and then click on stepForward/Back it does not work at all.

If i don't pause the animation (while it is playing) after calling showNext it does not work.

Any thoughts how i can click on showNext(either direction) and have it pause the animation and step forward/back without jumping through hoops?

Thanks,

Jason
Rumen
Telerik team
 answered on 12 Jan 2011
2 answers
110 views
Hi,

I have a rad time picker in my application.

I am setting start and end time using the radtimepicker.timeview.starttime and endtime .

And as mentioned above i can able to set the interval as well.

On button click i have to get the all items from the radtimepicker and have to insert into database.

Can any one suggest me how to get the time collection from the radtimepicker timeview.

Thanks
Thenmozhi
Thenmozhi
Top achievements
Rank 1
 answered on 12 Jan 2011
1 answer
159 views
Hi,

I want to inject some JavaScript code into the aspx page (on some server side event). But the script doesn't get rendered on the page.
I have RadScriptManager on the MasterPage, and RadScriptBlock on the ContentPage.

Then I wrote below code , but it didn't worked:
StringBuilder sb = new StringBuilder();
sb.Append("<script>alert('script test')</script>");
LiteralControl script = new LiteralControl(sb.ToString());
RadScriptBlockCP.Controls.Add(script);

I also tried below code but failed:
String scriptContent = "script type=\"text/javascript\" language=\"javascript\">alert('test alert')</script>";
(RadScriptBlockCP.Controls[0] as LiteralControl).Text = scriptContent;

Please help.
Simon
Telerik team
 answered on 12 Jan 2011
1 answer
65 views
Hi All:
I have an RadUpload control inside sharepoint 2010 webpart , when i click upload button the RadUpload required a valid user name and password .

How do to enable anonymous  access for RadUpload??
Genady Sergeev
Telerik team
 answered on 12 Jan 2011
3 answers
54 views
Hello,

I've encountered an odd problem attempting to use the "PostBackUrl" property of the button used to send the postback which causes the uploader to save the file.

Everything works as planned as long as the button is initially enabled.  However, if the button starts out disabled then the cross page postback doesn't occur. 

This is hard for me to explain clearly so I'm including some code I was testing with.   There are two buttons on this page.  The only difference between the buttons, besides their ID, is that one button is initially disabled and the other one is enabled.  The file is uploaded when either button is clicked.  But only the button which is initally enabled sends a response to the second page.  

I did notice there was a query in the URL after testing with the disabled button:  test.aspx?RadUrid=4ec5a3c0-0503-422b-83d0-743982ca7ffa

I also tried, without luck,  the suggestion in this post ASyncUpload Issue? forum post since it was possible the problem was caused by the same factors.

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %>
<!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>
   
</head>
<body>  
  
    <form id="form1" runat="server">
        
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        //<![CDATA[
  
        function fileUploaded(sender, eventArgs) {
            var btn = $get("<%= Me.BTN_loadfile.ClientID%>");
            if (typeof (btn) != "defined") {
                btn.disabled = false;
            }
        }
  
        //]]>
    </script>
    </telerik:RadCodeBlock>
  
    <telerik:RadProgressManager ID="RPM_importAdmin" runat="server" />
        <br />
        File to load administrators from (.CSV,.XLS, or .XLSX):
        <br />
        <br />
        <telerik:RadAsyncUpload ID="RAU_uploadFile" MaxFileInputsCount="1" MaxFileSize="10485760" InputSize="60" AllowedFileExtensions="csv,xls,xlsx" runat="server" OverwriteExistingFiles="true" OnClientFileUploaded="fileUploaded" >
            <Localization Select="Browse" />
        </telerik:RadAsyncUpload>
        <br />
        <br />
        <telerik:RadProgressArea ID="RPA_uploadFile" DisplayCancelButton="true" runat="server">
        </telerik:RadProgressArea>
        <asp:Button ID="BTN_loadfile" runat="server" Text="Should Go" Enabled="false" CausesValidation="false" PostBackUrl="~/test2.aspx"></asp:Button>
        <asp:Button ID="Button1" runat="server" Text="Goes" CausesValidation="false" PostBackUrl="~/test2.aspx"></asp:Button>
    <br />
    </form>
</body>
</html>


The code-behind for the SECOND page is the following.   The code-behind for the first page just sets values for the TemporaryFolder and TargetFolder properties.

Imports System.IO
Imports Telerik.Web.UI
  
Partial Class test2
    Inherits System.Web.UI.Page
  
    Protected fileUploader As RadAsyncUpload = Nothing
  
    Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit
        If PreviousPage Is Nothing Then
            If Not IsPostBack Then
                Me.Label1.Text = "no previous page"
            End If
        Else
            Me.fileUploader = CType(PreviousPage.Form.FindControl("RAU_uploadFile"), RadAsyncUpload)
            If Me.fileUploader IsNot Nothing AndAlso Me.fileUploader.UploadedFiles.Count > 0 Then
                Me.Label1.Text = "File: " & Path.Combine(Me.fileUploader.TargetFolder, Me.fileUploader.UploadedFiles(0).FileName)
            End If
        End If
    End Sub
  
End Class

The version of the Telerik .dll is: 2010.3.1215.35

Any help or ideas would be greatly appreciated.

Thanks,
Genady Sergeev
Telerik team
 answered on 12 Jan 2011
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?