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

Upload Additional Fields - Multiline Textboxes

1 Answer 87 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Gregg
Top achievements
Rank 1
Gregg asked on 02 Jul 2009, 08:29 PM
I suppose this will be more of a javascript question.

The Upload/Additional Fields example http://demos.telerik.com/aspnet-ajax/upload/examples/additionalfields/defaultcs.aspx is nice, but how does one make the additional text boxes multi-line as well as set their max length, rows, etc, - in other words, how to set the other properties we commonly see in an asp:TextBox control?

1 Answer, 1 is accepted

Sort by
0
Accepted
Paul
Telerik team
answered on 08 Jul 2009, 09:07 AM
Hi Gregg,

You can easily achieve your goal by creating new textarea controls instead if input, i.e.

function CreateInput(inputName) 
            { 
                var input = document.createElement("textarea"); 
                input.name = inputName; 
                 
                return input; 
            } 


All the best,
Paul
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Upload (Obsolete)
Asked by
Gregg
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or