📄 listing0611.aspx
字号:
<%@ Page Language="VB" %>
<%@ Register TagPrefix="ACME" Namespace="MyCustomControls" Assembly="CustomControls"%>
<script runat="server">
sub Submit(obj as object, e as eventargs)
'do nothing
end sub
sub ChangeIt(obj as object, e as eventargs)
Response.write("Event handled!")
end sub
</script>
<html><body>
<form runat=server>
The custom control produces the following output:<p>
<ACME:CustomControl3 id="MyControl" runat="server"
Message="Hello world!"
OnTextChanged="ChangeIt" />
<asp:Button runat="server"
Text="Submit"
OnClick="Submit" />
</form>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -