Update Label Text Outside Updatepanel Asp

 

I am new to ASP.NET and I'm trying to get a Label to update with some information that is grabbed when I hit a button. The click function is called and returns just fine (I've debugged and stepped through the whole thing).

The only thing that doesn't work is where I set the text of the Labels I'm trying to update. This is the function that gets called on the button click: Protected Sub submitbuttonClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles submitbutton.Click Dim res As String = query(email1.Text) If Not res Is Nothing Then url1.Text = res(0) date1.Text = res(1) End If End Sub I know it goes into the if and tries to set the text but nothing happens on the client side. This is the UpdatePanel I have: EmailsUrl ParsedDate Created As I said, I know the trigger works because I've stepped through the code when it is called.

My need is when change the textbox value which is inside update panel i want to increment the count of textbox automatically which i have outside of. Asp:Label Text = 'TextBox Count:' runat = 'server'. Mar 31, 2010 - It's also possible to have Web controls outside of the UpdatePanel trigger a partial page postback. This is accomplished. Whenever there's a partial page postback the Page_Load event handler will execute and both Labels' Text properties will be updated to the current date and time. However, a partial.

I know that you also need a ScriptManager, which I have right inside the form element that comes in the Site.Master file (I really just stuck stuff in the default template. It's just a proof of concept project). From all the articles I've found on the web, this should be all I need. One article mentioned having to do things with the Web.Config, but it said that for VS 2005 and I'm using 2010. It mentioned you didn't have to change anything in 2008, so I figured the same was true for 2010.

Give More Feedback

Update Label Text Outside Updatepanel Asp

See More On Stackoverflow

See more on stackoverflow

What am I missing that I need to get the labels to update?