checkboxlist problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • imranabdulaziz
    New Member
    • Dec 2006
    • 29

    checkboxlist problem

    Dear all,
    I am using asp.net2.0,C# , SQl2000.

    I am using checkboxlist(wh ose enableviewstate is true). I access its value(ie item selected) first button click it work fine but on second button click event . it does not hold selected item value.


    Please guide me
  • syedwna
    New Member
    • Aug 2006
    • 11

    #2
    explain clearly what u meant.

    Comment

    • radcaesar
      Recognized Expert Contributor
      • Sep 2006
      • 759

      #3
      Place the selected value in Session variable.

      After load all values in page load of click, Set the selected value property with the session variable.

      Comment

      • syedwna
        New Member
        • Aug 2006
        • 11

        #4
        Based on the selection of drp1 i want to populate the contents in drp2
        using javascript
        consider an eg
        car1 in drp1
        then
        models of car1 in drp2

        Comment

        • radcaesar
          Recognized Expert Contributor
          • Sep 2006
          • 759

          #5
          Yes for that scenario only i had given that suggestion. I thought that u didn't get me.

          From where you get those car and Its Models. If its from database or from XML in server, u have to write server side code. If u make it in Javascript arrays in client side aspx file itself, u are welcome to proceed with javascript itself.

          Comment

          Working...