-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: true-developer
Message 1 in Discussion
I am developing an Editor (UserControl) for ASP.net project. I am using IFrame and
facing following problems in IFrame. 1. How can I set the default font and Text
color for IFrame. I am using the following tag with style but it is not working.
<iframe style="WIDTH: 519px; COLOR: #ff3300; FONT-FAMILY: Arial; HEIGHT: 216px;
BACKGROUND-COLOR: #ffcc00"></iframe> 2. Every time I press enter key it adds one
blank line after text in the Text Area of the Iframe. It is basically adding <p> </p>
every time I press the enter key. How can I avoid this. 3. How to set the text of
IFrame e.g I want to show the saved text from Database in the Iframe. What if Text
coming from DB has some double quotes in it. Currently I am using the following
approach to set the text from DB and it is working fine if text does not have any
double quote. Reason is pretty clear that when ever any double quote appears it break
the string so JS error appears. Is there any solution to this.
strClauseContents = "<script language='JavaScript'>iView1.document.write('" &
DB.Contents & "');</script>"
waiting for reply. Regards Hamood
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]