.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Embed "Edit This Task" button in custom email

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#


We have a approver wf in SPD 2007 on document library.

When task is created we are sending a custom email to "Assigned To" person.

Now as this is custom email, hor to add "Edit This Task" button at top of email.

Is there any way of doing it.

Please suggest.

Dare to promise

View Complete Post

More Related Resource Links

Custom Button (Sharepoint 2007)




I have a relatively small project to build a class sign up portal for my company.  I am about 90% done and this is one I have so far:


1 custom list off all classes called “Classes” (Class name, Data, teacher, etc, ..)

1 custom list of employees who signed up called “Signup sheet” (Employee Name, Class  name)


What I want is when you display a class information from the “Classes” list, I want a button on the bottom called “sign up for this class” that brings me to the new item page of “Signup sheet” with the class already filled in for you.  Seems easy on paper but I have been trying to do this for weeks.


I am ok with share point designer and am open to any suggestions.


Thanks in advanced,


Infopath button click event in custom workflow code.


Hi All,

I have designed the infopath form(Init) and integrated with my state machine workflow. i want to access button click event (designed in Infopath form) in my workflow code.

Can you help me.




Redirecting to custom page while clicking on the user/group browse button

Hi, i have created a custom visual web part in visual studio 2010 and i deployed it into sharepoint site by creating a new page in my site. The custom page gets the data of users/groups from database and pass the users to the people picker in sharepoint.Here my question i have a document library where we upload document and get the users page popup that consists of people picker and a user/group browse button.when i click on the (book image button)browse button it will redirect to the user and group search page but here i need to replace my custom  user/group search page with the default one so please help me how to redirect to the custom page by clicking on the user/group browse button,and i need to pass the selected users to the people picker text box........please give me some solution whether this can be done or not if possibe please send me the link or some sample code how to do this   thank you.

How to embed jquery library in ASP.NET Custom Server Control

i created custom server control using jquery. i  embeded  jquery library in the control using following code. but it displays object expected error.  has someone done this before ?   //other code    protected override void RenderContents(HtmlTextWriter output) {    output.Write("<div id=\"bckPopup\"></div>"); }   protected void onInit(EventArgs e) { Page.ClientScript.RegisterClientScriptResource(GetType(), "HelpServerControl.Scripts.jquery-1.4.1.min.js");   string javascript = "<script type='text/javascript'> " +   "$(document).ready(function () { " +   "$('#bckPopup').text(\"loaded\"); " + "});</script>" ;   if (!(Page.ClientScript.IsClientScriptBlockRegistered("bhelp" ))) Page.ClientScript.RegisterStartupScript(this.GetType(), "bhelp" , javascript); base .OnInit(e);   }      

Isseus with Custom Button Controls

Hi I have inherited a custom button control which was originially derived from a LinkButton, however due to some isseus with the click event and different browsers it has been decided to use a control derived from a Button. I have the following issues with this: 1) The text appears with a box around it whereas the original didn't have this (see example below) 2) When i position the cursor over the button it correctly changes colour but the text disappears whereas the original it remains. Any help on this would be appeciated, I have attached my code and css files Regards Kenpublic class GemaButtonControDesigner : ControlDesigner { public override string GetDesignTimeHtml() { GemaButton control = this.ViewControl as GemaButton; string rtr = control.Text; if (String.IsNullOrEmpty(rtr)) rtr = "GemaButton"; return rtr; } } [ParseChildren(true, "Text")] [Designer(typeof(GemaButtonControDesigner))] [DefaultProperty("Text")] [ToolboxData("<{0}:GemaButton runat=\"server\"></{0}:GemaButton>")] public class GemaButton : Button { #region Constants private const int MINIMUM_SIZE = 16; private const int SMALL_SIZE = 79; private const int DEFAULT_SIZE = 97; private const int SMALL_HEIGHT = 10; private const int DEFAULT_HEIGHT = 14;

Custom Email Alert template creating links to DispForm.aspx

I have a requirement to customise the alert template for a standard blog post list. To do this I: 1. Created a copy of alertstemplate.xml 2. Copied the genericList alert template node and customised 3. Registered the new template file against the site collection, iisreset and finally assigned the new Alert template to the list, when alerts are created the custom template is emailed. The problem now arises that the 'View <Post Title>' in the toolbar section now creates a hyperlink to http..../Lists/Posts/Dispform.aspx?ID=xx rather than post.aspx. I have checked using sharepoint designer that the list supporting files has the correct display item form of Lists/Posts/Post.aspx. Additionally if I reset the alert template for the list back to use the Generic list template the same problem still occurs so this leads me to believe it is not the customisations that are the problem. Code used to assign the alert template to the Posts list: var ats = new SPAlertTemplateCollection((SPWebService) site.WebApplication.Parent); var newTemplate = ats[alertName]; if (newTemplate == null) { // We did not find the specified Template. throw new Exception("Failed to find template SPAlertTemplateType.NewsPost in the template collection."); } list.AlertTemplate = newTemplate; list.Update(); Any assistance will be most welcome, thanks in advance. Alan

HTMLEditor Custom Button

 I'm trying to use the ajax HTMLEditor for the first time.   I've used a class vb.page to specify which buttons etc. :-  TopToolbar.Buttons.Add(new AjaxControlToolkit.HTMLEditor.ToolbarButton.Bold());   I want to add a dropdownlist with my own values in, such as Heading1, Heading2 etc. where the font size and color is changed.   Any help would be appreciated as I can't seem to find many tutorials on this.

Is there a way in VB.Net to embed a custom user control to a web page based on Word or Excel

Hi Everyone.  I'm looking to create a web page that would be used on a local intranet that would use a custom control based on Word and Excel.  I've used code previously to embed it in a Windows application but wasn't sure if anyone knew of any examples out there on how to embed a custom control into a ASP.Net page.

SharePoint Designer Workflow to email multiple recipients listed in a custom list


Hi all,

I created a workflow in designer attached to a form library. I also have a custom list "Admins" containing names of persons that serves a different purpose but would also like to be used as recipients for the workflow email everytime a new item in the form library is created.

I have been searching the net and tried out few work arounds but so far able to send to only one person in the "Admins" list. The list has a column "Admin Name" which is of type "Person or Group".

Thanks in advance!

Is it possible to add a custom menu group to the Site Actions button?


I know I can use a Custom Action to add a new menu item to my Site Actions button .

Is it possible for me to add a new menu group to the Site Actions button? For example, like the OOB Site Settings menu group, which then extends out to offer additional items such as "Modify All Site Settings" etc.

Error occurring when clicking the New button for a custom list


I have a custom list that was created from a list template, when I click the "New" button the following error occurs:

"An unexpected error has occurred"

I tried resetting the site definition of NewForm.aspx to the original but the error still occurs.  This is the only thing I can find in the logs regarding this list:

09/30/2010 09:44:48.62 w3wp.exe (0x07A0)                       0x0660 Windows SharePoint Services   General                       8kh7 High     There is no Web named "/regions/canada/team-site/Lists/Auto Booking Current Quarter/AllItems.aspx".  

09/30/2010 09:44:48.62 w3wp.exe (0x07A0)                       0x0660 Windows SharePoint Services  

Editor Custom Button with template HTML



How can I add button to the toolbar that will add a small html template text to content?

For example, when I click on that button, I want to "<table><tr><td><b>Hello world</b></td></tr></table>" be added to the content.

Thanks in advance,


Custom workflow action - send an email with blind carbon copy

Question: Is there any way that we can send an email with blind carbon copy (BCC) option? I know this feature is unavailable in the custom workflow action (in SPD-2007) but there is a requirement where I need to send an email without revealing other ids of other recipients. 

Save button on custom EditForm.aspx locks record



I am having an issue with my EditForm.aspx on a list. My problem is that when I make a change to a record and click save (and it brings me back to the page), the first set of changes are saved fine but if I then enter more content and click save without refreshing the page I get the error:

 Save Conflict.

Your changes conflict with those made concurrently by another user. If you want your changes to be applied, click Back in your Web browser, refresh the page, and resubmit your changes.


This is the code that I am using for my save button:

<input type="button" value="Save Changes" name="btnFormAction" onclick="javascript: {ddwrt:GenFireServerEvent('__commit')}" style="padding: 5px; border-style: none; background-color: #21374c; color: #FFF; font-weight: bold; font-size: 14px;" />

 Is there something I need to add to my code that unlocks the record once it has been saved?

Thanks in advance for the help :)


How to insert a button as WebPart Custom Property.

I want to inset a button as Webpart custom property. any idea how to do it.

Custom ribbon button that is visible "everywhere"



I am trying to create a custom ribbon button that will be visible whenever its parent group is present. For the moment the only way I can make it visible is if I explicitly type RegistrationId and RegistrationType under CustomAction. Removing either or both results in the button dissapearing.

Any help would be greatly appreciated! I have been googling for ages trying to find a solution.

My elements.xml file:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <!-- Registration

How to Send a Page in email body and get the response when he clicked the button?


Hi all,

I want to send an email which contain an aspx page in the mail body and when the user fill the data in the textboxex and clicked the Button the data should be stored in the SharePoint List(Button Logic Should be execute).

Please tell me how we can acheive this........

thanks in advance...............

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend