Hi ,
I want to synchronize two textboxes which are in different user controls of silverlight , i want that , the moment i start writing something in one textbox it should also appear in second textbox.
Problem with binding controls,
public static readonly DependencyProperty InnerTextProperty = DependencyProperty.Register("InnerText",
typeof(string), typeof(string), new PropertyMetadata(false, OnTextInput));
public bool InnerText
{
get { return (bool)GetValue(InnerTextProperty); }
set { SetValue(InnerTextProperty, value); }
}
private static void OnTextInput(DependencyObject obj, DependencyPropertyChangedEventArgs e)
{
CheckEmailExistence c = obj as CheckEmailExistence;
if (c != null)
{
c.lblMsg.Content = (string)e.NewValue;
}
}
Waiting for replies...