OpenFileDialog vs Javascript

Z

Zagor

Hi All,
I was wondering if it is possible to use(if it will work) the OpenFileDialog
class in ASP.NET. Currently I am using the classic javascript



but I have I need to customize the browse button.

Does anyone knows some good source of information?
Thank you for your time.
Frank
 
K

Kevin Spencer

I was wondering if it is possible to use(if it will work) the
OpenFileDialog
class in ASP.NET. Currently I am using the classic javascript

An OpenFileDialog is not an HTML element. Everything in an ASPX page on the
client is an HTML element.
but I have I need to customize the browse button.

Does anyone knows some good source of information?

http://w3c.org/

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.
 
H

Hans Kesting

Zagor said:
Hi All,
I was wondering if it is possible to use(if it will work) the
OpenFileDialog class in ASP.NET. Currently I am using the classic
javascript


On the client-side (where OpenFileDialog works), it's just plain old HTML
plus some javascript. The server-side technology ASP.Net doesn't really add
functionality there (it works on non-MS and non-.Net browsers).

So just use your old javascript version.

Hans Kesting
 
P

Patrice

Customize ?

You could hide the button and trigger the click event on this button using
your own button. IMO much work for something not that usefull as it make
sense to have a standard button here.

Of course, client side ASP.NET doesn''t have meaning ie you are still with
what HTML offers...

Other than that you could use an activex or dotnet control if you really
need something better than the input type=file tag.

Patrice
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,246
Members
46,840
Latest member
BrendanG78

Latest Threads

Top