client script syntex error

  • Thread starter Thread starter Nikhil Patel
  • Start date Start date
N

Nikhil Patel

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>
 
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.
 
Back
Top