I have a button that when clicked produces a PDF report. However I have validation on the page so that if the required fields are left empty when the button is clicked a validation summary appears. This doesn't work though. When the buttons clicked if fields are left empty it just reloads the page, but no validation sumamry shows. When the data is entered and the buttons clicked it brings up the window asking if the document should be opened or saved.
When I run through debug mode with no data entered
if (Page.IsValid)
shows as true each time even when it isn't.
Any ideas?