I am using your splitter control..
In the top pane, i have a radgrid
In the bottom pane i have an iFrame..
What i am trying to do is, when the selectedIndex of the grid changes, the iFrame src should change.
I cannot seem to do this..
To test this, i have used (below) but this does not work..
Protected
Sub RadGrid1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.SelectedIndexChanged
Dim
frame1 As HtmlControl = CType(Me.FindControl("frame1"), HtmlControl)frame1.Attributes("src") = http://www.bbc.co.uk"
End Sub
However, if i place a asp:button on page and place code below in this it works ?!
Thanks
Mark
My grid aspx
<
telerik:RadGrid id="RadGrid1" runat="server" AllowPaging="True" Skin="WebBlue" AllowFilteringByColumn="True"
Width="100%" AllowSorting="True" GridLines="None" >
<MasterTableView AllowPaging="true" >
<RowIndicatorColumn Visible="False">
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<ExpandCollapseColumn Resizable="False" Visible="False">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<EditFormSettings>
<PopUpSettings ScrollBars="None" />
</EditFormSettings>
</MasterTableView>
<PagerStyle Mode="NumericPages" Position="Top" />
<ClientSettings EnablePostBackOnRowClick="true">
<Selecting AllowRowSelect="True"></Selecting>
</ClientSettings>
</telerik:RadGrid>