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

Glossary Item Box

The client-side API of WebGrid has been completely redesigned and rewritten to more faithfully adhere to OOP standards. An important part of this process has been to create a consistent, unified API model for both client and server development. This model, now defined as standard in the WebUI Framework, reduces your development time by presenting a consistent set of methods and properties across all controls and tasks. An added benefit is that the new client API performs up to 80% faster than the previous version.

Bridging the gap between client and server, Client Action is a major enhancement to the OnTheFlyPostBack™ architecture. A Client Action object is attached to an individual WebGrid instance, enabling predefined client actions to be executed directly from server code during flypostback. This powerful and easy-to-use feature eliminates a great deal of unnecessary client-side coding. Better still, your applications will be more resilient and more easily debugged since client functions may be invoked directly from server code.

In addition to serving as a solid foundation for Intersoft’s rich suite of components, WebUI Framework tightly integrates into the Microsoft Visual Studio development environment. Among its many Designer features is the Client Event Designer, which increases your productivity by automating tasks commonly required when connecting code to events in Visual Studio.

In some complex scenarios, user might want to customize the element, style or maybe use their own function/method in application. Of course, WebGrid has provided rich Client-side API that makes you to play with client more flexible.


This topic contains the following sections:

Understanding Client-side Events

WebGrid provides a set of comprehensive client side API to let developers extend the Grid for their own use. You can access Grid's properties and methods easily with similar server side syntax.

For more information, see Client-side Events.

Switching to new Client Side-API

If you were using our previous WebGrid version (v 4.0 or lower), you have to know that we have many breaking changes from that version until now. Most of the codes in the old version are already obsoleted. Therefore, it is important for you to know about the new Client-side API.

For more information, see Switching to new Client Side-API.

Extensible Client side API Programming

WebGrid provides a set of comprehensive client side API to let developers extend the Grid for their own use. You can access Grid's properties and methods easily with similar server side syntax.

Here is the example on how to collapse child row using client side API:

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.