📄 defaultvb.aspx.vb
字号:
Imports System
Imports System.Collections
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Web
Imports System.Web.SessionState
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.HtmlControls
Namespace Telerik.MenuExamplesVBNET.Menu.Examples.Design.Templates
'/ <summary>
'/ Summary description for DefaultCS.
'/ </summary>
Public Class DefaultVB
Inherits Telerik.QuickStart.XhtmlPage
Protected TextBox1 As System.Web.UI.WebControls.TextBox
Protected Label1 As System.Web.UI.WebControls.Label
Protected RadMenu1 As Telerik.WebControls.RadMenu
Private Sub Page_Load(sender As Object, e As System.EventArgs) Handles MyBase.Load
End Sub 'Page_Load
' Put user code to initialize the page here
Protected Sub Button1_Click(sender As Object, e As System.EventArgs)
Label1.Text = "<b>You have entered the data:</b><br/>"
Label1.Text += "<b>First Name:</b>" + CType(RadMenu1.FindControl("FirstName"), TextBox).Text + "<br/>"
Label1.Text += "<b>Last Name:</b>" + CType(RadMenu1.FindControl("LastName"), TextBox).Text + "<br/>"
Label1.Text += "<b>Your Question:</b>" + CType(RadMenu1.FindControl("Question"), TextBox).Text + "<br/>"
End Sub 'Button1_Click
Protected Overrides Sub OnInit(e As EventArgs)
'
' CODEGEN: This call is required by the ASP.NET Web Form Designer.
'
InitializeComponent()
MyBase.OnInit(e)
End Sub 'OnInit
'/ <summary>
'/ Required method for Designer support - do not modify
'/ the contents of this method with the code editor.
'/ </summary>
Private Sub InitializeComponent()
End Sub 'InitializeComponent
End Class 'DefaultVB
End Namespace 'Telerik.MenuExamplesVBNET.Menu.Examples.Design.Templates
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -