|
| is already declared as 'Protected Dim WithEvents ..... |
 |
Wed, 19 Mar 2008 10:44:17 +000 |
Hi Pros I have a problem and it is to properly declare controls ... seems basic
but my project says the controls are not defined and when I do define them the
VS2005 says "lnkViewCalender1 is already declared as 'Protected Dim
WithEvents lnkViewCalender1 As System.Web.UI.WebControls.LinkButton"
Definition in the head of the class: Protected WithEvents lnkViewCalender1 As
System.Web.UI.WebControls.LinkButton Protected WithEvents lnkViewCalender2 As
System.Web.UI.WebControls.LinkButton Protected WithEvents txtTelephoneStatus As
System.Web.UI.WebControls.TextBox Protected WithEvents txtDateStart As
System.Web.UI.WebControls.TextBox Protected WithEvents txtDateEnd As
System.Web.UI.WebControls.TextBox Protected WithEvents cmdUpdate As
System.Web.UI.WebControls.LinkButton Protected WithEvents cmdCancel As
System.Web.UI.WebControls.LinkButton Protected WithEvents cmdDelete As
System.Web.UI.WebControls.LinkButton Protected WithEvents Calendar1 As
System.Web.UI.WebControls.Calendar Protected WithEvents Calendar2 As
System.Web.UI.WebControls.Calendar Protected WithEvents ddlTimeStart As
System.Web.UI.WebControls.DropDownList Protected WithEvents ddlTimeEnd As
System.Web.UI.WebControls.DropDownList Protected WithEvents lblReturnMessage As
System.Web.UI.WebControls.Label Protected WithEvents ctlAudit As
DotNetNuke.UI.UserControls.ModuleAuditControl if they are defined anywhere else
I want to find them but I cannot find them anywhere ???? /Johan
Nätdejting
Personalrekrytering
Datanät
Solkräm
Kassasystem
Rekrytering
|
| Post Reply
|
| Re: is already declared as 'Protected Dim WithEvents ..... |
 |
Tue, 25 Mar 2008 16:59:54 +000 |
johjoh682:
Hi Pros I have a problem and it is to properly declare controls ... seems basic
but my project says the controls are not defined and when I do define them the
VS2005 says "lnkViewCalender1 is already declared as 'Protected Dim
WithEvents lnkViewCalender1 As System.Web.UI.WebControls.LinkButton"
Definition in the head of the class: Protected WithEvents lnkViewCalender1 As
System.Web.UI.WebControls.LinkButton Protected WithEvents lnkViewCalender2 As
System.Web.UI.WebControls.LinkButton Protected WithEvents txtTelephoneStatus As
System.Web.UI.WebControls.TextBox Protected WithEvents txtDateStart As
System.Web.UI.WebControls.TextBox Protected WithEvents txtDateEnd As
System.Web.UI.WebControls.TextBox Protected WithEvents cmdUpdate As
System.Web.UI.WebControls.LinkButton Protected WithEvents cmdCancel As
System.Web.UI.WebControls.LinkButton Protected WithEvents cmdDelete As
System.Web.UI.WebControls.LinkButton Protected WithEvents Calendar1 As
System.Web.UI.WebControls.Calendar Protected WithEvents Calendar2 As
System.Web.UI.WebControls.Calendar Protected WithEvents ddlTimeStart As
System.Web.UI.WebControls.DropDownList Protected WithEvents ddlTimeEnd As
System.Web.UI.WebControls.DropDownList Protected WithEvents lblReturnMessage As
System.Web.UI.WebControls.Label Protected WithEvents ctlAudit As
DotNetNuke.UI.UserControls.ModuleAuditControl if they are defined anywhere else
I want to find them but I cannot find them anywhere ???? /Johan
[Moderator Edit: unrelated links removed from post body.]
Try looking in the mywebpage.designer.cs file. (mywebpage being the name of the
your page)
|
| Post Reply
|
| Re: is already declared as 'Protected Dim WithEvents ..... |
 |
Tue, 25 Mar 2008 16:59:54 +000 |
johjoh682:
Hi Pros I have a problem and it is to properly declare controls ... seems basic
but my project says the controls are not defined and when I do define them the
VS2005 says "lnkViewCalender1 is already declared as 'Protected Dim
WithEvents lnkViewCalender1 As System.Web.UI.WebControls.LinkButton"
Definition in the head of the class: Protected WithEvents lnkViewCalender1 As
System.Web.UI.WebControls.LinkButton Protected WithEvents lnkViewCalender2 As
System.Web.UI.WebControls.LinkButton Protected WithEvents txtTelephoneStatus As
System.Web.UI.WebControls.TextBox Protected WithEvents txtDateStart As
System.Web.UI.WebControls.TextBox Protected WithEvents txtDateEnd As
System.Web.UI.WebControls.TextBox Protected WithEvents cmdUpdate As
System.Web.UI.WebControls.LinkButton Protected WithEvents cmdCancel As
System.Web.UI.WebControls.LinkButton Protected WithEvents cmdDelete As
System.Web.UI.WebControls.LinkButton Protected WithEvents Calendar1 As
System.Web.UI.WebControls.Calendar Protected WithEvents Calendar2 As
System.Web.UI.WebControls.Calendar Protected WithEvents ddlTimeStart As
System.Web.UI.WebControls.DropDownList Protected WithEvents ddlTimeEnd As
System.Web.UI.WebControls.DropDownList Protected WithEvents lblReturnMessage As
System.Web.UI.WebControls.Label Protected WithEvents ctlAudit As
DotNetNuke.UI.UserControls.ModuleAuditControl if they are defined anywhere else
I want to find them but I cannot find them anywhere ???? /Johan
[Moderator Edit: unrelated links removed from post body.]
Try looking in the mywebpage.designer.cs file. (mywebpage being the name of the
your page)
|
| Post Reply
|
| Re: is already declared as 'Protected Dim WithEvents ..... |
 |
Tue, 1 Apr 2008 18:45:37 +0000 |
I didn't have a designer.cs file ... that was the problem .. I am transfering
projects from VS 2003 to VS 2005 /Johan
|
| Post Reply
|
|
|
|
|
|
|
|
|
|