Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default DataGrid&CheckBox

    I have a problem with handle an exception on DataGrid - TemplateColumn

    I have a datagrid with many columns. One of them is itemID. Second is
    presented with checkbox. I would like to run some procedure ( sth(ItemID) )
    when i change the checkbox. I don't know how to do this.

    thank you, Jure


    Jure P Guest

  2. Similar Questions and Discussions

    1. CheckBox in Datagrid
      Hello can anyone help me for displaying a checkbox into datagrid. thanks
    2. Howto bind CheckBox to the datagrid/ Then update the database field when the checkbox is clicked.
      I am trying to update the database field when the checkbox is clicked. I am trying to modified the following solution but.. got stuck on the...
    3. how to add checkbox to a datagrid?
      Hello, I am trying to add a checkbox to a datagrid. But i dont want to bind a data with the checkBox. I only want to know if any user has chacked...
    4. CheckBox in DataGrid .
      How can I judge which checkbox is checked ? for(int i=0;i<dgOrderList.Items.Count;i++) { CheckBox...
    5. Added CheckBox to a DataGrid Doesn't work with DataGrid.Enabled=False
      I have created a Template Column and Added to a Datagrid, which contains a checkBox. The column is not Binded to any column of the Dataset, but is...
  3. #2

    Default Re: DataGrid&CheckBox

    Maybe use Change the autopostback to ture and the command name to ur Sub

    "Jure P" <jurij.petruna@guest.arnes.si> wrote in message
    news:utScP20QDHA.304@tk2msftngp13.phx.gbl...
    > I have a problem with handle an exception on DataGrid - TemplateColumn
    >
    > I have a datagrid with many columns. One of them is itemID. Second is
    > presented with checkbox. I would like to run some procedure (
    sth(ItemID) )
    > when i change the checkbox. I don't know how to do this.
    >
    > thank you, Jure
    >
    >

    Vincent V Guest

  4. #3

    Default Re: DataGrid&CheckBox

    When I use "oncheckedchanged=someSub" it works, but i would like to do
    "oncheckedchanged=someSub(ID_of_This_Row)"


    "Vincent V" <vincentv@-n0-5pam-optushome.com.au> wrote in message
    news:#Sl2Vq1QDHA.2636@TK2MSFTNGP10.phx.gbl...
    > Maybe use Change the autopostback to ture and the command name to ur Sub
    >
    > "Jure P" <jurij.petruna@guest.arnes.si> wrote in message
    > news:utScP20QDHA.304@tk2msftngp13.phx.gbl...
    > > I have a problem with handle an exception on DataGrid - TemplateColumn
    > >
    > > I have a datagrid with many columns. One of them is itemID. Second is
    > > presented with checkbox. I would like to run some procedure (
    > sth(ItemID) )
    > > when i change the checkbox. I don't know how to do this.
    > >
    > > thank you, Jure
    > >
    > >
    >
    >

    Jure P Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139