client script syntex error

Discussion in 'ASP .Net' started by Nikhil Patel, Oct 7, 2004.

  1. Nikhil Patel

    Nikhil Patel Guest

    Hi all,
    I have the following code in the asp.net page added at runtime using
    RegisterStartupScript. But I get an error in the browser(syntex error-no
    details). DisplayLookupValues is a function declared as protected in code
    behind file. Thanks.

    <script>EditLookup("LeaseType",45);
    <% DisplayLookupValues(); %></script>
    Nikhil Patel, Oct 7, 2004
    #1
    1. Advertising

  2. Nikhil Patel

    Nikhil Patel Guest

    Hi,
    I think the problem is in the second line of the script. If I don't add
    the second line, I don't get any error. Any help would be appreciated.
    Thanks.

    "Nikhil Patel" <> wrote in message
    news:...
    > Hi all,
    > I have the following code in the asp.net page added at runtime using
    > RegisterStartupScript. But I get an error in the browser(syntex error-no
    > details). DisplayLookupValues is a function declared as protected in code
    > behind file. Thanks.
    >
    > <script>EditLookup("LeaseType",45);
    > <% DisplayLookupValues(); %></script>
    >
    Nikhil Patel, Oct 7, 2004
    #2
    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. Aryeh M. Friedman

    1.5.0 Syntex Question

    Aryeh M. Friedman, Mar 17, 2005, in forum: Java
    Replies:
    2
    Views:
    1,676
    Alan Moore
    Mar 17, 2005
  2. Boss302
    Replies:
    0
    Views:
    1,035
    Boss302
    Nov 21, 2006
  3. =?Utf-8?B?TG93bGFuZGVy?=
    Replies:
    0
    Views:
    374
    =?Utf-8?B?TG93bGFuZGVy?=
    Mar 27, 2007
  4. froil
    Replies:
    4
    Views:
    120
    Jürgen Exner
    Mar 8, 2006
  5. Nagrik

    Strange syntex: beginner

    Nagrik, Mar 20, 2008, in forum: Perl Misc
    Replies:
    5
    Views:
    122
    Jürgen Exner
    Mar 21, 2008
Loading...

Share This Page