Solved

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

Posted on 2010-09-04
5
448 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 16

Accepted Solution

by:
Vikram Singh Saini earned 250 total points
ID: 33605992
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:Greg Gamble
Greg Gamble earned 250 total points
ID: 33607321
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
ID: 33650818
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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

636 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