I've been hacking and googling for a while now, I guess it's time to ask the experts.
I have a link in my gridview that when clicked should open a popup window. I want scrollbars, a menubar and it should be sizable. So this is what I have. It is not working. You click the link and nothing happens.
And the code-behind:Code:<asp:TemplateField HeaderText="Est. Total"> <ItemTemplate> <asp:HyperLink ID="hyEstTotal" runat="server" Text='<%# String.Format("{0:c}", Eval("total")) %>' > </asp:HyperLink> </ItemTemplate> </asp:TemplateField>
The link looks fine, it is being generated exactly as it should, it just doesn't...link.Code:Dim hyEstTotal As HyperLink = DirectCast(Me.GridView1.Rows(idxGrid).FindControl("hyEstTotal"), HyperLink) hyEstTotal.NavigateUrl = _ "javascript:popUp('show_estimate.aspx?ID=" + CStr(ds.Tables(0).Rows(idxData).Item("invoice_id")) + "', 'DETAILS', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,location=0,width=800,height=600');"
Thanks.




Reply With Quote