ASPxGroupPropertyEditor question | Galaktikasoft

ASPxGroupPropertyEditor question

StatusIDPriorityType
Closed27322MinorQuestion
ProfileReply
Γρηγορης ΤσολακιδιςClient

Hello,

I have the need to disable a aspxgridview inside a child detail view in an ASPxGroupPropertyEditor. The problem i have is that ib the ViewControlsCreated event of the master detail view the ASPxGroupPropertyEditor does not have a DetailView set so that i could use FindViewItem. I have tried all provided event s in the group editor but none is fired when first loading the master detail view or even when opening the editor and showing the child view.

So how can i catch an event that a child detail view is created/loaded and do stuff on its items?

Greg

Replies

UserDescriptionPosted On
Sasha (Xafari Support)Agent

Hello Greg,

Thanks for the clarification.
We are going to investigate the issue. It will take some additional time.

Thanks, Sasha.

Sasha (Xafari Support)Agent

Hello,

We investigated this issue on DemoCenter (FeatureCenter -> ASPxGroupPropertyEditor) and used for the investigate action ViewControlsCreated in ViewController.

protected override void OnViewControlsCreated()
{
base.OnViewControlsCreated();
var view = this.Frame.View;
if (view.Id != "GroupPropertyEditorObject_DetailView_List") return;
var detailView = view as DetailView;
if (detailView == null) return;
foreach (var item in detailView.Items) { ... }
}

You can find its item using the object item in loop foreach.

We apologize for the delayed response.
If you need any further assistance on this subject, please feel free to contact us.

Best regards,
Sasha.

× This ticket is closed.