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 Xu,
First of all, sorry for the wrong sample that I attached. Yesterday, I have not tried until accepting all changes. So, I also get that issue here. I have provided a solution using this snippet code:
function SelectAll(obj) var grid = ISGetObject("WebGrid2"); for (i = 0; i < grid.TotalLoadedRows; i++) { var row = grid.RootTable.GetRow(i); var cell = row.GetCells()[3]; cell.SetValue(true, true); cell.ActivateEdit(); grid.MarkEdit(); grid.ExitEdit(1, 0, 0); } }
Attached in my simple runable sample. In this sample I also show you how to un-check all checkBox.
Please let me know whether the issue still exist, or if there is another issue.
Thanks.Riendy
Hello Xu,Actually there is no bug with your issue. At the beginning I've told you that you have to add UpdatePendingChangesStatus(). I'm sorry because I missed a method to add the pending changes. It is AddPendingChanges() method. I have created the snippet code based on your scenario. Here is the snippet code:
function SelectAll(obj) { var grid = ISGetObject("WebGrid1"); for (i = 0; i < grid.TotalLoadedRows; i++) { grid.RootTable.GetRow(i).GetCells()[0].SetValue(1, true); grid.RootTable.GetRow(i).AddPendingChanges(); grid.UpdatePendingChangesStatus(); } }
I also have modified your simple runable sample to reproduce in WebGrid's sample easilly. Attached is a sample file.
Best Regards.Riendy
Hi Xu,In this simple sample, you are using 2 update panel controls to handle WebToolBar and TextBox. Actually, you were right to use UpdatePanel for the TextBox. But, there's a little bit mistake when using updatePanel. WebToolBar already perform FlyPostBack, so that no need to use update panel for WebToolBar. It works as well as expectation on my end. Please see the attachment to see the code.
Regards.Riendy
Hi Xu,I also have tried to execute a code in background program, just for checking How many times the button able to call. And it works fine on my end. Could you please give me a simple runable sample that reproduce your issue ?To maximize the performance, I think you should use WebFlyPostBackManager.
Thank you.Riendy
Hi Michael,
You were unable to see the templates because it was installed in local administrator's document.If you have to work in domain user, you don't have to reinstall VS and WebUI in the domain user. But, you should copy the template on local administrator's document to the domain user's document.The templates should be on this path :
C:\Users\[local administrator]\My Documents\Visual Studio 2010\Templates\ProjectTemplates\Visual C#[or Visual Basic]
Then you have to copy the templates from [local administrator] to [Your domain user].
You can also get the templates from here.
Please let me know the result.
Hi Michael,You didn't do a mistake to install WebUI as a local administrator so far.
The warning appears because there is no choice to run our sample as a local administrator.Please follow these steps to remove the warning (for win7):
Hello Ramiro,First of all, may I know - is it ClientUI's controls ?
Let me try to answer your question one-by-one.
Hello Xu,Unfortunately, I could not replicate your issue on my end. I tried in simple sample that use WebToolBar inside UpdatePanel, and absolutely with scriptManager.
This sample works fine on my end. Please see my attachment. Is it possible for you to reproduce your issue on my simple sample ?
Hi Xu,I'm still investigate your issue. I will let you know as soon as possible about this issue. This issue might be a bug.
Anyway, to initialize WebGrid, I suggest you to use ISGetObject. So, you are able to use our method, such as UpdatePendingChangeStatus. For example :
var grid = ISGetObject("WebGrid1");
Hello Olusola,Unfortunately I could not replicate your issue on my end. I've tried binding AViewModelBooleanProperty in Button and GlassButton. And it works as expected.
This is a snippet code of AViewModelBooleanProperty in my simple sample:
private bool _aViewModelBooleanProperty; public bool AViewModelBooleanProperty { get { return false; } set { if (_aViewModelBooleanProperty != true) { _aViewModelBooleanProperty = false; } } }
Both of Button and GlassButton works as expected, enabled when I set to true and disabled when I set to false.
Could you please give me your simple runable sample which reproduce this issue ?
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