Sys.Application.add_load(initializeRadDockResources);
<!-- FULL NAME --><div class="FixedBlockCtrl" style="top:10px;left:60px;"> <asp:Label ID="lblFullNameB" cssclass="standardLabel" runat="server" Text="Name *" ></asp:Label> </div> <div class="FixedBlockCtrl" style="top:10px;left:100px;"> <telerik:RadTextBox ID="txtFullNameB" Label="" cssclass="standardTextbox" runat="server" Width="200px" > </telerik:RadTextBox> <asp:RequiredFieldValidator ID="reqFullNameB" runat="server" EnableClientScript="False" ControlToValidate="txtFullNameB"ToolTip="First and last names required" Display="Dynamic" Text="*" ErrorMessage="Enter the first and last names of the coordinator" Enabled="true" ></asp:RequiredFieldValidator> </div> <!-- EOF FIRST NAME -->
|
A |
B |
C |
||||
|
D |
E |
I |
||||
|
F |
G |
H |
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I would like to merge some of the columns.
Can you show me a sample code?
Thank you for your help.
Minkyu Lee.
GridDateTimeColumnEditor editorStartTime = (GridDateTimeColumnEditor)item.EditManager.GetColumnEditor("StartRunTimeColumn");
cell = (
TableCell)editorStartTime.SharedTimeView.Parent;
RequiredFieldValidator
Validator =
new RequiredFieldValidator();
editorStartTime.SharedTimeView.ID =
"StartRunTimeColumn";
Validator.ControlToValidate = editorStartTime.TextBoxControl.ID;
Validator.BackColor = System.Drawing.
Color.Red;
Validator.ErrorMessage =
"*";
cell.Controls.Add(Validator);
hi all,
<telerik:RadGrid ID="grid1" runat="server" GridLines="Both" HeaderStyle-Width="100px"
Width="500px" OnItemDataBound="grid1_ItemDataBound" CssClass="rgTwoLines"
Skin="Outlook" ItemStyle-HorizontalAlign="Left" AlternatingItemStyle-HorizontalAlign="Left"
MasterTableView-TableLayout="Fixed" Style="overflow: auto" >
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true" FrozenColumnsCount="1">
</Scrolling>
</ClientSettings>
</telerik:RadGrid>
Above is my code. i am using this to freeze column and also for static header. one of the problem is that, even though grid has one row the height has still same and shows with unneccessary white space in height.
But if many rows then it is working fine as what i expected. Please see image for reference.
Any solution for this?