Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Professionals
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 5th, 2015, 08:02 AM
Registered User
Points: 27, Level: 1
Points: 27, Level: 1 Points: 27, Level: 1 Points: 27, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2008
Location: Surat, Gujarat, India
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to rashesh_shah Send a message via MSN to rashesh_shah
Post add text in label

Hi,

how can add text in label and show on web page at same time when button clicked function trigger.

below r my calcuation.

i want to see a status of user page of how a process going. and also help if some error in steps.

Code:
<asp:UpdatePanel runat="server" ID="updpnlReport" UpdateMode="Conditional">
<ContentTemplate>

<asp:Label runat="server" ID="lblStatus" Text="default value ..." />
<asp:Button Text="Generate report" runat="server" ID="btnReport" OnClick="btnReport_Click" />

</ContentTemplate>
</asp:UpdatePanel>

// this is code of button click
protected void btnClientApproval_Click(object sender, EventArgs e)
{
lblStatus.Text = "start calc ...";
updpnlReport.Update();

FClass fCL = new FClass();

lblStatus.Text = "f Cal";
updpnlReport.Update();
fCL.Cacl();

lblStatus.Text = "report ...";
updpnlReport.Update();
fCL.GenReport();

lblStatus.Text = "end cal";
updpnlReport.Update();
}
any one help me

when i set this than i show only last line of

"end cal"
i understand this is small process but Calc() process r take long time and than after GenReport() r also take time so that's y i want.

with regards,

rashesh
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
add text in label rashesh_shah ASP.NET 4 General Discussion 0 June 5th, 2015 07:57 AM
Center Text within Label testsubject Visual Studio 2005 5 October 15th, 2011 01:59 PM
Dynamic Text in Label funnylearning .NET Framework 2.0 2 September 18th, 2006 01:59 PM



All times are GMT -4. The time now is 02:25 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.