Avatar of RadhikaTatamuri
RadhikaTatamuri

asked on 

How to popup page from cs file in DotNet

I display the success msg in the same aspx page from cs file......
How to display the same using popup page..Also tell me how to transfer values from my page to that pop up page.....

const String approvedFormat = "<p>Transaction Successful!<br />Transaction ID: {0}<br />Transaction Completed at {1}<br />Customer name: {2}<br />Amount paid: {3}</p>";
            const String declinedMessage = "<p>Transaction Declined.<br />Please check your information and try again.<br />If you believe you have received this message in error,<br />please contact us at your local office.</p>";
            if (approved)
            {
                divSuccessMessage.InnerHtml = String.Format(approvedFormat, authCode, DateTime.Now.ToString(), txtFirstName.Text + " " + txtLastName.Text, txtPayment.Text);
                divSuccessMessage.Visible = true;
               
            }
ASP.NETJavaScript

Avatar of undefined
Last Comment
Amandeep Singh Bhullar
ASKER CERTIFIED SOLUTION
Avatar of BuggyCoder
BuggyCoder
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
Avatar of Kiran Sonawane
Kiran Sonawane
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
ASP.NET
ASP.NET

The successor to Active Server Pages, ASP.NET websites utilize the .NET framework to produce dynamic, data and content-driven web applications and services. ASP.NET code can be written using any .NET supported language. As of 2009, ASP.NET can also apply the Model-View-Controller (MVC) pattern to web applications

128K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo