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. Which event of combo box I should use-----------Urgent

Which event of combo box I should use-----------Urgent

Scheduled Pinned Locked Moved ASP.NET
csharpcssasp-nethelpquestion
4 Posts 4 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.
  • V Offline
    V Offline
    venkata lakshmi prasanna
    wrote on last edited by
    #1

    Iam new to ASP.Net, I have designed a form which contains a combo box and some text boxes and a Gridview. Now When Iam Executing the program it will displays complete records in the Grid in the Pageload Event. But when I change my text in Combo Box it is not refreshing the Data according to the Selection of Combo Box. So, Which event I should use for the above problem? I used "SelectedIndexChanged" Event for changing the data in the gridview according to the selection of Combo Box but it is not updating the details in the Gridview. Thanx in advance

    Y N E 3 Replies Last reply
    0
    • V venkata lakshmi prasanna

      Iam new to ASP.Net, I have designed a form which contains a combo box and some text boxes and a Gridview. Now When Iam Executing the program it will displays complete records in the Grid in the Pageload Event. But when I change my text in Combo Box it is not refreshing the Data according to the Selection of Combo Box. So, Which event I should use for the above problem? I used "SelectedIndexChanged" Event for changing the data in the gridview according to the selection of Combo Box but it is not updating the details in the Gridview. Thanx in advance

      Y Offline
      Y Offline
      yuvachandra
      wrote on last edited by
      #2

      Check 1)have u set autopostback=true for the dropdownlist 2)in the page load event check wether it is a pageload or postback by writing like if(!ispostback==true) { } this thing may assist u....:rose:

      1 Reply Last reply
      0
      • V venkata lakshmi prasanna

        Iam new to ASP.Net, I have designed a form which contains a combo box and some text boxes and a Gridview. Now When Iam Executing the program it will displays complete records in the Grid in the Pageload Event. But when I change my text in Combo Box it is not refreshing the Data according to the Selection of Combo Box. So, Which event I should use for the above problem? I used "SelectedIndexChanged" Event for changing the data in the gridview according to the selection of Combo Box but it is not updating the details in the Gridview. Thanx in advance

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3
        1. Set autopostback of the dropdown to true
        2. make the pageload functions in ispostback
        3. write the selected index changed event for drop down

        Navaneeth My Website

        1 Reply Last reply
        0
        • V venkata lakshmi prasanna

          Iam new to ASP.Net, I have designed a form which contains a combo box and some text boxes and a Gridview. Now When Iam Executing the program it will displays complete records in the Grid in the Pageload Event. But when I change my text in Combo Box it is not refreshing the Data according to the Selection of Combo Box. So, Which event I should use for the above problem? I used "SelectedIndexChanged" Event for changing the data in the gridview according to the selection of Combo Box but it is not updating the details in the Gridview. Thanx in advance

          E Offline
          E Offline
          Expert Coming
          wrote on last edited by
          #4

          Good thing you said urgent, if you didn't people would have waited a long time before they replied. I urgently suggest you try what they told you to do.

          The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

          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