|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Templates with checkboxes inside a datagrid
Hi! I have a column in a datagrid, which is a template column containing checkboxes. I want to check it when I select the line of the datagrid, but the I have a compiler error saying me that the datagrid is read only. Can any of you tell me how can I check the checkbox?<br>Thaxs!
|
|
#2
|
|||
|
|||
|
Code:
<asp:TemplateColumn>
<EditItemTemplate>
<asp:Checkbox Checked="true" />
</EditItemTemplate>
</asp:TemplateColumn>
Doesn't stop someone un-checking it though. perhaps you could use an image of a checked checkbox to do that. |
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Templates with checkboxes inside a datagrid |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|