iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi Handy,
Thanks for the detailed mail.. but sorry i guess i confused you with my question
i use components for "WebUI Studio for ASP.NET " when sending files for my
client do i need to send the even the bin folder along with the files(which has webui components) or only the files without the bin folder
i have attached the screen shot of the bin folder.
Thanks handy got the solution.....
Thanks yudi for the suggestion will try hope it will work...
Regards,
Anjali
Thanks Yudi for the response.
I have other question with this webFileUploader is this only used to load the images files? because once i drag and drop this <ISWebTextEditor:WebFileUploader> component it automatically says upload an image file. i have attached the screen shot for reference.
code in ASPX
<ISWebTextEditor:WebFileUploader ID="fileupload" runat="server" FilesCount="1" FileTypes="*.csv"> </ISWebTextEditor:WebFileUploader>
Good Morning Yudi,
Please let me know if any information required....
Hi Yudi,
Thanks you very much for willing to advise me ....
I have attached the page functinality how to it work and below is the code which i have written in ASPX. Please let me know if any further information required.
**************ASPX File********************
<table> <tr> <td align="left" valign="middle">File to Upload</td> <td><input type="file" id="fileupload" name="fileupload" runat="server" /></td> <td><asp:Button ID="button1" runat="server" Height="20" Width="100" OnClick="Button1_Click" Text="Upload" OnClientClick="return Validate();" /> </td> </tr> </table><table><tr> <td><asp:Label runat="server" ID="lblMessage"></asp:Label></td></tr></table></fieldset> <script language="JavaScript" type="text/javascript"> function Validate() { var strFullFileName = document.getElementById('ctl00_maincontent_fileupload').value; var strFileExt; var strFile = strFullFileName.split("\\"); var strFileName = strFile[strFile.length-1]; if(strFullFileName != "") { var strFileExt = strFullFileName.split(".");
if ((strFileExt[1] != undefined) && (strFileExt[1] != "")) { strFileExt[1] = strFileExt[1].toLowerCase();
if(strFileExt[1] == "csv") { return true; } else { alert("You must select csv files only."); return false; } } else { alert("You must select csv files only."); return false; } } else { alert("Please Select the file for upload."); return false; } } </script>
************C# Coding******************
protected void Button1_Click(object sender, EventArgs e) {
string[] strArray = fileupload.PostedFile.FileName.Split('\\');
if (!Directory.Exists(Server.MapPath("UploadedFile"))) Directory.CreateDirectory(Server.MapPath("UploadedFile"));
string strFilename = Server.MapPath("UploadedFile/" + strArray[strArray.Length -1]); fileupload.PostedFile.SaveAs(strFilename); LoadFile(strFilename);
}
Anjali...
Thanks for the suggestion.... My question was not clear i am really sorry for that. i have already the Browse,upload button and validation functionalities written in ASP.net without using Webui components now my requirement is i should change it to webui components....
so do i need to change only ASPX page which as <input type="file" id="fileupload" name="fileupload" runat="server" /> to<ISWebTextEditor:WebFileUploader> or anything else need to be chnaged/added.
Thanks Handy ....
Hi Handly,
Thanks for your suggestion. Its working fine after registering the SmartWebResource .But i have question where do we find the Property EnableSmartWebResources i am new to this application please.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname