Hyperlink with JavaScript

S

Sorin Sandu

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,'width=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 ?
 
C

Cowboy \(Gregory A. Beamer\)

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!
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top