.RadGrid_Office2007 .SelectedItem
{
background-image: url(img/SelectedRow.gif);
background-repeat: no-repeat;
background-position: top right;
background-color: Green !important;
background: Green 0 -3900px repeat-x url('Grid/sprite.gif') !important;
}
.RadGrid_Office2007 .rgSelectedRow
{
background: Green 0 -3900px repeat-x url('Grid/sprite.gif') !important;
color:#fff;
}
.RadGrid_Office2007 .SelectedStyle
{
background-color: Green !important;
}
<%--.RadGrid td.rgSelectedCell
{
background: #141414 !important;
background-image: none;
}
.RadGrid .rgSelectedRow td
{
background-color: #141414 !important;
background-image: none;
}
.RadGrid_Default th.rgHeader
{
background-image: none;
background-color: Blue !important;
}
.SelectedItem
{
background-color: Green !important;
}
.RadGrid .GridRowSelector_Default
{
background-image: none;
background-color: Green !important;
}
.RadGrid .ActiveRow_Default td
{
background-image: none;
background-color: Green !important;
}
--%>
<telerik:GridTemplateColumn HeaderText="Physical Count Date" HeaderStyle-HorizontalAlign="Center" DataType="System.Boolean" UniqueName="CountDate" DataField="HasCount" ItemStyle-Width="100" ItemStyle-HorizontalAlign="Left" AllowFiltering="true"> <ItemStyle CssClass="no-border" /> <ItemTemplate> <asp:Label ID="LabelDate" runat="server" Text='<%# ((bool)Eval("HasCount")) ? Eval("CountDate","{0:dd/MM/yyyy}") : "Not performed" %>'></asp:Label> </ItemTemplate>protected void RadGrid2_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e) { if (e.Item is GridFilteringItem) { GridFilteringItem filteringItem = (e.Item as GridFilteringItem); filteringItem["CountDate"].Controls.Clear(); DropDownList ddList = new DropDownList(); ddList.AutoPostBack = true; ddList.SelectedIndexChanged += new System.EventHandler(ddList_SelectedIndexChanged); ddList.Items.Add(new ListItem("Clear filter", "Empty")); ddList.Items.Add(new ListItem("Show all counted", "True")); ddList.Items.Add(new ListItem("Show all not counted", "False")); if (Session["ddlSelValue"] != null) { ddList.Items.FindByValue((string)Session["ddlSelValue"]).Selected = true; } filteringItem["CountDate"].Controls.Add(ddList); } } protected void ddList_SelectedIndexChanged(object sender, System.EventArgs e) { DropDownList ddList = (DropDownList)sender; Session["ddlSelValue"] = ddList.SelectedValue; switch (ddList.SelectedValue) { case "True": RadGrid2.MasterTableView.FilterExpression = "([HasCount] = True) "; break; case "False": RadGrid2.MasterTableView.FilterExpression = "([HasCount] = False) "; break; case "Empty": RadGrid2.MasterTableView.FilterExpression = String.Empty; break; } foreach (GridColumn column in RadGrid2.MasterTableView.Columns) { column.CurrentFilterFunction = GridKnownFunction.NoFilter; column.CurrentFilterValue = String.Empty; } RadGrid2.MasterTableView.Rebind(); }Hi,
I have created a basic asp.net application with below code:
<telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" ChunkSize="1048576" />
When I run the application, files are getting uploaded to the app_data folder for IE\Chrome.
However, for safari the uploaded file is not having the valid file extension and sometimes it's not uploading the files.
There is no code added in cs file and the config file contains below configuration:
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2199023255"/>
<fileExtensions allowUnlisted="true"/>
</requestFiltering>
</security>
<handlers>
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" name="Telerik.Web.UI.WebResource"/>
</handlers>
<directoryBrowse enabled="true"/>
</system.webServer>
Any pointers will be appreciated.
Thanks.
Hello,
I would like to have a multi-level RadPanelBar with the following behavior:
a) Use 100% of the height (and thereforre display empty space between the last child item and the next sibling item).
b) Always have exactly one item expanded in level 0.
c) Always have all the direct and indirect child nodes expanded below the level-0 item that is expanded.
It seems that there are contradicting settings that would be required. If I use ExpandMode="FullExpandedItem", then I can achieve requirements a) and b), but not c). If I use ExpandMode="MultipleExpandedItems", then I can achieve requirements b) (with some client--side coding) and c), but nott a).
Your assistance would be appreciated.
Thanks,
Michel