This is a migrated thread and some comments may be shown as answers.

No more _text in the rendered control?

1 Answer 41 Views
Input
This is a migrated thread and some comments may be shown as answers.
Thad
Top achievements
Rank 2
Thad asked on 20 Mar 2013, 03:16 PM
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

1 Answer, 1 is accepted

Sort by
0
Thad
Top achievements
Rank 2
answered on 20 Mar 2013, 04:18 PM
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
Tags
Input
Asked by
Thad
Top achievements
Rank 2
Answers by
Thad
Top achievements
Rank 2
Share this question
or