The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
I am looking for a Rich Text Box , kind of one used in forum or may be somethinglike that.
I got one from http://www.kevinroth.com/rte/demo.htm but cant pass data from one page to another.
Any help will be highly appreciated.<
I got one from http://www.kevinroth.com/rte/demo.htm but cant pass data from one page to another.
Any help will be highly appreciated.<
نوشته شده در
Have a search, a few people have tried to set up RTEs in Snitz in the past. I don't know if any were ever finished though.
Just out of curiosity, what do you mean by "cant pass data from one page to another"?<
Just out of curiosity, what do you mean by "cant pass data from one page to another"?<
نوشته شده در
When I press " Submit", I cant get the data in next page.May be some error from my side.<
نوشته شده در
Is the form value empty? What about the other form values?<
نوشته شده در
WebWizGuide has a RTE app that you could probly use, i think they also have this set up on there forums as well.
maybe that will be a good place to start<
maybe that will be a good place to start<
© 1999-2010 MaD2ko0l
نوشته شده در
:-)
Thanks a lot all.
I am using a RTE .. working sample demo you will find at
http://www.getfunds.info/cattes/add.asp
Now, when I submit, value in RTE(Name is 'Message') , always passes as "Put your display content here" or whatever is default to the next page.It does pass the modified or edited text.
Any Suggestion ?
Let me know if you want to have a look at the script. I will post txt file.<
Thanks a lot all.
I am using a RTE .. working sample demo you will find at
http://www.getfunds.info/cattes/add.asp
Now, when I submit, value in RTE(Name is 'Message') , always passes as "Put your display content here" or whatever is default to the next page.It does pass the modified or edited text.
Any Suggestion ?
Let me know if you want to have a look at the script. I will post txt file.<
آخرین ویرایش توسط
نوشته شده در
I'd check your code changes - I suspect that there is some missing JavaScript or something. This really is a question for the support at wherever you got the RTE from (if they provide support) since it seems to be an issue with the RTE itself...
Or you can try to get a hold of Nathan, and get what he was working on since (to the best of my knowledge) it was working fine with Snitz.<
Or you can try to get a hold of Nathan, and get what he was working on since (to the best of my knowledge) it was working fine with Snitz.<
نوشته شده در
Just if you need it :
Code used in the page :
<script language="JavaScript" type="text/javascript" src="richtext.js"></script>
<TR>
<TD>
<p align="right"><i>Details : Please include brief details</i> :
</TD>
<TD >
<script language="JavaScript" type="text/javascript">
<!--
function submitForm() {
//make sure hidden and iframe values are in sync before submitting form
//to sync only 1 rte, use updateRTE(rte)
//to sync all rtes, use updateRTEs
updateRTE('Message');
//updateRTEs();
alert(document.form2.Message.value);
//change the following line to true to submit form
return true;
}
//Usage: initRTE(imagesPath, includesPath, cssFile)
initRTE("image/", "", "");
//Usage: writeRichText(fieldname, html, width, height, buttons)
writeRichText('Message', '<b>Put your display content here </b>', 550, 200, true, false);
//uncomment the following to see a demo of multiple RTEs on one page
//document.writeln('<br><br>');
//writeRichText('Message', 'read-only text', 550, 100, true, false);
//-->
</script>
Here is the javascript used :
http://www.get2funds.info/cattest/richtext.js
<
نوشته شده در
I guess I have resolved it..
I will keep updated this forum
<
نوشته شده در
A small issue :
After saving the data in my DB, how to retrieve it in formatted ?
<!--
function submitForm() {
//make sure hidden and iframe values are in sync before submitting form
//to sync only 1 rte, use updateRTE(rte)
//to sync all rtes, use updateRTEs
updateRTE('Message');
//updateRTEs();
//alert(document.form2.Message.value);
//change the following line to true to submit form
return true;
}
//Usage: initRTE(imagesPath, includesPath, cssFile)
initRTE("image/", "", "");
//Usage: writeRichText(fieldname, html, width, height, buttons)
writeRichText('Message', '', 550, 200, true, false);
//uncomment the following to see a demo of multiple RTEs on one page
//document.writeln('<br><br>');
writeRichText('Message', 'read-only text', 550, 100, true, false);
//-->
</script>
In below Line
writeRichText('Message', 'aaa', 550, 200, true, false);
In place 'aaa', I want to display some value from my db.
Any Suggestions ?
<
After saving the data in my DB, how to retrieve it in formatted ?
<!--
function submitForm() {
//make sure hidden and iframe values are in sync before submitting form
//to sync only 1 rte, use updateRTE(rte)
//to sync all rtes, use updateRTEs
updateRTE('Message');
//updateRTEs();
//alert(document.form2.Message.value);
//change the following line to true to submit form
return true;
}
//Usage: initRTE(imagesPath, includesPath, cssFile)
initRTE("image/", "", "");
//Usage: writeRichText(fieldname, html, width, height, buttons)
writeRichText('Message', '', 550, 200, true, false);
//uncomment the following to see a demo of multiple RTEs on one page
//document.writeln('<br><br>');
writeRichText('Message', 'read-only text', 550, 100, true, false);
//-->
</script>
In below Line
writeRichText('Message', 'aaa', 550, 200, true, false);
In place 'aaa', I want to display some value from my db.
Any Suggestions ?
<
آخرین ویرایش توسط
نوشته شده در
dont u just replace aaa with somthiing liek " & strDBNTUserName & "
that will display the user name to u.
does that help?<
that will display the user name to u.
does that help?<
© 1999-2010 MaD2ko0l
Email Member
Message Member
Post Moderation
بارگزاری فایل
If you're having problems uploading, try choosing a smaller image.
پیشنمایش مطلب
Send Topic
Loading...