EasyDotNet - DataForm.NET V3.4 Developer Guide
Integrate DataForm.NET into your applications

After installing DataForm.NET, there is a default DataForm.NET Manager at "DataFormNet" folder under the root directory of default web site(such as 'C:\Program Files\EasyDotNet\DataFormNet\Net1.1'), and you can open that at http://localhost/DataFormNet/Net1.1/default.htm.

Follow four steps to integrate DataForm.NET Manager and DataForms into your application.
Note: ASPNET is a default windows buildin user who run asp.net process in WINDOWS 2000/WINDOWS XP, if you use WINDOWS SERVER 2003, change ASPNET user to NETWORK SERVICE, the rest are the same.

  1. Open "DataFormNet" directory.
  2. Copy "EasyDotNet", "DataForm" and "bin" folder to underneath virtual directory of your application.
    • "EasyDotNet" folder contains all what DataForm.NET needs, such as the XML file of DataForm.NET, messages, css, images and scripts,etc.
    • "bin" folder should be put at the application's virtual directory.
    • "DataForm" folder where DataForm.NET Manager locates can be copied to anywhere in your application. It is optional at runtime as it is used to design and manage DataForm.NET.
  3. Grant read/write permission on "EasyDotnet" folder.  ASPNET user MUST have read/write permission (See Figure(1)) on EasyDotNet folder, but no read/write permission on XML files in IIS Admin console to prevent DataForm's XML files from being downloaded(See Figure(2)). And make sure ReadOnly flag on the file is cleared. It is very important to remember if ASPNET user does not have read/write permission on "DataFormNet.xml" folder, the changes of DataForm.NET you made via DataForm.NET Manager will not be able to be saved. So when at design time, those permission have to be granted on that XML file. However, when you deploy your application to the production server and do not want any changes made to the XML file, you don't have to do this step, just copy the EasyDotNet folder over.
  4. Reference EasyDotNet.Web.Dll and import/using "EasyDotNet.Web.UI.WebControls" namespace.
  5. Add DataForm.NET web controls to the toolbar in VS.NET and then drag and drop the web controls to the web forms. Assign it a DataForm ID.

That's pretty much it. You can preview your works intantly. However, if you'd like to make it more powerful to meet your requirements, you may have a look at the Class Library of our web controls. There are hundreds of functions, properties and events waiting for you. Give them a try!!!

Figure (1) Figure(2)
Figure (1) Figure(2)


See also
DataForm.NET Manager | Coding with eDataForm control | Change Language of Messages | eDataForm Class | eGridForm Class | eCriteira Class | eDataFormFull Class | Samples | Help Index
Syntax based on .NET Framework version 1.1/2.0.

Send feedback to EasyDotNet
© 2002-2007 EasyDotNet Corporation. All rights reserved.