473,545 Members | 2,639 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

FileUpload Control - OpenFile Dialog default browse location

Hi there,

I wanted to know if there is a way to specify the default location the
OpenFileDialog shows when the browse button is pressed on the FileUpload
Control. i.e "c:\program files\". I know this can be done for the win forms
version of the dialog box. I understand that is displays the client side
folder structure and not the server, and I know for a fact that the default
location exists.

What I need to do is intergrate my app with SharePoint and I want to use the
OpeFile dialog to filter certain files in a Document Library based on
metadata that is attached to each file 'record'. I can do the filtering
thing in the OpenFile dialog on a win forms based application and it all
works but now I want to replicate this functionality in a web based app.

Thanks in advance

Nov 8 '06 #1
0 2034

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
8628
by: Jack Black | last post by:
Hi, all! Using VS.Net '03... Is there an Explorer-like control in .Net? I see there's a FileListBox and a DirListBox, but I really want something more Explorer-like for users to browse with. An OpenFile dialog is not what I'm looking for... Any ideas? :) Thanks!
1
1244
by: Sean Campbell | last post by:
Hi all! I have a problem with the OpenFile dialog that I use in my program. I created a Browse button to allow for the selection of a text file that is processed by my program. The Browse button works perfectly when the .EXE is on my station. If I copy the .EXE to a network drive, the Browse button stops functioning. I have never seen...
4
7194
by: Dave | last post by:
Is it possible to change the default location for the FileUpload control so that it searches a file from within the web page file structure? Even more specific...limit it to one folder within that web structure?
3
5162
by: rn5a | last post by:
The ASPX FileUpload control displays a TextBox along with a 'Browse...' Button. Setting the different properties of this control just reflects the changes in the TextBox but not the Button. For e.g. if the BackColor of a FileUpload control is set to blue, then only the TextBox color changes to blue but the BackColor of the Button doesn't...
2
1480
by: =?Utf-8?B?TW9uaWNh?= | last post by:
Hi, I want when I click on Browse button (FileUpload Control), I see just image extensions not anything else. How can I do this? Thanks, Monica
5
12075
by: =?Utf-8?B?QmVydA==?= | last post by:
Hi How can you set the filename property in the asp:fileupload control? How can you persist the value of the chosen filename between postbacks? thanks B
2
1714
by: =?Utf-8?B?SmFtZXMgUGFnZQ==?= | last post by:
I'm using an asp.net 2.0 fileUpload control which works fine. What I'd like is that when a user clicks on the browse button the dialog shows thumbnails view instead of the default list view. Is there any way to acheive this? (vb.net if possible) Thanks James
4
2518
by: ravitunk | last post by:
hello...i have a fileupload control on my page and if i browse to a file(i.e.,now the fileupload control's property 'hasfile' is 'true') and then if i post back the page for any validations, the fileupload control is getting cleared,i.e., now the user again has to browse to the same specific file.Please suggest me any help so that the...
1
1873
shek124
by: shek124 | last post by:
I have using the Fileupload control for browse the files. whenever i click the browse button i want to open a specific folder in the Open dialog window .. could u knows the idea about that. plz quick reply .. if u dont understand , i ll give the further explain tHanks in advance
0
7425
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7682
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7935
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7780
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5069
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3479
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3465
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1911
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1037
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.