DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Calendar User control

  1. #1
    Join Date
    Nov 2004
    Posts
    89

    Question Calendar User control

    I am creating a user control for calendar display of day, week, month and year like yahoo calendar. So each are separate User control and when i click the date in the Week display, it will go for the Day. So i have to set the date for the Day user control. How can i do that. Like same for month and Year.
    ----------------
    Hariharan B

  2. #2
    Join Date
    Nov 2004
    Posts
    89

    Question

    How can i raise the event thru dynamically created coding

    Also how can i create a dynamic LINKBUTTON control and invoke some function to raise the event at the time of clicking the Link Button

    I am waiting for your valuable answer
    ----------------
    Hariharan B

  3. #3
    Join Date
    Nov 2004
    Posts
    89

    Question

    How can i dynamically add the event handler for the link button clicking event

    This is my source code,But this is not working

    Private sub ShowWeek()
    dim lnkButton as New LinkButton
    lnkButton.ID="Day1"
    lnkButton.Text="Date" (For e.g)
    AddHadler lnkbutton.Click, Addressof DateChaged
    End Sub

    This ShowWeek() function is called in the HTML tag like <%=ShowWeek()%>. And i am having Place holder which holds the dynamically created link buttons.

    Sub DateChanged(sender as object, e as system.eventArgs)
    Response.write("Test control")
    End sub

    The event datechanged is not calling when i am clicking the link button
    ----------------
    Hariharan B

Similar Threads

  1. Calendar ActiveX Control
    By George in forum ASP.NET
    Replies: 1
    Last Post: 09-26-2002, 05:20 AM
  2. Replies: 0
    Last Post: 12-03-2001, 11:27 AM
  3. Accept Enter Key in an user control textbox
    By Prasant in forum VB Classic
    Replies: 1
    Last Post: 10-10-2001, 10:36 PM
  4. pass a form to a web user control (pagelet)
    By Annie Wang in forum ASP.NET
    Replies: 0
    Last Post: 05-24-2001, 04:07 PM
  5. Using A Flexgrid In A User Control
    By DeLeon Thomas in forum VB Classic
    Replies: 2
    Last Post: 01-12-2001, 10:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center