Master Page and Content Page

M

MarcAlexander

I have a master and a content page.
All tags like html, form, scriptmanager, etc are on the master page.
In the content page there is only the content and a reference to the master
page file.

I have derived some classes like own Buttons and TextBoxes which are part of
the content.
In these classes, Events like Click and TextChanged are assigned to Methods.
But the events do not happen.

If I put all tags of the master page into the content page and have no
master page, the events are back.

So why are there no events if I use a master page and how can I get the
events back using a master page ?

I have a Windows 7 Ultimate System.
 
N

Nathan Sokalski

I am not yet using Windows 7, but it is usually the browser and browser
version that is more important for ASP.NET. Anyway, for anybody to really
help you here, I think you will need to post your code, probably the parts
where you declare and handle the events would be most helpful.
 
R

rob^_^

Hi,

Is there a complete postback <form> block in your master page that contains
your Content?

Do not place <form> tags in your content.

Regards.
 

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,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top