2
Reply

problem in postback of aspx page

hj jh

hj jh

Aug 22 2012 8:54 AM
1.6k
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

Answers (2)
Next Recommended Forum