Thanks for looking at this...yea THAT code works...I have that in my ASP.NET control. Unfortunately I cannot use the PostBackUrl property. Our CMS does not allow controls that use this property in their pages as it causes editor problems. Any other ideas of a solution. I just need something I can use like this that will enable users to add themselves to the list in Constant Contact.
I tried removing the PostBackUrl property and using an OnClick event handler and calling Response.Redirect to the JSP page...but no luck. Its not sending back the hidden input tags I am guessing.
... View more
I got a control to work that is basically the same as the code given to me by our marketing team from your site. Here is the control I created...(see problem below)...
The problem is that I am using a Content Management System that does not support the PostBackUrl property. It breaks their editor (Site Finity). So I tried to remove the use of the PostBackUrl and create this control using a server side Click event handler and using Response.Redirect("http://visitor.constantcontact.com/d.jsp"); but that did not work as the Constant Contact page came up with errors. Any ideas??
@ Control Language="C#" AutoEventWireup="true" CodeFile="NewsletterSignup.ascx.cs" Inherits="NewsletterSignup" %> h2>
Submit your email to receive our monthly newsletter dedicated to career and recruiting
p>div style="text-align: left;">
<div style="width: 226px; height: 70px;">
<span style="background-color: #006699; margin-top: 2px; float: left; margin-left: 2px;margin-right: 2px;">
<img alt="" style="border-bottom: 0px solid; border-left: 0px solid; border-top: 0px solid;border-right: 0px solid;" src="http://img.constantcontact.com/ui/images1/visitor/email1_trans.gif" /></span><input
style="border-bottom: #999999 1px solid; border-left: #999999 1px solid; font-family: verdana,geneva,arial,helvetica,sans-serif;border-top: #999999 1px solid; border-right: #999999 1px solid;" type="text"
<asp:Button ID="Submit" runat="server" PostBackUrl="http://visitor.constantcontact.com/d.jsp"
Style="font-family: verdana,arial,helvetica,sans-serif; font-size: 10px;" Text="GO">
<input value="1100358239499" type="hidden" name="m" />
<input value="oi" type="hidden" name="p" />
Subscribe to Leadership Matters
... View more
Since I am using ASP.NET I cannot use the example code that our marketing team wants to use to sign people for our newsletter that is hosted here. The form tag in the code prevents the rest of our code from working because you can only have a single form element on a page. Are there examples of signing people up for a newsletter using ASP.NET?
... View more