Hello,
I am regular using telerik controls. I implemented the advance feature in my project in one grid, now gird column alignemtn got distruct, please can you give me suggetion for this. for you reference I sending you some codes and output screen, you can see in screen column heading anddata both alignemnt is not good. So please can you help me in this. I will say thank in advance
<telerik:RadGrid ID="radGridInbox" runat="server" AutoGenerateColumns="false" OnItemDataBound="radGridInbox_ItemDataBound"
GridLines="Horizontal" AllowPaging="true" PageSize="25" OnNeedDataSource="radGridInbox_NeedDataSource"
OnPageIndexChanged="radGridInbox_PageIndexChanged" OnPageSizeChanged="radGridInbox_PageSizeChanged"
Width="100%" CellPadding="0" CellSpacing="0" EnableHeaderContextFilterMenu="true"
EnableHeaderContextMenu="true" BorderWidth="0" EnableAjaxSkinRendering="true"
AllowFilteringByColumn="false" AllowAutomaticInserts="True" AllowAutomaticUpdates="True">
<GroupingSettings CaseSensitive="false" />
<HeaderContextMenu EnableAutoScroll="True" />
<MasterTableView AutoGenerateColumns="false" Width="100%" CommandItemDisplay="Top" PagerStyle-AlwaysVisible="true" DataKeyNames="UserMessageId,UserId,MessageState"
AllowSorting="true" AllowFilteringByColumn="false" FilterItemStyle-HorizontalAlign="Left"
HorizontalAlign="NotSet"EditMode="PopUp" CellPadding="0"
CellSpacing="0" IsFilterItemExpanded="false" GridLines="None" TableLayout="Auto"
BorderWidth="0" EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true">
<CommandItemSettings RefreshText="Refresh List" />
<PagerStyle AlwaysVisible="true" Mode="NextPrevNumericAndAdvanced" Position="Bottom" />
<Columns>
<telerik:GridDateTimeColumn DataFormatString="{0:MM/dd/yyyy}" ItemStyle-HorizontalAlign="Left"
HeaderText="Date" DataField="DeliverOnDate">
<HeaderStyle HorizontalAlign="Left" Width="8%"></HeaderStyle>
<ItemStyle HorizontalAlign="Left" Width="8%"></ItemStyle>
</telerik:GridDateTimeColumn>
<telerik:GridBoundColumn ItemStyle-HorizontalAlign="Left" HeaderText="From" DataField="FromUserName">
<HeaderStyle HorizontalAlign="Left" Width="16%"></HeaderStyle>
<ItemStyle HorizontalAlign="Left" Width="16%"></ItemStyle>
</telerik:GridBoundColumn>
Thanks and Regards,
Dilip Kumar
I am regular using telerik controls. I implemented the advance feature in my project in one grid, now gird column alignemtn got distruct, please can you give me suggetion for this. for you reference I sending you some codes and output screen, you can see in screen column heading anddata both alignemnt is not good. So please can you help me in this. I will say thank in advance
<telerik:RadGrid ID="radGridInbox" runat="server" AutoGenerateColumns="false" OnItemDataBound="radGridInbox_ItemDataBound"
GridLines="Horizontal" AllowPaging="true" PageSize="25" OnNeedDataSource="radGridInbox_NeedDataSource"
OnPageIndexChanged="radGridInbox_PageIndexChanged" OnPageSizeChanged="radGridInbox_PageSizeChanged"
Width="100%" CellPadding="0" CellSpacing="0" EnableHeaderContextFilterMenu="true"
EnableHeaderContextMenu="true" BorderWidth="0" EnableAjaxSkinRendering="true"
AllowFilteringByColumn="false" AllowAutomaticInserts="True" AllowAutomaticUpdates="True">
<GroupingSettings CaseSensitive="false" />
<HeaderContextMenu EnableAutoScroll="True" />
<MasterTableView AutoGenerateColumns="false" Width="100%" CommandItemDisplay="Top" PagerStyle-AlwaysVisible="true" DataKeyNames="UserMessageId,UserId,MessageState"
AllowSorting="true" AllowFilteringByColumn="false" FilterItemStyle-HorizontalAlign="Left"
HorizontalAlign="NotSet"EditMode="PopUp" CellPadding="0"
CellSpacing="0" IsFilterItemExpanded="false" GridLines="None" TableLayout="Auto"
BorderWidth="0" EnableHeaderContextMenu="true" EnableHeaderContextFilterMenu="true">
<CommandItemSettings RefreshText="Refresh List" />
<PagerStyle AlwaysVisible="true" Mode="NextPrevNumericAndAdvanced" Position="Bottom" />
<Columns>
<telerik:GridDateTimeColumn DataFormatString="{0:MM/dd/yyyy}" ItemStyle-HorizontalAlign="Left"
HeaderText="Date" DataField="DeliverOnDate">
<HeaderStyle HorizontalAlign="Left" Width="8%"></HeaderStyle>
<ItemStyle HorizontalAlign="Left" Width="8%"></ItemStyle>
</telerik:GridDateTimeColumn>
<telerik:GridBoundColumn ItemStyle-HorizontalAlign="Left" HeaderText="From" DataField="FromUserName">
<HeaderStyle HorizontalAlign="Left" Width="16%"></HeaderStyle>
<ItemStyle HorizontalAlign="Left" Width="16%"></ItemStyle>
</telerik:GridBoundColumn>
Thanks and Regards,
Dilip Kumar