[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 517
  • Last Modified:

Show Hour Class - On Textbox change event in vb.net

EE Team,

I have a page with many textbox, these are asp:textbox , with autopostback true and i call some function to do the save functionality on textchange.

I want to show a hour glass on each textbox change from start to finish of my functionality.

Please provide me a common function to do this.

Thanks.
0
Apu_Shah
Asked:
Apu_Shah
1 Solution
 
SuperGhostyCommented:
Do you mean you want the mouse icon to change to the hourglass while the person is typing in the textbox?

Or do you mean you want the hourglass to appear when the textchange function is fired?
0
 
RejojohnyCommented:
u will have to change the cursor using client side script .. call a function in the onchange event of the textbox .. using textbox1.attributes.add("onchange", "javascript:functionname();")

add this new function in ur aspx page .. within this function, change the cursor to hourglass ..
I do not exaclty remember the syntax .. but its something like
window.style.cursor = "wait"; or something like that ..

Rejo
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now