No more _text in the rendered control?

2 posts, 0 answers
  1. Thad
    Thad avatar
    106 posts
    Member since:
    Sep 2010

    Posted 20 Mar 2013 Link to this post

    Telerik version: 2012.3.1308.40

    Hopefully this question hasn't been answered already.  I searched but couldn't find anything.

    Our RadMaskedTextBoxes no longer render with the _text on the inner <input element.  Like in this example:

    <span style="width: 100px;" class="riSingle RadInput RadInput_Default" id="ctl00_cphMasterAjax_ucPhone_rlvEdit_ctrl0_rmtbDomesticPhoneNumber_wrapper">
    <input type="text" value="(515) 555-5555" controlid="ctl00_cphMasterAjax_ucPhone_rlvEdit_ctrl0_rmtbDomesticPhoneNumber" class="riTextBox riEnabled" size="15" name="ctl00$cphMasterAjax$ucPhone$rlvEdit$ctrl0$rmtbDomesticPhoneNumber" id="ctl00_cphMasterAjax_ucPhone_rlvEdit_ctrl0_rmtbDomesticPhoneNumber">
    <input type="hidden" name="ctl00_cphMasterAjax_ucPhone_rlvEdit_ctrl0_rmtbDomesticPhoneNumber_ClientState" id="ctl00_cphMasterAjax_ucPhone_rlvEdit_ctrl0_rmtbDomesticPhoneNumber_ClientState" autocomplete="off" value="{"enabled":true,"emptyMessage":"","validationText":"(515) 555-5555","valueAsString":"(515) 555-5555","valueWithPromptAndLiterals":"(515) 555-0001"}">
    </span>

    I'm sure that prior to updating to the latest version the ID of the control would have rendered as such:
    id="ctl00_cphMasterAjax_ucPhone_rlvEdit_ctrl0_rmtbDomesticPhoneNumber_text"

    Either of these scenarios are possible:
    a) The product (Telerik) has changed
    b) Someone working on our product (we are a large team) modified some global setting somewhere and has broken things.
    c) I'm officially nuts.

    We have a lot of JavaScript that is no longer working, so I don't think that the answer is C.  And because when I look at your online demos I see the same thing I think it goes back to A being the culprit.

    Can anyone shed any light on this?

    Thanks!
    Thad
  2. Thad
    Thad avatar
    106 posts
    Member since:
    Sep 2010

    Posted 20 Mar 2013 Link to this post

    I found a post on this (finally).

    http://www.telerik.com/help/aspnet-ajax/input-breaking-changes.html

    I tried disabling this feature globally in the default .skin file, but that hasn't worked yet.  I'll post my global solution once I find it.

    Notice that the html page is named breaking changes but the link it pulls up in the documentation just describes the single input rendering mode.  That caused me to miss the doc in my initial scan. 

    Thad
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top