CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2007
    Posts
    12

    Calander control

    Hi,
    I have to put calander control adjacent to TEXTBOX.ONCE User
    selects date then it should get reflect in Textbox.I don't want to popup calender control. Is there a way can I do Just by setting the calander properties in .aspx page.

  2. #2
    Join Date
    Sep 2004
    Posts
    65

    Re: Calander control

    As far as I know, the calendar control does not pop up. Whenever I have used it, it is always fully displayed on the page. To put the selected date into a text box:

    Code:
        Private Sub Calendar1_SelectionChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Calendar2.SelectionChanged
            TextBox1.Text = Calendar1.SelectedDate.ToString
        End Sub
    I'm not sure if this answers your question, though...

    -Ranthalion

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured