User Profile & Activity

leo Chandra Member
Page
of 14
Posted: April 29, 2015 10:06 AM

Hi Questica,

We have release the WebGrid9 hotfix for chrome 43 support. Please find the hotfix on attachment. To apply the hotfix, please follow the step-by-step instruction on "To apply WebUI.NET Framework hotfix" section at http://www.intersoftpt.com/Support/ASPNET/Tutorial/Text/Apply-ASPNET-product-hotfix-manually/.

Best Regards,
Leo

Hi Jimmy,

The changes done by database trigger won't be reflected because it was done in database side, so the provider won't aware of the changes. To support this kind of scenario, I propose to you 2 kind of options:

1. On Collection entity in dbmx, please set StoreGeneratedPattern for all property that will be changed by database trigger, in this case "Gross" and "CommissionAmount", to "Computed". This will make the property have a value that is generated on both insert and update. The only drawn back for this solution is that your application (WebAPI) will never modify the properties' value.

2. Refresh/reload your entity (Collection) after save was done. This way, server will surely return the most recent data including the changes form database trigger to client side. The following is an example code in server side to implement this :
db.AfterSaveChangesDelegate = (context, affectedRows) =>{	var dbEntityEntry = context.ChangeTracker.Entries();	List<DbEntityEntry> collectionEntries = dbEntityEntry.Where(o => o.Entity.GetType() == typeof(Collection)).ToList();
	foreach (DbEntityEntry collectionEntry in collectionEntries)
	{
		collectionEntry.Reload();
	}
};

In case you need to include related entities to WebAPI response, example database trigger modify a property/column on related entity, you could load the related entity as the following example:
db.AfterSaveChangesDelegate = (context, affectedRows) =>
{
	var dbEntityEntry = context.ChangeTracker.Entries();
	List<DbEntityEntry> collectionEntries = dbEntityEntry.Where(o => o.Entity.GetType() == typeof(Collection)).ToList();
	bool relatedAttached = dbEntityEntry.Count(o => o.Entity.GetType() == typeof(ReleatedEntity)) >= 1;
	foreach (DbEntityEntry collectionEntry in collectionEntries)
	{
		Collection collection = collectionEntry.Entity as Collection;
		if(relatedAttached)
			context.Entry(collection.ReleatedEntity).Reload();
		else
			context.Entry(collection).Reference(c => c.ReleatedEntity).Load();
	}
 };

I have modified my sample to adopt the second option. Please find the sample here. Feel free to share your thought on this.

Best Regards,
Leo
Posted: April 29, 2015 4:33 AM

Hi Questica,

Sorry for my late response. I will contact our developer team to confirm when the fix or a nightly build will be available and inform you about it later.

Best Regards,
Leo

Hi Jimmy,

Sorry for the wait. I have create a simple sample that demonstrate this behaviour. Please find the sample here.

Regarding invoke ExecuteSave on navigation result Callback, I have report this issue under CROS-805. I will keep you informed with the progress of CROS-805.

Best Regards,
Leo

Hi Rahul,

I'm afraid that WebCombo 4 has now been discontinued for several years and there is not going to be any further updates for it. So I suggest you to update your webcombo (WebUI Studio).

For this issue, I will help you by testing this out in WebCombo 6. For this reason, please provide informations regarding IE compatibility mode, WebCombo rendering mode, and doctype.

Best Regards,
Leo

Posted: April 27, 2015 7:07 AM

Hi Questica,

WebGrid9 has the same issue with WebGrid8 on Chrome43beta. For more information and update about this issue, please refer to this.

Best Regards,
Leo

Posted: April 27, 2015 7:00 AM

Hi Questica,

I will help you by escalating this issue so that the fix or nightly build could be available as soon as possible. For your information, the fix will be targeted for WebGrid 9. I will keep you updated about this issue.

Best Regards,
Leo

Posted: April 23, 2015 6:28 AM

Hi Questica,

Right now, WebGrid does not work well with Chrome 43, but we going to add a support for it. For your information, this issue has been submit under ASPNET-163 and our team has manage to make some of WebGrid's feature run on Chrome 43. I will update you with information regarding this issue.

Best Regards,
Leo

Posted: April 22, 2015 4:38 AM

Hi Questica,

I have confirm this with our developer team and there will be a support for Chrome version 43 after it is out of beta test (stable release).

Best Regards,
Leo

Hi Bob,

I am glad to hear that your problem sloved. Should you need further assistance or run into any problems in regard to our controls, feel free to post it into our forum. we would be happy to assist you again.

Best Regards,
Leo

All times are GMT -5. The time now is 3:13 AM.
Previous Next