JavaScript Intellisense

6 posts, 1 answers
  1. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 26 Mar 2010 Link to this post

    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
  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 26 Mar 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 26 Mar 2010 Link to this post

    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
  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 26 Mar 2010 Link to this post

    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.
  6. Christian Pardun
    Christian Pardun avatar
    112 posts
    Member since:
    May 2010

    Posted 26 Mar 2010 Link to this post

    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
  7. Answer
    T. Tsonev
    Admin
    T. Tsonev avatar
    2772 posts

    Posted 29 Mar 2010 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017