[CLOSED] disabled controls values not available in model

  1. #1

    [CLOSED] disabled controls values not available in model

    Hi mine is a cshtml page in which through following client side script am disabling 2 datefields and a combobox

    on form post these controls values and not available in model.
    They are set to default.

    How to get disabled controls values in model
    Last edited by Daniil; Aug 13, 2013 at 3:48 AM. Reason: [CLOSED]
  2. #2
    Hi @PriceRightHTML5team,

    Disabled fields are not submitted. We can recommend to use ReadOnly instead.
  3. #3
    set readOnly=true for combo box worked fine.
    but DateField remains editable.
    see image -> Click image for larger version. 

Name:	Readonly Fields.png 
Views:	12 
Size:	5.6 KB 
ID:	6717

    how to resolve this issue
  4. #4
    A DateField with ReadOnly="true" should not have a trigger. So, I assume the DateFields on the screenshot are not read-only.

Similar Threads

  1. Replies: 1
    Last Post: Jul 30, 2013, 3:36 PM
  2. [CLOSED] Disabled controls bug
    By aisi_it_admin in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 02, 2012, 9:31 AM
  3. Replies: 1
    Last Post: Nov 06, 2011, 10:27 AM
  4. ASP controls disabled in ajaxevent
    By raju145in in forum 1.x Help
    Replies: 0
    Last Post: Oct 19, 2011, 12:42 PM
  5. getting values of disabled controls
    By [WP]joju in forum 1.x Help
    Replies: 0
    Last Post: Sep 02, 2009, 10:29 AM

Tags for this Thread

Posting Permissions