Click here to Skip to main content
15,899,475 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
html page enter text passed to the Silverlight TextBox

a.html
<input type="text" id="text1" name="text1">
<input type="button" value="ok">




a.xaml
<TextBox Name="txtRuleName" Width="200"  VerticalAlignment="Center" HorizontalAlignment="Left"  Grid.Column="1" Grid.Row="0"></TextBox>


a.html click ok a.html value passed to the a.xaml txtRuleName


help me!
Posted

1 solution

You can use HTML Bridge[^] to call managed code from HTML using javascript...

Walkthrough: Calling Managed Code from JavaScript[^]
 
Share this answer
 
Comments
Abhinav S 15-Jul-11 13:20pm    
That was my answer. My 5.
:)
Mark Salsbery 15-Jul-11 13:44pm    
Thanks Abhinav!

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