View Single Post
  #5 (permalink)  
Old July 2nd, 2010, 06:52 AM
AdamPembs AdamPembs is offline
Authorized User
 
Join Date: Jan 2010
Location: Wales, UK
Posts: 31
Thanks: 5
Thanked 2 Times in 2 Posts
Default

The css replace worked a treat, thanks Imar. May I add for anyone else that you have to use a single cssclass for both the bodytext and the introtext textboxes. (N.B IIRC I cant use clientid as its asp.net 4 that introduced clientid?)
ie.

Code:
  <asp:TextBox ID="txtIntroText" runat="server" TextMode="MultiLine" CssClass="CMSText"></asp:TextBox>
    
 <asp:TextBox  ID="txtBodyText"  runat="server" TextMode="MultiLine" CssClass="CMSText"  ></asp:TextBox>

................

<script type="text/javascript">
      CKEDITOR.replaceClass = 'CMSText';
</script>

Last edited by AdamPembs; July 2nd, 2010 at 06:55 AM..