Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1074097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:04:39+00:00 2026-05-16T21:04:39+00:00

We want to use the calendar control to fill it with some text for

  • 0

We want to use the calendar control to fill it with some text for each day, we tried two methods:

  1. Defining all the textboxes (one for each day) statically in desing mode and moving them (e.cell.Controls.Add(tbDay1)) to each day cell on the OnDayRender event. But there is some problem with viewstate as the textboxes appear 2 times (the ones put in design mode plus the ones in the calendar) and in each page load the contents of the textboxes are duplicated exponentially (test->testtest->testtesttest), it adds 1 semicolon per postback too..but we think its caused by some problem with the updatepanel container.

  2. Defining the text boxes dynamically…we dont know exactly how to include the logic in order to: Load the initial data from database (it would have to be after OnDayRender event somehow, preserving it between page loads (dynamic + viewstate..) but not overwriting new values the user may input…

Any ideas? Preferably for method one as its already implemented.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T21:04:40+00:00Added an answer on May 16, 2026 at 9:04 pm

    In the end we defined statically a htmlcalendar and 31 textboxes, added a javascript function that places each textbox inside each day div (with some formating) and on the pageload added some bussines logic to enable/disable the textboxes (with FindControl()) depending on the holidays and so..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First of all, I know I can use Calendar , but I want to
Good day! I am a little bit confused. I want to use a calendar
I think I want to use pythons built in calendar module to create an
I want use a single php file to handle all of my voting requests.
i want use some data from a website with web service. i have a
I am using Kal calendar from http://github.com/klazuka/Kal . I want to use this calendar
I want to use the YUI calendar widget to provide users with a way
i need to display a calendar control in my app.I can not use google
I have a calendar control with various days as various colours. I want a
When my program starts, I want it to immediately fill the Calendar class with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.