G
gg
Hi,
I have a checkbox control inside an accordion.
During the page load I am attempting to set the Checked attribute as
follows...
If Session("bolShortDesc") = True Then
Me.chbxDescLength.Checked = True
Else
Me.chbxDescLength.Checked = False
End If
BTW I am doing this as I want it to maintain state across different
pages...
I am getting the NullReferenceException error "Object reference not
set to an instance of an object."
I figure this is because it is inside the accordion control?
This one must be simple but it is driving me nuts!
Thanks for your help
I have a checkbox control inside an accordion.
During the page load I am attempting to set the Checked attribute as
follows...
If Session("bolShortDesc") = True Then
Me.chbxDescLength.Checked = True
Else
Me.chbxDescLength.Checked = False
End If
BTW I am doing this as I want it to maintain state across different
pages...
I am getting the NullReferenceException error "Object reference not
set to an instance of an object."
I figure this is because it is inside the accordion control?
This one must be simple but it is driving me nuts!
Thanks for your help