473,378 Members | 1,422 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,378 software developers and data experts.

Help: RTF Control for Web Page

Hi All,

Hoping someone has done something like this in the past. I'm trying
to work out the best way to add an RTF control to my web page and save
it's contents as html back to a database.

Currently I have a page with a textbox. The user enters plain text
and hits save. The text is stored to the database. Simple as.
However I'm looking to enhance this so that the user has U, B, I and
hyperlink features similar to the way you create an email in yahoo
mail or hotmail. It can be assumed all users are using the windows
platform so ActiveX is fine. The main problems I'm having are:

1) How to collect the data from the (say ActiveX) component when the
user clicks save.

2) I'd prefer not to write this from scratch, though if I do I'm
quite comfortable with VB.Net and VB6 incl. writing ActiveX controls.

Hope to hear about your experiences and advice!

Thanks,

Stewart
Nov 18 '05 #1
5 1831
have a look at http://www.freetextbox.com/

its not an active X control... but pure asp.net webcontrol... when you post
the data.. on serverside you can read the html directly.

hope that helps

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Stewart" <wi**************@yahoo.com.au> wrote in message
news:3e*************************@posting.google.co m...
Hi All,

Hoping someone has done something like this in the past. I'm trying
to work out the best way to add an RTF control to my web page and save
it's contents as html back to a database.

Currently I have a page with a textbox. The user enters plain text
and hits save. The text is stored to the database. Simple as.
However I'm looking to enhance this so that the user has U, B, I and
hyperlink features similar to the way you create an email in yahoo
mail or hotmail. It can be assumed all users are using the windows
platform so ActiveX is fine. The main problems I'm having are:

1) How to collect the data from the (say ActiveX) component when the
user clicks save.

2) I'd prefer not to write this from scratch, though if I do I'm
quite comfortable with VB.Net and VB6 incl. writing ActiveX controls.

Hope to hear about your experiences and advice!

Thanks,

Stewart

Nov 18 '05 #2
Hi Stewart,

I am not sure whether your idea of making an RTF control using ActiveX.
But majority of RTF controls that you see in daily life in web applications
are build using Javascript and IFRAME tags.
You can search in google for some free RTF controls (i guess you can get it
in first shot)
Idea: in a webpage they have a IFRAME and this iframe uses a different page
which is an HTML.
The javascript has inbuilt functions which take care of making the selected
text bold , italics, underline..etc..for the selected text in the HTML page
in
the IFRAME.

For eg: the options like bold,italics, text alignment..etc..etc..that you
see in yahoo or hotmail advanced editors...are all built into the
javascript only thing is you need to call them on click of button say bold
button.

You can try this
http://www.webwizguide.info/asp/samp...pplication.asp

Hope this helps you.

Thanks
Raghavendra

"Stewart" <wi**************@yahoo.com.au> wrote in message
news:3e*************************@posting.google.co m...
Hi All,

Hoping someone has done something like this in the past. I'm trying
to work out the best way to add an RTF control to my web page and save
it's contents as html back to a database.

Currently I have a page with a textbox. The user enters plain text
and hits save. The text is stored to the database. Simple as.
However I'm looking to enhance this so that the user has U, B, I and
hyperlink features similar to the way you create an email in yahoo
mail or hotmail. It can be assumed all users are using the windows
platform so ActiveX is fine. The main problems I'm having are:

1) How to collect the data from the (say ActiveX) component when the
user clicks save.

2) I'd prefer not to write this from scratch, though if I do I'm
quite comfortable with VB.Net and VB6 incl. writing ActiveX controls.

Hope to hear about your experiences and advice!

Thanks,

Stewart

Nov 18 '05 #3
"Stewart" <wi**************@yahoo.com.au> wrote in message
news:3e*************************@posting.google.co m...
Hi All,

Hoping someone has done something like this in the past. I'm trying
to work out the best way to add an RTF control to my web page and save
it's contents as html back to a database.


Hmm, maybe you should look for an HTML control instead of an RTF control?

MCM

Nov 18 '05 #4
Hi Everyone,

Thanks for your advice. I've decide to go with the asp.net control
offered by freetextbox.com. It plugs straight into your .net project
and is so easy to customise. I particularly like how you can select
which attributes (eg B, U, I, Font Size, Hyperlink etc) you want to
allow users to change.

Can't rate it highly enough. It's free but will probably buy source
to support them in this case.

Once again,

Thanks

Stewart
Nov 18 '05 #5
Hi Everyone,

Thanks for your advice. I've decide to go with the asp.net control
offered by freetextbox.com. It plugs straight into your .net project
and is so easy to customise. I particularly like how you can select
which attributes (eg B, U, I, Font Size, Hyperlink etc) you want to
allow users to change.

Can't rate it highly enough. It's free but will probably buy source
to support them in this case.

Once again,

Thanks

Stewart
Nov 18 '05 #6

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

Similar topics

2
by: Daniel | last post by:
I'm new to .Net and all of its abilities so I hope this makes sense. Basically I'm confused on when is the appropriate time to use web forms controls vs. regular HTML. For example in ASP...
13
by: Lloyd Sheen | last post by:
I have now spent 5 hours on google/msdn looking for something useful in the creation of user controls for asp.net. The VS 2003 has very limited support for things such as absolute positioning of...
2
by: paul meaney | last post by:
All, myself and another developer have been staring blankly at a screen for the past 48 hours and are wondering just what stunningly obvious thing we are missing. We are trying to load up 2...
10
by: Bharat | last post by:
Hi Folks, Suppose I have two link button on a page (say lnkBtn1 and lnkBtn2). On the click event of the lnkbtn1 I have to add a dynamically created control. And On the click event of the lnkBtn2 I...
5
by: Dan Nash | last post by:
Hi all, I've got a page with a user control on, added via VS. I'm trying to get to a property of the user control (or more precisely, a public var). Here's the code at the top of my aspx...
3
by: Tim::.. | last post by:
Can someone please help.... I'm having major issues with a user control I'm tring to create! I an trying to execute a sub called UploadData() from a user control which I managed to do but for...
5
by: serge calderara | last post by:
Dear all, I am new in asp.net and prepare myself for exam I still have dificulties to understand the difference between server control and HTML control. Okey things whcih are clear are the fact...
1
by: keith.walter | last post by:
My first asp.net app is almost "done" and I am stuck. Here is my situation: I have a "mother" page add_customer.aspx and a"child" user control add_group.ascx. On the mother page is an "add...
53
by: Hexman | last post by:
Hello All, I'd like your comments on the code below. The sub does exactly what I want it to do but I don't feel that it is solid as all. It seems like I'm using some VB6 code, .Net2003 code,...
3
by: Robert Dufour | last post by:
I am trying to localize a very simple web site (english and french) I have a master page and one content page for now. On the master page I have placed a Localize control On the content page I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...

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.