Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > whats wrong?

Reply
Thread Tools

whats wrong?

 
 
=?Utf-8?B?bWFoc2E=?=
Guest
Posts: n/a
 
      07-23-2004
Hi do you know whats wrong with this code?
<asp:HyperLink id="HLink_Help" runat="server" NavigateUrl='<%# "javascript:window.open('comments.aspx?id=1,width= 500,height=600, scrollBars=yes');" %>'>Need Help?</asp:HyperLink>
--
mahsa
 
Reply With Quote
 
 
 
 
Shiva
Guest
Posts: n/a
 
      07-23-2004
Hi,

There are some single quotes inside NavigateUrl value which itself is
enclosed in single quotes.

"mahsa" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
Hi do you know whats wrong with this code?
<asp:HyperLink id="HLink_Help" runat="server" NavigateUrl='<%#
"javascript:window.open('comments.aspx?id=1,width= 500,height=600,
scrollBars=yes');" %>'>Need Help?</asp:HyperLink>
--
mahsa


 
Reply With Quote
 
 
 
 
Hans Kesting
Guest
Posts: n/a
 
      07-23-2004

"mahsa" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
> Hi do you know whats wrong with this code?
> <asp:HyperLink id="HLink_Help" runat="server" NavigateUrl='<%# "javascript:window.open('comments.aspx?id=1,width= 500,height=600,

scrollBars=yes');" %>'>Need Help?</asp:HyperLink>
> --
> mahsa


What *appears* to be wrong?
- do you get a compile-time error?
- if so, what error?
- do you get a runtime error?
- if so, what error?
- does the page not "look right"?
- if so, what do you see and what did you expect
- what html is generated (do a "view source")?
- does the page not "work right"?
- what did you expect, what happens?

Why do you need databinding in this case? It looks like a fixed string (but that can
be because this was meant as an example)

Hans Kesting


 
Reply With Quote
 
Jordan
Guest
Posts: n/a
 
      07-23-2004
It must be this guy's version of a Rorshach inkblot test. : )



"Hans Kesting" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> "mahsa" <(E-Mail Removed)> wrote in message

news:(E-Mail Removed)...
> > Hi do you know whats wrong with this code?
> > <asp:HyperLink id="HLink_Help" runat="server" NavigateUrl='<%#

"javascript:window.open('comments.aspx?id=1,width= 500,height=600,
> scrollBars=yes');" %>'>Need Help?</asp:HyperLink>
> > --
> > mahsa

>
> What *appears* to be wrong?
> - do you get a compile-time error?
> - if so, what error?
> - do you get a runtime error?
> - if so, what error?
> - does the page not "look right"?
> - if so, what do you see and what did you expect
> - what html is generated (do a "view source")?
> - does the page not "work right"?
> - what did you expect, what happens?
>
> Why do you need databinding in this case? It looks like a fixed string

(but that can
> be because this was meant as an example)
>
> Hans Kesting
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I don't know whats wrong!!! =?Utf-8?B?S2lt?= Wireless Networking 2 09-08-2005 08:21 AM
whats this error?? Neo VHDL 4 01-31-2005 12:47 PM
Whats happening to my router? Bryan Martin Cisco 5 01-10-2004 01:23 AM
$v = shift OR$_[0] on a filehandle, whats teh difereence Eduard W. Lohmann Perl 1 12-02-2003 06:30 PM
perl 6 syntax ?? whats changed ?? DukeNM Perl 0 12-01-2003 11:00 AM



Advertisments