About textbox

  • Thread starter Thread starter Sumana
  • Start date Start date
S

Sumana

Hello all,
I have 3 labels,1 textbox, 2 dropdowns which i need to toggle in a
certain part of my application. all are working fine except the TaxID
label and textbox which when set to visible=true does not show up.
lblCrncy.Visible = True
ddlCurrency.Visible = True
lblTaxID.Visible = True
txtTaxID.Visible = True
lblTxCountry.Visible = True
ddlTxCountry.Visible = True
What should i do?
Thanks
Sumana
 
Hi Sumana,

A couple of things to check...

1. Is the Page_Load event resetting the visibility to a default state that
is Visible=False?
2. Is viewstate enabled for the TaxID controls?

If this doesn't help, please post more of the code so we can see what is
happening?

Ken
MVP [ASP.NET]
 
Thanks Ken,
Actually the </asp:textbox> was mis aligned. It works fine now.
Sumana
Ken Cox said:
Hi Sumana,

A couple of things to check...

1. Is the Page_Load event resetting the visibility to a default state that
is Visible=False?
2. Is viewstate enabled for the TaxID controls?

If this doesn't help, please post more of the code so we can see what is
happening?

Ken
MVP [ASP.NET]

Sumana said:
Hello all,
I have 3 labels,1 textbox, 2 dropdowns which i need to toggle in a
certain part of my application. all are working fine except the TaxID
label and textbox which when set to visible=true does not show up.
lblCrncy.Visible = True
ddlCurrency.Visible = True
lblTaxID.Visible = True
txtTaxID.Visible = True
lblTxCountry.Visible = True
ddlTxCountry.Visible = True
What should i do?
Thanks
Sumana
 
Back
Top