Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.29 KB | None | 0 0
  1. ' In the user control have something like this
  2. Public ReadOnly Property MyCheckBoxChecked() As Boolean
  3.     Get
  4.         Return Me.MyCheckbox.Checked
  5.     End Get
  6. End Property
  7.  
  8. ' Then in the aspx form page itself you do something like this
  9. Dim Stuff As Boolean = Me.UserControlName.MyCheckBoxChecked
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement