Need a Button in .cs like 'Browse'
-
Hi Friends, I have a question, I hope you will know. I am developing buttons dynamically in .cs file of a c# project. I uploaded page on the server now I want that if user of website press One of the buttons he can view the drives from his local computer not from the server. I tried but everytime it accesses server drives. I need functionality just like as "Browse" button in the html. REMEMBER I DON't WANT to use 'BROWSE' BUTTON IN ANY CONDITION. Regards, Abubakar
-
Hi Friends, I have a question, I hope you will know. I am developing buttons dynamically in .cs file of a c# project. I uploaded page on the server now I want that if user of website press One of the buttons he can view the drives from his local computer not from the server. I tried but everytime it accesses server drives. I need functionality just like as "Browse" button in the html. REMEMBER I DON't WANT to use 'BROWSE' BUTTON IN ANY CONDITION. Regards, Abubakar
To do this, you need to write an ActiveX or other sort of control. Your ASP.NET .cs files are on the server, they have no way of seeing the file system on the client.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
Hi Friends, I have a question, I hope you will know. I am developing buttons dynamically in .cs file of a c# project. I uploaded page on the server now I want that if user of website press One of the buttons he can view the drives from his local computer not from the server. I tried but everytime it accesses server drives. I need functionality just like as "Browse" button in the html. REMEMBER I DON't WANT to use 'BROWSE' BUTTON IN ANY CONDITION. Regards, Abubakar
You want a replacement for the HTML Browse button to use with ASP.NET C#?
This still works though:
I ask because that control still works fine as long as you just set it to
runat=server
.
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School) -
To do this, you need to write an ActiveX or other sort of control. Your ASP.NET .cs files are on the server, they have no way of seeing the file system on the client.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Any other option?
-
Any other option?
According to 4GuysFromRolla you should use that[^] and Microsoft[^] and 15 Seconds[^]
CleaKO
"I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that.'" - Tommy (Tommy Boy)
"Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)