Results 1 to 2 of 2

Thread: [2005] Multiple Page directives?

  1. #1

    Thread Starter
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765

    [2005] Multiple Page directives?

    Hey guys, I've got abit of a problem. I need to turn off event validation for a page, but that page is including multiple user controls, and I only need event validation off for one of those, and as is my understanding, you can only turn off event validation in the page directive in a web page, not a user control.

    Is there a way to turn it off at perhaps Page_Load of the web page? (I'm loading the controls using a placeholder if that helps any)

    Thanks
    Don't Rate my posts.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Multiple Page directives?

    Bottom part of this article.

    http://aspnet.4guysfromrolla.com/articles/122006-1.aspx

    I would go with the base page suggestion, but depends on your existing project.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width