Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 150977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:22:35+00:00 2026-05-11T09:22:35+00:00

In my web project’s business object editor page, I’m sending a notification email to

  • 0

In my web project’s business object editor page, I’m sending a notification email to the administrator after an object insert or update. But instead of sending a plain text mail, i want to send the html output of another aspx page(Notification.aspx) i simply prepared for this purpose.

First i thought, I can create an instance of Notification.aspx then use it’s RenderControl method for getting the output.

However, in the codebehind of Editor.aspx page, i can’t even reach the Notification’s reference to create a new instance.

I wonder what is the best practice for loading and rendering a page in another one…

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:22:35+00:00Added an answer on May 11, 2026 at 9:22 am

    You can render a page by doing this:

    StringWriter _writer = new StringWriter(); HttpContext.Current.Server.Execute('MyPage.aspx', _writer);  string html = _writer.ToString(); 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created dynamic web project , and add 2 items : index.jsp page like
I have developed a web project. Which is generating log file using log4j. But
I'm planning a web project but i don`t know where to start. my colleagues
My web project was working perfectly, it includes: spring3 and hibernate3 . After renaming
My web project was working perfectly, it includes: spring3 and hibernate3 . After renaming
I developed dynamic web project. I executed the application multiple times. But presently when
I have web project with file like this: <%@ Page Language=C# AutoEventWireup=true CodeBehind=XXX Inherits=XXX
I am making a web project http://conatus.in/alumniconnect/index.php?page=about I need to have a floating right
I have a web project working fine in JBOSS with form-based auth. But when
My web project includes Groovy class files. How should I compile it for my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.