Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
905
Sample WebMenu via Code (C#)?
posted

 

Can someone point me to sample code showing how to use the WebMenu control via code (C# preferred) only? Specifically, I am trying to figure out how to add it to my application and correctly set the datasource (Should I use an Hierarchial DataSource??), bind it correctly so the items appear, etc. I am just trying to create a simple parent/child (menu/submenu) menu.

I am using LING<->SQL throughout my application for the data layer. (I am really just confused on how to populate the menu. Questions such as: Does the LINQ query have to return certain column names  in order to "fill" the UltraWebMenu" control correctly? How do I go about binding the LINQ query to the UltraWebMenu control, etc.)

Any help is much appreciated. I inherited this application and I am still learning my way around DOT Net programming. I have learned alot over the last year, but primarily I do alot of "copy and pasting" from other areas to get things work..

 

Parents
No Data
Reply Children
No Data