开发者

How can I use a OnKeyPress event with no javascript when textbox is inside a AJAX UpdatePanel?

开发者 https://www.devze.com 2023-02-21 01:36 出处:网络
I have a asp:textbox inside an AJAX updatepanel. My goal is to be able to update other controls, such as a asp:listbox that is inside the same updatepanel, while I type in the asp:textbox. I can easil

I have a asp:textbox inside an AJAX updatepanel. My goal is to be able to update other controls, such as a asp:listbox that is inside the same updatepanel, while I type in the asp:textbox. I can easily do this using javascript. However, I am under a restriction, that is, I cannot use javascript.

I am using asp.net and visual basic. Is it开发者_JAVA技巧 possible to approach this without javascript?

Thanks, Y_Y


You can't do this without relying on javascript at all, but you can do it without writing any of your own javascript. ASP.Net webforms will insert javascript on it's own that you can't change that would make this possible.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号