Master page woes!

W

William Buchanan

Hi folks

Why are master pages such a pain?

I have put a search text box and link button on my master page because I
want it on all pages on my site. After lots of juggling with the different
properties I managed to get it to work.

However, any page which has RequiredFieldValidators fail to submit the
search because it seems to check the required fields have been filled in
(which they won't have been). Anyway, to get around this I put some code
into the page load event..... again I seem to have fallen into another trap
here as the linkbutton doesn't seem to submit the page the first time it is
loaded (which I find strange as DOES submit the page if it has already been
submitted by something else first).

So what can I do to be able to submit a search on a master page and not
trigger the RequiredFieldValidators?

Thanks
Will
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,169
Latest member
ArturoOlne
Top