0

I am having a Problem in a form.I have use validator controls.But after that it's submit button start giving Problem.It's not Working now,mean's code behind that is not giving any response

4
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by nebyas
0

Well... There are different causes for problem you are facing...

(1) Please check Validation Group property of validation control, target control and button, it must be same in respect to create group.

(2) Check attribute on top of page directive. If AutoEventWired="false", then make it to "true" in order to indicate ASP.NET that you handle event execution.

If you place small code snippet of problem i.e. button tag and code behind tag, its helpful to identify cause.

0

No...Nothing is working .For the submitt buttuon to work properly ,i have to delete all validation control

0

can you show me you markup and
also keep button CauseValidation Property = false and check
does it causes any postback..?

0

Set AutoEventWireup="False" for that page.
Set CausesValidation="False" for that button.
it will work.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.