Thanks for your reply!
I m not familiarity with vs2005,,many question in the source puzzled me.
> Under VS2005,controls shout not declare in the .vb files,but there are declared now.
------------Feedback.vb -----------------------------------------------
Region "Controls"
Protected plEmail As UI.UserControls.LabelControl
Protected pnlFeedbackFormFields As System.Web.UI.WebControls.Panel
Protected WithEvents txtEmail As System.Web.UI.WebControls.TextBox
Protected WithEvents valEmail1 As System.Web.UI.WebControls.RequiredFieldValidator
Protected WithEvents valEmail2 As System.Web.UI.WebControls.RegularExpressionValidator
Protected plName As UI.UserControls.LabelControl
#End Region
I try to drag a control to the page under design views,and I cant find the control declare in codebehind files like under VS2003.....
-------------------------------------------------
> double click the .ascx files,it cant switch to the codebehind file.Instead,it create code in the .ascx files like these:
-----------------------------------------------------------------------------------------
<script runat="server">
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
End Sub
</script>
-------------------------------------------------------------------------------------