Solved

How do I nest a content form inside another content form in asp.net in c# csharp?

Posted on 2010-09-04
5
438 Views
Last Modified: 2012-08-14
I have a master page, and a content form inside it, let's call it X. Now I want to add a content form inside of x, let's call it y.

It seems a content form must have a master page, and I can't seem to do it.

The reason I want to do this, is because I want to allow a user to only change the content of form Y, so that they have no control over X. Content form Y will be in another folder, and the user will ftp only to that one.

So, can I nest a content form inside another content form? Thanks!!

By the way, the only thing that will be in this form is simple html tags and text, nothing fancy.
0
Comment
Question by:yaronusa
5 Comments
 
LVL 16

Accepted Solution

by:
Vikram Singh Saini earned 250 total points
Comment Utility
Hi,

The question you are asking is making us confuse...

I have a master  page, and a content form inside it
So the content form referred here is the .aspx page or the <form> tag in Master page?

It seems a content  form must have a master page, and I can't seem to do it.
Why you are not able to do it?

If I assume that you are talking about .aspx page as content form. And you are trying one content form into another content form. So in that case we cannot merge tow forms.

So, can I nest a  content form inside another content form?No nesting of content form is not allowed in asp.net but master pages nesting is allowed.

The reason I want  to do this, is because I want to allow a user to only change the content  of form Y, so that they have no control over X
Use appropriate logics to prevent user from modying form X. Try using panel instead of form.

Regards,
VSS
0
 
LVL 5

Assisted Solution

by:bmxer
bmxer earned 250 total points
Comment Utility
Master pages can be nested.  The content place holder that your referring to is where the content goes for a given master page

For your problem, I'd simply add a separate content place holder in the master-page.
0
 

Author Closing Comment

by:yaronusa
Comment Utility
Thank you. I ended up using a Master Page, and then a Nested Master Page, and then a Web Content Form, with the idea that I will put the Web Content Form in a folder that will be controlled via FTP.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now