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

[Solved] Treenode item overlaped with scrollbar

0 Answers 21 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Imran
Top achievements
Rank 1
Imran asked on 24 Nov 2010, 04:31 PM

I am using the treeview component from the telerik.web.mvc. It is interesting that when i run the app locally both from VS Dev server and deploying in IIS (making a virtual directory somewhere else, not the project location) it works great but I deployed the app to my integration server which belongs to a different domain the treeview item totally messed up. The long item name overlaps on scroll bar(first pic) , also if you try to scroll the it pukes everything up like the second pic. But the same code works fine locally (third pic) with the same browser (IE 8). Any idea whats going on..? Code where its declared, in case if anyone wants to see

 

<%

 

= Html.Telerik().TreeView()

 

.Name(

 

"ContainerTreeView")

 

.ClientEvents(

events => events.OnSelect(

 

"ContainerTreeView_onSelect")

 

)

.BindTo(Model.ContainerTree, mappings =>

{

 

 

// product level

 

 

 

 

 

mappings.For<

 

DefinitionTreeNode>(binding => binding

 

.ItemDataBound((item, node) =>

{

item.Selected = node.Selected;

item.Expanded = node.Expanded;

item.ImageUrl = Url.Content(node.IconSrc);

item.Text = node.Name;

item.HtmlAttributes.Add(

 

"id", node.Value);

 

item.ImageHtmlAttributes.Add(

 

"style", "cursor:hand;");

 

item.ImageHtmlAttributes.Add(

 

"class", "iconMenu");

 

})

.Children(node => node.Children));

})

.HtmlAttributes(

 

new {

 

id =

 

"ContainerTreeView"

 

 

 

 

 

})

%>

 

 



Thanks,
I

Tags
TreeView
Asked by
Imran
Top achievements
Rank 1
Share this question
or