ASP.NET FCKeditor Îı¾±à¼Æ÷µÄʹÓÃ
ASP.NET FCKeditor Îı¾±à¼Æ÷µÄʹÓà ¡¾×ª¡¿
ÏÂÔصØÖ·£ºhttp://www.fckeditor.net/download
FCKeditorʹÓÃ
Ò»¡¢ÅäÖÃ
1¡¢ÔÚwww.fckeditor.net
µã»÷Download£¬ÏÂÔØFCKEditor_2.5.1.zipºÍFCKEditor.Net(ASP.NET
Control to easily integrate FCKEditor on .Net Web pages.)
2¡¢Ð½¨Ò»ÏîÄ¿£¬±ÈÈç½ÐFCK¡£½âѹFCKEditor_2.5.1.zip£¬ÀïÃæÓиöfckeditorĿ¼¡£°Ñ¸ÃĿ¼Õû¸ö¸´ÖƵ½Ð½¨µÄASP.NETÏîÄ¿¸ùĿ¼Ï¡£´ò¿ªfckeditorĿ¼ÏµÄfckconfig.js£¬Ð޸ĶþÏ
FCKConfig.DefaultLanguage = 'en' ;
¸ÄΪ
FCKConfig.DefaultLanguage =
'zh-cn' ;
-----------------------------------------------------
var
_FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php
| py
¸ÄΪ
var _FileBrowserLanguage = 'aspx' ; // asp | aspx | cfm | lasso
| perl | php | py
var _QuickUploadLanguage = 'aspx' ; // asp | aspx | cfm |
lasso | perl | php | py
3¡¢ÔÚvs05/08µÄ¹¤¾ßÏäÉÏн¨Ò»¸öÃû½ÐFCKEditorµÄTab£¬È»ºóÔÚÀïÃæµãÓÒ¼ü£¬Ñ¡ÔñChoose
Item£¬¶¨Î»µ½½âѹFCKEditor.NetºóÉú³ÉµÄFCKEditor2.51\FCKeditor.Net_2.5\bin\Release\2.0Ŀ¼ÏµÄFredCK.FCKEditorV2.dll¡£¸ÃTabϾͻáÉú³ÉÒ»¸öFCKEditorµÄ.net×é¼þ¡£ÔÚvsµÄDesignģʽÏ°ѸÃ×é¼þÍϷŵ½½çÃæÉÏ¡£µã»÷¸Ã×é¼þ£¬ÔÚÊôÐÔÃæ°åÉÏÉèÖÃBashPathΪ/FCK/fckeditor/£¬×¢ÒâÕâÀïµÄFCK¾ÍÊÇÄ㽨µÄASP.NETµÄÏîÄ¿Ãû³Æ£¬fckeditorΪÏîÄ¿¸ùĿ¼ÏµÄĿ¼Ãû³Æ¡££¨×¢Ò⣺/FCK/fckeditor/Ç°ºóµÄб¸Ü£¬ÉÙÁËÒ»¸ö¶¼²»»áÏÔʾ±à¼Æ÷µÄ£©¡£Ctrl+F5£¡
ÆäËü´ÎÒªÅäÖ㨲»Ó°ÏìʹÓã©£º
* ¿ÉÒÔ°ÑfckeditorĿ¼¼°Æä×ÓĿ¼ÏÂËùÓÐÏ»®Ï¿ªÍ·µÄ·¶Àý¡¢Ô´Îļþɾµô¡£
*
¿ÉÒÔÔÚfckeditorĿ¼ÏÂÖ»±£Áôfckconfig.js¡¢fckeditor.jsºÍ¼¸¸öxmlÎļþ£¬ÆäÓàÈ«²¿É¾µô¡£
*
fckeditorĿ¼ÏµÄeditorĿ¼ÏÂÓиöfilemanagerĿ¼£¬°Ñ¸ÃĿ¼ÏµÄborswer\default\connectorsĿ¼ÖгýaspxĿ¼ÒÔÍâµÄÈ«²¿Ä¿Â¼É¾µô¡£
* ¿ÉÒÔ°Ñeditor\langĿ¼Ï³ýzh-cn.js¡¢en.js¡¢zh.jsÖ®ÍâµÄÈ«²¿É¾µô¡£
¶þ¡¢Í¼Æ¬ÉÏ´«
FCKEditorÖ§³ÖͼƬÉÏ´«¡£¿ÉÒÔÔÚASP.NETÏîÄ¿¸ùĿ¼ÏÂÌí¼ÓһĿ¼£¬ÆðÃûΪUploadFiles.
ÔÚweb.configÀïµÄappSettings¶ÎÀï
<appSettings>
<add
key="FCKEditor:B
Ïà¹ØÎĵµ£º
1. Êý¾Ý¿â·ÃÎÊÐÔÄÜÓÅ»¯
Êý¾Ý¿âµÄÁ¬½ÓºÍ¹Ø±Õ
¡¡¡¡·ÃÎÊÊý¾Ý¿â×ÊÔ´ÐèÒª´´½¨Á¬½Ó¡¢´ò¿ªÁ¬½ÓºÍ¹Ø±ÕÁ¬½Ó¼¸¸ö²Ù×÷¡£ÕâЩ¹ý³ÌÐèÒª¶à´ÎÓëÊý¾Ý¿â½»»»ÐÅÏ¢ÒÔͨ¹ýÉí·ÝÑéÖ¤£¬±È½ÏºÄ·Ñ·þÎñÆ÷×ÊÔ´¡£ ASP.NETÖÐÌṩÁËÁ¬½Ó³Ø£¨Connection Pool£©¸ÄÉÆ´ò¿ªºÍ¹Ø±ÕÊý¾Ý¿â¶ÔÐÔÄܵÄÓ°Ï졣ϵͳ½«Óû§µÄÊý¾Ý¿âÁ¬½Ó·ÅÔÚÁ¬½Ó³ØÖУ¬ÐèҪʱȡ³ö£¬¹Ø±Õʱ ......
Ðí¾ÃÒÔÇ°£¬Ð´¹ýһƪ¡¶asp.netÒ³Öж¯Ì¬¼ÓÈëÑùʽ±íÎļþ¡·£¬ºóÀ´·¢ÏÖÔÚʹÓÃʱÈç¹ûÿҳ¶¼Ð´Õâô¸öº¯ÊýÕæÊǺÜÂé·³£¬ÓÚÊÇ×Ô¼ºÐ´ÁËÒ»¸öPageµÄÅÉÉú¡£½«Õâ¸öº¯Êý¼ÓÁ˽øÈ¥¡£
/**//// <summary>
/// ×÷Õß ×Þ½¡
///  ......
Ò». ʹÓÃQueryString±äÁ¿
¡¡¡¡¡¡¡¡QueryStringÊÇÒ»Öַdz£¼òµ¥Ò²ÊÇʹÓñȽ϶àµÄÒ»ÖÖ´«Öµ·½Ê½£¬µ«ÊÇËü½«´«µÝµÄÖµÏÔʾÔÚä¯ÀÀÆ÷µÄµØÖ·À¸ÖÐ,Èç¹ûÊÇ´«µÝÒ»¸ö»ò¶à¸ö°²È«ÐÔÒªÇ󲻸߻òÊǽṹ¼òµ¥µÄÊýֵʱ£¬¿ÉÒÔʹÓÃÕâ¸ö·½·¨¡£
Response.Redirect( "target.aspx?param1=hello& ......
ÈÏʶASP.NETÅäÖÃÎļþWeb.config
×÷ÕߣºSabine¡¡À´Ô´£ºÈüµÏÂÛ̳
¡¡¡¡Ò»¡¢ÈÏʶWeb.configÎļþ
Web.configÎļþÊÇÒ»¸öXMLÎı¾Îļþ£¬ËüÓÃÀ´´¢´æ ASP.NET Web Ó¦ÓóÌÐòµÄÅäÖÃÐÅÏ¢£¨Èç×î³£ÓõÄÉèÖÃASP.NET Web Ó¦ÓóÌÐòµÄÉí·ÝÑéÖ¤·½Ê½£©£¬Ëü¿ÉÒÔ³öÏÖÔÚÓ¦ÓóÌÐòµÄÿһ¸öĿ¼ÖС£µ±Äãͨ¹ýVB.NETн¨Ò»¸öWebÓ¦ÓóÌÐòºó£¬Ä¬ÈÏÇé¿ ......
Paging long articles in ASP.NET using C#
Long articles are better broken into bite-sized chunks over several pages. With static HTML, this is easily achieved by dividing the article into logical separations and creating separate .htm files for each. Here's how to do it using C# for an article that ......