:: Forum >>

Use of ActiveWidgets 2.0.2 with MS VStudio 2005

Is it posible to load the library in VStudio so to drag and drop controls and so.
Thursday, September 20, 2007
To get started:
Requirements: MS VStudio 2005 and ASP.NET AJAX INSTALLED

In MS VStudio create a New Web Site. Te default name that VStudio gives will be AjaxEnabledWebSite1

In the Solution Explorer window right click and choose - Add Existing Element. Add activewidgets/runtime/lib/aw.js and all the files in activewidgets/runtime/styles/xp/ (that if you want the xp style, you have also aqua, classic and mono)

In the Default.aspx file include the tags for aw.css and aw.js as in the example below. Then you can add the code shown in aw documentation a start playing with it:

<head id="Head1" runat="server">
<title>Untitled Page</title>
<html xmlns="http://www.w3.org/1999/xhtml">

<link href="aw.css" rel="stylesheet" type="text/css" ></link>
<script src="aw.js"></script>

<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />

var myCells = [
["MSFT","Microsoft Corporation", "314,571.156"],
["ORCL", "Oracle Corporation", "62,615.266"]

var myHeaders = ["Ticker", "Company Name", "Market Cap."];

// create grid object
var obj = new AW.UI.Grid;

// assign cells and headers text

// set number of columns/rows

// write grid to the page


Friday, September 21, 2007

This topic is archived.

Back to support forum

Forum search