i want to get this binding value with Row_Click Events,but it doesn't work.help
private void Row_Click(object sender, RoutedEventArgs e) { RadButton b = e.OriginalSource as RadButton; string guid = b.DataContext.ToString(); int type=1;
if (((Silverlight.BindableObject)(this.grvinfo.SelectedItem)).GetValue("ty").ToString() == "2")
{
type = 2;
}
CheckMail _mail = new CheckMail(guid, type);
_mail.Show();
}