473,287 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Hyperlink with JavaScript

I have a datagrid with a hyperlink column.
The code is :
<asp:HyperLinkField DataNavigateUrlFields="ccod"
DataNavigateUrlFormatString="javascript:var
newwin=window.open('serii.aspx?cod={0}',null,'widt h=692,height=25');"
HeaderText="Serii" Text="Serii">
<ItemStyle Width="5%" />
</asp:HyperLinkField>
but it's not working.
I haven't a hyperlink with this code it's just a simple text.
I want to have the details of a row from a datagrid in a popup window with
another grid, not on another page.
How can I solve that ?
May 16 '06 #1
1 1298
Turn on the SQL Browser service and make sure you have a protocol you can
connect to. By default, the developer edition and the Express edition only
ship with the native protocol (limited local only) and the browser off.
NOTE: The browser only has to be on if you are connecting from another
machine; ensuring there is a protocol is necessary for ASP.NET apps period.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
"Sorin Sandu" <ss****@yahoo.com.nospam> wrote in message
news:eG**************@TK2MSFTNGP04.phx.gbl...
I have a datagrid with a hyperlink column.
The code is :
<asp:HyperLinkField DataNavigateUrlFields="ccod"
DataNavigateUrlFormatString="javascript:var
newwin=window.open('serii.aspx?cod={0}',null,'widt h=692,height=25');"
HeaderText="Serii" Text="Serii">
<ItemStyle Width="5%" />
</asp:HyperLinkField>
but it's not working.
I haven't a hyperlink with this code it's just a simple text.
I want to have the details of a row from a datagrid in a popup window with
another grid, not on another page.
How can I solve that ?

May 16 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Randell D. | last post by:
Folks, I am working on a contact db using PHP and MySQL. My results so far outputs a slimed down version of records to the browser. I would like to implement a method whereby the user can...
4
by: Amir Eshterayeh | last post by:
Dear Friends My asp hyperlink goes to relative address instead of absolute. I like navigate url goes to outsite link like www.asp.net but now, it goes to www.mysite/www.asp.net please help....
6
by: sck10 | last post by:
Hello, Can you control the window attributes (toolbar, scrollbars, left and right exc.) when using the hyperlink control as you would when using javascript? For examle, I am using the...
4
by: Satya | last post by:
Hi all, The following code is throwing a run time error "The server tag is not well formed. " <ItemTemplate> <asp:HyperLink Runat="server" ID="lnkFile"...
19
by: Joe | last post by:
I have an aspx page (referred to here as page_1) with a datagrid whose first column contains hyperlinks. When a user clicks one of these hyperlinks, he will navigate to another aspx page (referred...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.