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
Did you try to load a large amount of record in the WebCombo? If that is the case, you could try using load on demand in WebCombo to improve the performance.
A sample has been provided in WebCombo sample on the page LoadOnDemand.aspx
The method is implemented in the sample that I pointed out on my previous post. Since the WebGrid is using WebService.asmx, the UpdateBugs method is defined in the WebService.cs under App_Data folder.
Here is the UpdateBugs method I copied from the WebService.cs:
[WebMethod][GenerateScriptType(typeof(Bug))]public TransactionResult UpdateBugs(List<ClientRowChanges> changes){ BugTrackerModelDataContext context = new BugTrackerModelDataContext(); WebGridDataProvider<Bug> provider = new WebGridDataProvider<Bug>(context.Bugs.AsQueryable()); return provider.BatchUpdate(changes);}
I am very sorry for the late reply. I have increased this issue bug report priority, however I still do not have a fixed date when the fix will be available.
If you could view the WebDesktop sample, rendering image in tab could be seen on VariousDisplayMode.aspx.
Regarding embedding WebGrid inside WebTab, in my simple test page I could not replicate such issue. Attached is the test page I am using.
Common control properties definition need to be set on the ISL, styles could be set on CSS, however there is some limitation on CSS, certain property such as padding or margin on the control style could not be overridden by the CSS.
A sample of client binding and batch update has been provided on the ClientBinding_BatchUpdate.aspx sample page.
You will need to set the BatchUpdateMethod property in the ServiceMethods of ClientBindingSettings. Here is an excerpt of the ClientBindingSettings from the sample:
<ClientBindingSettings DataLoadMode="PagedData" DataSourceType="WebService" ItemTypeName="Bug" ServiceUrl="WebService.asmx"> <ServiceMethods BatchUpdateMethod="UpdateBugs" SelectMethod="GetPagedBugs" /></ClientBindingSettings>
My test show that by moving the columns which visible property set to false to the back of the WebGrid, the issue is solved.
Regarding the ForecastCountryID, PricingDrigID, Strength new object returns empty string, since you did not bound these property to the WebGrid the assigned value will be empty string.
Currently UXTextBox has not supported masked input. Masked input is being considered as a ClientUI control for the next ClientUI version.
A more detailed ClientUI documentation is being prepared, this documentation also include the whitepaper with properties and method list, and will be released soon.
For such scenario, you will need to create an ApplicationPackage object with the external xap information and add it to the UXShell. Afterward, you could use the UriMapper to link the external xap in your project.
A simple demonstration using UXFrame and UXNavigationButton is attached.
Have you trind manually updating the database instead of using WebGridDataProvider? After a successful operation, you will need to return TransactionResult object as detaild in the article "Transaction Operations (Insert, Update and Delete)" in the WebGrid documentation.
Here is the update snippet for a composite table, exception handling is not implemented:
[WebMethod][GenerateScriptType(typeof(BugCustom))]public TransactionResult UpdateBugsCustom(List<ClientRowChanges> changes){ BugTrackerEntities context = new BugTrackerEntities(); BugTrackerModel.Bug bSingle = null; BugTrackerModel.Owner oSingle = null; foreach(ClientRowChanges change in changes) { BugCustom currRow = (BugCustom)change.NewObject; bSingle = context.Bugs.SingleOrDefault(b => b.BugId == currRow.BugId); bSingle.Summary = currRow.Summary; oSingle = context.Owners.SingleOrDefault(o => o.OwnerID == currRow.OwnerID); oSingle.OwnerName = currRow.OwnerName; } int saveResult = context.SaveChanges(); return new TransactionResult(){ AffectedResults = saveResult, OperationType = DataSourceOperation.BatchUpdate, ReturnValue = true };}
Based on my test, you will not be able to use WebGridDataProvider with entity framework. You will need to query the collection manually and return the result. The article "Walkthrough: Configuring WebService client-binding to return paged data" in the WebGrid documentation already details the steps.
The article will require Dynamic LINQ since the sorting and filtering is using string expression.
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