Web Forms :: How To Get Folder Browse Dialog
Feb 1, 2011I want to have folder browser control in one of my aspx page.How can i get it in web application?
View 5 RepliesI want to have folder browser control in one of my aspx page.How can i get it in web application?
View 5 Repliesi want to browse a folder in my asp.net web application...language is VB.....i want to browse a folder and show its path in text box....same functionality that browse button does.
View 1 RepliesIs there any control which has to browse folder path alone instead of selecting folder path + file ?any server side or client side control ?
View 1 RepliesBrowse client folder directory using asp.net application.
View 1 RepliesIn our website, we need to allow the user to browse a folder in the server. the idea is to let user specify a location IN THE SERVER to save a file. Is there a control to do this,how to do it. Specially, how to get the folder hierarchy on the server.
View 3 RepliesI need to browse a folder to store a files.Can you explain how do I create this procedure?
View 3 RepliesIn my web application I want the anonymous user to browse only the login page, and It's OK now but it appears without style!
<authorization>
<deny users="?"/>
<allow users="*"/>
</authorization>
</system.web>
<location path="Style">
<system.web>
<authorization>
<allow users="?" />
</authorization>
</system.web>
</location>
i'm creating a asp.net web application in which i need to select source file using browse button to select the Source location from where the files has to be copied from and destination file using browse button to select the destination location where the files has to be copied to .So pls tell me what should be the code for browse button to browse a folder for source and destination and copy the source folder files to destination folder(i want to copy only text and excel files from source to destination folder) and i want user to see the progress how files are copying from source to destination and error also if there is any error in copying.
View 1 Replies Im with ASP.net using VB.net. What was supposed to happen is that upon page load, the system will automatically create a folder in C:. After that, the user will browse a text file and upload it to the created folder. But what happens is that both the folder and the text file is being uploaded inside C: where it should be the folder only and then the text file should be inside the folder.Here's my code.
Code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Directory.CreateDirectory("C:TEXTFILEFOLDER")
End Sub
Private Sub DeleteFile(ByVal strFileName As String)
[code]....
I want to open FolderBrowserDialog,
I am getting error as
"Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. This exception is only raised if a debugger is attached to the process."
Then I added
System.Threading.Thread.CurrentThread.SetApartmentState(System.Threading.ApartmentState.STA)
And I got error as "Failed to set the specified COM apartment state."
Here is code
Private Sub btnBrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim MyFolderBrowser As New System.Windows.Forms.FolderBrowserDialog
' Description that displays above the dialog box control.
System.Threading.Thread.CurrentThread.SetApartmentState(System.Threading.ApartmentState.STA)
MyFolderBrowser.Description = "Select the Folder"
[Code] ....
How is it possible to programatically Browse back one step, instead of doing that with the browse back/forward buttons in the browser ?
View 4 Repliesusing vb.net/asp.net 2005
I've been tasked with creating a page where the user can do the following in this order:
1. browse to and select a jpg image
2. preview the image that the user just selected
3. if the user is happy with the preview then click the GO button to load the image to the Image folder.Does anyone have any good examples or sample code of how to do this?
I have "add new folder" button in my asp.net form and I need to show dialog in order to make the user able to enter the folder name,how can I accomplish that in asp.net?
View 2 RepliesI am using MVC2 on VS2010 Express edition. I followed a post by Dino Esposito on UI with JQuery passing data to a dialog from strongly typed views. I can't make the dialog work with modal:true option.Here I have a simple page that includes RenderPartial for a dialog. The dialog is supposed to pop up when a button is clicked. However, if I include modal:true as one of the dialog options, then when the button is clicked nothing happens. The dialog does not pop up. When I remove modal:true from the dialog options then dialog pops up as expected and closed as expected.
View 10 RepliesI've got a div on Page A.When an event happens (whatever I define, a click, whatever), I do a div.Dialog, set its properties and open itThe data inside is returned from an async .ajax call that grabs the data from a url and appends it to the div by calling div.html(data) inside the .ajax callback, so it's essentially loading a PageB by getting the data (content) and appending it to the div that's calling the dialog("open")...nothing special here I don't think.
My question: In Page B, how do I reference the dialog so I can do some things to it? For instance in Page B's content that I received back from that .ajax call and added to the div via .html(data), there is a button and when clicked I need to close the dialog.Right now my buttons are not working inside the dialog because one of them closes out the dialog and the other should redirect to a new page but both do not work now because I have no reference to the dialog that it's in to manipulate it. So I need reference so I can close the dialog via some jQuery that will reside in PageB (data).
I am working on asp.net 3.5 in C#. In my application I have to Create folder and upload file in that folder, which works fine on my machine. I want help for create folder and upload file in that folder on other machine which is connected in LAN. code for create folder and Upload file on my machine
string FileName = FileUpload1.FileName;
I want to create a folder to store some web controls, so the site structure doesn't have a zillion files in the root.
Except that if I create an ordinary folder, that folder is also visible on the web site. MSDN said you cannot put it in App_Code, and it doesn't really make sense to put it in other special folder like App_Data or App_Theme.
i want to know how to browse for an image on the local drive and put it on the the web wen you select it and put that image in some asp.net control (not sure wich will work the best )?
View 19 RepliesI want to know how can I use the image control with Browse button so it's just a simple button which will invoke OpenDialog and when selecting the file then it will be shown in the image control?
View 7 RepliesI have written the code for webpart in my VS 2005 and i am getting all the mode like(Browse,Desing,Edit etc..)but when i put that wesbite in my local IIS , and when run it i am getting only the browse optionbelow is the for loop code
[Code]....
tell what is the problem, in my vs 2005 enviorment i am getting all the option, but in local IIS i am getting only browse option
i want to select 10 images on browse button click and upoad it on upload buttton, in asp.net.and need to show a pop up window if more than 10 images selected on browse button.
View 1 RepliesHow to browse and select the folder in asp.net. And after that i need to read the files from that folder and save it in another folder in my system.
View 1 RepliesI am Getting strugle to get image preview after browsing image.please give me hand to get out from this problem.how to get image preview it may be through c#.net or javascript please give me code for this.i got very less examples from google but they are not worked.Please give me the CODE or sample project. and they should work in all browsers.
View 3 RepliesI have a textbox that I need to enter a path directory into, for storage in my database. For example, I need to enter "D:DocumentsFilesPhotos"
Is there a way to browse the server directory in a similar fashion to the FileUpload control? I do not need to upload a file, I just need exactly the same functionality as the textbox part of the FileUpload control! (i.e. When you click in the textbox, a browser opens, you select the folder, the path is filled into the textbox for you) P.S. I searched a few existing posts already on this, but several were dead ends, hence another post!
My problem is that I want to create pdf file through asp.net.like i have a textbox nd 2 buttons like button name is browse.when i click on button then dialog box appear and select the file path and click the another button to genrate pdf file?
View 10 Replies