Brett:
I'm very weak in javascript so bear with me. Are you saying I should do the
following?:
<a
href="javascript:calendar_window=window.open('calendar.aspx?form[0].StartDate',
I tried this and it didn't work.
Thanks,
Bob
-------------- Original message --------------
From: "Brett Stinson" <[EMAIL PROTECTED]>
Bob:
Have you tried replaceing <formname> with forms[0]?
It should work as it would be referencing it as the first form in the forms
collection.
--
[EMAIL PROTECTED]
On 10/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I am converting an ASP.Net 1.1 application to ASP.Net 2.0. I am now using
> the master page and love it! But I have one problem that I cannot figure
> out. In ASP.Net 1.1, I used a hyperlink that used some javascript to call
> a calendar web page. Below is the code. But since I am using the master
> page, I do not have the form tag anymore on my page. I do not know what to
> use for "formname=". I did a View Source and the form name was aspnetFrom.
> So I used this but it doesn't work. So the calendar appears on my page and
> when I click the icon image I see the present month. But when I click on a
> date, it does not populate my text box like it did in ASP.Net 1.1. I have
> searched and searched for a solution and came up empty. I cannot believe I
> am the only person to experience this problem! Can anyone help me out?
> <a href="javascript:calendar_window=window.open('calendar.aspx?formname=
> aspnetForm.StartDate','calendar_window','width=174,height=215,top=250,left=750');calendar_window.focus()"><asp:Image
> ID="Image2" runat="server" ImageUrl="Images/SmallCalendar.gif" /></a>
>
> Thanks,
> Bob
>
> [Non-text portions of this message have been removed]
>
>
>
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNet2/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/AspNet2/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/