Link Button in frames
-
Hi All How do I use a Link Button or Buttom on a Web Page in the left frame of a frames page to update the page in the right hand frame??? Tried code below but still no luck: LinkButton.Attributes.Add("onClick", "parent.frames['rbottom'].location.href='update.aspx'; return false;") Thanks heaps...:confused: When people make you see red, be thankful your not colour blind. -- modified at 5:05 Sunday 6th November, 2005
-
Hi All How do I use a Link Button or Buttom on a Web Page in the left frame of a frames page to update the page in the right hand frame??? Tried code below but still no luck: LinkButton.Attributes.Add("onClick", "parent.frames['rbottom'].location.href='update.aspx'; return false;") Thanks heaps...:confused: When people make you see red, be thankful your not colour blind. -- modified at 5:05 Sunday 6th November, 2005
-
1. function setTarget(){ window.forms[0].target = parent.frames['rbottom']; } 2.Add attribute to LinkButton onclick = setTarget(); 3.In CodeBehind get the content and set them to your page hope it can help