Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 99250

Hide/Show column in edit mode depending on value of other column

$
0
0
Hi Peter,

Some of the columns generate their editing controls automatically, which brings convenience to the developer constructing the grid CRUD system. GridNumericColumn, for example, creates a RadNumericTextBox input control to enable only numeric characters when updating a numeric field. The ID of the automatically generated control starts with the RNTB prefix, which is abbreviation for RadNumericTextBox.
Copy Code
var numBox = $telerik.findControl(container, "RNTB_numboxID");

When Template form is used, however, the ID of any inner control is set manually. And it can be accessed later on using the same ID.

I suggest that you check the sample provided in the following post:
http://www.telerik.com/forums/find-control-in-insert-item-grid-client-side#2tgx6AugyU6c562P--mIIg

I hope this will prove helpful.

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 99250

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>