Need a sample of VS 2008 project to star with

  1. #1

    Need a sample of VS 2008 project to star with

    Hi
    i didnt find any insructions on what kind of project to open in VS 2008 and how to start working can any one help?

    thanks
  2. #2

    RE: Need a sample of VS 2008 project to star with

    In Visual Studio 2008, from the top menu select File > New > Web Site, or Shift + Alt + N keyboard shortcut.

    In the "New Web Site" dialog box which pops up, you would choose "ASP.NET Web Site" from the list of templates, and set the Location to either "File Sysytem" or "Http". Give your Web Site a Name.

    Once your new Web Site is created and open in Visual Studio, you need to add the Coolite Toolkit to your Visual Studio Toolbox. The README.txt file contains instructions on how to add the controls to the Toolbox. I will also post below.

    Once the controls have been added to the Toolbox, start by drag-dropping a ScriptManager control onto your .aspx Page. By dragging and dropping a Coolite control from the Toolbox onto your .aspx Page, Visual Studio will automatically add the proper References to the .dll.

    After the ScriptManger, drag/drop another control onto the Page. Try the Window, it's an easy one to get started with.

    Here's the step-by-step instructions for adding the controls to your Toolbox.

    --------------------------------------------------------------------------
                 ADD TO VISUAL STUDIO TOOLBOX INSTRUCTIONS
    --------------------------------------------------------------------------
    
    The following steps are required to manually install the controls into 
    your Visual Studio or Visual Web Developer Express Toolbox. 
            
        1.  Open Visual Studio or Visual Web Developer Express.
    
        2.  Open an existing web site or create a new web site project.
        
        3.  Open or create a new .aspx page.
    
        4.  Open the ToolBox panel, typically located on the left side in a 
            fly-out panel (Ctrl + Alt + x).
    
        5.  Create a new "Coolite" Tab, by...
              a. Right-Click in the ToolBox area.
              b. Select "Add Tab".
              c. Enter "Coolite".
    
        6.  Inside the "Coolite" tab, Right-Click and select 
            "Choose Items...".
    
        7.  Under the ".NET Framework Components" Tab select the "Browse" 
            button.
    
        8.  Navigate to and select the Coolite.Ext.Web.dll file, choose open.
                
              NOTE: If the automatic installer has been run previously, the 
                    Coolite.Ext.Web.dll can typically be found in the 
                    following location:
    
                    C:\Program Files\Coolite\Coolite Toolkit - Version 0.5.1\
    
        9.  The component items should now be added to the list and 
            pre-checked. You can confirm by sorting the list by "Namespace" 
            and scrolling to "Coolite.Ext.Web"
    
        10. Click "OK". The icons should be added to your ToolBox. You should 
            now be able to drag/drop a Coolite component onto your WebForm.
        
        11. Enjoy.
    Here's what a basic Page should look like after you have added a ScriptManager and Window control.

    Example

    <%@ Page Language="C#" %>
    
    <%@ Register assembly="Coolite.Ext.Web" namespace="Coolite.Ext.Web" tagprefix="ext" %>
    
    <!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>My First Window</title>
    </head>
    <body>
        <form id="form1" runat="server">
        <ext:ScriptManager ID="ScriptManager1" runat="server" />
        <ext:Window ID="Window1" runat="server" Collapsible="true" Icon="Application" 
            Title="Title">
            <Content>
                My First Window
            </Content>
        </ext:Window>
        </form>
    </body>
    </html>
    I hope this helps get you started. If you require any further clarification, please let us know.
    Geoffrey McGill
    Founder
  3. #3

    RE: Need a sample of VS 2008 project to star with

    Hi and Thanks, found it and its working fine, i used the viewport from the page load of my .aspx file (code behind file )

    <U>i have another question

    </U>i have a Ext js grid how can i use it ?
  4. #4

    RE: Need a sample of VS 2008 project to star with

    awsome. I'm happy to hear it's working for you now.

    Please start a new forum thread if you change topic or ask a new question. Thanks!
    Geoffrey McGill
    Founder

Similar Threads

  1. Replies: 1
    Last Post: May 30, 2012, 10:32 AM
  2. [CLOSED] Northwind MVC sample project
    By RCM in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Mar 08, 2012, 7:17 PM
  3. Ext 1.2 and 2.0 in the same project?
    By skipi in forum 2.x Help
    Replies: 3
    Last Post: Feb 21, 2012, 12:12 PM
  4. Star Rating/Voting
    By king1231986 in forum 1.x Help
    Replies: 3
    Last Post: Apr 11, 2010, 6:34 AM
  5. [1.0] Can we use both 1.0 and 0.8.2 in one project?
    By haiduong87 in forum 1.x Help
    Replies: 3
    Last Post: Apr 09, 2010, 4:22 AM

Posting Permissions