473,399 Members | 3,919 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,399 software developers and data experts.

Allowing users to edit a page

Hi,

Im after some advise on how to go about this problem.

I have a master page with nice header and side bar setup. I then have
various aspx pages that use this master page. I want one of the aspx pages to
be editable by a user. This saves me having to doing any of the changes.

Should I give them access to a public folder for an HTML page that I then
include in the website. What are the best ways to tackle this kind of
scenario.

Thanks

Neil
Oct 6 '06 #1
3 1438
It depends on the depths of the edit. Examples:

User needs to edit the entire HTML
Options:
1) Allow edit of ASPX page - chance of destroying code
2) Create an HTML page for content and allow edit. Use that page to build
the ASPX page dynamically (can be cached to avoid remake every trip - some
risk of blow up, but it is low if the user does not get into JavaScript (for
example)
3) Create a tool that places HTML in a database and pull from there - also
some risk, esp. with JavaScript

User needs to edit pieces, like calendar events
Best option: Find a calendar piece (open source?) or build one

As much as possible, if you can create a situation where the user is merely
changing "data", it is better.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"Neil Steventon" <Ne***********@discussions.microsoft.comwrote in message
news:14**********************************@microsof t.com...
Hi,

Im after some advise on how to go about this problem.

I have a master page with nice header and side bar setup. I then have
various aspx pages that use this master page. I want one of the aspx pages
to
be editable by a user. This saves me having to doing any of the changes.

Should I give them access to a public folder for an HTML page that I then
include in the website. What are the best ways to tackle this kind of
scenario.

Thanks

Neil

Oct 6 '06 #2
Neil Steventon wrote:
I have a master page with nice header and side bar setup. I then have
various aspx pages that use this master page. I want one of the aspx
pages to be editable by a user. This saves me having to doing any of
the changes.
"Web Part Pages" may not be what you are after but do take a look at this
technique.

Ebbe
Oct 6 '06 #3
Thank you, looks interesting think Ill start reading up on webparts , sounds
like it will help.

Thanks

Neil
"Ebbe Kristensen" wrote:
Neil Steventon wrote:
I have a master page with nice header and side bar setup. I then have
various aspx pages that use this master page. I want one of the aspx
pages to be editable by a user. This saves me having to doing any of
the changes.

"Web Part Pages" may not be what you are after but do take a look at this
technique.

Ebbe
Oct 6 '06 #4

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

Similar topics

5
by: Mark Feller | last post by:
I want to provide users a page where they can browse entries in a database 10 at a time, for example. I am doing this as a table, where each row is a database entry. I want to be able to give the...
7
by: jsale | last post by:
I'm currently using ASP.NET with VS2003 and SQL Server 2003. The ASP.NET app i have made is running on IIS v6 and consists of a number of pages that allow the user to read information from the...
2
by: UJ | last post by:
I have a login page that is specified in my web.config in the authentication section. The code is: <authentication mode="Forms"> <forms name="Login" loginUrl="common/Login.aspx"...
2
by: CJ | last post by:
I have a datagrid that for the sake of example has Name, Address, City, State and Zip I would like to block the edit on "City" column of the grid while allowing edits on the remaining columns. ...
1
by: Ed | last post by:
I am trying to create a access database that will allow a "user" to login, and only view/change only the material they have entered. Also allowing a administrator to view all the data, and create...
3
by: Gary T via AccessMonster.com | last post by:
I have a couple of lulus here but I'll address the other one in "Queries". This one pertains to allowing users with read-only access to use the database whilst a person with admin access is using...
0
by: darrel | last post by:
I'm designing a web app that I'd like to be able to allow end-users the ability to modify the HTML pages (aspx) layout/template without actually having to be .net developers running vs.net For...
1
by: halamazoo | last post by:
I'm trying to create the necessary framework to allow users to log into my website. I have already created the backend using a MySQL database. The part that I'm hung up on is being able to pass...
5
by: sasimca007 | last post by:
Hello friends, In my project i am using a page common to all users. In that i have multiple text boxes. I wrote code like when user wants to edit the value already in that...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.