2
Answers

problem in postback of aspx page

hj jh

hj jh

12y
1.7k
1
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