Har WN som tidsfördriv
|
|
Reg.datum: May 2004
Inlägg: 1 352
|
|
Har WN som tidsfördriv
Reg.datum: May 2004
Inlägg: 1 352
|
Lägg till en CheckBox och lägg till AutoPostBack="true".
Lägg till en textBox
I koden skriver du ungefär.
Sub Page_Load(.........
if Checkbox.checked Then
textbox.enabled = true
Else
textbox.enabled = false
End If
End Sub
Eller lite enklare:
textbox.enabled = Checkbox.checked
|