Example
Source
Run as server control
If still want to use an edit dialog window but need full control over the layout of the form then again
DbNetEdit
can be used in place of the standard
DbNetGrid
edit dialog to provide this degree of flexibility
Include the Javascript library file
<script src="<%=ConfigValue( "DbNetGridVirtualDir", false )%>/dbnetgrid.js"></script>
Client-side script
window.onload = initialise ////////////////////////////////////////////////////////////////////////////////////////////// function initialise() ////////////////////////////////////////////////////////////////////////////////////////////// { var dbnetgrid1 = new DbNetGrid( "dbnetgrid1" ) with ( dbnetgrid1 ) { connectionString = "suite" fromPart = "customers" view = true headings = ["Customer ID","Customer Name","Address","City","Region","Phone","Fax"] selectPart = ["customerid","companyname","address","city","region","phone","fax"] primaryKeyColumn = "customerid" pageSize = 20 customEditDialog = "grid_edit_dialog_integration_dlg.aspx" loadData() } }
HTML
<div id=dbnetgrid1></div>