whats wrong?

Discussion in 'ASP .Net' started by =?Utf-8?B?bWFoc2E=?=, Jul 23, 2004.

  1. 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
    =?Utf-8?B?bWFoc2E=?=, Jul 23, 2004
    #1
    1. Advertising

  2. =?Utf-8?B?bWFoc2E=?=

    Shiva Guest

    Hi,

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

    "mahsa" <> wrote in message
    news:...
    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
    Shiva, Jul 23, 2004
    #2
    1. Advertising

  3. =?Utf-8?B?bWFoc2E=?=

    Hans Kesting Guest

    "mahsa" <> wrote in message news:...
    > 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
    Hans Kesting, Jul 23, 2004
    #3
  4. =?Utf-8?B?bWFoc2E=?=

    Jordan Guest

    It must be this guy's version of a Rorshach inkblot test. : )



    "Hans Kesting" <> wrote in message
    news:...
    >
    > "mahsa" <> wrote in message

    news:...
    > > 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
    >
    >
    Jordan, Jul 23, 2004
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alexandre Martins

    Whats wrong with this provider ??

    Alexandre Martins, Aug 14, 2003, in forum: ASP .Net
    Replies:
    5
    Views:
    346
    Guenther Liebowitz
    Aug 14, 2003
  2. aa

    Whats wrong with numbers

    aa, Feb 6, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    304
    Patrice Scribe
    Feb 6, 2004
  3. sviau

    whats wrong with this header???

    sviau, Feb 6, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    563
    mikeb
    Feb 6, 2004
  4. aa

    Whats wrong

    aa, May 20, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    1,542
    Kevin Spencer
    May 20, 2004
  5. aa

    Whats wrong

    aa, May 26, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    327
    Natty Gur
    May 26, 2004
Loading...

Share This Page