D
Don
I created a nWeb Custom Control that inherits from WebControls.Panel
and add a CheckBoxList to this control. I can't seem to get this
control to maintain it's viewState. I don't think I need any additonal
code since I'm using existing controls. Is this correct?
In the past I've had to override LoadViewState and SaveViewState but
that is when I have a more complex control.
Also, I set AutoPostBack to true for the CheckBoxList control and now
when I make a selecttion I get a postback put it does not seem to be
firing the SelectedIndexChanged event. I put a breakpoint in the
method that handles SelectedIndexChanged for that control but I never
get to this line.
Thanks,
Don
and add a CheckBoxList to this control. I can't seem to get this
control to maintain it's viewState. I don't think I need any additonal
code since I'm using existing controls. Is this correct?
In the past I've had to override LoadViewState and SaveViewState but
that is when I have a more complex control.
Also, I set AutoPostBack to true for the CheckBoxList control and now
when I make a selecttion I get a postback put it does not seem to be
firing the SelectedIndexChanged event. I put a breakpoint in the
method that handles SelectedIndexChanged for that control but I never
get to this line.
Thanks,
Don