3.0 beta 2

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.
Javier
September 20,
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:

Example:
<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>

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

<script>
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
obj.setCellText(myCells);
obj.setHeaderText(myHeaders);

// set number of columns/rows
obj.setColumnCount(3);
obj.setRowCount(2);

// write grid to the page
document.write(obj);

</script>



</body>
Javier
September 21,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.