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