G
Guest
Hello, I create a HTML line as follows:
<P class=text12BoldRed id=ErrTimePeriodSelection
style="VISIBILITY: hidden" runat="server">Selection of time period
either
not made or more then one type (Relative <EM>or</EM> specific time
period)
was selected</P>
I have javascript which performs an edit and turns the visibility on or off
as appropriate.
I want to make the same check on the server and if the edit fails, I want to
run the visibility to "Visible".
I have tried the following...
ErrTimePeriodSelection.Visible = true;
Nothing happens, when I look at the source, the visibility is still
"hidden"
ErrTimePeriodSelection.Attributes["VISIBILITY"] = "visible"
this cause the tag to appear twice, as below....
<P class=text12BoldRed id=ErrTimePeriodSelection
style="VISIBILITY: hidden" "Visibility="visible" runat="server">
This is obviously wrong.
So how do I find this attribute and set the visibility to "visible"?
<P class=text12BoldRed id=ErrTimePeriodSelection
style="VISIBILITY: hidden" runat="server">Selection of time period
either
not made or more then one type (Relative <EM>or</EM> specific time
period)
was selected</P>
I have javascript which performs an edit and turns the visibility on or off
as appropriate.
I want to make the same check on the server and if the edit fails, I want to
run the visibility to "Visible".
I have tried the following...
ErrTimePeriodSelection.Visible = true;
Nothing happens, when I look at the source, the visibility is still
"hidden"
ErrTimePeriodSelection.Attributes["VISIBILITY"] = "visible"
this cause the tag to appear twice, as below....
<P class=text12BoldRed id=ErrTimePeriodSelection
style="VISIBILITY: hidden" "Visibility="visible" runat="server">
This is obviously wrong.
So how do I find this attribute and set the visibility to "visible"?