hai
How to get value of silver light text box to aspx page text-box ? Currently i can get value for silverlight through button click in silverlight application itslef,i mean i have button in silverlight application and in that button click event only i can get value form aspx page to sliverlight and send to aspx page to silverlight .My code is
This for send value to aspx page form Silverlight application
HtmlPage.Document.GetElementById("TextBox1").SetProperty("value", DataText.Text)
This code available in silverlight application and asp textbox name is "TextBox1" and silverlight textbox name is "DataText".
This for get value form aspx page form Silverlight application
DataText.Text = HtmlPage.Document.GetElementById("txtData").GetProperty("value").ToString();
The above code available in silverlight button click event,but my need is ,in aspx page button click event i get value from silverlight textbox values.
Why i am asking this ,if i send value form silverlight button click event again ,i can execute the aspx page button evet,so it two button event occurs,so i need to reduce one click event,
pls reply asap
Regards
Aravind