User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 427,219 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,241 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 436 | Replies: 1
Reply
Join Date: Jan 2008
Posts: 13
Reputation: Yuexuan is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
Yuexuan Yuexuan is offline Offline
Newbie Poster

Help How to pass variable from calender server control A to another calenderservercontrol

  #1  
Feb 21st, 2008
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
Newbie for programming
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2008
Posts: 13
Reputation: Yuexuan is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
Yuexuan Yuexuan is offline Offline
Newbie Poster

Re: How to pass variable from calender server control A to another calenderservercontrol

  #2  
Feb 21st, 2008
sorry me internet connection got problem so i post 3 countinuely. Admit please help me delete redundancy same thread . sorry
thanks
Newbie for programming
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 11:21 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC