I need to raise an AsyncPostBack
when the datasource of a DrowpDownList Column of an UltraWebGrid change.
The ultrawebgrid is inside a WebAsyncRefreshPanel.
There are a way to do this?
Hi,
To raise async postback you may use member function refresh(), or invoke "submit" action of any child element in WARP, or call explicitly __doPostBack with id of any html element in WARP. Below example for local element and refresh().
<script type="text/javascript">function submitWARP(){ var submitByRefresh = true; if(submitByRefresh) { var warp = ig$('WebAsyncRefreshPanel1'); if(warp) warp.refresh(); } else __doPostBack('elemInWARP', '');}</script>
<igmisc:WebAsyncRefreshPanel ID="WebAsyncRefreshPanel1" runat="server"> <span id="elemInWARP"></span> <input value="submit" type="button" onclick="submitWARP()" /></igmisc:WebAsyncRefreshPanel>