Hi,
I am calculating discount at text changed event when user enters the discount%. To edit when i load the data from table using dataset i do not get the correct data as it is in the database. For ex if quantity is saved as 5000.00 in table and when i try to fetch it.. I am getting it as 500000. Instead of 5000.00. Is it because of text changed event? How do i resolve this?
Not working. How to stop textchanged event from firing at button click event?
suchitra says:Not working. How to stop textchanged event from firing at button click event?
What not working? Did you check the values in dataset usng Quick Watch?
To stop textchanged event simply remove it
Yes sir i checked the dataset all the values get assigned properly to the textbox but finally the decimal value is not shown.. Instaed of 500.00 50000 is shown. I thought textchanged event is interfering with the values
OK. Try disabling textchanged event by setting AutoPostback = false for the textbox and see whether it makes any difference
I have already tried that sir.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.