嗨先生/ Ma''am 我使用asp和vb作为语言。 先生,我想在文本框的文本更改事件的列表框中添加项目文本。 我已经在vb中完成了但是使用asp工作没有完成文字更改活动。 请帮我解决这个问题。 i想添加如此类似当我在文本框中写anku然后所有名称都有字符串anku填充在文本框文本列表框中更改值自动更改列表框根据文本框字符串 我在vb中做,但在asp上做文本更改列表框值不受影响
解决方案第1步: 在相应文本控件的.aspx页面中写入TextChanged =FunNsme。 FunName: - 您将在第2步中创建的功能名称。 第2步: 通过从页面顶部选择控件和事件,在aspx.vb上创建一个文本更改事件。 为函数添加语句。 第3步: 在页面加载事件中添加以下代码f .aspx.vb txtName.Attributes.Add(TextChanged) txtName是TextBox的名称。
Hi sir/Ma''am I am using asp with vb as language. Sir i want to add item text in list box on the text change event of text box. I am already done it in vb but with asp the working is not done on text change event . Please help me regarding this. i want to add such like when i write anku in text box then all the name having string anku populate in the listbox on textbox text change the values automatically change in the list box according to text box string I do it in vb but in asp on doing text change the list box values not effected
解决方案 Step 1: Write TextChanged="FunNsme" in your .aspx page in respective Text Control. FunName :- Function name which you will make in Step 2. Step 2: Make a text Change event on aspx.vb by selecting control and event from top of the page. Add statements to your function. Step 3: Add the Following code in your Page load event f .aspx.vb txtName.Attributes.Add("TextChanged") txtName is a Name of your TextBox.更多推荐
填写文本框文本更改列表框
发布评论