B
Bruno Piovan
Hi,
I am developing a simple voting control, this control will have a label with
the question and the number of RadioButons needed for each question, the
question and the options texts are in a XML file, I have the code to open
the xml and read the text ok, btw the entire control was working ok. The
problem now is that if I the user press another button of the form that
makes a postback occurs, all the radiobutons desapears!! Everything is with
enableviewstate = true, I dinamically create the number of radiobutons
needed, and I put them inside a <div> that is with runat=server. This
problem doesnt occur if I dont check for IsPostBack but I dont want to have
this code executed for each post back.
how do I solve this problem?
thanks,
Bruno
I am developing a simple voting control, this control will have a label with
the question and the number of RadioButons needed for each question, the
question and the options texts are in a XML file, I have the code to open
the xml and read the text ok, btw the entire control was working ok. The
problem now is that if I the user press another button of the form that
makes a postback occurs, all the radiobutons desapears!! Everything is with
enableviewstate = true, I dinamically create the number of radiobutons
needed, and I put them inside a <div> that is with runat=server. This
problem doesnt occur if I dont check for IsPostBack but I dont want to have
this code executed for each post back.
how do I solve this problem?
thanks,
Bruno