lanter007
asked on
TimeTracker Calendar Date-Name not declared.
Hi again,
I wanted to rebuild the calender from TimeTracker example. In my form view i have date from and date to textboxes. Now, I have the problem that i get the message "Name 'txtDateVon' is not declared." Do you now, what I have done wrong?
Thanks in advance for your help.
lanter007
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim txtDateVon As TextBox = CType(frmCreateKursdurchfu ehrung.Fin dControl(" txtDateVon "), TextBox)
Dim dt As DateTime = CDate(Date.Now.ToShortDate String)
txtDateVon.Text = dt
......
<asp:TextBox ID="txtDateVon" runat="server" Text='<%# Bind("date_bis") %>'></asp:TextBox>
<a href="javascript:OpenPopup Page('Cale ndar.aspx' ,'<%= txtDateVon %>','<%= Page.IsPostBack %>');">
<img src="pics/icon-calendar.gi f" border="0" title="Datum auswählen"></a>
I wanted to rebuild the calender from TimeTracker example. In my form view i have date from and date to textboxes. Now, I have the problem that i get the message "Name 'txtDateVon' is not declared." Do you now, what I have done wrong?
Thanks in advance for your help.
lanter007
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim txtDateVon As TextBox = CType(frmCreateKursdurchfu
Dim dt As DateTime = CDate(Date.Now.ToShortDate
txtDateVon.Text = dt
......
<asp:TextBox ID="txtDateVon" runat="server" Text='<%# Bind("date_bis") %>'></asp:TextBox>
<a href="javascript:OpenPopup
<img src="pics/icon-calendar.gi
ASKER
I already tried this, but it also doesn't work.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks ramuncikas. it works.
greets
lanter007
greets
lanter007
Glad to hear that
<a href="javascript:OpenPopup