how to open new window when click on the dynamic column in gridview control

Hi

I am working with Gridview Control with c#.net.
from database i am loading 10 columns dynamically on the gridview control.
i have to open new widow through javascript when i click on the 8th column.

how can i write on click event for the dynamic column in gridview control.

your help appreciatable.

Thanks in advance

 

 

 

 


shiva
0
sivashiva
6/6/2008 1:48:00 PM
asp.net.futures 1064 articles. 0 followers. Follow

1 Replies
680 Views

Similar Articles

[PageSpeed] 16

Do you have a hyperlink or button in the 8th column?  And should this happen on each row or the header? 


Rob Mills

www.dotnetadvisor.com
0
DotNetAdvisor
6/6/2008 6:39:52 PM
Reply:

Similar Artilces:

open new window when click the hyperlink column
Dear all, After I create the "Detail" hyperlink column, can the detail page open in the new window. Is javascript useful in this case? Ad_deeThank! Can you not set the "target" attribute of the hyperlink to "_blank"?"There is no such thing as a bug, just an unexpected feature." Can you not just set the "Target" attribute of the hyperlink equal to "_blank" ?"There is no such thing as a bug, just an unexpected feature." How is your hyperlink created?  Can you not just put a target=_blank, or similar, in your tag? MajorCatsMajorCats You can set the Targe...

how to open a new browser window when clicked on a button control
Dear ASP.NET Programmers, Following is the code block I'm using to redirect to a new page when the user clicks on the btnInvoice button. I want to open a new browser window to display the new page. What javascript code should I use instead of Response.Redirect() function? Thanks in advance, Burak Private Sub btnInvoice_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInvoice.Click If txtIRD.Text <> "" And txtInvoiceDate.Text <> "" Then Response.Redirect("newinvoice_hospital.aspx?mfuid=" + Req...

open page in new window when click on linkbutton in gridview
I am workingwith Asp2.0,c# i placed link button in itemtemplate in grid1.....i specified commandargument,command name for this linkbutton.i wrote code in RowCommand event in dat i specified protected void eventsgrid_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName == "More") { Label l6 = this.eventsgrid.Rows[Convert.ToInt32(e.CommandArgument)].FindControl("Label1") as Label; Response.Redirect("eventdetails.aspx?eid=" + l6.Text); //here it wil redirect to eventdetails.aspx } } my gridview source '>'>'...

Very good but why change the open new tab
Name: Siavash Email: dexdotgolkaratgmaildotcom Product: Firefox Release Candidate Summary: Very good but why change the open new tab - open new window position in right click drop down menu? Comments: The top choice in the right click menu should be open in new tab not in new window!! Please revert back to the old way! Browser Details: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1) Gecko/20090615 Firefox/3.5 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one ...

Open a window with a desire size when the gridview column link bound is clicked
Hi, thanks a lot for your help once more in advance. I have a gridview in which its first column its set with an hyperlink bound with a datasource, once i click on this link a new window is opened, i did that changing the target property of the hyperlink column to "_blank" and works perfectly, but what i would like to do is to open this new window but with a desired and steady height and weight, i dont know where and how i should put the javascript code to do it, since all i can change on the target property of the gridview column...

How to open a new browser window with dynamic link when you click on a button in aspx form
Hello, I am trying to open a new browser window when i click on a button which is placed on aspx form. I am passing the string as dynamic link to the browser window. I used the folloeing code. It didn't work. Please help me with this...thx sk Private Sub btnsummary_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnsummary.Click Dim strURL As String SqlConnection1.Open() sqlstr = "SELECT PDF_URL FROM OPENQUERY(linkedservername, 'SELECT com_dbms_document_display_pkg.get_ss_url_func(" & txtapplid.Text &am...

Guys, I would like to open a fixed new window by clicking on a HyperLinkField in gridview.. how can i? == THANKS ==
previously, i use <asp:BoundField DataField="Ord" DataFormatString="<span onClick=javascript:window.open('Detail.aspx?order={0}','blank','toolbar=no,width=440,height=325,top=0,left=0')>{0}</span>" HeaderText="Order No." ReadOnly="True" SortExpression="iOrdNo" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="Right" /> it works.. but i need to pass teo parameters which i don't know how so i decide to change the methodology..   currently, i use this method.. to open a new windows with a passed values of two fields. <asp:HyperLinkField DataNavigateU...

superreview granted: [Bug 72361] ctrl+click/middle click a bookmark should open it in new window/new tab : [Attachment 153658] Updated patch
Dan Mosedale <dmose@mozilla.org> has granted Dan Mosedale <dmose@mozilla.org>'s request for superreview: Bug 72361: ctrl+click/middle click a bookmark should open it in new window/new tab http://bugzilla.mozilla.org/show_bug.cgi?id=72361 Attachment 153658: Updated patch http://bugzilla.mozilla.org/attachment.cgi?id=153658&action=edit ------- Additional Comments from Dan Mosedale <dmose@mozilla.org> With the JS strict fix that Neil noticed, sr=dmose. ...

superreview granted: [Bug 72361] ctrl+click/middle click a bookmark should open it in new window/new tab : [Attachment 153754] Patch to be checked in
Wladimir Palant <trev@gtchat.de> has granted Wladimir Palant <trev@gtchat.de>'s request for superreview: Bug 72361: ctrl+click/middle click a bookmark should open it in new window/new tab http://bugzilla.mozilla.org/show_bug.cgi?id=72361 Attachment 153754: Patch to be checked in http://bugzilla.mozilla.org/attachment.cgi?id=153754&action=edit ------- Additional Comments from Wladimir Palant <trev@gtchat.de> Carrying over the review flags. ...

Open a new window with window.open()
Hi, =20 in our web application, we try to open a popup-window with window.open(). But instead of opening a new window, a new tab is opened. =20 In the SeaMonkey preferences, we configured it, to open new links in a new tab. With firefox, we had the same preferences, but when window.open() was called, a new window was opened.=20 How can we configure SeaMonkey, so that it has the Firefox behavior when calling window.open() ? =20 Thanks in advance. =20 =20 =20 Artur Zeiler schrieb: > Hi, > > in our web application, we try to open a popup-window wi...

opening new window other than window.open
is there any other way of opening a new window... aside from window.open? window.open has a memory leak so i want to prevent using it as much as possible.Alvin ShihSoftware DeveloperMCP MCTS MCPD Hi window.showmodaldialog() but supports only IE....   Regards Suresh Kumar Goudampally Why dont you avoid pop up windows all together and use an iframe that is positioned over the content? Eric Pascarello.com | Twitter epascarello | LinkedIn Hi,Try Target="_blank" N.P.SenthilSoftware Engineer  Link buttons targer property is set to "_blank"...

superreview granted: [Bug 172962] Options for where to open URLs from other applications (reuse tab, new tab, new window) : [Attachment 159442] base code to control where URLs are opened
Peter Van der Beken <peterv@propagandism.org> has granted Dan M <danm.moz@gmail.com>'s request for superreview: Bug 172962: Options for where to open URLs from other applications (reuse tab, new tab, new window) https://bugzilla.mozilla.org/show_bug.cgi?id=172962 Attachment 159442: base code to control where URLs are opened https://bugzilla.mozilla.org/attachment.cgi?id=159442&action=edit ------- Additional Comments from Peter Van der Beken <peterv@propagandism.org> What biesi said, plus > Index: docshell/base/nsDocShell.cpp > ===================...

superreview requested: [Bug 172962] Options for where to open URLs from other applications (reuse tab, new tab, new window) : [Attachment 159442] base code to control where URLs are opened
Dan M <danm.moz@gmail.com> has asked Peter Van der Beken <peterv@propagandism.org> for superreview: Bug 172962: Options for where to open URLs from other applications (reuse tab, new tab, new window) http://bugzilla.mozilla.org/show_bug.cgi?id=172962 Attachment 159442: base code to control where URLs are opened http://bugzilla.mozilla.org/attachment.cgi?id=159442&action=edit ...

superreview cancelled: [Bug 172962] Options for where to open URLs from other applications (reuse tab, new tab, new window) : [Attachment 159445] windows-only native hookup of external URL control
Ben Goodger <bugs@bengoodger.com> has cancelled Dan M <danm.moz@gmail.com>'s request for superreview: Bug 172962: Options for where to open URLs from other applications (reuse tab, new tab, new window) https://bugzilla.mozilla.org/show_bug.cgi?id=172962 Attachment 159445: windows-only native hookup of external URL control https://bugzilla.mozilla.org/attachment.cgi?id=159445&action=edit ------- Additional Comments from Ben Goodger <bugs@bengoodger.com> sr+a=ben@mozilla.org ...

Web resources about - how to open new window when click on the dynamic column in gridview control - asp.net.futures

GridView SelectedItem Binding Gotcha in WinRT
Last night when I was doing some WinRT hacking I was trying to setup databinding to the selected item in the GridView control and I ran into ...

CNW Group
Home Services Beyond the Wire About CNW Financials Webcasts Events My CNW All News Releases Advanced Search Gridview Latest News Releases All ...

CNW Group
... Services Beyond the Wire About CNW my CNW CNW Access CNW Directories Financials Webcasts Events my CNW All News Releases Advanced Search Gridview ...

CNW Group
Home Services Beyond the Wire About CNW Financials Webcasts Events My CNW All News Releases Add a Filter Gridview Latest News Releases All Today ...

New CmdLets of Powershell 2.0
New CmdLets of Powershell 2.0

Price Drop: Softbox
... objects- create product reflection- changing the background with something more interestingUse it as:- softbox- honeycomb softbox- gridview ...

Profile.aspx: ASP Alliance
.NET,ASP,ASP.NET,SQL,XML,HTML,ADO,ADO.NET,JavaScript,JScript,CSharp,VBScript and VB tutorials from AspAlliance.

Quick Answers - CodeProject
Questions - Free source code and tutorials for Software developers and Architects.; Updated: 25 Oct 2012

DotNetKicks.com - Upcoming stories
DotNetKicks.com is a community based news site edited by our members. It specialises in .NET development techniques, technologies and tools including ...

View Features - ExtendASP
Call 847-681-9827 or Request a Demo View Features Testimonials Pricing About Us Coming Soon ExtendASP exposes every feature, more than any other ...

Resources last updated: 11/24/2015 3:30:18 AM