Hi,
I have a Radmenu which has an item template inside it. I am using onmouseover and onmouseout events inside the radmenu.
Here is the error which internex explorer gives. (the error occurs if i fastly mouve the mouse over the items)
Below is my RadMenu.
Here is my code for "Open" and "Close"
I could not find any solutions.
Regards.
I have a Radmenu which has an item template inside it. I am using onmouseover and onmouseout events inside the radmenu.
Here is the error which internex explorer gives. (the error occurs if i fastly mouve the mouse over the items)
Webpage error details |
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.30729; FDM; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.0.30729) |
Timestamp: Thu, 27 Aug 2009 14:19:42 UTC |
Message: 'style.getPropertyValue' is null or not an object |
Line: 176 |
Char: 1 |
Code: 0 |
URI: http://www.arkadas.com.tr/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a0d787d5c-3903-4814-ad72-296cea810318%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.1.311.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3af48f6488-574a-46fe-9b15-624f013d8c03%3a16e4e7cd%3a874f8ea2%3af7645509%3a24ee1bba%3a19620875%3a33108d14%3abd8f85e4%3ae330518b%3a1e771326%3ac8618e41 |
Below is my RadMenu.
<telerik:RadMenu Width="150px" DataFieldID="OID" DataValueField="OID" |
DataTextField="Name" ID="MenuCategories" runat="server" |
DataSourceID="DataSourceMenu" |
AppendDataBoundItems="False" DefaultGroupSettings-Flow="Vertical" |
Flow="Vertical" Skin="MyDefaultLeft" EnableEmbeddedSkins="false" |
ondatabound="MenuCategories_DataBound" DataFieldParentID="OIDParent" |
MaxDataBindDepth="2" EnableAutoScroll="True"> |
<ItemTemplate> |
<table width="140px"> |
<tr> |
<td id="td" runat="server" onmouseover='<%#Open(Eval("OID"))%>' onmouseout='<%#Close(Eval("OID"))%>'> |
<asp:LinkButton ID="linkButton" Font-Underline="false" OnClick="linkButton_Click" CommandArgument='<%#Eval("OID") %>' runat="server" Text='<%#Eval("Name")%>'></asp:LinkButton> |
</td> |
</tr> |
</table> |
</ItemTemplate> |
</telerik:RadMenu> |
Here is my code for "Open" and "Close"
public string Open(object o) |
{ |
string ret = ""; |
if (!Categories.Exists(x => x.OIDParent == new Guid(o.ToString()))) |
{ |
ret = string.Format( "newwindow=window.radopen('../PageReproductionDetails.aspx?oid={0}',null);" , o.ToString() ) + "newwindow.moveTo(520,300);"; |
} |
return ret; |
} |
public string Close(object o) |
{ |
string ret = ""; |
if (!Categories.Exists(x => x.OIDParent == new Guid(o.ToString()))) |
ret = "newwindow.close();"; |
return ret; |
} |
I could not find any solutions.
Regards.