I ahve a radwindow and rad menu and I am populating the radmenu dynamically f and on click of a particular child item i need to open a radwindow but when ever clicks on the rad menu options the rad window is opened for two seconds and closed how to stop the postback generated by radMenu.
6 Answers, 1 is accepted
One suggestion is you can try to open the radwindow on client side click event of RadMenu(ie OnClientItemClicking/OnClientItemClicked).
The RadWindow is opened for a few seconds and then disappears due to the postback generated by the RadMenu and RadMenu postback happens when you subscribe to the OnItemClick server-side event. You can display the RadWindow in two ways. You can either disable the RadWindow postback and display the RadWindow from client side or you can open the RadWindow from server side code so that the postback wont interrupt. Please have a look into the following code I tried which works fine at my end.
This issue can be resolved using a RadAjaxPanel. Please have a look at the following full code I tried to achieve your scenario.
Hope this helps,