I need to have Editor with file upload capability.this question suggest some choices but none of them sounds appropriate.and this one is for Asp.net MVC2 while I'm working with ASP.Net MVC4.
Why dont you use CKEditor, and CKfinder for file upload ? CKFinder is paid, but you could find few free alternatives for Ckfinder.
pdwfilebrowser is free, and works well with TinyMCE or Ckeditor. You could find more free upload plugins for both.
http://sourceforge.net/projects/pdwfilebrowser/
Related
I have have a solution now to upload multiple files using (drag drop) technique by JavaScript and jQuery, but I need to find a way to upload folder with all of it is content like Google drive . Is this possible?
Unfortunately you can not do this, only with a browser.
You will have to use a custom client for this.
But a simple method will be Ask the user to ZIP the folder and upload the zip using the file-upload control.
Then on the server end, you can un-zip and read the content.
I have upload control on my asp.net page. I upload pictures in folder cars and they show in windows explorer when I open that folder (cars), but in Visual Sudio they act like they not include in project ( that is the reason why they don't show on image control which point to some of them. What did I make wrong ?
Uploading the images in the web application will never make any changes to your project. You will have to add them manually if you'll need them there. But generally these are pictures added by your user so the would just be in the file system - not really part of the solution, are they?
If you have choosen a webSITE then it will allow this, but not if a webPROJECT is selected.
I didn't find this on net, but I had two projects, and the one which was allowing me to show uploaded files was a website.
You have to click the refresh button at the top of the solution explorer in Visual Studio for it to show changes to the files.
You have to click Refresh button. Also ensure that "Show all files" icon is selected. And finally, you will have to right click on the files and select Include in Project. That way it would become part of your project.
If I may ask, what exactly are you trying to achieve in your application? The reason I ask is, if there is an upload happening in your application, you shouldn't need to include the files in your project to refer to it from code.
I have the Sharepoint site collection. I have my custom CSS. I want to assign the this CSS to my Sharepoint site collection . What I have to do. I don't want to use the Sharepoint designer. In fact is is restrict to use me the same. please guide me
The way I have deployed custom CSS is to package it as a theme in "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\THEMES".
The easiest solution is to copy a theme folder, rename it, change images, css as you please and the .inf and .xml files to reflect folder name and theme name.
After the theme is done, change theme for desired sites.
Anything you can do in SharePoint designer, you can do by manually editing the files (it's just much more, well, manual). the files can be accessed using WebDAV via \servername...
If you have a sandbox environment or site to play with, I suggest you make the change in SP designer and then look at the files to see what changed.
Has any one ever downloaded and made use of the mvcContrib template gallery for asp.net mvc. I cant find where to download the templates from and there is no documentation for how to use it?
You can download the templates from the source tab on codeplex from here.
Each template has a folder and each folder has a zip file containing the masterpage the css and and images needed.
How to upload a file in asp.net without reloading a page
You will need to perform asynchronous
file upload using Ajax and send the
file in chunks of bytes.
Authentic AsyncUpload in original AjaxConotrlToolkit
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/AsyncFileUpload/AsyncFileUpload.aspx
Some other references that may interest you..
Matt berseth's Asyncupload <-- Recommended
SWFUpload
FileUp
Flajaxian FileUploader
RadUpload
NeatUpload
ASP.Net File Upload/Download Module <-- Recommended
You should find a suitable ajax uploader. One wise choice would be a jquery ajax uploader. I hope this jquery ajax uploader, free download, would win your heart. All the best!
There are many ways to do this. but if you need some extended functionality try this sample.
Here is a cross-browser script to upload file using ajax. You can search google for Ajax file upload and find out other tools and techniques if this one does not works for you.
jquery-transmit is a sophisticated jQuery plugin providing an elegant multi-file upload utility. At the core of the plugin is a small SWF file which provides single or multiple file selection and upload services
try this
it uses jquery to upload multiple files... you can also download sample project which works fine.. and uploads files quickly.
you may need to change your web.config to set lenght of data can be passed ... in the sample project...