|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
ASP.NET and WYSIWYG Editor: IFrame as HTML Control?
To all who may be interested:
Based on the sample code available on devArticles.com, I am currently attempting to develop a WYSIWYG Editor ASP.NET server control of my own. That being the case, I would like to pose this question to you all: is it possible to run the IFrame as an ASP.NET HTML control and, if so, may I then use the IFrame's Text property to read/write from/to the control? If so, then that would save me a great deal of coding time. If not, then might someone know how to read/write to the IFrame and expose a Text property for use in ASP.NET? How does EditWorks Pro accomplish this task? Thank you all for your help. Have a good one! |
|
#2
|
|||
|
|||
|
Hey Im the guy who made ewp.net!
EWP.NET does not use IFRAME control, but uses hidden field control !
__________________
Regards, James Yang .NET Developer / Network Engineer MCSE, MCDBA, MCSA, CCNA http://www.yellowpin.com/ http://www.opentechsupport.com/ |
|
#3
|
|||
|
|||
|
How Does the Hidden Control Update?
To James:
When you say that "EWP.net does not use IFRAME control, but uses hidden field control," I assume that you mean EWP.NET uses the IFrame HTML element but then stores the output from the IFrame within the hidden HTML server control, correct? If so, then how is this accomplished - whenever the IFrame is changed, do you use JavaScript to update the hidden control? I assume then you can expose the hidden control's Text property, yes? Also, I can clearly see how to read from the editor, but how can I write to it? For example, if I have an article saved in a database and I wish to edit it using the WYSIWYG editor, then how do I set the editor's Text property to that of the articles' HTML? Your help would be greatly appreciated. Thank you for your time and have a good one. |
|
#4
|
|||||
|
|||||
|
I don't think I am suppose to tell you this ... Intellectual Property
![]() You see, we are actually selling ewp.net and telling you how it was made mean ...you know what i mean but I ll tell you this much, as there are other things that will come in your way after solving this part. Quote:
that is correct! Hidden HTML Server control is used as an interface between the IFrame and ASP.NET codes. Quote:
This is handled exactly same as the editor used as an example in the WYSIWYG article by mytch! Javascript's OnSubmit event is used to update the hidden control. Yes but not Text...its Value... Hidden Control's Value property... Quote:
Well you just do the reverse of setting the text. If you understand the JS, you should be able to do this. hope this helps |
|
#5
|
|||
|
|||
|
hey dude..
Ben is bugging me now for revealing our code for ewp.net That's the last one one ewp.net source dude!!!! |
|
#6
|
|||
|
|||
|
My Apologies
To James:
I'm sorry for causing you to reveal more than you would've liked regarding EditWorks Pro.NET. Please accept my sincerest apologies. Nonetheless, I truly appreciate your help. Thank you and have a good one. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > ASP.NET and WYSIWYG Editor: IFrame as HTML Control? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|