views:

127

answers:

1

Hi,

I have a RequiredFieldValidator on a textbox and it seems to be firing when the page loads.

If however, I set the Display="Static", this no longer occurs, its only when Display="Dynamic"

My problem though, is I also have a custom validator on the same textbox control so If I set the display to dynamic on both of these controls, both error messages are showing which isn't what I want to happen.

Setting both of them to static throws out the alignment of the messages.

How can I fix this?

A: 

Is the issue on initial page load or when posting the page back to the server?

ahmedel