Hi,
I'm using OrgChart in one project to display some hierarchies. To adapt the look of it to my project design i'm using the code posted below.
Now, locally it works fine on all browsers I test it (chrome, IE 11, Firefox). If I publish it on the server (IIS 8.5 .NET 4.5) the look on IE change badly.(on other browsers looks fine)
Attached , the images with differences.
Remarks:
- I force latest compatibility in header: <meta http-equiv="X-UA-Compatible" content="IE=edge"> so it is not a compatibility issue
- AppPool is set to "Integrated" .NET CLR 4.0 no other special configurations
- I use the latest update of telerik toolkit.
- I had a similar problem with RadTreeView, on IE11 the "plus/minus" default images were not displayed. that one i fix it with custom images from css but in this case will be a bit harder.
- RadOrg layout is fine using standard "look and feel"
Thank you,
Ionel
html .RadOrgChart_Default .rocItemContent,
html .RadOrgChart_Default .rocItemTemplate {
/*background-color: rgba(255,255,255,0.2);*/
background-image
:
none
;
/*color: white;*/
border
:
none
;
background
:
none
;
width
:
auto
;
min-width
:
300px
;
height
:
auto
;
}
<
telerik:RadOrgChart
RenderMode
=
"Lightweight"
ID
=
"RadOrgChartHorizontal"
runat
=
"server"
DataSourceID
=
"SQLDataSourceHorizontalHierarchy"
DataFieldID
=
"Contract_Key"
DataFieldParentID
=
"Contract_Parent_Key"
DataTextField
=
"Name"
EnableCollapsing
=
"True"
EnableGroupCollapsing
=
"True"
Orientation
=
"Horizontal"
>
<
ItemTemplate
>
<
section
class
=
"panel panel-featured panel-featured-tertiary"
>
<
div
class
=
"panel-body"
>
<
div
class
=
"widget-summary"
>
<
div
class
=
"widget-summary-col"
>
<
div
class
=
"summary"
>
<
h4
class
=
"amount"
><%#Eval("Name")%></
h4
>
<
div
class
=
"info"
>
<
strong
class
=
"title"
><%#Eval("Contract_Type_Name")%></
strong
>
<
span
class
=
"text-primary"
>(<%#Eval("Contract_Type_Category")%>)</
span
>
</
div
>
</
div
>
<
div
class
=
"summary-footer"
>
<
a
class
=
"text-muted text-uppercase"
>Details</
a
>
</
div
>
</
div
>
</
div
>
</
div
>
</
section
>
</
ItemTemplate
>
<
RenderedFields
>
<
NodeFields
>
<
telerik:OrgChartRenderedField
DataField
=
"Name"
Label
=
"Name"
/>
</
NodeFields
>
<
ItemFields
>
<
telerik:OrgChartRenderedField
DataField
=
"Contract_Type_Category"
Label
=
"Category"
/>
</
ItemFields
>
<
ItemFields
>
<
telerik:OrgChartRenderedField
DataField
=
"Contract_Type_Name"
Label
=
"Type"
/>
</
ItemFields
>
</
RenderedFields
>
</
telerik:RadOrgChart
>