Intersoft WebGrid Documentation
How-to: Trigger OnTheFlyPostBack for client side
See Also Send comments on this topic.

Glossary Item Box

Custom OnTheFlyPostback from client side to server side can be called using a function called SendCustomRequest.

This topic will show you how to set SendCustomRequest.

To call SendCustomRequest() from client side 

  1. Drag WebGrid instance into the WebForm.
  2. Add a client side function on your code.
  3. You can trigger OnTheFlyPostBack simply by using:

  4. JavaScript Copy ImageCopy Code
    function Grid1_ButtonClick() 
    {
    var grid = ISGetObject("WebGrid1");
    grid.SendCustomRequest();
    return true;



    }

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.