I would like to cancell automatic post back evry time a change a cell data in UltraWebGrid.
igtbl_cancelPostBack(gridID); in OnAfterCellChanged client side event handler.
I was wondering if there are more simple solution that does not require client scripting?
Thank you in advance.
Andrei
Hello apalvinski,
If you are using The CellUpdate Handler I would conceder using a different one. Cell update triggers a postback.
Patrick
Patrick,
Thank you very much for your help.
My question is: Can I cancel postback without using client side java script?
Thank you,
I copied ASPX example grid and replaced data source with mine.... got the same result, any data change in cell causes page postback...
Thank you Andrei
Rumen,
The example requires databas that I do not have access to... I still will not know what do I need to change in order to achieve the "DEFAULT" behavior.
Hello,
Did you copy paste the entire ASPX setup of the grid in the example I've sent you (provided this is the behaviour you want to achieve)?
I set AllowUpdate... for the grid everywhere possible, but I am still geting PostBack on any cell change...
This seems to be default behavior I am getting... ??
Then in this case, if the behaviour in the sample is what you want to achieve, I suggest you to just copy/paste the ASPX delcaration of the grid in the sample and use it in your own example - this might be the quickest way to go.
Cell Editing Enabled typically means setting the AllowUpdateDefault property of the grid to true (in DisplayLayout)
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/Infragistics2.WebUI.UltraWebGrid.v7.3~Infragistics.WebUI.UltraWebGrid.UltraGridLayout~AllowUpdateDefault.html