December 21, 2007
The first Rich Text Editor I used was TinyMCE, which I integrated into ASP.Net with a little bit of Javascript code.
Next was FCKEditor, which nearly looks like a word processor embedded into a web page. It integrates with ASP.Net through a .Net component that you simply drop on an ASPX form.
Today I came across NicEdit, which converts a DIV or INPUT into a Rich Text control. Whereas Tiny and FCK combine edit field and menus into a single block, Nic leaves the controls as they are, and provides a separate single menu bar for all controls on the page.
Have a look!
Leave a Comment » |
ASP.Net, Javascript |
Permalink
Posted by devio
December 11, 2007
The FormView controls supports 3 modes: ReadOnly, Edit and Insert. The FormViews in one of the applications I develop typically have a table in each template for layout, some controls to display or edit values, and a button bar at the bottom.
The button bar is different for each of the modes: in ReadOnly, it contains an “Edit” button; for Insert, it has a “Create” button, and in Edit mode, it shows “Save”, “Cancel”, and “Delete”.
In a database application, deletion of records is usually not trivial. The database table may be part of a constraint, so the record has to be checked for references to decide whether deletion is possible. Read the rest of this entry »
1 Comment |
ASP.Net |
Permalink
Posted by devio
December 5, 2007
In my previous post I described how to load XML documents containing undeclared namespaces.
Of course, I did not have to wait too long for the next show-stopper to come up: As soon as a document contains an HTML entity (like etc.), loading fails due to the undeclared entity.
I finally found some tips on entity resolvers in this article, and a code fragment of how to embed entity declarations in .Net resources here.
1 Comment |
C# |
Permalink
Posted by devio
December 4, 2007
I tried to load the source code of an .aspx page as an XmlDocument, but immediately ran into the XmlException “asp is an undeclared namespace”.
So I tried to figure out different ways of declaring namespaces for XmlReader or XmlTextReader, but no matter how I tried to convince the XmlNamespaceManager to accept the asp namespace, I always ended up with this error message.
Until I came across XmlParserContext.
Read the rest of this entry »
2 Comments |
ASP.Net, C# |
Permalink
Posted by devio
December 3, 2007
Recently I needed to demo a ticketing application, and I chose to give Trac a try. However, I soon ran into version and compatibility problems, but after selecting the correct versions of the Trac components, I finally got the application to run.
You need:
Read the rest of this entry »
2 Comments |
TRAC, Windows |
Permalink
Posted by devio