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

Hi

1 Answer 24 Views
Window
This is a migrated thread and some comments may be shown as answers.
Mary
Top achievements
Rank 1
Mary asked on 21 Jun 2011, 10:03 AM
iam working with radwindow i just wanna open rad window in my treeviewnodeContextMenu click i already tried with OpenerElementID Property but it doesnt work that to i need to open radwindow  with <ContentTemplate> in treeviewnodeContextMenu Clicking event is there any way to open radwindow with <ContentTemplate>  in javascript method.

Thank u

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 21 Jun 2011, 11:06 AM
Hi Mary,

It does not matter whether the RadWindow uses its ContentTemplate or NavigateUrl. It is shown via JavaScript by calling its show() method. The OpenerElementID property is designed for very simple scenarios, such as opening a RadWindow by clicking on an image. In such more serious cases we recommend using a JavaScript function to call the show() method.

For your convenience I created and attached a simple page illustrating the concept.


All the best,
Marin
the Telerik team

Browse the vast support resources we have to jump start 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
Window
Asked by
Mary
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or