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
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