• <%# Eval("####") %> define text limit
    Forum Post Oct 12, 2009
    Hi I assume this is straightforward but as i have not figured yet, thought i would put up a post. When using transformations I sometimes use the expression <%# Eval("####") %>, is there a way of setting the number of characters that are display from this field, similar t...

  • RE:<%# Eval("####") %> define text limit
    Forum Post Oct 12, 2009
    Hi, You can for example use following method in your transformation code: CMS.GlobalHelper.TextHelper.LimitLength(String, Int32, String) public static string LimitLength( string text, int maxLength, string padString ) Example: <%# TextHelper.LimitLength...

  • RE:<%# Eval("####") %> define text limit
    Forum Post Oct 13, 2009
    Thanks Miroslav Although having trouble trying to get it working within the transformation <script type="text/C#" runat="server" > CMS.GlobalHelper.TextHelper.LimitLength(String, Int32, String) public static string LimitLength( string text, int maxLength, strin...

  • RE:<%# Eval("####") %> define text limit
    Forum Post Oct 13, 2009
    Thanks Miroslav although i am still having trouble. Have added to the current transformation that i am using and an empty one, but get the following error "[CMSDataProperties.LoadTransformation]: http://server//CMSTransformations/54da185f-d4f9-40dc-a8a6-be1867da4f3e/cus...

  • RE:<%# Eval("####") %> define text limit
    Forum Post Oct 14, 2009
    Hi, This explains a lot. Since you are using 3.1a version there is different number of parameters in the same function: public static string LimitLength( string text, int maxLength ) So, please use following code in your transformation: <%# TextHelper.LimitLe...

  • RE:Limit the number of characters in a Forum Post
    Forum Post Dec 28, 2009
    Hi Valerie, You can modify directly the ~\CMSModules\Forums\Controls\NewPost.ascx(.cs) control to ensure required functionality. The content of CMSHtmlEditor is stored in its 'Value' property, e.g. in this control it's: htmlTemplateBody.Value Please note there is HTML so...

  • RE:Error in Database setup - Step 3
    Forum Post Feb 2, 2010
    Thank you guys for your support. Thank you Radek The issue as been resolved I already increased min and max memory limit at SQL Server properties-Memory option, it works fine. Thank you again. Best Regards, Omar Al-Daher

  • RE:Document pager - limit number of pages???
    Forum Post Aug 6, 2010
    Hello, Well, Document pager webpart shows as much documents as you choose (using path and Document types properties etc.). There are no special possibilities of customizing pager behavior. Therefore, I would recommend you using Repeater in cooperation with Unipager webpa...

  • voting system
    Forum Post Aug 29, 2010
    Hi I am currently planning a site that allows members to vote on designs There will also need to be a time limit for each contest for example one month. And the Admin of the site will should be able to easily review entries and approve or delete/disapprove the entries...

  • RE:Kentico Free Edition Licence
    Forum Post Sep 20, 2010
    Hi, I have downloaded the free edition of kentico cms. We set up an kentico application in the server. When we try to access it through the internal IP / External IP address, we get the following error message. Please help so that we can access it internally / externally. ...

  •   ... 11 12 13 14 15 16 17 18 19 20 ...