Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0 Silverlight5
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 26-Nov-12 20:15pm
Edited 16-Dec-12 16:12pm
v4

1 solution

Rate this: bad
good
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}"
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 270
1 Sergey Alexandrovich Kryukov 150
2 ChauhanAjay 120
3 BotCar 105
4 Dave Kreskowiak 100
0 Sergey Alexandrovich Kryukov 9,056
1 OriginalGriff 8,041
2 CPallini 2,613
3 Richard MacCutchan 2,221
4 Abhinav S 1,928


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

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