This is a migrated thread and some comments may be shown as answers.

how i can get POST data or get some event from HTMLPlasceHolder page

1 Answer 30 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
yong kong
Top achievements
Rank 1
yong kong asked on 10 Sep 2010, 05:37 AM
I have a page in HTMLPlasceHolder,when page submit a form(POST),how i can get POST data or get some event on current silverlight Application.


<Grid Background="Azure">
    <Grid.RowDefinitions>
        <RowDefinition Height="auto" />
        <RowDefinition Height="auto"  />
        <RowDefinition Height="auto" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
        <ColumnDefinition></ColumnDefinition>
        <ColumnDefinition></ColumnDefinition>
    </Grid.ColumnDefinitions>
    <TextBlock  Grid.Column="0"  Grid.Row="0" Text="UserName:"></TextBlock>
    <StackPanel Orientation="Horizontal" Grid.Column="1"  Grid.Row="0">
        <TextBlock x:Name="lblUserName"  ></TextBlock>
    </StackPanel>
    <Border  Grid.ColumnSpan="2" Grid.Row="2"  Background="White" BorderBrush="Black" BorderThickness="2">
        <telerik:RadHtmlPlaceholder  Name="frameTask"  SourceUrl="http://localhost:55782/default.aspx" Loaded="frameTask_Loaded" />
    </Border>
</Grid>


1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 15 Sep 2010, 03:48 PM
Hi yong kong,

Please have a look at the link bellow as they explain more on the Silverlight - HTML bridge.

HTML Bridge: Interaction Between HTML and Managed Code

Walkthrough: Calling JavaScript from Managed Code

Walkthrough: Calling Managed Code from JavaScript

Calling Javascript functions from RadHtmlPlaceholder

Sincerely yours,
Kiril Stanoev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
HTMLPlaceHolder
Asked by
yong kong
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or