ClientSide Script Errors

G

Guest

Ok i have jave scrpit pop-up calendar that i used in ASP.Net 1.1 nad it
worked great
i would like to contine to use it in a ASP.Net2.0 version of a application
that i am working on but
i keep getting scrpit errors.

I have tried loading it in my user control.ascx and page.aspx file but
nether works.

the javascript contorl takes two parameter as follows.

How i did it in 1.1

Registed script in MyPage.aspx like so
<head>
<script language="javascript" src="../library/js/Calendar.js"></script>
</head>

Then my control would be referenced as such for the script.

<asp:textbox id="txtDate" MaxLength="10" Columns="10" runat="server"
Font-Size="11px"></asp:textbox> <asp:image id="imgPopCalDate" style="CURSOR:
hand" onclick="popUpCalendar(this, MyPage_txtDate, 'mm/dd/yyyy');"
runat="server"
ImageUrl="../library/images/calendar/icon-calendar.gif"></asp:image>


What needs to change to make this work in 2.0

Thanks,
Ron
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top