Checkbox values problem in gridview

Discussion in 'Software' started by thanigaimani.thirumalai, Nov 9, 2007.

  1. thanigaimani.thirumalai

    thanigaimani.thirumalai

    Joined:
    Nov 7, 2007
    Messages:
    1
    i can explain for my doubt with example.see.my table have multiple types of employee details like as management,Programmer,Designers,Accountants,ContractEmployees.Each type of department having many employee details.Now my drop down list having types of department names like that above types of department names..if i select any one type of department using dropdown list then employee details are display in gridview format .gridview data column as employee Name,Address,Phone_No,email_address and each every row with checkboxes.gridview showing data according to select the dept.No problem.

    first I select Mangemment type of employee grid view showing that type of employee details ,here i checked first two employee details then checkbox values put in one viewstate,then i go to Programmer type of employee it showing that type employee details here i want to checked two employee details using checkbox but what happened first two checkboxes are already checked. so but view state having proper checked check box values but problem is
    whenever i go to select for another type of employee details checkboxes are checked based upon order of previous checked index.




    i checked checkbox values of dropdown list selected index changed event,values are coming from viewstate,so we want viewstate values add plus new checked checkbox values ,but whenever i select another type of employee using drop down list view state values coming then adding but viewstate value one is removing then unchecked checkbox value one is adding.so data ll b getting for unproperly.

    i cant find the which type of error in this.checkbox values or drop down list or gridview .

    Please help me
     
    thanigaimani.thirumalai, Nov 9, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?SW50cyBWaWxrcw==?=

    checkbox remains unchecked..

    =?Utf-8?B?SW50cyBWaWxrcw==?=, Feb 28, 2005, in forum: Wireless Networking
    Replies:
    1
    Views:
    555
    Malke
    Feb 28, 2005
  2. rwrede

    Saved Form Information checkbox?

    rwrede, Mar 26, 2005, in forum: Firefox
    Replies:
    1
    Views:
    591
    rwrede
    Mar 27, 2005
  3. ted@loft.tnolan.com (Ted Nolan

    Put javascript enable/disable checkbox on firefox toolbar?

    ted@loft.tnolan.com (Ted Nolan, Jun 4, 2005, in forum: Firefox
    Replies:
    2
    Views:
    1,590
    ted@loft.tnolan.com (Ted Nolan
    Jun 4, 2005
  4. Jim Kroger
    Replies:
    2
    Views:
    1,117
    Brian H¹©
    Oct 14, 2003
  5. Marc Wossner

    Raw values and exposure values

    Marc Wossner, Jun 19, 2008, in forum: Digital Photography
    Replies:
    0
    Views:
    376
    Marc Wossner
    Jun 19, 2008
Loading...

Share This Page