iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
I want you consult that if I select a checkbox in a grid,I don't want it to trigger WebGrid1_InitializePostBack event when one row checkbox is selected.how to realize it?Thank you!
Hello Kristian,
I have know what cause the trigger InitializePostBack event,It is because in client side ,I have an event
function WebGrid1_OnRowSelect(gridId, tblName, rowIndex, rowElm) { var grid = ISGetObject("WebGrid1"); var key = rowElm.keyValue; { grid.AddInput("key", key); grid.SendCustomRequest(); } return true; }
and grid.SendCustomRequest() cause to trigger the InitializePostBack event.
I want that when just mouse click one row ,it trigger InitializePostBack ,this has been realized.But when I selected the checkbox,it also trigger InitializePostBack ,I wonder when choosing checkbox,it should not trigger InitializePostBack ,can this be realized? please see my attachment.Thank you!
Hello,
It is not possible when you use SendCustomRequest(). This method will do flypostback request to the server. Besides, to click checkbox will automatically call OnRowSelect event. This is a default behaviour.
Regards,Handy
Hi Surya ,
OK,I know now,thank you very much for your help!
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname