c# - Problems with inherit while adding custom user control -
I downloaded this custom timer user control from
And added content to the "Custom Control" folder under my project instructions to edit your projects' Root namespace, to modify the inheritance line in the aspx page of the user control. This is usually the name of your VB.NET project.
I did this and the error "It can be inaccessible because of its security level" My namespace for my other pages is "JobRequestWeb" and I have given it the value of all the other pages as "JobRequestWeb." Name) ", so I think there might be a dispute with my namespace and project name?
& lt;% @ Control language = "vb" AutoEventWireup = "false" codebahind = "timexender.cax.Web" inheritance = "JobQuickWebWeb Time Timebox"% & gt; That part of the code is contradictory part.
Import System Import Systems Web. UI importing system Web.UI.WebControls Import System.CommentModel Importing System. Dropping '' '& lt; Summary & gt; '' 'Show time picker' '' & lt; / Summary & gt; '' '& Lt; Comment & gt; & Lt; / Comments & gt; & Lt; Category ("TimeExtender") & gt; _ & Lt; Details ("Show Time Picker") & gt; & Lt; Browsable (true) & gt; _ & Lt; Toolbox Bitmap (GetType (Time Accender), "Time Accender.bmp") & gt; _ & lt; Toolbox data ("& lt; {}: Timepiece id = 'timekeeper' runat =" "server" "& gt; & lt; / {0}: timepicker & gt;") & gt; _ Partial Public Class Time Extender Inheritance System. Web. UI. User Control
Legacy removed It was now able to compile < / Div>
Comments
Post a Comment