Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
how to access user control in aspx file
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Guest, post: 507499"] Hi, I got it. I just declare Protected WithEvents Peopleinfo1 As PeopleInfo (which I thought the .net development tool will do it for me just like it did for regular server controls.) Then I access it in Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Peopleinfo1.SSN <> "" And Peopleinfo1.LastName <> "" Then Response.Redirect("Peopleinfo1.aspx?SSN=" + Peopleinfo1.SSN.ToString + "LastName=" + Peopleinfo1.LastName.ToString) End If End Sub It worked out fine. But I didn't figure it out yet what the exact difference from what I did before. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
how to access user control in aspx file
Top