Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opening new window from asp .net

Status
Not open for further replies.

ProBani

Programmer
Mar 21, 2005
48
YU
Dear all,

I'm calling another window as a popup from asp.net with javascript function, but the thing is that is doing postback through LinkButton:
LinkButton1.Attributes.Add("onClick", "hape('displ_descr.aspx?par=" & Label2.Text & "');")

How can I pass the parameter PAR from javascript not through vb like above.

Thanks,
probani
 
LinkButton1.Attributes.Add("onClick", "open('displ_descr.aspx?par=" & Label2.Text & "');")

Known is handfull, Unknown is worldfull
 
addition:

LinkButton1.Attributes.Add("onClick", "open('displ_descr.aspx?par=" & Label2.Text & "');return false;")

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top