| function OpenFileExplorerDialog(val) { |
| _globobjectartselect = val; |
| var wnd = $find("<%= ExplorerWindow.ClientID %>"); |
| wnd.set_navigateUrl("../../filemanager/explorer.aspx?search=" + val); |
| wnd.show(); |
| } |
| function OnFileSelected(wnd, fileSelected) { |
| switch(_globobjectartselect) |
| { |
| case "Picture": |
| var textbox = $find("<%= txtPictureFilePath.ClientID %>"); |
| textbox.set_value(fileSelected); |
| break; |
| case "Video": |
| var textbox = $find("<%= txtVideoFilePath.ClientID %>"); |
| textbox.set_value(fileSelected); |
| break; |
| } |
| } |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| if (Request.QueryString["search"] != null && Request.QueryString["search"] != "") |
| { |
| switch (Request.QueryString["search"]) |
| { |
| case "Picture": |
| string[] patterns1 = { "*.jpg", "*.jpeg", "*.gif", "*.png", "*.bmp" }; |
| RadFileExplorer1.Configuration.SearchPatterns = patterns1; |
| break; |
| case "Video": |
| string[] patterns2 = { "*.mpg", "*.mpeg", "*.avi", "*.divx", "*.wmv" }; |
| RadFileExplorer1.Configuration.SearchPatterns = patterns2; |
| break; |
| } |
| } |
| } |

Hi Lini/Fiko,
I have struck in between my project.
I have added an ARCHIVE button to the TREE CONTEXT MENU as shown in the below screen shot:-
"pic-1.jpg"
Iam able to ARCHIVE the folder but the main problem that I have been facing for the last 3- 4 weeks is that Iam not able to REMOVE that particular folder() form the TREE VIEW, That folder() still exists there(in the TREE MENU) untill or unless we REFRESH the whole page in the browser .
Below is the code that I have been using in my ASPX page:-
"pic-2.jpg"
While the code that I have been using is shown below as :-
"pic-3.jpg"
Please help !
Hope this time it will work ..........
Ajay

The Telerik.Web.UI.WebResource.axd handler can return uncompressed content for browsers that accept gzip encoding and vice versa
SOLUTION
protected void Application_PostRequestHandlerExecute(object sender, EventArgs e) { HttpApplication app = (HttpApplication)sender; if (!app.Request.RawUrl.Contains("Telerik.Web.UI.WebResource.axd")) return; HttpCachePolicy cachePolicy = app.Response.Cache; cachePolicy.VaryByHeaders["User-Agent"] = true; }Protected Sub Application_PostRequestHandlerExecute(sender As Object, e As EventArgs) Dim app As HttpApplication = DirectCast(sender, HttpApplication) If Not app.Request.RawUrl.Contains("Telerik.Web.UI.WebResource.axd") Then Return End If Dim cachePolicy As HttpCachePolicy = app.Response.Cache cachePolicy.VaryByHeaders("User-Agent") = TrueEnd Sub