Hello,
I have 1 webpage in c# where in I have few textboxes on the page
Now I have some requiredfield validators for each of it.
I also have 1 script in javascript for comparing 2 of the textboxes.
but due to this, when I click the save button, it posts back as I have written "return jsfunction();" in the onclientclick event of save button.
& so eventhough no textbox is filled, it do postback which I dont want
Kindly reply
Loading
hj jhPosted Aug 23, 2012, 7:58 AM
Anyways implemented the same using the built in compare validator
Akkiraju IvaturiPosted Aug 22, 2012, 9:35 AM
If you have already done that then put alert in javascript function to check what is happening. If you need any help paste your javascript code and the aspx code so that I can help you out.