This is a migrated thread and some comments may be shown as answers.

LoadingMessage position

1 Answer 54 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 01 Aug 2008, 02:38 PM
In the TreeView control I'm using the LoadingMessage "Loading..." when a node is opened.  I have the position set to AfterNodeText.  It's working ok, but no matter what I do the word Loading... is placed right next to my node text with no space at all. So if my node text was Pizza then it looks like "PizzaLoading..." while the node is expanding. 
I've tried customizing the LoadingMessage string, I put spaces before it and   but it seems to strip out the leading spaces, and not render html.

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Simon
Telerik team
answered on 01 Aug 2008, 02:53 PM
Hello Greg,

You could change the style of the Loading Message span element by defining the rtLoadingAfter css class. For example:

        .rtLoadingAfter 
        { 
            padding-left5px
        } 

In this way, the message will appear with 5 pixels offset from the Node on the left.




Sincerely yours,
Simon
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
Greg
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or