Create a datagrid with checkbox column that can be manipulated by client-side script

Discussion in 'ASP .Net' started by dotnet dude, Sep 15, 2006.

  1. dotnet dude

    dotnet dude Guest

    I am creating a DataGrid control (ASP.NET 1.) with few bound columns
    and one template column in which i want to display CheckBox. So for
    each row in datagrid some databound fields and a checkbox column.
    When a checkbox is selected, it indicates that particular row is
    selected. The checkbox selection I want to do is through javascript to
    improve the performance of the application.
    How do I design such datagrid which allows me to do selections using
    client-side scripts and also maintain these changes on postback.

    The issues that I am facing are
    - I am not able to create a template column which generate checkboxes
    with ids/names that I can use in javascript.
    - The javascript changes are not persistant and are lost on postbacks

    Any ideas??
    dotnet dude, Sep 15, 2006
    #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. Jason
    Replies:
    2
    Views:
    545
    Frank Oquendo
    Nov 29, 2003
  2. John
    Replies:
    1
    Views:
    4,869
    Bin Song
    Dec 16, 2003
  3. Magnus Blomberg
    Replies:
    3
    Views:
    718
    Magnus Blomberg
    Apr 14, 2005
  4. Megha Vishwanath
    Replies:
    2
    Views:
    8,815
    Gordon Beaton
    Jan 13, 2005
  5. Boss302
    Replies:
    0
    Views:
    1,042
    Boss302
    Nov 21, 2006
Loading...

Share This Page