473,394 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

usercontrol problem

When trying to run my web project, I get the following
error:

Parser Error
Description: An error occurred during the parsing of a
resource required to service this request. Please review
the following specific parse error details and modify your
source file appropriately.

Parser Error Message: The base class includes the
field 'ValidateLogin', but its type
(YTCIWebUserControls.UserLogin) is not compatible with the
type of control (ASP.UserLogin_ascx).

Source Error:
Line 13: <form id="Login" runat="server">
Line 14: <p></p>
Line 15: <YTCI:LoginControl
runat="server" id="ValidateLogin"></YTCI:LoginControl><BR>
Line 16: <div align="center">
Line 17: <asp:button
id="btnOK" runat="server"
Text="OK"></asp:button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Source File: C:\Inetpub\wwwroot\NCVAC\logon.aspx Line:
15

All this is, is a usercontrol with a login screen as
follows:

'usercontrol html
<%@ Control Language="vb" AutoEventWireup="false"
Codebehind="UserLogin.ascx.vb"
Inherits="YTCIWebUserControls.UserLogin"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5
" %>
<h3 align="center"><font face="Verdana">Logon Page</font>
</h3>
<table align="center">
<tr>
<td><asp:label id="lblUserID" Text="User
ID:" Font-Bold="true" runat="server"></asp:label></td>
<td><asp:textbox id="txtUserID"
runat="server" MaxLength="20"></asp:textbox></td>
<td><ASP:REQUIREDFIELDVALIDATOR
id="vUserName" runat="server"
ControlToValidate="txtUserID" ErrorMessage="UserID is
required"

Display="Static"></ASP:REQUIREDFIELDVALIDATOR></td>
</tr>
<tr>
<td><asp:label id="lblPassword"
Text="Password:" Font-Bold="true"
runat="server"></asp:label></td>
<td><asp:textbox id="txtPassword"
runat="server" TextMode="Password"
MaxLength="20"></asp:textbox></td>
<td><ASP:REQUIREDFIELDVALIDATOR
id="vUserPass" runat="server"
ControlToValidate="txtPassword" ErrorMessage="Password is
required"

Display="Static"></ASP:REQUIREDFIELDVALIDATOR></td>
</tr>
<tr>
<td>Persistent Cookie:</td>
<td><ASP:CHECKBOX id="chkPersistCookie"
runat="server" autopostback="false"></ASP:CHECKBOX></td>
<td></td>
</tr>
</table>

'usercontrol vb code

Public MustInherit Class UserLogin
Inherits System.Web.UI.UserControl

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()

End Sub
Protected WithEvents vUserName As
System.Web.UI.WebControls.RequiredFieldValidator
Protected WithEvents vUserPass As
System.Web.UI.WebControls.RequiredFieldValidator
Protected WithEvents chkPersistCookie As
System.Web.UI.WebControls.CheckBox
Protected WithEvents lblMsg As
System.Web.UI.WebControls.Label
Protected WithEvents lblUserID As
System.Web.UI.WebControls.Label
Protected WithEvents txtUserID As
System.Web.UI.WebControls.TextBox
Protected WithEvents lblPassword As
System.Web.UI.WebControls.Label
Protected WithEvents txtPassword As
System.Web.UI.WebControls.TextBox

'NOTE: The following placeholder declaration is
required by the Web Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As System.Object

Private Sub Page_Init(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web
Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub

#End Region

Public Property UserID() As String
Get
UserID = txtUserID.Text
End Get
Set(ByVal Value As String)
txtUserID.Text = Value
End Set

End Property

Public Property Password() As String
Get
Password = txtPassword.Text
End Get
Set(ByVal Value As String)
txtPassword.Text = Value
End Set

End Property

Public Property PersistantCookie() As Boolean
Get
PersistantCookie = chkPersistCookie.Checked
End Get
Set(ByVal Value As Boolean)
chkPersistCookie.Checked = Value
End Set

End Property

End Class

'aspx html that incorporates my usercontrol
<%@ Register TagPrefix="YTCI" TagName="LoginControl"
Src=".\UserControls\UserLogin.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="Logon.aspx.vb" Inherits="NCVAC.ValidateLogin" %

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML>
<HEAD>
<title>Login</title>
<meta content="Microsoft Visual
Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1"
name="CODE_LANGUAGE">
<meta content="JavaScript"
name="vs_defaultClientScript">
<meta
content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Login" runat="server">
<p></p>
<YTCI:LoginControl runat="server"
id="ValidateLogin"></YTCI:LoginControl><BR>
<div align="center">
<asp:button id="btnOK"
runat="server"
Text="OK"></asp:button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:button id="btnClear"
runat="server" Text="Clear"></asp:button><br>
</div>
</form>
</body>
</HTML>

'aspx vb code that incorporates the usercontrol
Public Class ValidateLogin
Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()

End Sub
Protected WithEvents btnOK As
System.Web.UI.WebControls.Button
Protected WithEvents btnClear As
System.Web.UI.WebControls.Button

'NOTE: The following placeholder declaration is
required by the Web Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As System.Object

Private Sub Page_Init(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web
Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub

#End Region

Private strUserName As String
Private exException As Exception()
Protected ValidateLogin As
YTCIWebUserControls.UserLogin

Private Sub btnClear_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
btnClear.Click
ValidateLogin.UserID = String.Empty
ValidateLogin.Password = String.Empty
End Sub

Private Sub btnOK_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles btnOK.Click

Dim strDataSource As String
strDataSource = CType(Application
("strDataSource"), String)

Dim clsBLL As New NCVACBLL.Scheduling
(strDataSource)
Dim drOLEDBNCVAC As OleDbDataReader

Try
Cursor.Current =
System.Windows.Forms.Cursors.WaitCursor
drOLEDBNCVAC = clsBLL.GetUserInfo
(ValidateLogin.UserID, ValidateLogin.Password)
..
..
..
I'm really pulling my hair out over this one! I've tried
so many different things to get this to work.... Can
someone please HELP!!

Thanks so much,

Bill.....
Nov 17 '05 #1
2 2643
I didn't read into your code cause there's a lot but from
the error message it looks as if you specify ValidateLogin
control of type YTCI:LoginControl in your aspx page, but
in the codebehind member ValidateLogin is declared of some
other type. this happens a lot when your member variables
are out of sink with the id's in the page. for instance if
you have <asp:Label id="lbl"> but in the code you declare

TextBox lbl; -> then you will get a runtime error...

-----Original Message-----
When trying to run my web project, I get the following
error:

Parser Error
Description: An error occurred during the parsing of a
resource required to service this request. Please review
the following specific parse error details and modify yoursource file appropriately.

Parser Error Message: The base class includes the
field 'ValidateLogin', but its type
(YTCIWebUserControls.UserLogin) is not compatible with thetype of control (ASP.UserLogin_ascx).

Source Error:
Line 13: <form id="Login" runat="server">
Line 14: <p></p>
Line 15: <YTCI:LoginControl
runat="server" id="ValidateLogin"></YTCI:LoginControl><BR>
Line 16: <div align="center">
Line 17: <asp:button
id="btnOK" runat="server"
Text="OK"></asp:button>
Source File: C:\Inetpub\wwwroot\NCVAC\logon.aspx Line:
15

All this is, is a usercontrol with a login screen as
follows:

'usercontrol html
<%@ Control Language="vb" AutoEventWireup="false"
Codebehind="UserLogin.ascx.vb"
Inherits="YTCIWebUserControls.UserLogin"
TargetSchema="http://schemas.microsoft.com/intellisense/ie 5" %>
<h3 align="center"><font face="Verdana">Logon Page</font>
</h3>
<table align="center">
<tr>
<td><asp:label id="lblUserID" Text="User
ID:" Font-Bold="true" runat="server"></asp:label></td>
<td><asp:textbox id="txtUserID"
runat="server" MaxLength="20"></asp:textbox></td>
<td><ASP:REQUIREDFIELDVALIDATOR
id="vUserName" runat="server"
ControlToValidate="txtUserID" ErrorMessage="UserID is
required"

Display="Static"></ASP:REQUIREDFIELDVALIDATOR></td>
</tr>
<tr>
<td><asp:label id="lblPassword"
Text="Password:" Font-Bold="true"
runat="server"></asp:label></td>
<td><asp:textbox id="txtPassword"
runat="server" TextMode="Password"
MaxLength="20"></asp:textbox></td>
<td><ASP:REQUIREDFIELDVALIDATOR
id="vUserPass" runat="server"
ControlToValidate="txtPassword" ErrorMessage="Password is
required"

Display="Static"></ASP:REQUIREDFIELDVALIDATOR></td>
</tr>
<tr>
<td>Persistent Cookie:</td>
<td><ASP:CHECKBOX id="chkPersistCookie"
runat="server" autopostback="false"></ASP:CHECKBOX></td>
<td></td>
</tr>
</table>

'usercontrol vb code

Public MustInherit Class UserLogin
Inherits System.Web.UI.UserControl

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private SubInitializeComponent()

End Sub
Protected WithEvents vUserName As
System.Web.UI.WebControls.RequiredFieldValidato r
Protected WithEvents vUserPass As
System.Web.UI.WebControls.RequiredFieldValidato r
Protected WithEvents chkPersistCookie As
System.Web.UI.WebControls.CheckBox
Protected WithEvents lblMsg As
System.Web.UI.WebControls.Label
Protected WithEvents lblUserID As
System.Web.UI.WebControls.Label
Protected WithEvents txtUserID As
System.Web.UI.WebControls.TextBox
Protected WithEvents lblPassword As
System.Web.UI.WebControls.Label
Protected WithEvents txtPassword As
System.Web.UI.WebControls.TextBox

'NOTE: The following placeholder declaration is
required by the Web Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As System.Object
Private Sub Page_Init(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web
Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub

#End Region

Public Property UserID() As String
Get
UserID = txtUserID.Text
End Get
Set(ByVal Value As String)
txtUserID.Text = Value
End Set

End Property

Public Property Password() As String
Get
Password = txtPassword.Text
End Get
Set(ByVal Value As String)
txtPassword.Text = Value
End Set

End Property

Public Property PersistantCookie() As Boolean
Get
PersistantCookie = chkPersistCookie.Checked
End Get
Set(ByVal Value As Boolean)
chkPersistCookie.Checked = Value
End Set

End Property

End Class

'aspx html that incorporates my usercontrol
<%@ Register TagPrefix="YTCI" TagName="LoginControl"
Src=".\UserControls\UserLogin.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="Logon.aspx.vb" Inherits="NCVAC.ValidateLogin" %

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML>
<HEAD>
<title>Login</title>
<meta content="Microsoft Visual
Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1"
name="CODE_LANGUAGE">
<meta content="JavaScript"
name="vs_defaultClientScript">
<meta
content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Login" runat="server">
<p></p>
<YTCI:LoginControl runat="server"
id="ValidateLogin"></YTCI:LoginControl><BR>
<div align="center">
<asp:button id="btnOK"
runat="server"
Text="OK"></asp:button>
<asp:button id="btnClear"
runat="server" Text="Clear"></asp:button><br>
</div>
</form>
</body>
</HTML>

'aspx vb code that incorporates the usercontrol
Public Class ValidateLogin
Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private

SubInitializeComponent()

End Sub
Protected WithEvents btnOK As
System.Web.UI.WebControls.Button
Protected WithEvents btnClear As
System.Web.UI.WebControls.Button

'NOTE: The following placeholder declaration is
required by the Web Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As System.Object
Private Sub Page_Init(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web
Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub

#End Region

Private strUserName As String
Private exException As Exception()
Protected ValidateLogin As
YTCIWebUserControls.UserLogin

Private Sub btnClear_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
btnClear.Click
ValidateLogin.UserID = String.Empty
ValidateLogin.Password = String.Empty
End Sub

Private Sub btnOK_Click(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles btnOK.Click

Dim strDataSource As String
strDataSource = CType(Application
("strDataSource"), String)

Dim clsBLL As New NCVACBLL.Scheduling
(strDataSource)
Dim drOLEDBNCVAC As OleDbDataReader

Try
Cursor.Current =
System.Windows.Forms.Cursors.WaitCursor
drOLEDBNCVAC = clsBLL.GetUserInfo
(ValidateLogin.UserID, ValidateLogin.Password)
..
..
..
I'm really pulling my hair out over this one! I've tried
so many different things to get this to work.... Can
someone please HELP!!

Thanks so much,

Bill.....
.

Nov 17 '05 #2
I FINALLY figured it out!

All I did was change the line:

Protected ValidateLogin As YTCIWebUserControls.UserLogin
to
Protected ValidateLogin As UserLogin

in my codebehind page....
-----Original Message-----
I didn't read into your code cause there's a lot but fromthe error message it looks as if you specify ValidateLogincontrol of type YTCI:LoginControl in your aspx page, but
in the codebehind member ValidateLogin is declared of someother type. this happens a lot when your member variablesare out of sink with the id's in the page. for instance ifyou have <asp:Label id="lbl"> but in the code you declare

TextBox lbl; -> then you will get a runtime error...

-----Original Message-----
When trying to run my web project, I get the following
error:

Parser Error
Description: An error occurred during the parsing of a
resource required to service this request. Please review
the following specific parse error details and modifyyour
source file appropriately.

Parser Error Message: The base class includes the
field 'ValidateLogin', but its type
(YTCIWebUserControls.UserLogin) is not compatible with

the
type of control (ASP.UserLogin_ascx).

Source Error:
Line 13: <form id="Login" runat="server">
Line 14: <p></p>
Line 15: <YTCI:LoginControl
runat="server" id="ValidateLogin"></YTCI:LoginControl><BR>Line 16: <div align="center">
Line 17: <asp:button
id="btnOK" runat="server"
Text="OK"></asp:button>
Source File: C:\Inetpub\wwwroot\NCVAC\logon.aspx Line:15

All this is, is a usercontrol with a login screen as
follows:

'usercontrol html
<%@ Control Language="vb" AutoEventWireup="false"
Codebehind="UserLogin.ascx.vb"
Inherits="YTCIWebUserControls.UserLogin"
TargetSchema="http://schemas.microsoft.com/intellisense/ ie5
" %>
<h3 align="center"><font face="Verdana">Logon
Page</font></h3>
<table align="center">
<tr>
<td><asp:label id="lblUserID" Text="User
ID:" Font-Bold="true" runat="server"></asp:label></td>
<td><asp:textbox id="txtUserID"
runat="server" MaxLength="20"></asp:textbox></td>
<td><ASP:REQUIREDFIELDVALIDATOR
id="vUserName" runat="server"
ControlToValidate="txtUserID" ErrorMessage="UserID is
required"

Display="Static"></ASP:REQUIREDFIELDVALIDATOR></td
</tr>
<tr>
<td><asp:label id="lblPassword"
Text="Password:" Font-Bold="true"
runat="server"></asp:label></td>
<td><asp:textbox id="txtPassword"
runat="server" TextMode="Password"
MaxLength="20"></asp:textbox></td>
<td><ASP:REQUIREDFIELDVALIDATOR
id="vUserPass" runat="server"
ControlToValidate="txtPassword" ErrorMessage="Password
isrequired"

Display="Static"></ASP:REQUIREDFIELDVALIDATOR></td
</tr>
<tr>
<td>Persistent Cookie:</td>
<td><ASP:CHECKBOX id="chkPersistCookie"
runat="server" autopostback="false"></ASP:CHECKBOX></td>
<td></td>
</tr>
</table>

'usercontrol vb code

Public MustInherit Class UserLogin
Inherits System.Web.UI.UserControl

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> PrivateSub
InitializeComponent()

End Sub
Protected WithEvents vUserName As
System.Web.UI.WebControls.RequiredFieldValidat or
Protected WithEvents vUserPass As
System.Web.UI.WebControls.RequiredFieldValidat or
Protected WithEvents chkPersistCookie As
System.Web.UI.WebControls.CheckBox
Protected WithEvents lblMsg As
System.Web.UI.WebControls.Label
Protected WithEvents lblUserID As
System.Web.UI.WebControls.Label
Protected WithEvents txtUserID As
System.Web.UI.WebControls.TextBox
Protected WithEvents lblPassword As
System.Web.UI.WebControls.Label
Protected WithEvents txtPassword As
System.Web.UI.WebControls.TextBox

'NOTE: The following placeholder declaration is
required by the Web Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As

System.Object

Private Sub Page_Init(ByVal sender As

System.Object,ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the WebForm Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub

#End Region

Public Property UserID() As String
Get
UserID = txtUserID.Text
End Get
Set(ByVal Value As String)
txtUserID.Text = Value
End Set

End Property

Public Property Password() As String
Get
Password = txtPassword.Text
End Get
Set(ByVal Value As String)
txtPassword.Text = Value
End Set

End Property

Public Property PersistantCookie() As Boolean
Get
PersistantCookie = chkPersistCookie.Checked
End Get
Set(ByVal Value As Boolean)
chkPersistCookie.Checked = Value
End Set

End Property

End Class

'aspx html that incorporates my usercontrol
<%@ Register TagPrefix="YTCI" TagName="LoginControl"
Src=".\UserControls\UserLogin.ascx" %>
<%@ Page Language="vb" AutoEventWireup="false"
Codebehind="Logon.aspx.vb" Inherits="NCVAC.ValidateLogin"%

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML>
<HEAD>
<title>Login</title>
<meta content="Microsoft Visual
Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1"
name="CODE_LANGUAGE">
<meta content="JavaScript"
name="vs_defaultClientScript">
<meta
content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Login" runat="server">
<p></p>
<YTCI:LoginControl runat="server"
id="ValidateLogin"></YTCI:LoginControl><BR>
<div align="center">
<asp:button id="btnOK"
runat="server"
Text="OK"></asp:button>
<asp:button id="btnClear"
runat="server" Text="Clear"></asp:button><br>
</div>
</form>
</body>

<script language="JavaScript">
<!--

window.open = SymRealWinOpen;

//-->
</script>

</HTML>
'aspx vb code that incorporates the usercontrol
Public Class ValidateLogin
Inherits System.Web.UI.Page

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private

Sub
InitializeComponent()

End Sub
Protected WithEvents btnOK As
System.Web.UI.WebControls.Button
Protected WithEvents btnClear As
System.Web.UI.WebControls.Button

'NOTE: The following placeholder declaration is
required by the Web Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As

System.Object

Private Sub Page_Init(ByVal sender As System.Object,ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the WebForm Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub

#End Region

Private strUserName As String
Private exException As Exception()
Protected ValidateLogin As
YTCIWebUserControls.UserLogin

Private Sub btnClear_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
btnClear.Click
ValidateLogin.UserID = String.Empty
ValidateLogin.Password = String.Empty
End Sub

Private Sub btnOK_Click(ByVal sender As

System.Object,
ByVal e As System.EventArgs) Handles btnOK.Click

Dim strDataSource As String
strDataSource = CType(Application
("strDataSource"), String)

Dim clsBLL As New NCVACBLL.Scheduling
(strDataSource)
Dim drOLEDBNCVAC As OleDbDataReader

Try
Cursor.Current =
System.Windows.Forms.Cursors.WaitCursor
drOLEDBNCVAC = clsBLL.GetUserInfo
(ValidateLogin.UserID, ValidateLogin.Password)
..
..
..
I'm really pulling my hair out over this one! I've triedso many different things to get this to work.... Can
someone please HELP!!

Thanks so much,

Bill.....
.

.

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Raed Sawalha | last post by:
Hi, I have a strange problem with a usercontrol on a page. The usercontrol dispalyes three categories (From a database) when the user clicks a category they see all the products in a shop for...
2
by: Sascha | last post by:
Hi there, I searched carefully through the web before finally deciding to post this message, because I could not find a solution for my problem. Hopefully someone will have a hint or explanation...
0
by: N. Demos | last post by:
Hello, I have a custom usercontrol, of which I have two instances of in my aspx page. Both the usercontrol and page have codebehind. In the page codebehind, I want a member variable for each...
41
by: JohnR | last post by:
In it's simplest form, assume that I have created a usercontrol, WSToolBarButton that contains a button. I would like to eventually create copies of WSToolBarButton dynamically at run time based...
12
by: Joe | last post by:
Hello All: Do I have to use the LoadControl method of the Page to load a UserControl? I have a class which contains three methods (one public and two private). The class acts as a control...
9
by: Marcelo Cabrera | last post by:
Hi, I have a user control that in turn creates a bunch of webcontrols dynamically and handles the events these webcontrols raise. It used to work fine on ASP .Net 1.1 but when compiled on 2.0 it...
2
by: sonu | last post by:
Hi all, I have a problem regarding use of a usercontrol in .NET. My usercontrol consists of two listviews which I say as source and destination lisviews which contains the files and folders. I...
5
by: tshad | last post by:
I get an error when running my Javascript inside my UserControl. It works fine if I put the UserControl Data directly in my Web Page. The stripped down code is: <script language=javascript>...
2
by: Rene Sørensen | last post by:
In VS 2005 I'm trying to create a usercontrol, but I have some problems with it right now I can't figure out how to fix. The size of my usercontrol is "Size 574; 619" I have anchored all controls...
3
by: Martin | last post by:
Hi ! I've developed a small UserControl with five textbox and label. However, when I want to display the UserControl in a form, controls appear slowly one after one. I've activated double...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.