I use a websplitter. I set the ContentUrl of one of the splitterpanes. The other splitter pane contains html links, I want to target the html links to use the splitterpane. However the iframe rendered by the SplitterPane does not render a name attribute. Therefore my anchors cannot target the iframe.
A nice hack for this is to set the contenturl in the aspx page - but then remove it on load and add a control that contains the iframe
{
AddIdToSplitterPanelIFrame(wsMainContent.Panes[0]);
}
string contentUrl = pane.ContentUrl;
Literal lb = new Literal();
pane.Controls.Add(lb);
then you can get the id within the javascript via
</script>
works for me - but obviously a dirty dirty hack - much better if the control had a ControlFrameId property that did that for you