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
when I user WebFlyPostBackManager.ClientAction.RenderControl method to refresh webgrid, the string like "\r\n" missed.
Please forgive me for lack of understanding about the reported problem.
I am willing to advise you further but in order to do so I would need you to elaborate on your specific scenario by providing a working simple sample that reproduce the issue and give us a step-by-step guide that we can use to observe the problematic behavior.
I give a example, First the WebGrid display the data correct,then you click the button to refresh the webgrid using webflypostmanager, it will miss the "\r\n".
Please try to modify the code in WebFlyPostBackMethod from:
[WebFlyPostBackMethod()] public void RaiseCooperation() { InitData(); WebGrid1.ClearCachedDataSource(); WebGrid1.RebindDataSource(); WebFlyPostBackManager1.ClientAction.RenderControl(WebGrid1); }
into the following.
[WebFlyPostBackMethod()] public void RaiseCooperation() { InitData(); WebGrid1.ClearCachedDataSource(); WebGrid1.RebindDataSource(); WebGrid1.RequiresUIRefresh = true; }
Please let us know whether it helps or not.
I try the method you give, but it doesn't work.The webgrid doesn't refresh at all.
otherwise, I want to know why we cann't use the "WebFlyPostBackManager1.ClientAction.RenderControl(WebGrid1)".
I just want to refresh the webgrid1 only.
First, sorry for the late respond.
Our developer suspect that the issue is more related to WebFlyPostBackManager issue rather than WebGrid. The issue has been submitted under work item #963.
It is suggested to use Grid’s refresh method, WebGrid1.ClientAction.Refresh(), if you only need to refresh the grid.
Please let us know your response.
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