or
<div style="height:20%;padding-top:50px;"> <telerik:RadMenu ID="RadMenu1" Style="float:right;" Flow="Horizontal" runat="server"> <Items> <telerik:RadMenuItem Text="Messages"></telerik:RadMenuItem> <telerik:RadMenuItem Text="Stock"></telerik:RadMenuItem> <telerik:RadMenuItem Text="Cash"></telerik:RadMenuItem> <telerik:RadMenuItem Text="Staff"></telerik:RadMenuItem> <telerik:RadMenuItem Text="Reports"></telerik:RadMenuItem> <telerik:RadMenuItem selected="true" Text="Admin" > <Items> <telerik:RadMenuItem Text="Admin"></telerik:RadMenuItem> <telerik:RadMenuItem text="Stock Admin"></telerik:RadMenuItem> </Items> </telerik:RadMenuItem> </Items> </telerik:RadMenu> </div>
<style type="text/css">
.RadMenu_Default .rmGroup .rmLink {
padding-left: 0px ;
}
/*rmRootLink rmLink*/
.RadMenu_Default .rmGroup .rmLink .rmText {
padding-left: 5px ;
}
.RadMenu_Default .rmRootGroup .rmSelected
{
background:#f7931d; /*what happens when the Tab is 'Selected'*/
}
div.RadMenu .rmRootGroup
{
/*all the border tags here, remove the black border that went round the entire Menu Control*/
border-width:0px;
border-bottom:5px solid #f7931d;
}
div.RadMenu .rmRootGroup .rmItem .rmText
{
text-align:left;
/*the Border tags help to seperate each Menu Tab to make it look like its a seperate entity*/
border-left:solid;
border-right:solid;
border-left-color:white;
border-right-color:white;
width:70px; /*width of each root tab*/
height:35px; /*height of each root tab*/
color:#979797; /*colour of the text on the tab*/
}
div.RadMenu .rmItem:hover .rmText
{
color:white; /*font colour when hovering over*/
}
.RadMenu_Default .rmGroup .rmText
{
/*the border and background properties will remove the block on the left side of the drop down menu where an icon would usually be placed.*/
border: 1px solid #979797 ;
background: #f0f0f0 ;
}
.RadMenu_Default .rmText:hover
{
background:#f7931d; /*background of tabs when moused over*/
}
.RadMenu_Default
{
width:598px; /*width of the entire control*/
}
</style>
<form id="form1" runat="server"><Telerik:RadScriptManager runat="server" ID="RadScriptManager1" /><Telerik:RadSkinManager ID="QsfSkinManager" runat="server" ShowChooser="false" /><Telerik:RadFormDecorator ID="QsfFromDecorator" runat="server" DecoratedControls="All" EnableRoundedCorners="false" /><Telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <Telerik:AjaxSetting AjaxControlID="RadGrid1"> <UpdatedControls> <Telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1"> </Telerik:AjaxUpdatedControl> </UpdatedControls> </Telerik:AjaxSetting> </AjaxSettings></Telerik:RadAjaxManager><Telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></Telerik:RadAjaxLoadingPanel><div align="center" style="width: auto; height: auto;"> <img src="image/NdriveBanner.png" align="center" /></div><br /><br /><Telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" runat="server" AllowSorting="True" AllowPaging="True" AutoGenerateColumns="False" GridLines="None"> <PagerStyle Mode="NumericPages"></PagerStyle> <MasterTableView Width="100%" GroupLoadMode="Client" TableLayout="Fixed" GroupsDefaultExpanded="false"> <PagerStyle Visible="false" /> <GroupByExpressions> <Telerik:GridGroupByExpression> <SelectFields> <Telerik:GridGroupByField FieldAlias="REGION" FieldName="REGION"></Telerik:GridGroupByField> </SelectFields> <GroupByFields> <Telerik:GridGroupByField FieldName="REGION"></Telerik:GridGroupByField> </GroupByFields> </Telerik:GridGroupByExpression> <Telerik:GridGroupByExpression> <SelectFields> <Telerik:GridGroupByField FieldAlias="MARKET" FieldName="MARKET"></Telerik:GridGroupByField> </SelectFields> <GroupByFields> <Telerik:GridGroupByField FieldName="MARKET"></Telerik:GridGroupByField> </GroupByFields> </Telerik:GridGroupByExpression> <Telerik:GridGroupByExpression> <SelectFields> <Telerik:GridGroupByField FieldAlias="LOCATIONNAME" FieldName="LOCATIONNAME"></Telerik:GridGroupByField> </SelectFields> <GroupByFields> <Telerik:GridGroupByField FieldAlias="LOCATIONNAME" FieldName="LOCATIONNAME"></Telerik:GridGroupByField> </GroupByFields> </Telerik:GridGroupByExpression> </GroupByExpressions> <Columns> <Telerik:GridBoundColumn SortExpression="REGION" HeaderText="REGION" HeaderButtonType="TextButton" DataField="REGION"> </Telerik:GridBoundColumn> <Telerik:GridBoundColumn SortExpression="MARKET" HeaderText="MARKET" HeaderButtonType="TextButton" DataField="MARKET"> </Telerik:GridBoundColumn> <Telerik:GridHyperLinkColumn DataNavigateUrlFields="IDSERVER" DataNavigateUrlFormatString="PathFolders.aspx?idServer={0}" DataTextField="LOCATIONNAME" FilterControlAltText="Filter column column" HeaderText="LOCATION NAME" UniqueName="column"> <ItemStyle HorizontalAlign="Left" /> </Telerik:GridHyperLinkColumn> <Telerik:GridBoundColumn SortExpression="SERVERNAME" HeaderText="SERVER NAME" HeaderButtonType="TextButton" DataField="SERVERNAME"> </Telerik:GridBoundColumn> </Columns> </MasterTableView> <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True"> <ClientEvents OnGridCreated="demo.GridCreated" /> </ClientSettings> <GroupingSettings ShowUnGroupButton="true"></GroupingSettings></Telerik:RadGrid><br /><asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:dbNDriveSecurityConnectionString %>" ProviderName="System.Data.SqlClient" SelectCommand="SELECT IDLOCATION,REGION,MARKET,LOCATIONNAME,SERVERNAME,IDSERVER FROM LOCATIONS L INNER JOIN [SERVERS] S ON l.LocationCode = s.LocationCode ORDER BY Region,Market,LocationName,ServerName" runat="server"></asp:SqlDataSource></form><telerik:RadHtmlChart runat="server" ChartTitle-Text="Courbe FR" ID="RadHtmlChart1" Width="800" Height="500"> <PlotArea> <Series> <telerik:ColumnSeries Name="District"> <TooltipsAppearance Color="White" /> <SeriesItems> <telerik:CategorySeriesItem Y="95" /> <telerik:CategorySeriesItem Y="80" /> <telerik:CategorySeriesItem Y="80" /> <telerik:CategorySeriesItem Y="85" /> </SeriesItems> </telerik:ColumnSeries> <telerik:ColumnSeries AxisName="AdditionalAxis" Name="Ministère"> <Appearance> <FillStyle BackgroundColor="Red" /> </Appearance> <TooltipsAppearance Color="White" /> <SeriesItems> <telerik:CategorySeriesItem Y="90" /> <telerik:CategorySeriesItem Y="80" /> <telerik:CategorySeriesItem Y="45" /> <telerik:CategorySeriesItem Y="66" /> </SeriesItems> </telerik:ColumnSeries> </Series> <YAxis MinValue="0"> <TitleAppearance Text="%" /> </YAxis> <AdditionalYAxes> <telerik:AxisY Name="AdditionalAxis" Visible="false" Color="Red" Width="3"> <TitleAppearance Text="%" Visible="false" /> </telerik:AxisY> </AdditionalYAxes> <Series> <telerik:BarSeries Name="Seuil"> <Appearance> <FillStyle BackgroundColor="Red"></FillStyle> </Appearance> <LabelsAppearance Position="Center"> </LabelsAppearance> <TooltipsAppearance BackgroundColor="Red"></TooltipsAppearance> <SeriesItems> <telerik:CategorySeriesItem Y="55"></telerik:CategorySeriesItem> </SeriesItems> </telerik:BarSeries> </Series> <XAxis> <LabelsAppearance /> <Items> <telerik:AxisItem LabelText="L2" /> <telerik:AxisItem LabelText="L4" /> <telerik:AxisItem LabelText="F5" /> <telerik:AxisItem LabelText="F8" /> </Items> </XAxis> </PlotArea> <Legend> <Appearance Position="Bottom" /> </Legend> </telerik:RadHtmlChart>if (!string.IsNullOrEmpty(packageFilterExpression))
{
query = query
.Where(packageFilterExpression);
}
"(UniqueId = Guid(\"12345678-926F-44A9-936B-CDBB03DA888A\"))"<telerik:RadComboBox ID="ddlUnit" runat="server" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" MaxHeight="450px" Width="300px" DataTextField="Value" DataValueField="Key" Label="Unit:" LabelCssClass="HeaderLabel" DropDownWidth="600px" Height="400px" AutoPostBack="true" OnTextChanged="ddlUnit_TextChanged"></telerik:RadComboBox>
protected void ddlDiscipline_TextChanged(object sender, EventArgs e){ CTRmDataService ctrmDS = new CTRmDataService(); this.ddlDocType.DataSource = ctrmDS.GetDocumentTypesForProjectsDisciplineAndUnit(GetSelectedProjects(), GetSelectedDisciplines(), GetSelectedUnits(), LoggedOnUser.Id); this.ddlDocType.DataBind();}public string[] GetSelectedDocTypes(){ return ddlDocType.CheckItems.Where(x => x.Value != "PSP") .Select(v => v.Value).ToArray<string>();}