473,594 Members | 2,812 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WebParts for Content Management

I have a question relating to WebParts implementation - I am trying to
build a web part as a user control that can be used to manage content
in a CMS. I have read a lot about the creation of web parts, editing
web part properties etc, but I am struggling to find a straightforward
solution - I was hoping that someone out there could shed some light.

It is really straightforward application: A Label should display
content, and the content should be editable in line by using a textbox.
In the long term we need to incorporate an HTML editor so that the
format of the text can be changed. But in the meantime I just need a
way of editing the Text of this label. Should it be done by having the
Text as a property of the user control and then editing the text by
using a Custom Editor Grid to change the value? Using this method is it
possible to edit inline?

The only way I have seen of editing properties inline is from the
microsoft asp.net quickstart tutorials, where they add a display mode
and use a MultiView to display the Label or the Textbox according to
the display mode currently selected:
http://www.asp.net/QuickStart/aspnet...playmodes.aspx

However, I would like to have a custom verb "Edit Content" in each user
control so that the user can edit one section at a time.

Also, given that this is a CMS where only one adminsitrator will be
editing and configuring the site, should the content of the webparts
modules be stored as a string in the personalisation provider database
or does it make more sense to have the data reside in the CMS database
that will be used to store the Channels, Pages, etc...?
--
DotNetStevO, MCAD

Jun 6 '06 #1
0 1077

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

Similar topics

12
3180
by: jonathan.beckett | last post by:
Hi All, For the past few months I have been working on an open source Apache/PHP/MySQL content management system - and have recently made it available for download. It's still very much a work in progress (current release version is 0.4.6), but you should get a very good idea of what it's about by visiting the site (which uses it, funnily enough), or downloading a copy of it and trying it out.
0
2302
by: jonathan.beckett | last post by:
Hi All, I have just made version 0.4.8 of the PluggedOut CMS Content Management System available for download - it's free, and covered by the GPL. It's still very much a work in progress (current release version is 0.4.8), but you should get a very good idea of what it's about by visiting the site (which uses it, funnily enough), or downloading a copy of it and trying it out.
0
2124
by: Scott Abel | last post by:
For immediate release: The Rockley Group Content Management Workshop Series Coming to Atlanta, Seattle, Vancouver, Chicago, Washington, DC, Toronto, and Research Triangle Park Learn more: http://www.rockley.com/workshops.htm The Rockley Group Content Management Workshop Series is designed to
10
2260
by: Barbara Alderton | last post by:
I am working with SharePoint 2003. I am using (using C#) an existing webpart as a child control (server control). I need to access/manipulate the HTML that the control outputs prior to rendering it to the the page. The control outputs a list in a one-column table format. I need to access the contents of the rows and output them with restrictions in my own table format. Does anyone have any examples of manipulating the HTML of a server...
1
935
by: VB Programmer | last post by:
I know that webparts will be a big thing in asp.net 2.0. What is the best way to implement this idea in asp.net 1.1 so that everything is as maintainable/modular as possible? User controls? IFrames/frames wtih content pages? Etc...? Your opinion is appreciated. Thanks!
1
1773
by: ryan.mclean | last post by:
Hi all, I have a strange problem and I think it may be something in my web.config . . . but I'm not sure. I have an application that uses webpart (not sharepoint), but the nifty new .net webparts . . . and it works great, we are using sql server for the personalization provider. Parts can be added and used, not obvious error. Close the page open it back up; everything is there. When we debug or publish the project, all of my zones are...
3
2117
by: Bart Van Hemelen | last post by:
I'm working on a project where the user of a site will receive custom content, depending on a set of parameters. The content will all be contained in UserControls (.ascx), that will be used as webparts on a page. We need to add the webparts dynamically to the site, depending on the status of the user: this involves a personalisation of a travel website, so a user can be "before" a trip, "during" a trip and "after" a trip, and depending...
3
1464
by: Q. John Chen | last post by:
I have an INTRAnet site that need to add some content management feature. And I thought that I can use the WebParts. Since this is an internal site, I use Windows authentication so the use don't have to logon. But for authorization, I uses an EXISTING corporate database (nothing to do with aspnet_Membership etc.). In short, I created GenericIdentity and GenericPrincipal for the application so the security part works well. Now my...
3
2151
by: clintonG | last post by:
Why don't we see more WebParts being used on the web? SharePoint gets all the fun? And what are the prevailing opinions be they what they may about the use of WebParts rather than WPF when the context would be the development of a service which enables users to select templates that have pre-established zones which function as content containers on a web page? PopFly has a "build a web page" service for example. I need something similar...
0
7946
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7877
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8253
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8374
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8240
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5411
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3903
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1482
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1216
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.