Forms Data Controls :: Show Links In Gridview / Open In New Window?
Jun 16, 2010
I have a list of links displayed in a gridview that, when clicked, open in a new window. I used OnClientClick = "form1.target = '_blank';" to achieve this. I also need to let the users delete links. Problem is, when I click the delete button it calls the OnClientClick event even though it isn't in the delete tag. This only happens if I click delete after I have clicked on a link. The result is that the link I am trying to delete opens up in a new window and is not deleted.
View 4 Replies
Similar Messages:
Jan 28, 2010
i have following datalist in WhatsNews.aspx page.
[Code]....
when i open home page and click a link in whatsnew section, IE 8 opening the links in a new window.but firefox 3.5.7 opens in parant window, just like i want.how can i make IE 8 also open the links in parent window?
View 3 Replies
Aug 31, 2010
How do I open a new window from a HyperLinkField in a Gridview?
<asp:HyperLinkField HeaderText="Test Icon"
DataNavigateUrlFields="clientID"
DataNavigateUrlFormatString="~/ClientInfo.aspx?ID={0}"
DataTextField="clientComments"
DataTextFormatString= "<img src='Images/moreInfoIcon.gif' alt='More Info'/>"/>
View 6 Replies
Aug 25, 2010
I'm using a GridView hooked up to an AccessDataSource holding details of books. The GridView has a CommandField which I want to act as a link to another page (called "showBook.aspx"). This page will have a DetailsView which I want to use to show the details of the selected book. I want this page to open in a new window.
View 2 Replies
Feb 3, 2010
I'm exporting the GridView to Excel. It works fine and I receive a prompt to Save/Open/Cancel the file although I need the file to be saved automatically in the provided (passed to the Export function) location and opened in the same browser window where the Gridview was.
View 2 Replies
Aug 25, 2010
I have a gridview with a column for tracking numbers. I would like for the user to be able to click the tracking number in that column and it open another browser window to the site with the tracking information. I have tried Hyperllinkfield and I cannot get it to open the website.
View 7 Replies
Sep 3, 2010
I'm wondering if there is a built in way to take a GridView select buttons and have them open an IE window or tab and link a FormView Control to that link.
Basically a Master-Details type of view, but in a new window instead of the same window.
View 4 Replies
Sep 28, 2010
I have one asp.net C# page in which i have gridview..
This are the url comes from database and binded in gridview
www.xxxxxx.com/A/Default.aspx
www.xxxxxx.com/B/Default.aspx
www.zzzzz.com/C/Default.aspx
what i need is i need to show this url has like this
www.xxxxxx.com/A/Default.aspx is like Test1
www.xxxxxx.com/B/Default.aspx is like Test2
www.zzzzz.com/C/Default.aspx is like Test3
if user click Test1 it will open a new browser window with www.xxxxxx.com/A/Default.aspx
if user click Test3 it will open a new browser window with www.zzzzz.com/C/Default.aspx
how to make this in gridview
View 28 Replies
Aug 14, 2013
When i click in a gridview row, how to do to open a popup window?
View 1 Replies
Oct 8, 2013
<a href="display.aspx?code=<%# Eval("code")%>"> click </a>
opening a new page with a parameter value as shown
a javascript with a url with any querystring is a normal.
i get the parameter value in the Eval("code") only.
the new pages opens as a normal page and not as poup
View 1 Replies
Jun 30, 2010
I have a hyperlink being returned as a template field in a gridview, it all works except that I would like the link to open in a new window.See code...
<asp:TemplateField HeaderText="File Name" SortExpression="projectFileName">
<itemtemplate>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl= '<%# "~procure_files" & DataBinder.Eval
[code]...
View 2 Replies
Oct 30, 2010
There is a textbox , button and gridview(contains linkbutton in template field) in my webpage. If the user enter some text in the textbox and press button means it will search the text in the interrnet and display the text in gridview (like[URL]if the users clicked the linkbutton in the gridview item i want to save the "clicked link" and "searched text" in the database.If the user clicks the linkbutton in the gridview, i captured the server side event of gridview_rowcommand and wrote the code to save the details in the database. But i cannot get the event of mouse rightclick event of "open in new tab" and "open in new window" option in server side and in javascript.how can i get the event of mouse rightclick "open in new tab" and "open in new window"?
View 1 Replies
Jan 26, 2011
[Code]....
What would I do to make the image click able and bring up the image in a small IE window?
View 6 Replies
Jan 18, 2011
I have a repeater which lists (names of images) , i want when i click on an image it opens in a pop-up window.
how can i do that ?
View 3 Replies
Jan 14, 2010
Here is my code which works but opens in the same window from a listview hyperlink.
I'm trying to insert Target="_blank" so a new window opens.
<asp:HyperLink
runat="server"
ID="hl"
NavigateUrl='<%#Eval("BarDetailsId","aaaVenueSummary.aspx?ID={0}")%>'
Text='<%# Eval("BarName") %>'></asp:HyperLink>
View 5 Replies
Dec 28, 2010
my code is :
[Code]....
row.item(6) field is a navigate url (asp:hyperlink) in front-end code as <eval('url')>
row.item(7) is a boolean field with values : true/false.
if row.item(7) is true then the hyperlink page must open on the current page.
whereas if row.item(7) is false then it should open in a new tab/window.
View 7 Replies
May 7, 2015
How to open Popup Window from dropdown list ...... [URL] .... Like this link but open in dropdown selected item.
View 1 Replies
Sep 10, 2010
i'm writing a button which need to open a new window and sending binded data as query string:
[Code]....
here is the open_win function:
[Code]....
But the url created is ".../Report.aspx?type=comment&id=undefined", the queryString["id"] is not defined.
In the calling page source html, comment_id has value.
[Code]....
How can i set the variable value of "comment_id" in button onclick, to call the javascript open_win() function ? the comment_id cannot known util runtime, it get value from datasource.
View 3 Replies
Feb 16, 2010
How to open popup window in datalist hyperlink with databinding
my code is:
[Code]....
View 2 Replies
Mar 18, 2010
iam using grid view.i am using in it one templete filed like image button.i want when i click on image.the id which i want to pass passes and new pop up window is open and shows details....can i use Row databound or RowCreated which is better to setting onclick event on each image...if i would success on this i get associate id,s of each row.
View 2 Replies
Apr 16, 2010
I've a gridview and one of the coulmn in the gridview has a link which when clicked will open another window(new page). But now what is happening is, when i click on each row of that link column, it is opening series of new windows. IS there a way that i show a new window when the link is clicked and maintain that same window for all otheres rows in the grid? Here's code snippet of aspx page
<Columns>
<asp:TemplateField HeaderText="BatchFileURL" SortExpression="BatchFileURL">
<itemTemplate>
<a href='<% # ConfigurationManager.AppSettings.Get("CPFClaimRequestLocalPath")& Eval("BatchFileURL") %>' id="lnkShowFile" runat="server" target="_blank">
<asp:Label id="lblFileName" runat="server" Text='<%# Eval("BatchFileURL")%>'></asp:Label></a> </itemTemplate>
</asp:TemplateField>
</Columns>
View 3 Replies
Apr 12, 2010
I have a gridview that allows you to select and a details view show up at the bottom. Is there a way to make the details view show in a new window instead,
View 6 Replies
Feb 10, 2010
In code below, when I have more than one DIV open and I choose to sort one of the GridViews, all the other Open Div's will close automatically. How can i keep the DIV's in the state they are in when I sort any GridView?
[Code]....
View 3 Replies
Jun 26, 2012
i have gridview with link button.. if i click on link button to open new window with pdf file.
View 1 Replies
Oct 18, 2010
i have an aspx page in which a link in the grid view opens a popup page . the data in the grid view would be dynamic and i need to send the id of the row of grid while calling the child window. i get the id using sender.id, but how would i send this using window .open()?
View 2 Replies