Hyperlink with Javascript

S

spp

I have a datagrid with a hyperlink column.
The code is :
<asp:HyperLinkField DataNavigateUrlFields="ccod"
DataNavigateUrlFormatString=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 ?
P.S.
I hope this is a managed newsgroup.
 
N

Nathan Sokalski

I'm not real familiar with the DataGrid Control, but it looks like you are
forgetting the opening " before var in the value for
DataNavigateUrlFormatString. Whether this is the only problem, I can't say,
but it could be a part of it.
 

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

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top