Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. <%@ Control Language="c#" Inherits="FSB.Layouts.Short_Home_Loan_Application" CodeBehind="Short Home Loan Application.ascx.cs" %>
  2. <div class="form">
  3. <form action="" method="post" rel="shortForm">
  4. <div class="section">
  5. <asp:panel id="shortForm_wrapper" runat="server">
  6. this is the first panel
  7. </asp:panel>
  8. <asp:Panel runat="server" ID="thankYouWrapper" >this is the second panel</asp:Panel>
  9. </div>
  10. </form>
  11. </div>
  12.  
  13. <sc:sublayout runat="server" path="~/layouts/FSB/Document Checklist Lightbox.ascx" id="checklist" />
  14.  
  15. using System;
  16. using Sitecore.Data.Items;
  17. using Sitecore.Links;
  18. using Sitecore.Data.Fields;
  19. using Sitecore.Web.UI.WebControls;
  20. using System.Net;
  21. using FSB.Helpers;
  22. using System.Configuration;
  23. using System.Text;
  24. using System.Web;
  25. using System.Web.SessionState;
  26.  
  27. namespace FSB.Layouts {
  28.  
  29. public partial class Short_Home_Loan_Application : System.Web.UI.UserControl {
  30.  
  31. protected void Page_Load(object sender, EventArgs e) {
  32. thankYouWrapper // not accessible here
  33. }
  34. }
  35. }
  36.  
  37. <%@ Control Language="C#" Inherits="FSB.Layouts.Short_Home_Loan_Application" CodeFile="Short Home Loan Application.ascx.cs" %>
  38.  
  39. CodeFile="Short_Home_Loan_Application.ascx.cs" %> //AddCodeFile, and set the same name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement