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

JavaScript Intellisense

5 Answers 118 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 26 Mar 2010, 12:22 PM
Dear SUpport,

I installed the newest version of the AJAX Telerik Controls (2010 Q1) and want to try out the JavaScript Intellisense.

How does this feature works. If I try there is no JavaScript Intellisense.

Must I enabled this feature anywhere?

Thanks for help.

Christian

5 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 26 Mar 2010, 01:23 PM
Hi Christian,

I suggest you follow the directions from this blog post to enable JavaScript IntelliSense for RadControls for ASP.NET AJAX (also review the comments in it).

Best regards,
Sebastian
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Christian
Top achievements
Rank 1
answered on 26 Mar 2010, 04:36 PM
Hi Sebastian,

thanks for your fast reply.
I reed the article and try it out on an fresh installation but without any luck.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title>Test</title> 
</head> 
<body> 
 
    <form id="form1" runat="server">  
      
    <div> 
        <asp:ScriptManager ID="ScriptManager1" runat="server">  
              
            <Scripts> 
                <asp:ScriptReference Name="Telerik.Web.UI.Common.Core.js" Assembly="Telerik.Web.UI" /> 
            </Scripts> 
          
        </asp:ScriptManager> 
          
        <script type="text/javascript">  
            function test(sender, eventArgs) {  
               // var scheduler = $telerik  
            }  
        </script> 
          
        <telerik:RadScheduler ID="RadScheduler1" runat="server">  
        </telerik:RadScheduler> 
          
    </div> 
      
    </form> 
      
</body> 
 
</html> 

I also add the reference to the telerik.web.ui dll.

After the $telerik I type in a . and try to get the funtion GetGrid oder toScheudler but no itellisense raised up.

Whats wrong here. I used a frresh vs 2008 and  the latest offical installer for the telerik ajax controls.

Thanks for help.
Christian
0
Sebastian
Telerik team
answered on 26 Mar 2010, 06:10 PM
Hi Christian,

Have you installed the patch for VS 2008 JavaScript IntelliSense from the page linked in the blog post comment? After that reopen your Visual Studio and refresh the intellisense with Ctrl + Shift + J shortcut to see whether this helps.

Greetings,
Sebastian
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Christian
Top achievements
Rank 1
answered on 26 Mar 2010, 06:47 PM
Hi Sebastian,

yeah that helps a lot :) Thanks.

One question. I try out the method $telerik.findMenu

To the first arg I paste "RadMenu2" that is a RadContextMenu, but what must I paste for the second arg "parent" ?
The same is on method findGrid.

A short example will be very helpful, too.

Thanks in advance and havbe a nice weekend.
Christian
0
Accepted
T. Tsonev
Telerik team
answered on 29 Mar 2010, 09:19 AM
Hello Uwe,

The second parameter is an (optional) parent control that contains the component. This is the same as the standard $find function.

I hope this helps.

Best wishes,
Tsvetomir Tsonev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Christian
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Christian
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or