on 2009 Sep 04 1:56 PM
Dear All,
I created a matrix with check box columns through XML. I want to check the check box column through vb.net coding.
I used the following coding:
objMatrix.Columns.Item("5").Cells.Item( 1).Specific.checked = True
and
objMatrix.Columns.Item("5").check(1, True)
My xml code for check box column
<column uid="5" type="121" title="Confirm" description="" visible="1" AffectsFormMode="1" width="67" disp_desc="0" editable="1" right_just="0" val_on="Y" val_off="N" backcolor="-1" forecolor="-1" text_style="0" font_size="-1">
<databind databound="1" table="@SS_RCATR" alias="U_inprc"/>
<ExtendedObject/>
</column>
If run the above vb..net coding i am getting error messages
System.MissingMemberException: Public member 'Checked' on type 'IEditText' not found
and
System.MissingMemberException: Public member 'Check' on type 'ColumnClass' not found
respectively.
Can anyone help me to solve this problem?
Regards,
Tamizh.
CheckBox oChk = (CheckBox)mtx_0.Columns.Item("col_1").Cells.Item(1).Specific;
oChk.Checked = true;
Edited by: Danilo Kasparian on Sep 4, 2009 4:54 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
111 | |
8 | |
8 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.