Click here to Skip to main content
15,893,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
On the masterpage i created menubar, menubar containt are mention in menubar.xml file. through xmlDatasource i fetch those containt on masterpage as menubar. Now i want perform click event on those tab. eg. when i click on Real Time Table which is tab in menubar then i nevigate to that particular page. How to do this on webforms in devexpress.

my containt of menubar.xml are as follows:

XML
<?xml version="1.0" encoding="utf-8" ?>
<items>
  <item Text="Home" NavigateUrl="#" />

  <group Text="Tables">
    <item Text="Real Time Table" NavigationUrl="~/RealTime_Trends.aspx" />
    <item Text="Historical Table" />

  </group>


  <group Text="Graphs">
    <item Text="Real Time Graph"/>
    <item Text="Historical Graph" />
  </group>

  <item Text="Configure" NavigateUrl="#" />


  <group Text="Billing" >
    <item Text="Bill Generation"/>
    <item Text="Configure TOU"/>
  </group>


  <item Text="Alarams" NavigateUrl="#"  />
  <item Text="Helps" NavigateUrl="#"  />
</items>
Posted
Updated 25-Oct-15 21:05pm
v3
Comments
Sergey Alexandrovich Kryukov 26-Oct-15 2:04am    
"Now I want to click event" cannot be a correct statement. There is no such thing as "clicking event". And there is no such thing as "devexpress form"...
Your XML is just XML, it does not explain anything. What exactly seems to be a problem? After all, "tab" is some HTML element; you can always handle the event 'click' on it.
—SA
Member 11922776 26-Oct-15 3:08am    
This xml file is added to master page by using xmlDataSource such that it look like menubar. My question is can i perform click on xml contains/items? by which i can nevigate to other page.

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