开发者

Telerik RadGrid - How do I set the MaxLength for the Insert Textbox

开发者 https://www.devze.com 2023-01-08 19:16 出处:网络
I have a radGrid on the page with the \"Add New Record\" button.When I click the \"Add New Record\" button, a textbox appears above each column that allows me to enter values.I want to limit the numbe

I have a radGrid on the page with the "Add New Record" button. When I click the "Add New Record" button, a textbox appears above each column that allows me to enter values. I want to limit the number of characters that can be entered in the textbox. How do I set the MaxLength of tho开发者_运维技巧se textboxes?


You're not telling me exactly what the problem is I don't think. You very-well could try to use the MaxLength property (if it's not a multiline TextBox). But is that really your problem? Or do you already know how you can accomplish this, but you're having trouble getting the control via server-side or client-side code so that you can set the MaxLength property??

If you could provide a code snippet or two and some more details regarding your problem, I'd be better-able to help you.

0

精彩评论

暂无评论...
验证码 换一张
取 消