<telerik:RadFileExplorer runat="server" ID="RadFileExplorer1" Width="1000px" Height="690px" Skin="Black" EnableOpenFile="True" OnClientFolderChange="OnClientFolderChange" OnClientCreateNewFolder="onCreateNewDir" OnClientLoad="OnFileExplorerLoad"> </telerik:RadFileExplorer>string[] paths = new string[] { "~/ImagesThumb/", "~/Images/" };RadFileExplorer1.Configuration.ViewPaths = new string[] { "~/ImagesThumb/" };RadFileExplorer1.Configuration.UploadPaths = paths;RadFileExplorer1.Configuration.DeletePaths = paths;function onCreateNewDir(sender, eventArgs) { var oExplorer = getRadFileExplorer1(); var dirPath = oExplorer.get_currentDirectory().replace('ImagesThumb', 'Images'); oExplorer.remove_createNewFolder(onCreateNewDir); oExplorer.createNewDirectory(dirPath,eventAgs.get_newPath()); oExplorer.add_createNewFolder(onCreateNewDir);}
<telerik:RadFileExplorer runat="server" ID="RadFileExplorer2"Skin="Black" style="display:none"><Configutation DeletePaths="~/Images" UploadPaths="~/Images" /> </telerik:RadFileExplorer>function onCreateNewDir(sender, eventArgs) { var oExplorer = getRadFileExplorer1(); var dirPath = oExplorer.get_currentDirectory().replace('ImagesThumb', 'Images'); getRadFileExplorer2().createNewDirectory(dirPath,eventAgs.get_newPath()); }
using (SPSite external = new SPSite(SPContext.Current.Web.Url)) { using(SPWeb web = external.OpenWeb()) { RadGrid ProjectGrid = (RadGrid)FindControl("rgViewPDS"); GridDataItem item = ProjectGrid.Items[0]; this.PP = item["PP"].Text; this.PED = item["PED"].Text; } } });
var objUploadWidnow = "RadWindowWrapper_"+ objUploadContainer +"_windowManagerfileExplorerUpload";
var stylePanel = $telerik.$(".RadWindow RadWindow_Default rwNormalWindow rwTransparentWindow", objUploadWidnow);
alert(stylePanel);
stylePanel.css(
"height", "200px");
please correct me where i have done wrng.Please reply me as soon as posible.
Thanks
Sandhya
Hello Everyone,
I posted this question yesteday in telerik forums, but i could not seem to find that question anywhere. below is the question again
I have a gridview. There is a linkbutton in the gridview. If I click on that linkbutton, I am redirected to another web page, each Link button redirects to the same web page, but the data is different based on the querystring that i am passing from Gridview Link Button.
There are 500 records in the gridview for now, but they can increase later. There is a button at the top of the gridview that says "Export to MS word". If the user clicks on that button, then I want all the web pages that Link button is redirecting to be saved and opened in MS word document. How can I acheive this. Someone suggested me to do it in XMl because office 2007 saves everything in xml format. I am not sure how can I do this.
can someone give me any approach on how to accomplish this?
Any help will be greatly appreciated.