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. Advertisements

  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. Advertisements

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. Magnus Blomberg
    Replies:
    3
    Views:
    958
    Magnus Blomberg
    Apr 14, 2005
  2. Aryeh M. Friedman

    1.5.0 Syntex Question

    Aryeh M. Friedman, Mar 17, 2005, in forum: Java
    Replies:
    2
    Views:
    1,775
    Alan Moore
    Mar 17, 2005
  3. Boss302
    Replies:
    0
    Views:
    1,317
    Boss302
    Nov 21, 2006
  4. =?Utf-8?B?TG93bGFuZGVy?=
    Replies:
    0
    Views:
    455
    =?Utf-8?B?TG93bGFuZGVy?=
    Mar 27, 2007
  5. Rajat
    Replies:
    3
    Views:
    949
    Jorgen Grahn
    Jan 8, 2010
  6. Andrea Williams

    Adding client-script to handle client events

    Andrea Williams, Apr 12, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    201
    Andrea Williams
    Apr 12, 2004
  7. froil
    Replies:
    4
    Views:
    292
    Jürgen Exner
    Mar 8, 2006
  8. Nagrik

    Strange syntex: beginner

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