5 Answers, 1 is accepted
0

Rycho
Top achievements
Rank 1
answered on 16 Sep 2008, 08:20 AM
Additionally I don't want to use template items
Rycho
Rycho
0

Shinu
Top achievements
Rank 2
answered on 19 Sep 2008, 09:54 AM
Hi Rycho,
Try selecting the item in the OnClientItemClicked event of the RadPanelBar as shown below.
ASPX:
JS:
Thanks
Shinu.
Try selecting the item in the OnClientItemClicked event of the RadPanelBar as shown below.
ASPX:
<telerik:RadPanelBar ID="RadPanelBar1" runat="server" OnClientItemClicked="OnClientItemClicked" > |
JS:
<script type="text/javascript" language="javascript" > |
function OnClientItemClicked(sender, args) |
{ |
args.get_item().select(); |
} |
</script> |
Thanks
Shinu.
0

Rycho
Top achievements
Rank 1
answered on 22 Sep 2008, 09:03 PM
Thanks Shinu,
It started to work (errors disappeared) after some modifications:
function OnClientItemClicked(sender, eventArgs)
{
eventArgs.Item.Select();
}
but still I cannot reach my desired solution. Item's text was actually not selected at all (tried on IE7). Additionally I would like to select item's text partially just like you select a textbox content.
Rycho
It started to work (errors disappeared) after some modifications:
function OnClientItemClicked(sender, eventArgs)
{
eventArgs.Item.Select();
}
but still I cannot reach my desired solution. Item's text was actually not selected at all (tried on IE7). Additionally I would like to select item's text partially just like you select a textbox content.
Rycho
0
Hi Rycho,
Are you using the classic or the ASP.NET AJAX version of RadPanelBar? The code Shinu sent you will work for ASP.NET AJAX RadPanelBar, which is the type version you have specified.
Greetings,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Are you using the classic or the ASP.NET AJAX version of RadPanelBar? The code Shinu sent you will work for ASP.NET AJAX RadPanelBar, which is the type version you have specified.
Greetings,
Peter
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Rycho
Top achievements
Rank 1
answered on 23 Sep 2008, 08:45 AM
Hi Shinu,
Correct. It was my mistake cause I still use classic ones. Do you have any idea how to fix it using classic RadControls?
Rycho
Correct. It was my mistake cause I still use classic ones. Do you have any idea how to fix it using classic RadControls?
Rycho