Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 19th, 2009, 02:05 AM
Authorized User
Join Date: Apr 2007
Location: Delhi, Delhi, India.
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default Stop popu window

Hello Friends,
I've a DataList in this DataList i've a Div onclick this Div a popup window opens. And also this div holds some Labelsto display the data and a Button onclick this button a Image Ur is displayed.
But the problem is as i click on this Button, Image Url is displayed but a popup windowis also opened. But i want if i click on Button only ImageUrl is to be displayed otherwise popup window should be opened

Here is my code

<ItemTemplate><divid="myDiv"runat="server"class="ARough"onclick="window.open('Admin/Default.aspx','myWindow','width=200,height=200');" >
<asp:LabelID="lblID"runat="server"Text='<%#Eval("ID") %>'></asp:Label>
<asp:LabelID="lblAlternateText"runat="server"Text='<%#Eval("AlternateText") %>'></asp:Label>
<asp:ButtonID="cmdShow"CommandName="Show"runat="server"Text="Show Image Url"/>
<asp:LabelID="lblImageUrl"Visible="false"runat="server"Text='<%#Eval("ImageUrl") %>'></asp:Label>

Last edited by Manoj Bisht; June 19th, 2009 at 03:46 AM..

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop Tomcat Service "Command Window" steveAR BOOK: Professional Apache Tomcat 1 June 9th, 2008 12:16 PM
Stop button won't stop loop JDShaffer Visual Basic 2008 Essentials 3 May 23rd, 2008 03:22 PM
Centering Popup window & Blur Parent window jkusmanto Javascript How-To 0 May 25th, 2007 03:19 AM
closed parent window when opened child window jaiwin Javascript How-To 0 October 8th, 2006 12:54 PM
Stop VBE Window Showing Skunk Excel VBA 0 December 31st, 2004 05:26 AM

All times are GMT -4. The time now is 04:22 PM.

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