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
175
Creating a WebDataMenu programmatically in server side code behind
posted

Can someone provide sample code in which a WebDataMenu is coded completely on the server-side?  By completely, I mean that server side code creates the WebDataMenu and makes all modifications to it, and there are no <WebDataMenu> tags in the markup files that ship with our application.  We want to use a WebDataMenu in each cell of a column in a WebDataGrid.  Each of those instances of WebDataMenu needs to be created during the grid's OnInitializeRow event because each row's menu contents are dependent upon the data in the row and complex server side logic.  We were able to accomplish all of this with UltraWebMenu (which Infragistics retired after WebDataMenu was introduced), but we need an example of how to do it with WebDataMenu.