Author: erpriyana

check canvas empty or not 2

check canvas empty or not

check canvas empty or not <“canvas11″ height=”200px” width=”200px”> <asp:Button runat=”server” ID=”btn1″ Text=”Save” OnClientClick=”checkcanvas();” /> <script type=”text/javascript”> function checkcanvas() { var i = isCanvasTransparent(); //i =true if canvas empty //i =false if canvas has image...

copy a file into another folder asp .net 0

copy a file into another folder asp .net

copy a file into another folder asp .net string targetFolder = Server.MapPath(“~/PDF”); System.IO.FileInfo fi = new System.IO.FileInfo(Server.MapPath(“~/Bookmark.pdf”)); fi.CopyTo(System.IO.Path.Combine(targetFolder, fi.Name), true);