Click here to Skip to main content
13,593,166 members
Rate this:
Please Sign up or sign in to vote.
There is no problem when update data in data context. But if I show any message box/dialouge then the problem occur when I use static resource in my control.
i.e If I want to update master detail data then I first get such data in my edit page.Here master has three detail items. Now I change one detail item data then there is no problem in the data context. Because there has only one change in my datacontext. But if I show any dialouge box then all of my item get update status else where I do not change any data in other item.
Please help me
Posted 26-Nov-12 20:15pm
Updated 16-Dec-12 16:12pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I have solved this problem. If I show any child window in my page then such child window disable the backend window control. If there is any control in my parent window has enable property (IsEnable="{Binding Path=Object.IsEnbled, Mode=TwoWay}") then when child window disable the parent controls then for 'mode twoway' property the Object.IsEnabled modified. For this reason my above problem occurs.

The above problem solved use one way instead of two way. ie IsEnable="{Binding Path=Object.IsEnbled, Mode=OneWay}"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web02 | 2.8.180618.1 | Last Updated 13 Jul 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100