Open a file dialog on click of a button in ASP.NET

Hi Experts,

How can I get something like this in ASP.NET and VB.NET?
OpenFileDialog openFileDialog = new OpenFileDialog();
txtFile.Text = openFileDialog.FileName;

Thank u.
Who is Participating?
Kamal KhaleefaInformation Security SpecialistCommented:

there is no open file dialog in
as alternative solution you can use the file upload control

check this article:
Mandeep SinghDatabase AdministratorCommented:

I think you want to upload file by opening a popup on click of button, if i am right, please have a look here:
RadhaKrishnaKiJayaAuthor Commented:
Thank you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.