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
Ïà¹ØÎĵµ£º
µÚÒ»£º
private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); } µÚ¶þ£º
private void Button2_Click( object sender, System.EventArgs e ) { Response.Write( " < script language=javascript>window.location.href=document.URL; < /script&g ......
ÈÏʶASP.NETÅäÖÃÎļþWeb.config
×÷ÕߣºSabine¡¡À´Ô´£ºÈüµÏÂÛ̳
¡¡¡¡Ò»¡¢ÈÏʶWeb.configÎļþ
Web.configÎļþÊÇÒ»¸öXMLÎı¾Îļþ£¬ËüÓÃÀ´´¢´æ ASP.NET Web Ó¦ÓóÌÐòµÄÅäÖÃÐÅÏ¢£¨Èç×î³£ÓõÄÉèÖÃASP.NET Web Ó¦ÓóÌÐòµÄÉí·ÝÑéÖ¤·½Ê½£©£¬Ëü¿ÉÒÔ³öÏÖÔÚÓ¦ÓóÌÐòµÄÿһ¸öĿ¼ÖС£µ±Äãͨ¹ýVB.NETн¨Ò»¸öWebÓ¦ÓóÌÐòºó£¬Ä¬ÈÏÇé¿ ......
Parameter Queries in ASP.NET with MS Access
A selection of code samples for executing queries against MS Access using parameters.
Making use of the ASP.NET 2.0 datasource controls is fine, but it is important to understand how to manually create data access code. Best practice dictates that, at t ......
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 ......