-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: true-developer
Message 1 in Discussion
Dear All I am developing a rich text user control in asp.net. I have created the
control using Iframe. The control is working fine. I have few questions regarding
Iframe. If any one could reply these question I will be high thankful. 1. Suppose I
have save the data of rich text control in the database, How can we reload its same
data from database. Currently I am loading its data with the following statements
If objClauseRepository.ClauseContents <> "" Then
strClauseContents = "<script language='JavaScript'>iView1.document.write('" &
objClauseRepository.ClauseContents & "');</script>"
Else
strClauseContents = ""
End If
and at the end of web form I am using this statement <%=strClauseContents %>
Problem is this if data comming from DB has any double quote or single quote it show
Javascript error. How can i avoid this error.
2. Iframe Adds blank line whenever I press enter key on it. How can to avoid this
blank line.
Regards
True-Developer
-----------------------------------------------------------
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]