Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
172 views
hello,
I am new to telerik
my radupload works great on localhost but since i have uploaded it to the test website
  •   it does not show any browse option
  • add button does not do anything

i have set default to 5 and max to 10

<telerik:RadUpload ID="RadUpload1" runat="server"  TargetFolder="~/images/cars/"
                maxfileinputscount="10"
                            maxfilesize="1000000" ControlObjectsVisibility="All"
                Skin="Web20" InitialFileInputsCount="5"  >
        </telerik:RadUpload>


Thanks
Wizhunt Inc.
Top achievements
Rank 1
 answered on 20 Oct 2012
13 answers
509 views
I tried to follow this article http://www.telerik.com/help/aspnet-ajax/ajax-disable-controls-during-ajax.html
But it only works with ASP.NET Button, not with RadButton.
How to make it work with RadButton?
Thanks

Lamk.
Iman
Top achievements
Rank 1
 answered on 20 Oct 2012
0 answers
64 views
Hi

in my module's ascx-File I have the following code (shortened):

<asp:Repeater ID="rptMain" runat="server">
    <ItemTemplate>
        <Telerik:RadToolTip ID="RadToolTip" runat="server" TargetControlID="btnPhone" IsClientID="false" HideEvent="ManualClose">
            <table width="100%" border="0" cellpadding="2" cellspacing="0">
                <tr valign="top">
                    <td><asp:ImageButton ID="btnPhoneStartP" runat="server" ImageUrl="~/DesktopModules/MaganSoft.PerKad.CandidateActive/Images/phone_green.png" CommandName="PhoneStart" CommandArgument='<%# Container.DataItem.PhoneNumberP %>' AlternateText="Made Call" ToolTip="Made Call" Visible='<%# IIF(Container.DataItem.PhoneNumberP <> "", True, False) %>' /></td>
                    <td><asp:ImageButton ID="btnPhoneStopP" runat="server" ImageUrl="~/DesktopModules/MaganSoft.PerKad.CandidateActive/Images/phone_red.png" CommandName="PhoneStop" CommandArgument='<%# Container.DataItem.PhoneNumberP %>' AlternateText="Missed Call" ToolTip="Missed Call" Visible='<%# IIF(Container.DataItem.PhoneNumberP <> "", True, False) %>' /></td>
                </tr>
            </table>
        </Telerik:RadToolTip>
    </ItemTemplate>
</asp:Repeater>

And in Code-Behind:

Protected Sub rptMain_ItemCommand(source As Object, e As System.Web.UI.WebControls.RepeaterCommandEventArgs) Handles rptMain.ItemCommand
    If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
        If e.CommandName = "PhoneStart" Then
            Dim strPhoneNumber As String = e.CommandArgument
            Dim lblFirstName As Label = CType(e.Item.FindControl("lblFirstName"), Label)
            Dim lblLastName As Label = CType(e.Item.FindControl("lblLastName"), Label)
            Dim strGUID As String = System.Guid.NewGuid.ToString
            Dim strCompanyName As String = Null.NullString
            Dim strName As String = lblFirstName.Text & " " & lblLastName.Text
 
            m_MaganSoftHelperMethods.CreateXMLPhoneCalls(strGUID, strName, strCompanyName, strPhoneNumber, Server.MapPath(Path.Combine(PortalSettings.HomeDirectory, "madecalls.xml")), "madecalls.xml", "madecalls", "madecall")
        End If
 
        If e.CommandName = "PhoneStop" Then
            Dim strPhoneNumber As String = e.CommandArgument
            Dim lblFirstName As Label = CType(e.Item.FindControl("lblFirstName"), Label)
            Dim lblLastName As Label = CType(e.Item.FindControl("lblLastName"), Label)
            Dim strGUID As String = System.Guid.NewGuid.ToString
            Dim strCompanyName As String = Null.NullString
            Dim strName As String = lblFirstName.Text & " " & lblLastName.Text
 
            m_MaganSoftHelperMethods.CreateXMLPhoneCalls(strGUID, strName, strCompanyName, strPhoneNumber, Server.MapPath(Path.Combine(PortalSettings.HomeDirectory, "missedcalls.xml")), "missedcalls.xml", "missedcalls", "missedcall")
        End If
    End If
End Sub

Whereever I set a brakpoint inside the ItemCommand-Event the debugger never reaches it.

Can anyone give me a helping hint?

Thank you very much
Martin
Martin
Top achievements
Rank 1
 asked on 20 Oct 2012
3 answers
233 views
Good day!

Before, I was binding a scheduler through code behind. With the timezoneoffset set to zero, for example, an appointment that is saved in the database as 8:00 AM shows up correctly. When I decided to use web service binding, the appointment shows up at 12:00 AM. Why is this so?

Thanks,
Palani
Top achievements
Rank 1
 answered on 20 Oct 2012
2 answers
134 views
Hi,
Actually i am using rad upload control to upload the files, i am using target physical folder path because i need to keep all uploaded files out side the my website. I want to  keep all uploaded file outside the our existing website where i am uploading the files but when we are giving the physical path file is unable to write over there.  I am giving path like D:\uploaded but on that path file is unable to write. I am giving all permission like network services, Asp.net etc to that folder but still i am facing the problem, so please suggest me some solutions.
Waseem
Top achievements
Rank 1
 answered on 20 Oct 2012
4 answers
1.0K+ views
Hello there.
I am using RadUpload and It is working correctly now, but occuring this error when I clicking on UPLOAD button in rad image manager or rad document manager.
What should I do?
To make my issue clearly:

I am going to upload my file to Dir1/Dir2/uploadingimage.gif
I have dir1 directory.
I will create dir2 directory from my C# code behind.
I am selecting uploadingimage.gif and click upload button.
Then I am having this error.

Server Error in '/' Application.

Access to the path 'C:\inetpub\wwwroot\Test2\News\File\images\001\pu001021020\bgr.png' is denied.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\Test2\News\File\images\DIR1\
DIR2
\bgr.png' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\Test2\News\File\images\DIR1\DIR2\bgr.png' is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +10546931
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +2580
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +138
   System.IO.FileStream..ctor(String path, FileMode mode) +91
   System.Web.HttpPostedFile.SaveAs(String filename) +151
   Telerik.Web.UI.PostedFile.SaveAs(String fileName, Boolean overwrite) +54
   Telerik.Web.UI.Widgets.FileSystemContentProvider.StoreFile(UploadedFile file, String path, String name, String[] arguments) +120
   Telerik.Web.UI.RadFileExplorer.ProcessUploadedFiles() +959
   Telerik.Web.UI.RadFileExplorer.OnLoad(EventArgs e) +169
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

Waseem
Top achievements
Rank 1
 answered on 20 Oct 2012
1 answer
75 views
Where is .msi files for Q3 2012 ?!
Chris
Top achievements
Rank 1
 answered on 19 Oct 2012
6 answers
232 views
Hi, Guys I'm new to radbinaryimage contro.
I've implemented this demo succesfully http://demos.telerik.com/aspnet-ajax/upload/examples/async/ajaxprocessing/defaultcs.aspx?product=asyncupload but now I want to add a "save image" button that saves to a folder  the image that is shown on the radbinaryImage control.
How can I achieve this?
Hope your help.
Casey
Top achievements
Rank 1
 answered on 19 Oct 2012
3 answers
155 views
Hi, 

I have this issue with a RadComboBox closing my RadMenu drop down sub menu. I can click on input boxes and so forth and I can click to expand the ComboBox without it closing the RadMenu item, but when I select any of the items within the ComboBox it closes the RadMenu item. 

How can I prevent it from doing that? 

Regards,
Jacques
Shawn
Top achievements
Rank 1
 answered on 19 Oct 2012
2 answers
174 views
I am using the rad scheduler with a exchange service provider, i have time zone offset value set for the scheduler and the display of appointments work fine. However when i create appointment with the offset i am getting an error:
The request failed schema validation: The 'http://schemas.microsoft.com/exchange/services/2006/types:BaseOffset' element is invalid - The value '-PT-8H' is invalid according to its datatype 'http://www.w3.org/2001/XMLSchema:duration' - The string '-PT-8H' is not a valid Duration value.

Looking through the documentation i found that the appointment time needs to be convered to UTC. So i added the following line in the appointment Inset event.

e.Appointment.Start.ToUniversalTime();
e.Appointment.End.ToUniversalTime();

While stepping thru the code the start and end times look ok, meaning they are in UTC however i get the error above
at Exchange\ExchangeSchedulerProvider.cs:line 166
       at Telerik.Web.UI.SchedulerProviderBase.Insert(ISchedulerInfo schedulerInfo, Appointment appointmentToInsert)
when trying to create the item.

Can you please help?

Gabe Silvarajoo
Top achievements
Rank 2
 answered on 19 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?