Click here to Skip to main content
15,884,986 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
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
Thanks
Posted
Updated 16-Dec-12 16:12pm
v4

1 solution

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}"
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900