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. using image control with Browse

using image control with Browse

Scheduled Pinned Locked Moved ASP.NET
question
3 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.
  • J Offline
    J Offline
    Jassim Rahma
    wrote on last edited by
    #1

    I want to know how can I use the image control with Browse button so it's just a simple button which will invoke OpenDialog and when selecting the file then it will be shown in the image control?

    N F 2 Replies Last reply
    0
    • J Jassim Rahma

      I want to know how can I use the image control with Browse button so it's just a simple button which will invoke OpenDialog and when selecting the file then it will be shown in the image control?

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      It sin't that difficult and there are many examples available. Upload the file, assign the path to the image control.


      I know the language. I've read a book. - _Madmatt

      1 Reply Last reply
      0
      • J Jassim Rahma

        I want to know how can I use the image control with Browse button so it's just a simple button which will invoke OpenDialog and when selecting the file then it will be shown in the image control?

        F Offline
        F Offline
        farogh haider
        wrote on last edited by
        #3

        There is no any event of browse control which can be handled by server side. you should call the onchange event and implement javascript function and assign selected image in image control. It's better take html control

        Farogh Haider Web developer

        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