Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 10th, 2005, 09:33 AM
Registered User
 
Join Date: Dec 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Gridview and Popup Window

I have a Gridview.I wunna make a link to products detail at popup window.
Gridview such as

<columns>
      ....
<asp:HyperLinkField DataNavigateUrlFields="MalzemeID" DataNavigateUrlFormatString="javascript:var w =window.open('detay.aspx?ID={0}','','width=400,hei ght=400,location=no')"

Text="Detay" />
   .....
</columns>


but it doesnt work..Can u you help me? Thx.

 
Old December 22nd, 2005, 05:55 PM
Authorized User
 
Join Date: Jul 2005
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have a label as follows:
<asp:Label id="lbl1" runat="server" />
and

protected void Page_Load(object sender, EventArgs e){
  lbl1.Attributes["onclick"] = "javascript:window.open('http://www.microsoft.com','name', 'width=500,height=500,resizable=0')";

So, I'm wondering if the portion "var w" is needed?!?
}


 
Old April 20th, 2006, 11:56 AM
Registered User
 
Join Date: Oct 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi. I have exactly Yusuf's problem with the HyperLinkField. This is reported to work for a HyperLinkColumn in a DataGrid control in .NET 1.1. Did this ever get resolved as asked above?

Thanks!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Popup window from powerpoint jaw1971 Javascript 1 June 8th, 2007 12:29 PM
Centering Popup window & Blur Parent window jkusmanto Javascript How-To 0 May 25th, 2007 03:19 AM
get popup window value without refresh qadeerahmad General .NET 6 August 4th, 2006 10:49 AM
JSP popup window Anuja Pro JSP 0 March 15th, 2006 07:01 AM
popup window sankar Pro VB 6 0 July 29th, 2003 01:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.