Hi,
I am using RadTooltipManager and getting this error. This works perfect when I hover my mouse two times on an image but when I try to hover it on third time it gives me the following error. Any help would be greatly appreciate.
Thanks
RadToolTipManager response error: Exception=Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
I am using RadTooltipManager and getting this error. This works perfect when I hover my mouse two times on an image but when I try to hover it on third time it gives me the following error. Any help would be greatly appreciate.
Thanks
RadToolTipManager response error: Exception=Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Protected Sub rttm_AjaxUpdate(ByVal sender As Object, ByVal e As ToolTipUpdateEventArgs)
If e.TargetControlID.Contains("imgRotator") Then
If IsNumeric(e.Value) Then
End If
End If
End Sub
Protected Sub radRotator_ItemDataBound(ByVal sender As Object, ByVal e As RadRotatorEventArgs) Handles radRotator.ItemDataBound
Dim hidLogisticProductKey As HiddenField = e.Item.FindControl("hidLogisticProductKey")
Dim imgRotator As System.Web.UI.WebControls.Image = e.Item.FindControl("imgRotator")
Dim nProductKey As Integer = Convert.ToInt32(hidLogisticProductKey.Value)
rttm.TargetControls.Add(imgRotator.ClientID, nProductKey, True)
End Sub
<
telerik:RadToolTipManager
ID
=
"rttm"
Skin
=
"Windows7"
RelativeTo
=
"Element"
ShowEvent
=
"OnMouseOver"
Width
=
"100"
Height
=
"100"
Position
=
"TopRight"
OnAjaxUpdate
=
"rttm_AjaxUpdate"
ViewStateMode
=
"Disabled"
runat
=
"server"
>
</
telerik:RadToolTipManager
>
<
asp:Label
ID
=
"lblProductDescriptionTooltip"
ViewStateMode
=
"Disabled"
runat
=
"server"
></
asp:Label
>
<
telerik:RadRotator
ID
=
"radRotator"
Width
=
"500"
ScrollDirection
=
"Right"
RotatorType
=
"AutomaticAdvance"
ScrollDuration
=
"1000"
FrameDuration
=
"500"
runat
=
"server"
Height
=
"100px"
>
<
ItemTemplate
>
<
div
>
<
asp:Image
ID
=
"imgRotator"
runat
=
"server"
ImageAlign
=
"Middle"
Style
=
"margin: 2px"
ImageUrl='<%# GetImage(Container.DataItem) %>' Height="100px" Width="100px" />
<
asp:HiddenField
ID
=
"hidLogisticProductKey"
Value='<%# Bind("LogisticProductKey") %>'
runat="server" />
</
div
>
</
ItemTemplate
>
</
telerik:RadRotator
>