Skip to main content

Questions tagged [webforms]

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

Filter by
Sorted by
Tagged with
2 votes
1 answer
51 views

Sitecore Forms 9.2 compatibility with Webforms

I am in process of migrating existing Sitecore 8.2 application to 9.2 The entire application is based on Webforms and there is no MVC used. There are few WFFM forms which I need to migrate/rewrite in ...
Parry Brookes's user avatar
2 votes
1 answer
43 views

Cascaded/global sublayout components in webforms?

I'm working on a site that is on Sitecore 10 but still uses webforms for the main layout and sublayouts. I'm trying to figure out if it is possible to add a placeholder to the footer where the authors ...
Erica Stockwell-Alpert's user avatar
0 votes
3 answers
507 views

How can I get the datasource of a personalized sublayout (webforms)?

I'm working on enabling sublayout caching for personalized sublayouts. public class ContextCacheableSublayout : Sublayout { public override string GetCacheKey() { var cacheKey = base....
Erica Stockwell-Alpert's user avatar
0 votes
1 answer
428 views

ASP.NET Webforms with Sitecore 10.2

Last year we have upgraded our Sitecore instance to version 9.3. We still have some renderings developed in ASP.Net Webforms (otherwise we are using ASP.Net MVC). Now we want to upgrade to Sitecore 10....
S.Kazmi's user avatar
  • 906
0 votes
1 answer
130 views

Sitecore 9.0 Dynamic Placeholders in WebForms

I've got a Sitecore 9.0.2 site that will migrate from WebForms to MVC in the near future. First, we are componentizing the site and are building reusable components for a Two-Column container. The ...
Chet Cheeto's user avatar
0 votes
0 answers
172 views

Submit WFFM via javascript ajax post without reloading the page?

I have a WFFM form on a page that has a lot of dynamic content. When the form is submitted, the page reloads (as a postback) to display the success message, which also reloads all of the content on ...
Erica Stockwell-Alpert's user avatar
2 votes
1 answer
150 views

Upgrading from Site core 7.2 to 9 - What would be breaking

We are maintaining one Sitecore 7.2 installation with Lots of ASCX / Web Form Lots of custom code hooked into Sitecore using configuration / patches SOLR Search We plan to migrate these system to 9....
qkhanhpro's user avatar
  • 177
0 votes
0 answers
158 views

Render anchor tag with content in web form and Experience Editor

I am looking to Render a General Link Field in Sitecore 8.2 with Webforms. I also have the content inside the anchor <a> tag which needs to content editable in Experience Editor. Also, I want ...
Arun Kumar's user avatar
0 votes
1 answer
35 views

8.2 - override WFFM submit button text on one page

My site uses WFFM and my client wants the ability to override the Submit button text on specific pages - some of the forms are used across many pages, and my client wants to be able to change the text ...
Erica Stockwell-Alpert's user avatar
0 votes
1 answer
281 views

webforms editable sc: fields not rendering

I'm working in a webforms project and I'm trying to add fields that are editable in Experience Editor but they're not showing up on the page. I'm basing this off of other pages that currently ...
Erica Stockwell-Alpert's user avatar
0 votes
1 answer
231 views

Modify Output of Image Field During Display

This is on a webform based (not MVC based ) solution. I want to change a content / adding additional mark up (let us say add additional attribute in as Image element )in the sub layout at runtime for ...
JTC's user avatar
  • 113
1 vote
1 answer
69 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. ...
user3213640's user avatar
0 votes
1 answer
72 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 ...
Brett Drake's user avatar
2 votes
0 answers
170 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 ...
Erica Stockwell-Alpert's user avatar
1 vote
1 answer
690 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" /&...
Uchenna Okafor's user avatar
0 votes
1 answer
302 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 ...
Brett Drake's user avatar
0 votes
1 answer
64 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 ...
Brett Drake's user avatar
3 votes
1 answer
366 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 ...
Erica Stockwell-Alpert's user avatar
0 votes
1 answer
263 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 ...
Mike's user avatar
  • 155
3 votes
1 answer
363 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 ...
Hos's user avatar
  • 884
0 votes
2 answers
496 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 ...
username-4711's user avatar
1 vote
1 answer
1k 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 ...
Milan's user avatar
  • 21
6 votes
2 answers
368 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 ...
Martin Davies's user avatar
1 vote
2 answers
327 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 ...
Chris Auer's user avatar
  • 13.1k
0 votes
1 answer
406 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/...
David Masters's user avatar
5 votes
3 answers
921 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 ...
Sachin Magon's user avatar
4 votes
2 answers
381 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 ...
Ben Pritchard's user avatar
3 votes
1 answer
794 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 ...
Ken McAndrew's user avatar
  • 5,112
3 votes
1 answer
418 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 update panel. The challenge is the update panel is affecting click events of ...
phani's user avatar
  • 804
3 votes
2 answers
185 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 (...
Søren Engel's user avatar
  • 1,523