Search

You searched for the word(s): userid:747426

Matching Posts

  • Re: ASP.NET 1.1 to 2.0 migration - TextChanged event not firing!

    Cracked it - one thing I didn't put in the post above for code brevity (and the fact I didn't think it mattered) is that the textbox is set readonly (I only want the javascript to enter text into the textbox, not the user): txtTextBox.ReadOnly = True There is a change between ASP.NET 1.1 and 2.0 that even though a changed textbox value will be sent back in the post variables, the server will ignore it if the textbox is readonly (i.e. it won't load the new value into the 'Text'
    Posted to Web Forms (Forum) by mjofarrell on 7/11/2007
  • ASP.NET 1.1 to 2.0 migration - TextChanged event not firing!

    I am having a problem whilst migrating a web application from ASP.NET 1.1 to ASP.NET 2.0. One of my user controls has a textbox that is not firing its text changed event. The textbox is created at run time in a CreateChildControls override on the user control (ph is a placeholder in the .ascx file): Protected Overrides Sub CreateChildControls() Dim txtTextBox As New System.Web.UI.WebControls.TextBox() txtTextBox.ID = "foo" ph.Controls.Add(txtTextBox) AddHandler txtTextBox.TextChanged, AddressOf
    Posted to Web Forms (Forum) by mjofarrell on 7/11/2007
Page 1 of 1 (2 items)