473,323 Members | 1,574 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

UserContyrol, MasterPage and AutoEventWireUp

Hi All
I have UserControl with "AutoEventWireUp="true" Property, and I
have drop this User Control on the Master Page

MasterPage has:
<%@ Master Language="C#" AutoEventWireup="true" ...../>
I have content page using this Master page
If I use "AutoEventWireup="true" on the Content Page's Page
directive, The Page_Load event of UserControl don't fire
and If I use AutoEventWireup="false" on the Content Page's Page
directive, The Page_Load event of the Usercontol does fire,

Actually It should be other way, Can any one answer this question: why
it behavious like this?

Thansk In Advance

Oct 1 '07 #1
0 1141

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Alexander Widera | last post by:
Hi, the situation is the following: There is this masterpage: <%@ Master Language="C#" AutoEventWireup="true" CodeFile="mymaster.master.cs" Inherits="mymaster" %> <%@ Register...
4
by: Alexander Widera | last post by:
Hi, it is possible to set the browser dependent masterpage in the web.config, and how? in the page attributes it is an easy way, but in the web.config? In the page-tag it would look like...
2
by: K B | last post by:
Hi, I created a simple MasterPage, then created a content page. I've checked that my MasterPage HTML is correct, but when I run the content page, I get a blank page in IE. My content page is...
2
by: K B | last post by:
Hi, I have a basic master page with a title bar and two content placeholders. Then I created a new aspx page with that MasterPage. I added one label control to the content holder as a test. ...
3
by: MRW | last post by:
I have a simple linkbutton and a function when it's clicked. It works perfectly in a regular .aspx page. However, when I place it inside the ContentPlaceHolder, it no longer works. It does...
6
by: =?Utf-8?B?QmVuIFIu?= | last post by:
Hi, WHen I specify my master page in the page's @Page directive, no problems. However, when I put it ias an attribute in Web.config's page element, the designer fails. It just says "Error...
7
by: Bon | last post by:
Dear all I create a master page with image buttons on the left-hand side for navigation. When a user clicks the student button, the content (i.e. ContentPlaceholder) in masterpage will be...
2
by: gabe | last post by:
Hi, We have a number of projects that will use the default 'Root Namespace' option in the project properties box. There will be a common Master Page that will be used among the projects. I'd...
8
by: Randy Smith | last post by:
Hi, I now need to add MasterPages to a number of existing forms, but when I add the code for MasterPage, the MasterPage does NOT appear when it runs. Any thoughts? TIA, Randy Smith
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.