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. calling selectedindexchanged event

calling selectedindexchanged event

Scheduled Pinned Locked Moved ASP.NET
tutorial
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.
  • E Offline
    E Offline
    Ersan Ercek
    wrote on last edited by
    #1

    Dear All, Could somebody tell me how to call selectedindexchanged event during page_load event... All the best

    Mircea PuiuM 1 Reply Last reply
    0
    • E Ersan Ercek

      Dear All, Could somebody tell me how to call selectedindexchanged event during page_load event... All the best

      Mircea PuiuM Offline
      Mircea PuiuM Offline
      Mircea Puiu
      wrote on last edited by
      #2

      I assume you want to trigger that event during page_load. Why don't you put the code in the event handler in some other method (a new one, which you must implement). Then you call the new method both in the event handler and in handler for page_load?

      SkyWalker

      Y 1 Reply Last reply
      0
      • Mircea PuiuM Mircea Puiu

        I assume you want to trigger that event during page_load. Why don't you put the code in the event handler in some other method (a new one, which you must implement). Then you call the new method both in the event handler and in handler for page_load?

        SkyWalker

        Y Offline
        Y Offline
        yesu prakash
        wrote on last edited by
        #3

        use this.. Create this in page load and call the SelectedIndexChanged object sender1 = new object(); EventArgs e1 =new EventArgs(); DropDownList1_SelectedIndexChanged(sender1, e1); event: protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { }

        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