Hi,
I am using a Ultrawebgrid with one of the column as webcombo. I want to display value of last column of grid on selection of webcombo so I have attached SelectedRowChanged ate server side causing postback.
Whenever I click on webcmbo in any row it is causing postback, but I want to restrict postback only if I change value in webcombo of that particular row is changed
Please help on this
Hello,You can use the event AfterCloseUp of ClientSideEvents tag and force post back with JS code.
ASXP of templated column:<Columns> <igtbl:TemplatedColumn Width="100"> <CellTemplate> <igcmbo:WebCombo ID="WebCombo1" DataSourceID="SqlDataSource1" runat="server" Width="100"> <ClientSideEvents AfterCloseUp="ACU" /> </igcmbo:WebCombo> </CellTemplate> </igtbl:TemplatedColumn>
JS cede:
<script type="text/javascript">
function ACU(cmboID) { var combo = igcmbo_getComboById(cmboID); __doPostBack(combo,""); //debugger; }
</script >
I hope this helps.
how to track that ultrawebgrid has been changed before going to close the page.kindly help me on this.
Thanks Ivan. But I do not to postback occur. How can I avoid this?