c#


Pass values from one to another page


How we can pass the values from a child window to the parent window in silverlight 3 by using Properties (ie Databinding).
In my work, it includes a parent window and a child window. The child window contains a text box, which returns a value after the hitting OK button it to Parent window. I already did this by using message sending and receiving events. But now i wish to change that to using properties.
Parent Window:
ChildWindow myWin = new MyWindow("Test", "Test of shared ui elemnts");
myWin.Show();
myWin.Closed += new EventHandler(myWin_Closed);
void errorWin_Closed(object sender, EventArgs e)
{
ErrorWindow wrr = (ErrorWindow)sender;
string mytext = wrr.MyText; // Can access any property that was set ChildWindow
}

Related Links

Point-Cloud of Body Using Kinect SDK
How to determine or delete all unused embedded resources in C# Windows Forms Application?
Error retrieving information from user cookie
Variables initialized in a TextFixtureSetup not read by a IEnumerable-using test
How to Enable/Disable a IsEnabled/IsHitTestVisible Property of a Checkbox with Binding
JQuery ajax call to MVC action always returns an error when there isn't one
How to read a full node with XMLTextReader?
WebClient on Windows Phone 7 outside debug
complex linq-to-sql join with 4 tables: how many where clauses should there be?
Silverlight databound image displayed inside tooltip
.NET MVC - Return video file for jPlayer
threading timer not working, why?
Why doesn't C# volatile protect write-read reordering?
EditorTemplate and DateTimeOffset not working in MVC4
ftp file download working on localhost but not working on server
Million iterations per second

Categories

HOME
spring-boot
gulp
internet-explorer
youtube-api
msbuild
teradata
cxf
mifare
lithium
ms-application-insights
docker-compose
subprocess
phpexcel
apache-httpclient-4.x
jcodemodel
aspectj
distinct
eclipse-orion
dompdf
owncloud
ringcentral
autologin
conditional-formatting
webgl-earth
prepros
ppp
formtastic
multiple-inheritance
typeclass
units-of-measurement
pypy
javapns
login-required
jql
ng2-bootstrap
jcr
jsonapi-resources
apache-falcon
zimbra
headphones
respect-validation
android-databinding
stochastic-process
mediastream
cowboy
office-interop
ui-grid
google-chrome-console
rexx
scrapinghub
niagara-ax
synchronized
npoco
mef
extjs3
vertex
jenkins-docker
richtext
programming-pearls
disassembly
robotc
apache-commons-cli
msiexec
mongodb-3.3
vitamio
queuing
nsoperationqueue
supervised-learning
datamodel
vensim
android-networking
jeet-grid
service-broker
mathics
esri-arc-engine
api-eveonline
dirname
powerpoint-2010
nest-initiative
telerik-appbuilder
isl
django-tests
dateadd
enquire.js
new-operator
object-oriented-database
static-class
mandelbrot
kademlia
panelgrid
nsautoreleasepool
idoc
esi
aspmenu-control
pdf-reader
diazo
jqueryi-ui-buttonset
mcpd
xhtmlrenderer
nbehave
cryptolicensing
response-time
http-response-codes
google-local-search
appointment
expander
ironpython-studio

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App