Hello,
I have a menu that is opening different windows, or opening pages in a targeted RadPane.
Both of this worked ok in the standard RadControl menu.
But now when i set a window opener like this:
Is there something changed here?
Thanks
I have a menu that is opening different windows, or opening pages in a targeted RadPane.
Both of this worked ok in the standard RadControl menu.
But now when i set a window opener like this:
wndMessages.OpenerElementID = RadMenu1.Items(0).Items(0).ClientID
The window is not opened, but instead the menu gives a full postback.Is there something changed here?
Thanks
4 Answers, 1 is accepted
0
Hi Marco,
The most probable cause is that RadMenu "Prometheus" does not render IDs for the menu items in order to reduce the output size. Can you please send us a simple project, so we can try to find a workaround for the issue?
Kind regards,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
The most probable cause is that RadMenu "Prometheus" does not render IDs for the menu items in order to reduce the output size. Can you please send us a simple project, so we can try to find a workaround for the issue?
Kind regards,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Marco
Top achievements
Rank 1
answered on 08 Jan 2008, 01:08 PM
That can be the cause, after looking in the generated html. (no id's)
But the windowopener line, is giving a Clientid like 'Radmenu1_i0_i0'..
If i can find some time, i will make a sample project, and send it to you.
For the moment, i have roll back to the standard menu radcontrol.
(this is a big application, where i can not do without this functionality)
Thanks anyway
But the windowopener line, is giving a Clientid like 'Radmenu1_i0_i0'..
If i can find some time, i will make a sample project, and send it to you.
For the moment, i have roll back to the standard menu radcontrol.
(this is a big application, where i can not do without this functionality)
Thanks anyway
0
Hello Marco,
We have found an easy workaround that you can try. You can use custom attributes to render the id. The code should look like this:
Regards,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We have found an easy workaround that you can try. You can use custom attributes to render the id. The code should look like this:
| private void Page_Load(object sender, EventArgs e) |
| { |
| foreach (RadMenuItem item in RadMenu1.GetAllItems()) |
| { |
| item.Attributes["id"] = item.ClientID; |
| } |
| } |
Regards,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Marco
Top achievements
Rank 1
answered on 08 Jan 2008, 06:56 PM
The windows are working good now with the Prometheus menu.
For vb.net i changed this in:
Thank you for the solution.
For vb.net i changed this in:
| Dim item As RadMenuItem |
| For Each item In RadMenu1.GetAllItems |
| item.Attributes("id") = item.ClientID |
| Next |
Thank you for the solution.