Change the "height" of the control

5 posts, 0 answers
  1. Laurent
    Laurent avatar
    3 posts
    Member since:
    Dec 2008

    Posted 12 Dec 2008 Link to this post

    Hello,

    I've installed RadEditor on our test platform and everyting works perfect except when I want to change the height of the control.
    When I change in ListConfigFile.xml the width, the change is done. But when I change the height, the height of the control stays the same (210px for a forum item).

    Is there someting else to change?

    Best,
    Laurent
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 15 Dec 2008 Link to this post

    Hi Laurent,

    In order to change the height of the control you need to modify the respective ConfigFile.xml. It is located in Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.3.1.0__1f131a624888eeed\Resources folder.

    For example
    <property name="Height">800</property> 


    Greetings,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  3. Laurent
    Laurent avatar
    3 posts
    Member since:
    Dec 2008

    Posted 15 Dec 2008 Link to this post

    Thanks.
    But my problem is for the height when the control is used with objects like Annoucements, Forums, etc.
    (The "Height" parameter works fine with the Web Part).

    So when I changed the "Height" parameter on the ListConfigFile.xml file, nothing change.

    Best,
    Laurent
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 15 Dec 2008 Link to this post

    Hi Laurent,

    When you set a property in ListConfigFile.xml it is applied on all scenarios (Lists, Wikis, Blogs, etc.). Since the RadEditor's dimensions are vary different in all those cases, the control uses the list's rows configuration to set its Height property. This is why it takes no affect when you set it in the ListConfigFile.xml file.


    All the best,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Laurent
    Laurent avatar
    3 posts
    Member since:
    Dec 2008

    Posted 15 Dec 2008 Link to this post

    thanks for the answer

    laurent
Back to Top