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

How to add link target with client method

3 Answers 72 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Big Q
Top achievements
Rank 1
Big Q asked on 28 Nov 2010, 02:50 PM
Hello Telerik
    I add a new tab to the tabstrip using client method, and set its NavigateUrl as http://www.google.com, but how to set the target of this link with client method? I don't want to open it in a new window, I want it was opened within a named frame.

thanks

3 Answers, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 29 Nov 2010, 10:17 AM
Hello,

In order to set the target you should use the set_target method. I've prepared a small example showing how it's done.

Greetings,
Dimitar Terziev
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Big Q
Top achievements
Rank 1
answered on 30 Nov 2010, 02:21 AM
hi, thanks very much for your reply, it works well now. But I really can't find this method in your documentation.

Besides, I have another question: I use the context menu with the tabstrip, but in some special tab, such as the tab level is more than 0, I want to cancel it, how should I do ?
0
Dimitar Terziev
Telerik team
answered on 30 Nov 2010, 09:34 AM

We apologize for the missing method in the documentation, it'll be added as soon as possible.
About your second question my suggestion is to use the OnClientShowing event of the ContextMenu and set_cancel method.
You could find information about it here.

All the best,
Dimitar Terziev
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
TabStrip
Asked by
Big Q
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Big Q
Top achievements
Rank 1
Share this question
or