ASPCode.net forum
ASPCodeForumaspcode.net
 
  > Forum index > ASP.NET questions > Linkbutton in Frame
This topic is about Linkbutton in Frame

Linkbutton in Frame

8/21/2006 8:30:06 AM by srilakshmi

Hi, Iam a Fresh .net programmer I have a link button in Left Frame.When i click on that the corresponding page will load on the Right frame,but the link button does not have the target attribute property? Plz anybody tell me,how can the problem will solve? Thanks&Regards Srilakshmi


8/23/2006 8:20:05 PM by gdn123

this.LinkButton1.Attributes.Add("onclick","parent.mainframe.window.location.href='some.aspx'"); Write this code in the pageload event, here mainframe is the frame to which the page to be diaplayed and some.aspx is the page


This topic is about Linkbutton in Frame
UserTools

Currently unavailable because of spam. Just reading and searching is enabled.