ASP.NETÖÐFCKeditor_2.6.3ÅäÖÃ
FCKeditor½éÉÜ
¡¡¡¡FCKeditorÊÇÒ»¸ö¹¦ÄÜÇ¿´óÖ§³ÖËù¼û¼´ËùµÃ¹¦ÄܵÄÎı¾±à¼Æ÷£¬¿ÉÒÔΪÓû§Ìṩ΢ÈíofficeÈí¼þÒ»ÑùµÄÔÚÏßÎĵµ±à¼·þÎñ¡£Ëü²»ÐèÒª°²×°ÈκÎÐÎʽµÄ¿Í»§¶Ë£¬¼æÈݾø´ó¶àÊýÖ÷Á÷ä¯ÀÀÆ÷£¬Ö§³ÖASP.Net¡¢ASP¡¢ColdFusion ¡¢PHP¡¢Java¡¢Active-FoxPro¡¢Lasso¡¢Perl¡¢ython µÈ±à³Ì»·¾³¡£
¡¡¡¡¹Ù·½ÍøÕ¾http://www.fckeditor.net/
¡¡¡¡¹Ù·½Îĵµhttp://wiki.fckeditor.net/
¡¡¡¡ÏÂÔصØÖ·http://www.fckeditor.net/download/default.html
Æäʵ²»Í¬°æ±¾µÄFCKeditorÅäÖùý³Ì»ù±¾ÀàËÆ£¬ÕâÀïÄÃ×îеÄ2.63×÷ΪʵÀý½øÐнéÉÜ¡£
FCKeditor°²×°ºÍÅäÖÃ
¡¡¡¡µ½http://www.fckeditor.net£¬ÏÂÔØFCKeditor2.63.zipºÍFCKeditor.NET2.63°æµÄ2¸özip°ü
54com.cn
¡¡¡¡(a) FCKeditor_2.6.3ÊÇÆä×îеÄJavascriptÎļþºÍͼƬµÈ£»
¡¡¡¡(b) FCKeditor.Net_2.6.3.zipÊÇÒ»¸öASP.NET¿Ø¼þDLLÎļþ¡£
¡¡¡¡½«a½âѹËõ£¬µÃµ½FCKeditorµÄºËÐÄÎļþ£¬½«Æ俽±´µ½webÏîÄ¿µÄ¸ùĿ¼Ï£¨½¨Ò飬µ±È»Äã¿ÉÒÔÈÎÒâ·Å£©¡£È»ºó½âѹb,µÃµ½.NETÖ§³ÖµÄÔ´Â룬½øÈ룬binϵÄReleaseÖдæÔÚFCKeditorµÄDLL£¨ÕâÀïÒ²ÓÐdebugÎļþ¼Ð£¬½¨ÒéʹÓÃrelease£©£¬ÎÒÃÇÐèÒªÔÚÏîÄ¿ÖÐÌí¼Ó¶ÔÆäÒýÓü´¿É¡£¡¡ feedom.net
¡¡¡¡1.¹¤³Ìä¯ÀÀÆ÷ÉÏÓÒ¼ü£¬Ñ¡ÔñÌí¼ÓÒýÓã¨Add Reference…£©£¬ÕÒµ½ä¯ÀÀ(Browse)±êÇ©£¬È»ºó¶¨Î»µ½Äã½âѹºÃµÄFredCK.FCKeditorV2.dll£¬È·ÈϾͿÉÒÔÁË¡£Õâʱ£¬FCKPro¹¤³ÌĿ¼Ï¾ͶàÁËÒ»¸öbinÎļþ¼Ð£¬ÀïÃæ°üº¬FredCK.FCKeditorV2.dllÎļþ¡£
feedom.net
¡¡¡¡2.ΪÁË·½±ãRAD¿ª·¢£¬ÎÒÃÇ°ÑFCKeditor¿Ø¼þÒ²Ìí¼Óµ½VSµÄ¹¤¾ßÏ䣨Toolbox£©ÉÏÀ´£¬Õ¹¿ª¹¤¾ßÏäµÄ³£ÓñêÇ©×飨General£©£¬ÓÒ¼üÑ¡Ôñ×é¼þ£¨Choose Items…£©£¬ÔÚ¶Ô»°¿òÉÏÖ±½ÓÕÒµ½ä¯ÀÀ°´Å¥£¬¶¨Î»FredCK.FCKeditorV2.dll£¬È»ºóÈ·ÈϾͿÉÒÔÁË¡£ 54ne.com
¡¡¡¡3.¡¡ÅäÖÃWebConfig£¬ÔÚ<appSettings>½ÚµãÌí¼Ó£¬ÈçÏÂËùʾ£º
<appSettings>
<add key="FCKeditor:BasePath" value="/Web/fckeditor/"/>
<add key="FCKeditor:UserFilesPath" value="/Web/Upload/" />
</appSettings>
¡¡¡¡ËµÃ÷£º"/Web/"ÊÇÏîÄ¿Ãû³Æ¡£
¡¡¡¡BasePath£ºfckeditorÊÇFCKeditorÕû¸öÎļþ¼ÐËùÔÚµÄĿ¼¡£
¡¡¡
Ïà¹ØÎĵµ£º
1¡¢½¨Á¢Ò»¸öWebÓ¦ÓóÌÐòÏîÄ¿£¬Òª´´½¨½â¾ö·½°¸²¢´´½¨½â¾ö·½°¸Ä¿Â¼£¬ÒÔºó¿ÉÒÔ¸ù¾ÝÐèÒª´´½¨ÆäËûÏîÄ¿£¬È磺Àà¿â
2¡¢ÓÃaspnet_regsql¹¤¾ßÉú³ÉloginµÈ¿Ø¼þÐèÒªµÄºǫ́Êý¾Ý¿â±í
3¡¢°ÑÕâЩ±íºÍloginµÈµÇ½¿Ø¼þÁªÏµÆðÀ´£¬ÕâÀï×îºÃµÄ·½·¨ÊÇʹÓÃIISÍøÕ¾ÊôÐÔÀïÃæµÄASP.NET±êÇ©£¬ÔÚÄÇÀï¿ÉÒÔ±à¼ÅäÖÃÎļþ
Æäʵ ......
1 ʾÀýxmlÎļþ model.xml
<?xml version="1.0" encoding="utf-8" ?>
<DrRoot>
<SiteName>xml²Ù×÷ʾÀý</SiteName>
<SiteUrl>www.abc.com.cn</SiteUrl>
.net¿ªÔ´ÂÛ̳
<SiteKeyWord>xml²Ù×÷ʾÀý</SiteKeyWord>
<FileType>gif|jpg| ......
(1)ÔÚWEBÒ³ÃæÉϼÓÈëJS½Å±¾ºÍ´æ·ÅListBoxʼþµÄÒþ²ØÊäÈë¿ò,LISTBOXÊÇÓÃÀ´±£´æʱ¼äµÄÃû³Æ,ÔÚCSÒ³ÃæÓõ½:ÆäJS´úÂëÈçÏÂ:
<script language="javascript">
function ListBox1_DoubleClick() {
/* we will change value of this hidden field so t ......
JavaScriptʵÏÖ£º
<mce:script type ="text/javascript" ><!--
function readWord()
{
var div1=document .getElementById ("div1");
var WordApp,WordDoc,Str;
WordApp =new ActiveXObject ("Word.application");
WordDoc =WordApp.Documents.Open("F:\\¹¤×÷ÈÕÖ¾.doc");
......
µ±Ò»¸öÍøÒ³ÖмÈÓÐÊý¾ÝÑéÖ¤¿Ø¼þ£¬ÓÖÓÐÒ»¸ö°´Å¥ÔÚµã»÷ʱ³öÏÖÌáʾ°´Å¥¡£
Èç¹ûÖ±½ÓÔÚÒ³ÃæµÄºǫ́´úÂëµÄPage_Loadº¯ÊýÖÐдÈëbtn.Attributes["Onclick"] = "return confirm('È·¶¨Òª±£´æÊý¾Ý£¿')"£¬ÄÇôÑéÖ¤¿Ø¼þ¾Í»áʧЧ£¬ÒòΪÑéÖ¤¿Ø¼þÒ²ÊÇͨ¹ýjsʵÏֵģ¬ÕâÑùµÄ»°return confirm('È·¶¨Òª±£´æÊý¾Ý£¿')ÏÈÓÚÔÀ´µÄjs´úÂëÖ´ÐУ¬Ì ......