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

[Solved] Q3 in radgrid

1 Answer 105 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ayesha
Top achievements
Rank 1
Ayesha asked on 18 Nov 2009, 10:43 PM

 

Hi,

I've the foll. piece of code for my context menu to work even for left click.
With Q2 till yesterday, this code worked fine.

but today, after I installed q3, this code doesn't works. It throws Javascrit telerik exception.

<
telerik:RadScriptBlock runat = "server">

 

 

<script type="text/javascript">

 

 

 

// the below js function is used to set the context menu even for left click.

 

 

function showMenu(e)

 

{

 

var contextMenu = $find("<%= m_radContextMenu.ClientID %>");

 

 

if (contextMenu != null)

 

{

 

if ((!e.relatedTarget) || (!$telerik.isDescendantOrSelf(contextMenu.get_element(), e.relatedTarget)))

 

{

contextMenu.show(e);

}

$telerik.cancelRawEvent(e);

}

}

</

 

script>

 

</

 

telerik:RadScriptBlock>

 

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 24 Nov 2009, 10:22 AM
Hi Zaheka,

Based on the supplied information, it is hard o determine what is causing the unwanted behavior. To further track the issue, you can open a formal support ticket, and send us a small working project, demonstrating the unwanted behavior. We will review it locally, and get back to you with additional information.

Greetings,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Ayesha
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or