Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [webforms]

For questions related to Sitecore using .NET Webforms. This tag is not meant for general .NET Webforms questions.

0
votes
0answers
20 views

WFFM - creating new action while clicking submit the form [duplicate]

I want a download action to be performed when user clicks submit button. Any file format it can be. It will contain some greeting message to the customer. Thanks in Advance
1
vote
1answer
34 views

On-premises to PaaS while not using MVC (WebForms implementation)

We have a project which is running on Sitecore 9.0.2 however this was build using traditional form rendering rather than MVC rendering. We would like to move this project on cloud - Sitecore PaaS. ...
0
votes
1answer
20 views

how to tell how many times a user control is used and where is it used?

I would like to know how many times a user control is being used in a sitecore site. If possible, I would like to get the list of pages that use a specific user control. Googling doesn't seem to ...
1
vote
0answers
26 views

WFFM - Custom validation class on form not being hit

Using Sitecore 8.2 I have a form and I'm trying to add custom validation to the email field to block forbidden domains. I created the validation item in Sitecore and added it to my field: and I ...
1
vote
1answer
66 views

How to render a web form Sublayout in MVC layout?

I am trying to render an Ascx page from an MVC View Rendering in Sitecore. For example, in old Web Forms / Ascx to put placeholders you'd use <sc:Placeholder runat="server" key="placeholder-key" /&...
0
votes
1answer
42 views

How to make Sitecore.Context.Item.Fields work in a web control in an external project

I have a Web Forms page and it uses Sitecore.Context.Item.Fields. This works when I publish to the local Sitecore instance. But in my project that is external to the Sitecore instance, Visual Studio ...
0
votes
1answer
24 views

What are the references needed to support Web Forms and User Controls

I know the 3 references necessary for MVC are Sitecore.Kernel.NoReferences, Sitecore.Mvc.NoReferences, and Sitecore.Mvc.Analytics.NoReferences. But I have a legacy project I need to work on and need ...
0
votes
0answers
55 views

WFFM field not showing in from report

On of our users inadvertently deleted a bunch of fields from our main contact form built with WFFM. For example, a free text field for 'comments'. We have recreated the fields and all seems to be ...
2
votes
1answer
153 views

WFFM web form errors on first submission but succeeds on second try every time; 'Sequence contains more than one matching element' [closed]

I have a form that I'm using on several different language pages. The English page with the form works without issue. I also have the form on a Dutch and Spanish page, and I've created corresponding ...
0
votes
1answer
135 views

Security Roles required for Web Forms For Marketers email save action

I have been trying to tidy up permissions on our Sitecore install. My admin account has every permission haphazardly applied which causes all kinds of issues, but I can create WFFM forms with email ...
3
votes
1answer
121 views

Dynamically change placeholder at runtime

I have a web page with two placeholders, A and B. In Sitecore I inserted a WFFM form in placeholder B. Based on a the value of a checkbox in Sitecore, I want the WFFM form to be inserted into either ...
0
votes
2answers
103 views

sc.variable in web.config file

I am currently using this https://elearning.sitecore.net/Public/ContentDetails.aspx?id=7B781B1C3510447BBA22D7B0BF3251A2 In which in the setup step, it is said that on have to add a sc.variable in the ...
1
vote
1answer
257 views

Glass Mapper generates an Empty Link Text for General Link Field that has a Media Link with an Empty Link Description

I've have a General Link field. Using 'Insert media link' I have it pointed to a Media Item under the Media Library. When the page is rendered in the Experience Editor Mode, Link correctly display ...
5
votes
2answers
230 views

WFFM MVC and WFFM Webforms in the same instance

Has anyone tried this? Is this possible? Do they interfere with each other in any way? We have a legacy Sitecore instance with many sites on it. The plan is to move them to MVC one by one. But WFFM ...
1
vote
2answers
168 views

Capturing errors on Web Forms site

In the past, you could capture global errors in the Application_Error function of the Global.asax. But since that has been made private, and lets be honest its not best practice. Is there a way to ...
0
votes
1answer
121 views

Components duplicating on front end

We have a strange issue where components seem to be duplicating on the front end (web DB) but everything looks correct in the experience editor. I have checked the presentation details on both shared/...
5
votes
3answers
661 views

Upgrading from 7.2 to 8.2

We are upgrading from Sitecore 7.2 to 8.2. In 7.2, we have many sublayouts (.ascx controls). What's the best practice on upgrading those? Should we just migrate the site with the sublayouts or do we ...
4
votes
2answers
268 views

Could not resolve type name: Utility.HttpContextPerRequestStorage following WFFM install

I'm trying to install WFFM into Sitecore XP 8.1. Following installation, the WFFM options appear in the desktop as expected. However, if I then do a clean and rebuild in Visual Studio, I then get the ...
4
votes
1answer
420 views

Putting web forms sublayouts on MVC layouts during transition (or vice-versa)

We're working to convert a site from web forms to MVC. There's a desire to replace the web forms sublayouts with MVC renderings as we go along, until the site is completely converted. I found this ...
3
votes
1answer
93 views

Clicks in one UpdatePanel affects other UpdatePanels on same page

I am using WFFM webforms rendering with Sitecore 8.1. I don't want to do a full page reload on form post so added an updatepanel. The challenge is the update panel is affecting click events of another ...
3
votes
2answers
127 views

Sitecore 8 Webforms - Calling RenderControl() on Sublayout returns null

I'm currently having some issues, while trying to render a sublayout programatically on the server-side. Basically, I want to render a sublayout found on the item myItem, that has a single rendering (...