| <rad:RadGrid ID="articlesGrid" runat="server" AllowPaging="true" AllowSorting="false" |
| AutoGenerateColumns="false" AutoGenerateDeleteColumn="false" AutoGenerateEditColumn="false" |
| AllowAutomaticDeletes="True" AllowAutomaticInserts="True" |
| AllowAutomaticUpdates="True" onitemdatabound="articlesGrid_ItemDataBound" |
| onitemcommand="articlesGrid_ItemCommand" |
| onsortcommand="articlesGrid_SortCommand" oneditcommand="articlesGrid_EditCommand" |
| > |
| <MasterTableView NoMasterRecordsText="<%$ Resources:,NoData %>" PageSize="10" AllowPaging="true" AllowSorting="false"> |
| <Columns> |
| <rad:GridTemplateColumn UniqueName="id" ReadOnly="true" HeaderText="<%$ Resources:Grids,Articles_ID %>" SortExpression="id_article"> |
| <ItemTemplate> |
| <asp:Label ID="labelID" runat="server" Text='<%# Eval("id_article") %>' /> |
| </ItemTemplate> |
| </rad:GridTemplateColumn> |
| <rad:GridTemplateColumn UniqueName="title" HeaderText="<%$ Resources:Grids,Articles_Title %>" SortExpression="title"> |
| <ItemTemplate> |
| <asp:Label ID="labelTitle" runat="server" Text='<%# Eval("title") %>' /> |
| </ItemTemplate> |
| </rad:GridTemplateColumn> |
| <rad:GridButtonColumn UniqueName="edit" HeaderText="<%$ Resources:Labels,Edit %>" CommandName="Edit" Text="<%$ Resources:Labels,Edit %>" /> |
| <rad:GridButtonColumn UniqueName="delete" HeaderText="<%$ Resources:Labels,Delete %>" CommandName="Delete" Text="<%$ Resources:Labels,Delete %>" /> |
| <!--CONTINUES--> |
| </Columns> |
| <EditFormSettings EditFormType="Template"> |
| <FormTemplate> |
| <table> |
| <tr align="right"> |
| <td colspan="2"> |
| <asp:ImageButton ID="buttonUpdate" runat="server" CommandName="Update" ToolTip="<%$ Resources:Labels,Update %>" ValidationGroup="editArticle" CausesValidation="true" /> |
| <asp:ImageButton ID="buttonCancel" runat="server" CommandName="Cancel" ToolTip="<%$ Resources:Labels,Cancel %>" /> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <asp:Label ID="Label1" runat="server" Text="<%$ Resources:,Author %>" AssociatedControlID="textBoxAuthor" /> |
| </td> |
| <td> |
| <asp:TextBox ID="textBoxAuthor" runat="server" Text='<%# Bind("author") %>' MaxLength="80" Width="200px" /> |
| </td> |
| </tr> |
| <!--CONTINUES...--> |
| </table> |
| </FormTemplate> |
| </EditFormSettings> |
| </MasterTableView> |
| </rad:RadGrid> |
How can all the filtered types and values from a grid view? In the grid view, we want to provide the flexibility to filter the result by more than one column. We are using custom data source to load the grid. The below URL helps to identify the last selected filter type and value (for example col.5).
http://www.telerik.com/help/aspnet-ajax/grdoperatewithfilterexpression.html
But I’m interested to know ALL the previously selected (for example Col 1, Col 2, and Col 3) filter type and value
I’ve contacted the support and they have not given me the direct (appropriate) answer. Could any one help me?
I am having a problem with my RadGrid control. It appears that the header line, one of the rows and some of the text is shifted all the way over to the right to the point where it's past the right border area. How can I fix that? See the link for a picture. Thanks!
http://img198.imageshack.us/img198/6192/cssmessedup.jpg
| public void BuildAGrid(SqlDataReader reader) |
| { |
| RadGrid grid = new RadGrid {DataSource = reader}; |
| grid.EnableViewState = false; |
| grid.DataBind(); |
| phReport.Controls.Add(grid); |
| } |
| <HeaderTemplate> |
| <asp:LinkButton runat="server" ID="lbSelectAllItems" Text="Select All" CommandName="SelectAllItems" CommandArgument="qualification" ></asp:LinkButton> |
| </HeaderTemplate> |
Hi,
i am using Q2 2009 skin , i wann to change to error message font size.pls find the followin skin i am using
.RadWindow_RTBOlive .rwTopLeft,
.RadWindow_RTBOlive .rwTopRight,
.RadWindow_RTBOlive .rwTitlebar,
.RadWindow_RTBOlive .rwFooterLeft,
.RadWindow_RTBOlive .rwFooterRight,
.RadWindow_RTBOlive .rwFooterCenter,
.RadWindow_RTBOlive .rwTopResize,
.RadWindow_RTBOlive .rwStatusbar div,
.RadWindow_RTBOlive .rwStatusbar,
.RadWindow_RTBOlive .rwPopupButton,
.RadWindow_RTBOlive .rwPopupButton span,
.RadWindow_RTBOlive.rwMinimizedWindow .rwCorner,
{
background-image: url('/PublishingImages/Window/WindowHorizontalSprites.gif');
font-family:Arial, Helvetica, sans-serif !important;
font-size:12px;
}
.RadWindow_RTBOlive .rwBodyLeft,
.RadWindow_RTBOlive .rwBodyRight,
.RadWindow_RTBOlive .rwStatusbarRow .rwCorner
{
background-image: url('/PublishingImages/Window/WindowVerticalSprites.gif');
}
.RadWindow_RTBOlive .rwStatusbar input
{
background-color: #f7f3e9;
}
.RadWindow_RTBOlive .rwControlButtons a
{
background-image: url('/PublishingImages/Window/CommandButtonSprites.gif');
}
.RadWindow_RTBOlive a.rwIcon
{
background-image: url('/PublishingImages/Window/WindowHorizontalSprites.gif');
}
div.RadWindow_RTBOlive .rwTitlebarControls em
{
color: black;
}
div.RadWindow_RTBOlive .rwDialogInput
{
border-top: solid 1px #556b2f;
border-right: solid 1px #556b2f;
border-bottom: solid 1px #556b2f;
border-left: solid 1px #556b2f;
}
div.RadWindow_RTBOlive .rwDialogInput:hover
{
border-top: solid 1px #556b2f;
border-right: solid 1px #556b2f;
border-bottom: solid 1px #556b2f;
border-left: solid 1px #556b2f;
color: #565656;
}
div.RadWindow_RTBOlive td.rwLoading
{
background-color: #fff;
}
.RadWindow_RTBOlive td.rwWindowContent
{
background-color: #fff !important;
}
/* Loading Indicators */
/* When ShowContentDuringLoad="true" */
.RadWindow_RTBOlive td.rwWindowContent.rwLoading
{
background-image: url('/PublishingImages/Common/loading.gif');
}
/* When ShowContentDuringLoad="false" */
.RadWindow_RTBOlive input.rwLoading
{
background-image: url('/PublishingImages/Common/loading_small.gif');
}
Thanks
Mala
| <asp:SqlDataSource ID="GridSqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:connect %>" |
| SelectCommand="FilterProcMainv2" SelectCommandType="StoredProcedure"> |
| <SelectParameters> |
| <asp:Parameter Name="owner" Type="Int32" /> |
| <asp:Parameter DefaultValue="7" Name="team" Type="Int32" /> |
| </SelectParameters> |
| </asp:SqlDataSource> |
| <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="GridSqlDataSource" |
| GridLines="None" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" |
| PageSize="15" ShowGroupPanel="True"> |
| <MasterTableView DataSourceID="GridSqlDataSource" DataKeyNames="work_request_pk"> |
| <Columns> |