A bit of a back story - I am trying to create a custom dispform page for my list in VS2010. I used instructions found here to do it. I successfully created the custom form and had the site loading it instead of the default, but am now getting stuck while adding a code behind page. I am 99% sure the issue is with my namespace and inheritance on the asp page, but I can't for the life of me figure out the issue. I was hoping someone out her can. Here's my code:
<%@ Page language="C#" CodeBehind="DispRequest.aspx.cs" MasterPageFile="~masterurl/default.master" Inherits="Solvera.SellIT.DispRequest.Solvera.SellIT,Version=1.0.0.0,Culture=neutral,PublicKeyToken=24e9d7d011937483" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
And from the code behind file which is named disprequest.aspx.cs:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
using Microsoft.SharePoint.WebPartPages;
namespace Solvera.SellIT
{
class DispRequest:WebPartPage
{
protected Button btnSubmitOffer;
protected TextBox txtOfferAmount;
I would greatly appreciate any help anyone can provide.
Thank you,