I need get at variable from calender control A after get the variable i process it and do calculate then how to past that variable to calender control B because i need get another date from calender control B to do calculation.Got any suggestion ?How to using calender pop out for key in my date.This is urgent please help me thanks
here my coding
Protected Sub Calendar1_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Calendar1.SelectionChanged
Tolpartcompleadtime = maxnum * 7
fml = txtleadtime.Text
TolProd = Tolpartcompleadtime + fml
RequestDate = Calendar1.SelectedDate.ToShortDateString()
startMafDate = DateAdd(DateInterval.DayOfYear, -TolProd, RequestDate)
lblTotal.Text = TolProd
lbldate.Text = startMafDate
End Sub
Protected Sub Calendar2_SelectionChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Calendar2.SelectionChanged
SOplaceorderdate = Calendar2.SelectedDate.ToShortDateString()
If (DateTime.Compare(SOplaceorderdate, startMafDate) < 0) Then
Label7.Text = TolProd
Else
t = 3 + Tolpartcompleadtime
suggDate = DateAdd(DateInterval.DayOfYear, +t, SOplaceorderdate)
Label7.Text = "Suggestion Date is:" & suggDate
Label6.Text = abc
End If
End Sub
how to get the value variable TolProd pass to another web server control. I have try b4 but
the TolProd variable initial to 0 again