This is a migrated thread and some comments may be shown as answers.

Bug with ContextMenu, Targets in controls with a RadioButtonList

1 Answer 33 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 05 Feb 2009, 12:11 AM
We are having a problem with setting up Targets of a ContextMenu when its in a custom control along with a RadioButtonList.

Version 2008.3.1314.35

We have a custom TabStrip with Tab controls, we load a User Control /ascx into the Tab based on the menu chosen into the ClientArea...when this user control contains a RadioButtonList, the Target id changes to the RadioButtonList id, any other user control we load is fine as long as it doesn't have a RadioButtonList.

Here is a snippet of the output during each $create(Telerik.Web.UI.RadContextMenu, what we expect and works fine.
targets":[{"id":"TabStrip1_Tab0","type":0}]
targets":[{"id":"TabStrip1_Tab1","type":0}]
...etc for how many tabs we have, id changes for each Tab

Here is what happens when there is a RadioButtonList in the user control.. every target is same id.
"targets":[{"id":"TabStrip1_ClientArea_WebUserCenterTabRenewals_WebUserCenterTabRenewalsViewOptions_ctl00_rblRenewalsDisplay","type":0}]
"targets":[{"id":"TabStrip1_ClientArea_WebUserCenterTabRenewals_WebUserCenterTabRenewalsViewOptions_ctl00_rblRenewalsDisplay","type":0}]
...etc for how many tabs we have, same target Id though.

Please advise.

Thanks

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 09 Feb 2009, 11:18 AM
Hello Dave,

I already answered in the support ticket, for your convenience I'm pasting the reply here:

Could you please isolate the problem in a small runnable example so we to be able to test it? Thanks

Greetings,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Menu
Asked by
Dave
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or