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
Hello, I want to change my project from ServerSide binding to ClientBinding, but my project has template ,like this:<CellTemplate></CellTemplate>,it causes wrong when I set BindingOperationMode=ClientBinding.Does it not support CellTemplate when in Clientside binding? If it support, would you please give a sample? Thank you very much!
Hi su su,
Actually, you couldn't use CellTemplate in ClientBinding. When using ClientBinding, it will render the row in client side. Although when you're using CellTemplate, it will render the control in server side which mean, it has different process with client rendering which doesn't use server side rendering. This is cause the problem with your WebGrid.
Actually, WebGrid has many possibilities to render the template inside some cell in ClientBinding. For example, you can get the cells in OnInitializeRow clientside event then you can get the element inside the row. This way you can achieve your cell template in client side. Hope this helps.
Regards,Bernard
Hi Bernard,
I know that when using ClientBinding,the OnInitializeRow in background could use clientside OnInitializeRow event, but I don't know that if I use a control in a celltemplate,how to removal it in clienside event OnInitializeRow, here is my sample that I have realize a serverbing with celltemplate, could you please realize with ClientBinding,and removing the background event OnInitializeRow to clientside event OnInitializeRow ,thank you verymuch! the sample is attachment below:
Regarding to your sample, I think you can use OnAfterResponseProcess client side event to put the ComboBox inside your WebGrid. However, you should handle insert update delete method on your own when changing the data inside WebGrid. I attach the sample here. Hope this helps.
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