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

  • SEARCH
  • Home
  • 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 507523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:48:47+00:00 2026-05-13T06:48:47+00:00

For SharePoint, I want to have custom E-Mail body for workflow tasks. However i

  • 0

For SharePoint, I want to have custom E-Mail body for workflow tasks. However i wan’t to format email’s using my custom ASCX user controls. (I can see them or modify using Visual Studio WYSIWYG). Ideally I could render that UserControl as string and it works.

I`v found a solution, but it requires HttpContext.Current != null in order to use this technique. However, as this is a Workflow and workflows get serialized between delay events, I don’t have an active HttpContext object (HttpContext.Current = null). Nor I can pre-render on workflow activated event (a moment before workflow gets serialized), because all the data I need could be set afterwards.

What are the workarounds? The template is pretty simple actually – just a html table with some data, but the WYSIWYG helps me alot…

  • 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. Editorial Team
    Editorial Team
    2026-05-13T06:48:48+00:00Added an answer on May 13, 2026 at 6:48 am

    I`v decided to create a simple .htm page with placeholders like {{firstname}}, {{surname}} etc, place .htm on filessytem and then, when needed, read that file and do replacements of those fields to my desired values.

    If someone goes the same way, remember to pass value with System.Web.HttpUtility.HtmlEncode(myvalue), so no accidents happen.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a custom login.aspx form for SharePoint FBA. However, I want to reference
I have a custom masterpage in sharepoint and want to output the site title
I have a custom list in SharePoint, and I want to override the OK/Cancel
I have created a custom list. I am using the same list in sharepoint
I have a sharepoint event handler which I want to activate for a single
I have SharePoint with the local intranet link as http://shserver/Sites/LAPP/HR/LA . I want to
How do I programmatically add user permissions to a list in Sharepoint? I want
I have created a custom list in a SharePoint site and generated a Visual
I have a custom list in SharePoint (specifically, MOSS 2007.) One field is a
I have a custom search webpart in Sharepoint which have 7 filters. I am

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.