|
|
MasterPageを使った時のTips |
|
MasterPageを使った時、リクエストデータの値を取得する |
 |
|
|
ContentPlaceHolder内に、コントロールがあるので
Dim MyContentPlaceHolder As ContentPlaceHolder _
= CType(Master.FindControl("ContentPlaceHolder1"),
ContentPlaceHolder)
Dim txtInput As TextBox = CType(MyContentPlaceHolder.FindControl("txtInput"), TextBox)
Dim lblOutput As Label = CType(MyContentPlaceHolder.FindControl("lblOutput"), Label)
lblOutput.Text = txtInput.Text
|
|
|
|
|
|
|
|