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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:33:31+00:00 2026-06-14T15:33:31+00:00

I am trying to hook the JuiceUI datetimepicker onto a date textbox input field.

  • 0

I am trying to hook the JuiceUI datetimepicker onto a date textbox input field. However, even though I have assigned an ID to the Html.TextboxFor(c => Model.Birthday) control, but for some reason JuiceUI doesn’t see this ID, and I get the following error:

Value cannot be null. Parameter name: Targetcontrol is null.

<%=Html.TextBoxFor(c => Model.BIRTHDATE, new { id = "txtBirthday"}) %>
<Juice:Datepicker ID="dpBirthday" runat="server" TargetControlId = "BIRTHDATE" />

when I run the Developer Tools in IE, the id shows up:

<input name="BIRTHDATE" class="text-box single-line" id = "BIRTHDATE" type="text" data-val-required="The BIRTHDATE field is required." data-val="true" value=""/>

Is there a reason why Juice UI’s datepicker isn’t seeing the ID of the control that I want to hook it into? Should I be using something else to attach a simple jQuery datepicker?

  • 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-06-14T15:33:32+00:00Added an answer on June 14, 2026 at 3:33 pm

    There’s a release of JuiceUI pending that includes MVC support (the source for this version is on github, though I’m not sure why it hasn’t been released yet). It looks like you’re trying to mix mvc with webforms controls? That’s not likely to work, as webforms controls rely on the underlying page structure.

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

Sidebar

Related Questions

I'm trying to hook into Google Analytics and have this: @using (Html.BeginForm(Register, Account, FormMethod.Post,
I'm trying to make a file field for uploading images. However, mine has a
I have a UserControl that I am trying to hook up event handlers from
I have a standalone program that I am trying to hook into MAPI to
Trying to hook into the function comment_text() supplied by Wordpress API to wrap the
I'm trying to hook up the click event on a jQuery image carousel's images
I'm trying to hook the SetCooperativeLevel function in the DirectDraw object. My goal is
I am desperately trying and failing to hook CallWndProc using EasyHook. Intptr addr =
I am trying to add a post-commit hook to a bare repository, such that
I am trying to add a hook in Autotest to trigger tests when javascript

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.