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

Unable to get value of the property 'style': object is null or undefined

1 Answer 139 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Bader
Top achievements
Rank 1
Bader asked on 31 Jul 2011, 08:58 AM
Hello,,
I have aproblem with the radtooltip control (demo: http://demos.telerik.com/aspnet-ajax/tooltip/examples/onclientresponseend/defaultcs.aspx).
I always got the webpage error : Unable to get value of the property 'style': object is null or undefined.
If I remove the following javascript lines then the error doesn't display:
$get("startRequest").style.display = "none";
        $get("endRequest").style.display = "";

Note: I'm using the version 2009.3.1314.35

Please, I need your help,
It is appreciated to send me the solution of the problem,

Regards,
Bader

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 02 Aug 2011, 08:58 AM
Hello Bader,

 Did you examine the demo code in more details and if not - have you copied all the code? The "startRequest" and "endRequest" are the IDs of two SPAN elements with different text and they are dynamically shown/hidden by the code you have pasted in your thread. What most probably happens on your side is that you most probably have not copied those SPANs. If you do not need them, you can completely remove that code, otherwise - please add them accordingly.

On a side note when you install RadControls, our online examples projects are automatically installed on your computer and you can not only examine their full source code, but also extend them further in order to meet your requirements.

You can open the demos from here:

Start\Programs\Telerik\RadControls for ASPNET AJAX\Open Sample WebSite In VisualStudio

The actual location on your hard disk is the following one:

C:\Program Files\Telerik\RadControls for ASPNET AJAX \Live Demos

I hope that this information is helpful.

 

Greetings,
Svetlina
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
ToolTip
Asked by
Bader
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or