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 4539200
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T14:54:50+00:00 2026-05-21T14:54:50+00:00

This is going to be easy for someone who knows what they are doing.

  • 0

This is going to be easy for someone who knows what they are doing.

I have a launch calendar button, a continue button, and a date textbox. The button launches a JavaScript calendar in a popup window. That calendar returns a date into the ReservationDate textbox field using:

window.opener.document.getElementById('ctl00_wpm_ShowProduct_ctl10_ReservationDate').value = '<%= CurrentDate %>';

I know, it’s not elegant but works. The problem is that even though on the browser I see the date in the field, when I hit the continue button and try to access it from my .NET script, the server side script sees it as empty.

How do I tell the server to use the text the browser has in that field that it is not seeing?

I know enough to know that it’s a server side versus client side issue but how do I bridge that gap?

  • 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-21T14:54:51+00:00Added an answer on May 21, 2026 at 2:54 pm

    I think you have set your textbox as ReadOnly and that seems to be an issue.
    Set it readonly like this in code behind:

    TextBox1.Attributes.Add("readonly", "readonly");
    

    Check this.

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

Sidebar

Related Questions

Hopefully this is easy for someone. I have a set of checkboxes with values
This is probably going to be an easy thing but I am having a
I'm having a problem and hope, someone knows what's going wrong and why and
Here's some easy reputation for someone. The scenario I have a table that is
this is going to an easy one i think but for the life of
I thought this was going to be easy, but it's turning into quite a
This is going to sound too silly / too basic - sorry about that,
This is going to be a long post and just for fun, so if
This is going to be a quick discussion, but I just wanted some feedback
Hey this is going to be one of those dumb questions. I am trying

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.