Dragging Control to Content Page

G

ghostwolf

Hi, I've created a Master Page and there is another page "A.aspx" which
links to this Master Page. But why I can't drag n drop the Control from the
Toolbox to the "ContentPlaceHolder" in "A.aspx". As I know, the Master Page
is as a template of other pages, that means, we can use this template to
create several pages with different details. Thus, it should be allowed to
me for putting different items in the A.aspx. Thanks in millions.
 
M

Mario Vázquez

The designer does not let you do this because probably you don't have a
Content control in your A.aspx.
At design time you can automaticaly add it with the context menu that
appears when you click on the contentPlaceHolder in A.aspx.
Ever you insert an asp:Content control in a page linked to a master, the
master content will be replaced with the content of this content control.
So, if you don't insert a content control, the master content will be taken.

Hope this will help you

Mario Vázquez
 

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,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top