Re: Mixing a client-side/server-side event
- From: "Mr. Arnold" <MR. Arnold@xxxxxxxxxx>
- Date: Tue, 5 Jun 2007 00:55:34 -0400
"jonefer" <jonefer@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:C535769E-A672-4749-A73B-F2D0A2BC4ADF@xxxxxxxxxxxxxxxx
I'm hoping this is a classic question, but the answer to it would help me
with a lot of things.
As you can see below, this code will never display the "Getting data...." text
in the lblCheck - because it needs to do a round-trip to the server - first.
And when it gets back, my other routine will over-write the text as "34
records found"
Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnSearch.Click
Me.lblCheck.Text = "Getting data....."
SearchActionList()
End Sub
Don't hold me to it, but if you're using .Net 2.0, can't you use this?
Label1.Text = Server.HtmlEncode("Getting data.....")
I noticed it populated the label before it made the round trip when I pushed the Submit button.
.
- Prev by Date: Re: Embeded User Controls
- Next by Date: Re: VS.NET against JAVA
- Previous by thread: gridview cannot set datasource
- Next by thread: RE: Mixing a client-side/server-side event
- Index(es):