B
Bob
Hi,
I'm not sure of the priority in execution between aspx and aspx.vb code.
I define a tag which must be invisible as long as the user has not clicked
in the dropdownlist.
The problem is that it never becomes visible. When an user clicks in the
dropdownlist, the page is postbacked, so it would be visible, no?
Thanks for help
Bob
The aspx file:
<a href="#titel" id="ti" runat="server" style="visibilty:hidden"> Back</a>
<aspropDownList ID="DropDownList1" runat="server" >
</aspropDownList>
The code-behind:
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
....
if IsPostBack then
ti.visible=True
end if
....
end sub
Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
....
end sub
I'm not sure of the priority in execution between aspx and aspx.vb code.
I define a tag which must be invisible as long as the user has not clicked
in the dropdownlist.
The problem is that it never becomes visible. When an user clicks in the
dropdownlist, the page is postbacked, so it would be visible, no?
Thanks for help
Bob
The aspx file:
<a href="#titel" id="ti" runat="server" style="visibilty:hidden"> Back</a>
<aspropDownList ID="DropDownList1" runat="server" >
</aspropDownList>
The code-behind:
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
Handles Me.Load
....
if IsPostBack then
ti.visible=True
end if
....
end sub
Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
....
end sub