delete, edit, copy, rename....in explorer.Help me!
Please!Help me write buttons delete, edit, copy, rename, new folder, cut, paste, undo, redo in explorer.please!Share code with me.I really need it!Thanks a lot.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
cruxsel hPosted Dec 27, 2010, 1:42 AM
When I pasted your code I managed to solve some of the issues... But I would like to know how it can be customized and what are the references to be added to make it fully working on the client side..
Below are the specific errors, Kindly help me out with hints or specific answer for the below errors
HttpPostedFile pf = Request.Files.Item(0);
(Error 16 'System.Web.HttpFileCollection' does not contain a definition for 'Item' and no extension method 'Item' accepting a first argument of type 'System.Web.HttpFileCollection' could be found (are you missing a using directive or an assembly reference?))
if (!string.IsNullOrEmpty(_strAllowedPathPattern) && !Regex.IsMatch(WebPath, _strAllowedPathPattern))
(Error 17 The best overloaded method match for 'System.Text.RegularExpressions.Regex.IsMatch(string, string)' has some invalid arguments
)
WriteErrorRow(string.Format(strPathError, WebPath, "is not allowed because it does not match the pattern '" + Server.HtmlEncode(_strAllowedPathPattern) + "'."));
(Error 19 The best overloaded method match for 'string.Format(string, object, object)' has some invalid arguments
)
da = di.GetDirectories;
fa = di.GetFiles;
Error 24 Cannot convert method group 'GetDirectories' to non-delegate type 'System.IO.DirectoryInfo[]'. Did you intend to invoke the method? dr.Item("Name") = fi.Name;
Error 28 'System.Data.DataRow' does not contain a definition for 'Item' and no extension method 'Item' accepting a first argument of type 'System.Data.DataRow' could be found (are you missing a using directive or an assembly reference?)
return PageUrl(strUp);
Error 40 No overload for method 'PageUrl' takes '1' arguments
return System.Security.Principal.WindowsIdentity.GetCurrent.Name;
}
Error 79 'System.Security.Principal.WindowsIdentity.GetCurrent()' is a 'method', which is not valid in the given context
Roei BarPosted Aug 16, 2009, 2:36 AM
get lovePosted Aug 16, 2009, 12:49 AM
Kirtan PatelPosted Aug 15, 2009, 11:30 PM
Roei BarPosted Aug 15, 2009, 4:29 PM
dont forget to mark this as "Accpeted answer"