Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Need a Button in .cs like 'Browse'

Need a Button in .cs like 'Browse'

Scheduled Pinned Locked Moved ASP.NET
csharphtmlsysadminquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Abubakarsb
    wrote on last edited by
    #1

    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

    C M 2 Replies Last reply
    0
    • A Abubakarsb

      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

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      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 )

      A 1 Reply Last reply
      0
      • A Abubakarsb

        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

        M Offline
        M Offline
        Marcus J Smith
        wrote on last edited by
        #3

        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)

        1 Reply Last reply
        0
        • C Christian Graus

          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 )

          A Offline
          A Offline
          Abubakarsb
          wrote on last edited by
          #4

          Any other option?

          M 1 Reply Last reply
          0
          • A Abubakarsb

            Any other option?

            M Offline
            M Offline
            Marcus J Smith
            wrote on last edited by
            #5

            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)

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups