or
Hi,
What is the best way to put a RadTextBox and an asp:button side by side to have them vertically aligned?I have put them inside a table and the button does not align with the RadTextBox.
Using Opera (v9.63) it's only off by 1 pixel, but in IE7 it's off by +3 pixels.
Kind Regards,
Robert


| protected void RadGrid1_ItemDataBound(Object source, GridItemEventArgs e) |
| { |
| if (e.Item is GridEditableItem && e.Item.IsInEditMode) |
| { |
| //first reference the edited grid item |
| GridEditableItem editedItem = e.Item as GridEditableItem; |
| GridEditManager editMan = editedItem.EditManager; |
| //reference the column editor which holds the dropdown list instance in the edit form |
| GridDropDownColumnEditor editor = editMan.GetColumnEditor("SectionID") as GridDropDownColumnEditor; |
| string selectedValue = editor.SelectedValue; |
| // change the data source for ContactTitle with custom code here |
| editor.DataSource = mySectionController.getAllModuleSections(); |
| editor.DataBind(); |
| editor.SelectedValue = selectedValue; |
| } |
| } |
| <telerik:GridDropDownColumn DataField="SectionID" HeaderText="SectionID" |
| UniqueName="SectionID" ListTextField="SectionName" ListValueField="SectionID"> |
| </telerik:GridDropDownColumn> |