Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
170
checkbox of templatecolumn disabled
posted

hello,

there are two grids say grid1 and grid2. the grid1 is filled with rows before it is rendered but grid two is empty. on client side through javascript, selected rows from the grid1 are added to grid2(by creating new rows of grid2 and adding values from the selected rows of grid1). there is a templatecolumn containing a html checkbox in grid2 which is the only differenence when grid1 and grid2 columns are compared. this column is declared in the source. so when in on the client side the row is added with javascript, this column and its checkbox appears disabled except all even if the property of the column is AllowUpdate="Yes".

so i want to find something on the server side decleration or on the client side javascript like row.getCell(2).Element.Disabled=false which would enable this checkbox .