FCKeditorÔÚasp.netÖеÄÓ÷¨
1.ÏÂÔØ×é¼þ£º£¨ÒªÏÂÔØFCKeditor2.6.5.zipºÍFCKeditor.NET2.6.3°æµÄ2¸özip°ü£©
˵Ã÷£º
FCKeditor2.6.3.zipÊÇÆä×îеÄÎļþºÍͼƬʲôµÄ£»
FCKeditor.NET.zipÊÇASP.NETµ÷ÓõÄDLLÔÚÀïÃæ¡£
2.·Ö±ð½âѹºó°ÑFCKeditor2.6.3.zipÀïµÄfckeditorĿ¼Õû¸ö¸´ÖƵ½ÍøÕ¾ÖС£
3.½âѹFCKeditor.NET.zip°üºóÔÚFCKeditor.Net_2.2\bin\DebugĿ¼ÀïÕÒµ½FredCK.FCKeditorV2.dll£¬½«FredCK.FCKeditorV2.dllÌí¼Óµ½¹¤¾ßÏäÉÏ¡£
4.ÍêÁËÖ®ºó½«¿Ø¼þÍϵ½ÍøÒ³ÉÏ£º
5.ÏÖÔÚÒѾÍê³ÉÁËÌí¼Ó£¬ÏÖÔÚÒª¸ù¾ÝÎÒÃǵÄÐèÒªÀ´ÉèÖÃÁË……
½øÈëFCKeditorÎļþ¼Ð£¬±à¼ fckconfig.js Îļþ¡£
6.
ÐÞ¸Ä
var _FileBrowserLanguage = 'asp' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'asp' ; // asp | aspx | cfm | lasso | php
¸ÄΪ
var _FileBrowserLanguage = 'aspx' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'aspx' ; // asp | aspx | cfm | lasso | php
7. ÅäÖÃÓïÑÔ°ü¡£ÓÐÓ¢ÎÄ¡¢·±ÌåÖÐÎĵȣ¬ÕâÀïÎÒÃÇʹÓüòÌåÖÐÎÄ¡£
ÐÞ¸Ä
FCKConfig.DefaultLanguage = 'en' ;
Ϊ
FCKConfig.DefaultLanguage = 'zh-cn' ;
8.ÅäÖÃƤ·ô¡£ÓÐdefault¡¢office2003¡¢silver·ç¸ñµÈ£¬ÕâÀïÎÒÃÇ¿ÉÒÔʹÓÃĬÈÏ¡£
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
9.ÔÚ±à¼Æ÷ÓòÄÚ¿ÉÒÔʹÓÃTab¼ü¡££¨1ΪÊÇ£¬0Ϊ·ñ£©
FCKConfig.TabSpaces = 0 ; ¸ÄΪFCKConfig.TabSpaces = 1 ;
10.¼ÓÉϼ¸ÖÖÎÒÃdz£ÓõÄ×ÖÌåµÄ·½·¨
ÐÞ¸Ä
FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
Ϊ
FCKConfig.FontNames = 'ËÎÌå;ºÚÌå;Á¥Êé;¿¬Ìå_GB2312;Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana'
11.»ù±¾µÄÊôÐÔÉèÖÃÒѾ²î²»¶àÁË£¬ÒªÉèÖøü¶àÇë²Î¿¼Ò»ÏÂÊôÐÔ±í£º
FCKConfig.CustomConfigurationsPath = '' ; // ×Ô¶¨ÒåÅäÖÃÎļþ·¾¶ºÍÃû³Æ
FCKConfigFCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css'; // ±à¼ÇøµÄÑùʽ±íÎļþ
FCKConfig.EditorAreaStyles = '' ; // ±à¼ÇøµÄÑùʽ±í·ç¸ñ
FCKConfig.ToolbarComboPreviewCSS =''; //¹¤¾ßÀ¸Ô¤ÀÀCSS
FCKConfig.DocType = '' ;//ÎĵµÀàÐÍ
Ïà¹ØÎĵµ£º
Application
1.ApplicationÓÃÀ´±£´æËùÓÐÓû§¹²ÓõÄÐÅÏ¢
2.ÔÚAspʱ´ú£¬Èç¹ûÒª±£´æµÄÊý¾ÝÔÚÓ¦ÓóÌÐòÉú´æÆÚÄÚ²»»á»òÕߺÜÉÙ·¢Éú¸Ä±ä£¬ÄÇôʹÓÃApplicationÊÇÀíÏëµÄÑ¡Ôñ¡£µ«ÊÇÔÚAsp.net¿ª·¢»·¾³ÖÐÎÒÃÇ°ÑÀàËƵÄÅäÖÃÊý¾Ý·ÅÔÚWeb.configÖС£
3.Èç¹ûҪʹÓÃApplication ҪעÒâµÄÊÇËùÓеÄд²Ù×÷¶¼ÒªÔÚApplication_OnStartʼþÖÐÍê³É ......
×î½üÔÚasp.net Óõ½µÄsqlserver´æ´¢¹ý³Ì·ÖÒ³ÖÐÏÔʾÊý¾ÝʱÓöµ½¹ØÓÚÅÅÐòÎÊÌâ¡£
ÍøÉϵÄһЩ·ÖÒ³´æ´¢¹ý³ÌÖ»Ö§³ÖÅÅÐòÁÐΪint ÀàÐÍ£¬¶ÔÓÚʵ¼Ê¿ª·¢Öкܶàʱºò¶¼ÐèÒª¶ÔDateTimeÀàÐÍ£¬varcharÀàÐͽøÐÐÅÅÐò¡£
ÏÂÃæ·ÖÏíһϿÉÒÔÖ§³ÖÈÎÒâÊý¾ÝÀàÐ͵ÄÁнøÐÐÅÅÐòµÄ´æ´¢¹ý³Ì¡£
Create PROCEDURE sp_viewByPage
@TblName var ......
ÔÚÎÒÃÇ´«Í³µÄÍøÕ¾½¨ÉèÖÐͨ³£ÊÇÏÈÉè¼ÆÍøÕ¾Ò³Ã棬ÔÙÀûÓÿª·¢¹¤¾ß£¬ÔÚÍøÕ¾µÄ¿ò¼ÜÄÚ½øÐй¦ÄÜÉè¼Æ¡£ÕâÑùµÄÍøÕ¾½¨Éè´æÔںܶà±×¶Ë£¬ÆäÖÐ×îÍ»³öµÄȱµãÊDz»ÀûÓÚС×鹲ͬ¿ª·¢£¬¸÷»·½ÚÖ®¼äÒÀÀµÐÔÌ«Ç¿¡£
ÔÚASP.NETÖÐÎÒÃÇ¿ÉÒÔÀûÓúǫ́±àÂ룬°ÑHTMLÓû§½çÃæÉè¼Æ£¨ÑÕÉ«¡¢ÃÀѧµÈ£©ÓëÒ³Ãæ´úÂëÇø·Ö¿ªÀ´¡£ÕâÑù¾Í¿ÉÒÔ½â¾öÎÒÃÇС×éµÄ²¢Ðпª·¢ÎÊ ......
asp.net¿ª·¢ÖУ¬Í¨³£ÐèÒª×öһЩ¿Í»§¶ËÑéÖ¤¡£µ±ÎÒÃÇĬÈÏÔÚÒ»¸öÒ³ÃæÖмӸöbutton¿Ø¼þʱ£¬Õâ¸öButton±»asp.net Êä³öΪһ¸öSubmit°´Å¥¡£ asp:Button ID=Button1 runat=server Text=Button on click=Button1_Click /
ÔÚ_doPostBack·½·¨ÄÚ£¬Í¨¹ýtheForm.submit()À´Ê¹Êý¾ÝÌá½»µ½·þÎñÆ÷¡£
ÕâÑùºÜÈÝÒ׿´³ö£¬Èç ¹ûÎÒÃÇÏëÒªÔÚÊý¾ÝÌá½ ......
ûÓÐ×ÐϸÑо¿¹ýViewState£¬×î½ü³öÏÖµÄÎÊÌâÈÃÈËÍ·Í´²»ÒÑ¡£
ViewState»áÔÚijЩÌض¨Çé¿öÏÂÏûʧ£¬ÇÒºÜÄѲ¶×½µ½¡£²éÁËһЩ¼¼ÊõÎÄÕ£¬¶¼ÊÇ˵ViewStateµÄ»úÖÆÊǽ«ÐÅÏ¢´æÔÚÒ³ÃæµÄhidden inputÀïÃ棬Ëƺõ²»¿ÉÄÜ´æÔÚÕâЩÎÊÌ⣬¸ø³öµÄÀíÓÉÎÞ·ÇÊÇÔÚij¸öµØ·½±»Ä³¸ö²»Ð¡ÐĵijÌÐòÔ±¸ø½ûµô»òÇå³ýµôÁ ......