| using System; |
| using System.Runtime.InteropServices; |
| using System.Web.UI; |
| using System.Web.UI.WebControls; |
| using System.Web.UI.WebControls.WebParts; |
| using System.Xml.Serialization; |
| using Telerik.Web.UI; |
| using Microsoft.SharePoint; |
| using Microsoft.SharePoint.WebControls; |
| using Microsoft.SharePoint.WebPartPages; |
| namespace tdRadGridDocuments |
| { |
| [Guid("64992D37-4BF7-4a9d-886F-084B94073071")] |
| public class RadGridDocuments : System.Web.UI.WebControls.WebParts.WebPart |
| { |
| public RadGridDocuments() |
| { |
| } |
| protected override void CreateChildControls() |
| { |
| base.CreateChildControls(); |
| // Create RadGrid |
| RadGrid objDocuments = new RadGrid(); |
| RadScriptManager objScriptManager = new RadScriptManager(); |
| this.Controls.Add(objScriptManager); |
| this.Controls.Add(objDocuments); |
| } |
| } |
| } |
Hi there,
I’m having troubles getting RadFileExplorer to work. Listing files works fine, and viewing also, but uploading and deleting doesn’t work at all.
If I try to delete a file, I first get an error in Visual Studio in a script file loaded from a web resource (Telerik.Web.Resource.WebResource_2.axd), in _callWebService:function(_13,_14,_15), on line 29:
if(this._folderCache[_1e]!=null&&!_14){
The error is ‘Microsoft JScript runtime error: 'this._folderCache' is null or not an object’. If I continue, I get the following response: The selected file could not be deleted because the application did not have enough permissions. Please, contact the administrator.
I’m running it from Visual Studio, using the Development Web Server, and I have Full Control rights in the directory I want to delete a file from. I also tried running Visual Studio as Administrator, which made no difference. After the error, my upload button also mysteriously disappears.
If I try to upload a file, I get no error in Visual Studio, but I get the following response in my page: E:ErikDownloadstest.jpeg : Cannot write to the target folder!
My RadFileExplorer is declared as follows:
<telerik:RadFileExplorer runat="server" ID="FileExplorer" DisplayUpFolderItem="False" Skin="Office2007" VisibleControls="Grid, Toolbar, ContextMenus">
<Configuration SearchPatterns="*.jpg,*.png,*.gif,*.css,*.htc,*.jpeg,*.bmp" />
</telerik:RadFileExplorer>
In code-behind, the only interaction with the control is setting the ViewPaths, DeletePaths and UploadPaths, all set to the same single path, formatted as a virtual path, ending in a forward slash.
My page uses a RadScriptManager and contains an UpdatePanel, but that doesn’t seem to be the issue; the FileExplorer causes errors whether I have the UpdatePanel on the page or not.
I'm running the latest build.
Hope somebody has some suggestions.
Thanks, Roland



SqlDataReader
a = GetCustomerApplications.ExecuteReader();
this.RadApplicationsListBox.DataSource = a;
this.RadApplicationsListBox.DataBind();
It appears any application with multiple spaces in the string will be stripped down to a single space.
example:
value in the database: "Test Aplication"
as displayed in list box: "Test Aplication"
Has anyone come across this? Or any other anomalies in the rendering of values in the listbox that we need to account for?
