Click here to Skip to main content
15,902,447 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,

here i am adding images through xml file using inner and outer layer, here i required to add click event for both inner-layer image and outer-layer image.

please suggest me that how can i solve this problem using telerik:RadDiagram

What I have tried:

this is my xml file code:

<outerlayer yaxis="" xaxis="" row="" column="" id="1" name="Rack 1" type="Rack" outerlayerimage="HP642Rack.png" imagepath="D:\GREComponent_07th March 2016\GRE_Tools\bin\Debug\Images\" height="42U">

<legends>



<innerlayers type="Enclosures">

<innerlayer type="Enclosure" name="Empty U 31" placement="33" height="1U" rows="1" columns="1" emptyimage="BlankDetails.png" borderimage="">
<innerlayer type="Enclosure" name="Empty U 30" placement="32" height="1U" rows="1" columns="1" emptyimage="BlankDetails.png" borderimage="">
<innerlayer type="Enclosure" name="Empty U 29" placement="31" height="1U" rows="1" columns="1" emptyimage="BlankDetails.png" borderimage="Border1.png">
<innerlayer type="Enclosure" name="Empty U 28" placement="30" height="1U" rows="1" columns="1" emptyimage="BlankDetails.png" borderimage="Border1.png">

<innerlayer name="Controller 2" height="2U" type="Enclosure" columns="5" rows="5" emptyimage="Blank.png" occupiedimage="20kLffDrive.png" alignposition="Horizontal" placement="2" borderimage="">

<drive row="5" column="1" name="400GB 12G MLC SFF SSD Disk" id="1" color="#01A982">
<drive row="5" column="2" name="400GB 12G MLC SFF SSD Disk" id="2" color="#01A982">
<drive row="5" column="3" name="400GB 12G MLC SFF SSD Disk" id="3" color="#01A982">
<drive row="5" column="4" name="400GB 12G MLC SFF SSD Disk" id="4" color="#01A982">
<drive row="5" column="5" name="400GB 12G MLC SFF SSD Disk" id="5" color="#01A982">
<drive row="4" column="1" name="400GB 12G MLC SFF SSD Disk" id="6" color="#01A982">
<drive row="4" column="2" name="400GB 12G MLC SFF SSD Disk" id="7" color="#01A982">

<drive row="1" column="5" color="Transparent">


<innerlayer name="Controller 1" height="2U" type="Enclosure" columns="5" rows="5" emptyimage="Blank.png" occupiedimage="20kLffDrive.png" alignposition="Horizontal" placement="1" borderimage="">
<drive row="5" column="1" name="400GB 12G MLC SFF SSD Disk" id="1" color="#01A982">
<drive row="5" column="2" name="400GB 12G MLC SFF SSD Disk" id="2" color="#01A982">
<drive row="5" column="3" name="400GB 12G MLC SFF SSD Disk" id="3" color="#01A982">
<drive row="5" column="4" name="400GB 12G MLC SFF SSD Disk" id="4" color="#01A982">
<drive row="5" column="5" name="400GB 12G MLC SFF SSD Disk" id="5" color="#01A982">
<drive row="4" column="1" name="400GB 12G MLC SFF SSD Disk" id="6" color="#01A982">
<drive row="4" column="2" name="400GB 12G MLC SFF SSD Disk" id="7" color="#01A982">

<drive row="1" column="5" color="Transparent">



Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900