Intersoft WebGrid Documentation
Client-side Events
See Also Send comments on this topic.
Intersoft WebGrid > WebGrid Features Overview > Programming with Client-side API > Client-side Events

Glossary Item Box

Following is the list of client-side events, which is also accessible from LayoutSettings property.

The following code shows how to implement the client-side event in WebGrid.

HTML Copy Code
<ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="300px" UseDefaultStyle="True"
                Width="100%" DataSourceID="AccessDataSource1">
                <LayoutSettings AllowFilter="Yes">
                    <ClientSideEvents OnAfterAdd="WebGrid1_OnAfterAdd" />
                ...
                </LayoutSettings>
<ISWebGrid:WebGrid>
JavaScript Copy Code
function WebGrid1_OnAfterAdd(controlId, tblName, rowObject, xmlResponseObject)
{
   var WebGrid1 = ISGetObject(controlId);
   alert("Data added"); 
   return true;
}

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.