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

I want to remove this error message

1 Answer 65 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
eraashishgupta
Top achievements
Rank 1
eraashishgupta asked on 29 Jun 2010, 05:23 PM
Hi all,

Let me explain you my scenario , i also know what the problem is i just want a simple workaround not a fix.
The thing is i am using RadTooltipManager with RadSchedular, so whenever you hover over an appointment it fetches additional data from the database and displays in the tooltip,

Everything till here is fine , the other part of the story is that i also have to do a click event on the schedular appointments to perform some other task or basically select the appointmentid by clicking the appointment.

So i want both hover behaviour getting the tooltip and the click behaviour, which is not quite possible because when i initiate a request for the tooltip on hover then i am doing an ajax request.
and when i am clicking i am making a postback which cancels the ajax request and thus i receive this message

"RadToolTipManager response error:
 Exception=Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0"

What i want is that its ok that i dont get data when i pressed the postback button but is there some way in which i can supress this javascript error somehow handling this error and not displaying it to the user as its annoying.

Thanks,
Aashish Gupta

1 Answer, 1 is accepted

Sort by
0
eraashishgupta
Top achievements
Rank 1
answered on 29 Jun 2010, 06:26 PM
Hi all,

Thanks i resolved my error using this
function OnClientResponseError(sender, args) {  
                args.set_cancelErrorAlert(true);  
            }  

Tags
ToolTip
Asked by
eraashishgupta
Top achievements
Rank 1
Answers by
eraashishgupta
Top achievements
Rank 1
Share this question
or