Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9
This is the forum to discuss the Wrox book Professional ASP.NET 2.0 Special Edition by Bill Evjen, Scott Hanselman, Devin Rader, Farhan Muhammad, Srinivasa Sivakumar; ISBN: 9780470041789
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 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 Search this Thread Display Modes
  #1 (permalink)  
Old May 10th, 2006, 10:59 AM
Authorized User
 
Join Date: Mar 2006
Location: Pune, Maharashatra, India.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can I access return value of script in codebhd

I have one function in one class file in one of my class library project.
The function is :
public void LogOff()
        {
            StringBuilder sbScript;
            sbScript.Append("<script language ='javascript'>");
            sbScript.Append("function OnLogOff()");
            sbScript.Append("ans = window.confirm('Session would be closed,Are you want to save the last updated data?')");
            sbScript.Append(" if(ans ==true)");
            sbScript.Append(" { }");
            sbScript.Append("else");
            sbScript.Append(" { }");

        }
Can I want to user "ans" value as return of this function, so that I can do some processing on the basis of "ans" value.
Please guide me how can I do this?

Thanks,
Manish

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Access controls, vba and arabic script tunsted Access VBA 0 January 17th, 2008 01:22 PM
login script: user can't hit "return" for login dmerrill Java Basics 13 July 14th, 2006 07:25 PM
Error in VBA script of Access Surfingeurope Access VBA 3 January 30th, 2006 05:58 PM
How do I call Excel script from Access? vmerc Access VBA 8 August 16th, 2005 01:28 PM
Carrage return in Access to dotnet gonderdonk Access 1 January 22nd, 2005 10:18 PM



All times are GMT -4. The time now is 07:45 AM.


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