I'm relatively new to the Telerik controls, so bear with me.
Working in VS2010, in a Telerik project... styles and CSS seem to wire up no problem, all is working as it should.
Trouble is - it seems like a huge pain to insert a series of inputs and get things to line up. Meaning, I'd like a two-column layout with the label for the input say 200px, and the input to be 300px. With padding and whatnot, the overall box would be about 525px.
I think I'm missing something conceptually about how to do this quick. Right now, I'm dropping in a ASP Panel control, then adding RadTextBoxes. You can set the width of the overall control (RadTextBox that is), but the width of each input area and each label is different.
What's the best practice way to accomplish a nice looking input form with everything aligned in a couple columns? I'd rather not use tables, and I've done fieldsets in other projects, and tables too. I thought the Skins might fix it, but it doesn't appear to assign a width, AND it's using tables for the layout.
I'm sure there's something simple, but I've been combing the how-to's for a couple hours.
Working in VS2010, in a Telerik project... styles and CSS seem to wire up no problem, all is working as it should.
Trouble is - it seems like a huge pain to insert a series of inputs and get things to line up. Meaning, I'd like a two-column layout with the label for the input say 200px, and the input to be 300px. With padding and whatnot, the overall box would be about 525px.
I think I'm missing something conceptually about how to do this quick. Right now, I'm dropping in a ASP Panel control, then adding RadTextBoxes. You can set the width of the overall control (RadTextBox that is), but the width of each input area and each label is different.
What's the best practice way to accomplish a nice looking input form with everything aligned in a couple columns? I'd rather not use tables, and I've done fieldsets in other projects, and tables too. I thought the Skins might fix it, but it doesn't appear to assign a width, AND it's using tables for the layout.
I'm sure there's something simple, but I've been combing the how-to's for a couple hours.
<
telerik:RadFormDecorator
ID
=
"RadFormDecorator1"
runat
=
"server"
DecoratedControls
=
"All"
Skin
=
"Web20"
DecorationZoneID
=
"ContentPlaceholder1"
/>
<
h1
>
Search Attendee Records</
h1
>
<
p
>
Enter a value or a partial value in any of the fields below. Your search will return
all matches or partial matches. For example if you enter "A" for last name, your
search will return all names beginning with "A".</
p
>
<
asp:Panel
ID
=
"Panel1"
runat
=
"server"
GroupingText
=
"Search Data"
Width
=
"450px"
>
<
telerik:RadTextBox
ID
=
"txtRegistrantID"
runat
=
"server"
Label
=
"RegistrantID"
Width
=
"400px"
Wrap
=
"False"
>
</
telerik:RadTextBox
><
br
/>
<
telerik:RadTextBox
ID
=
"txtLastName"
runat
=
"server"
Label
=
"Last Name"
Width
=
"400px"
Wrap
=
"False"
>
</
telerik:RadTextBox
><
br
/>
<
telerik:RadTextBox
ID
=
"txtFirstName"
runat
=
"server"
Label
=
"First Name"
Width
=
"400px"
Wrap
=
"False"
>
</
telerik:RadTextBox
><
br
/>
<
telerik:RadTextBox
ID
=
"txtCompany"
runat
=
"server"
Label
=
"Company"
Width
=
"400px"
Wrap
=
"False"
>
</
telerik:RadTextBox
><
br
/>
<
telerik:RadTextBox
ID
=
"txtCity"
runat
=
"server"
Label
=
"City"
Width
=
"400px"
Wrap
=
"False"
>
</
telerik:RadTextBox
><
br
/>
<
telerik:RadButton
ID
=
"btnSubmit"
runat
=
"server"
Text
=
"Submit"
>
</
telerik:RadButton
>
</
asp:Panel
>