Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TEXT-BOX PROBLEM

Status
Not open for further replies.

victorashi

IS-IT--Management
Jul 22, 2006
32
0
0
RO
Hallo , i have a small problem , i made a form page ,i made a drop down list wich has the AUTO-POST-BACK property, and i made a text-box wich has to be cleared at each POST-BACK , but i don`t know exactly how.Please help
 
Set the Text property of the TextBox to equal "" on the Page Load event.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
can i pls ask how do i do that?

<asp:TextBox ID="TextBox1" runat="server" OnLoad=""></asp:TextBox>

this isn't working
 
Code:
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        TextBox1.Text = ""
    End Sub


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top