发现此代码动态创建一个AJAX MaskedEdit文本框...
Dim txt As New TextBox()
txt.ID = "txt_name"
Panel1.Controls.Add(txt)
Dim mee As New MaskedEditExtender()
mee.Mask = "999-999-9999"
mee.MaskType = MaskedEditType.Number
mee.InputDirection = MaskedEditInputDirection.LeftToRight
mee.TargetControlID = "txt_name"
Panel1.Controls.Add(mee)
和“ToolkitScriptManager”在我的母版页面上正确引用。
Intellisense没有找到“MaskedEditExtender”,我必须包含哪些内容(VB.NET 2008)才能正确引用它?
答案 0 :(得分:0)
太简单......
Imports AjaxControlToolkit