Click here to Skip to main content
15,896,915 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
VB
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
VB
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
Posted
Updated 10-Aug-13 21:09pm
v3

1 solution

Hi Aravindba, may be this answered thread[^] helps to you.

Regards.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900