User Profile & Activity

Riendy Setiadi Member
riendy@intersoftpt.com
Page
of 19

Hello Patrick,

I can send a hot fix soon, but to complete the procedure, please send an email to me (riendy@intersoftpt.com) contains your purchase information (subscription ID or registered email).

Thank you.
Riendy

Hi Andrzej,

EntityManager is an item from devforce. The process that you did in UXGrid would be save on entityManager before you save or cancel the processes (save all changes/reject all changes) to dataSource. In simply, we can call it client caching. That is why batch update not available in all data providers such as WCF RIA service.

In brief, you have to add NewItem to EntityManager, because you use DevForce service.

For your other experience with our template, if you want to clear the processes that haven't click save all changes button, you may add following code in you xaml, ie :

ProductRepository repository = this.DataSource as ProductRepository;
Repository.Context.Clear();

When this code applied, the "cache" will be clear when the xaml opened.


Please let me know if it is not answered yet.


Thank you.
Riendy




Hi Andrzej,

This issue appears because you are using navigation property (region).

ExecutePrepareNewRow event, executed when you click on add new row, so when you click new row, the new data appear on grid with the default value, just like appear on add new row. 

ExecuteInsertRow event, executed in last action after you approve the adding with pressing enter, etc. After insert, we get double record on list, it might be appear because set true the AutoGenerateColumn property, so the collection called twice.

In addition, your scenario is a missing scenario when we did QA. I have reported this issue to our development team for further investigation.


Regards,
Riendy

Hi Neil,

I'm currently still investigating your problem and need more time to provide a solution for you. For my added information, are you have another scenario beside using image hyperlink in WebGrid ?

I will let you know soon for an update.


Thank you for your patience.
Riendy

Hi Andrzej,

The first solution is execute when you click add new row. And the second one, execute when you press enter after you type a new data.

But, I have to discuss with our development team to ensure when the event execute and also forward the issue which appear while using these events.

Could you please give me more time ?


Thank you for your patience.
Riendy

Hi Andrzej,

For your experience with a cache, I have informed our development teams for this issue.

Regarding to your question about ExecuteValidateRow, your sample in this thread show me that you used ExecuteValidateRow event. Is it still not trigger as you expect ?


Regards.
Riendy

Hi Jean,

I have modified your sample. In your sample, WebGrid1 doesn't get data programmatically, so I added RetreiveStructure method in WebGrid1 PrepareDataBinding Event. Then I added validation to hide columns which are have a same TaskID and Subject value in WebGrid2 in WebGrid1 InitializeRow Event. Last, I added WebGrid1 Refresh method when GetRecords button clicked.

Note: I delete "User Instance=True" in all connection string to run your sample here.

Could you please let me know is my modified runs as like as your expectation ?

Regards,
Riendy

Hi Andrzej,

I'm currently still investigating your problem and need more time to provide a solution for you. I will get back to you as soon as possible.


Regards.
Riendy




Hi Questica,

You did not do something wrong. This issue has been fixed, but it still exist on build 430. Deeply apologize for this incident. Anyway, I have send a nightly build WebGrid (7.0.7200.431) to support@questica.com.

Would you please let me know whether this issue still exists in build 431 or not? For your information, I tried your sample in build 431 (WebGrid.png) and it runs perfectly.


Regards.
Riendy

Hi Jean,

To Hide all rows which have a simillar value/text of TaskID and UserID in both grids (WebGrid1 and WebGrid2), you have to validate the rows in WebGrid1 on InitializeRow Event after you set both of the WEbGrid's DataSource. For your information, there's no need to change the WebGrid's code (server side) whether the Webgrid located inside or outside WebPaneManager. 

Attached is my simple runable sample. Please describe me more detail if my sample is different with your scenario.

Thank you.
Riendy

All times are GMT -5. The time now is 12:30 PM.
Previous Next