Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 7th, 2006, 12:21 PM
Authorized User
 
Join Date: Jan 2006
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default make link in text area

when user is typing text into text area and he wants to type in active link also to some internet page how is it done. with vbscript
Just like the button that is used here in this form for bold text,italic text...

(Maybe with button on insertion form that will wrap the link with <a></a> tags)

Any ideas

 
Old November 9th, 2006, 04:16 AM
Authorized User
 
Join Date: Jan 2006
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What is with these WYSIWYG editors how do they function

 
Old November 9th, 2006, 07:53 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi

I can understand what you are trying to say, just go through the URL below, it will fulfill your requirements:

http://www.dynamicdrive.com/dynamici...itor/index.htm

Regards
Mike

Fortune favours the brave, so don't regret on missed oppurtunities.
 
Old November 13th, 2006, 06:08 AM
Authorized User
 
Join Date: Jan 2006
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thnx for this
But the problem is I cant insert content from this rich editor box into database
I dont know hoe to do it

 
Old November 13th, 2006, 08:22 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hey

Thats relatively simple, just make that textarea to runat=server and then fetch the value from server side like txtArea.innerText.

However if this is not your issue, do let us know in detail what problem you are facing while retrieving values

Regards
Mike

Fortune favours the brave, so don't regret on missed oppurtunities.
 
Old November 14th, 2006, 05:21 AM
Authorized User
 
Join Date: Jan 2006
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

<textarea name="memPostContent" cols="50" rows="5"></textarea>

I really dont get it? I have my text area(code above) inside <form action> tag and when Something is writen into this text area and submit button is pressed the content of it is put into Database (blog.mdb)

But with this editor it does not happen because somehov my from I guess is not correctly linked with this rich editor??
And what is this field in rich editor where I can type text in is this also text area or div tag or what is it ??
Should I replace editor's text area with my text area or what

Thnx for any advice
saban

 
Old November 14th, 2006, 06:39 AM
Authorized User
 
Join Date: Jan 2006
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I really dont get this I somehow managed to insert record that is already pre-written in text editor bu if I type something in rich editor then it does not appear in database

 
Old November 15th, 2006, 11:18 AM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 550
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi

I am not getting exactly what you are doing, but just try this

Request["YourTextareaname"].ToString()

what does this gives you?

Regards
Mike

Fortune favours the brave, so don't regret on missed oppurtunities.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Text area Wenggo VBScript 5 September 20th, 2008 07:21 PM
Submit text to main page from text area... user0b PHP How-To 2 June 30th, 2008 09:52 PM
Need help: Not able to Assign Value to a Text Area steveleong Classic ASP Professional 3 February 20th, 2008 09:15 PM
text area box shoakat Classic ASP Databases 2 September 11th, 2004 07:28 AM
text in limited area alittlebitter32 Dreamweaver (all versions) 4 July 8th, 2004 10:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.