Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
89 views
Hello,

In my SharePoint 2013 site, I have activated the "Use RadEditor to edit HTML fields" feature. All is OK when my ToolbarMode is on default. But, when I try the "ShowOnFocus" mode, the Toolbar follow the page "scrolling" (please watch the Video for seeing the issue).

Is it normal?

Thank a lot for your help.

Regards

Éric



Ianko
Telerik team
 answered on 25 Jul 2016
11 answers
460 views

Hi all,

I have codes below at javascript:

var grid = $find("<%=RadGrid1.ClientID %>");

var batchManager1 = grid.get_batchEditingManager();

var hasChanges = batchManager1.hasChanges(grid.get_masterTableView());

if(hasChanges) {

    grid.get_batchEditingManager().saveChanges(grid.get_masterTableView());

}

else{

args.get_

 

 

I have code below at code behind:
protected void RadGrid1_BatchEditCommand(object sender, GridBatchEditingEventArgs e)
{
    foreach (GridBatchEditingCommand command in e.Commands)
    {
        Hashtable newValues = command.NewValues;
        Hashtable oldValues = command.OldValues;
        string newFirstName = newValues["FirstName"].ToString();
    }
}

systems
Top achievements
Rank 1
 answered on 25 Jul 2016
6 answers
186 views

Hi , I have a dropdown list inside the edit template and a label on template item. I am tiring to find this control on batcheditopening event . I want to insert the label value as the last list item of the dropdown listI. I am able to find the label value but I am having issue in finding the dropdown.

please help me with this issue.

shashi
Top achievements
Rank 1
 answered on 25 Jul 2016
0 answers
162 views

Hi!

   I have a RadListView control that holds data, based on a condition, I need to set elements inside of the RadListview to be read only or editable.  But, there are 2  buttons need to be enabled all the time, in RadLVFbData_ItemDataBound, I first set all the elements in <div> to be disabled, then try to enable the 2 buttons, I have tried several ways, but was not able to make the 2 buttons enabled, however, i was able to change the color.  Any suggestions?  code as below.

Thanks in advanced! SH.

                           foreach (Control ctrl in divBoxBody.Controls)
                            {
                                if (ctrl is WebControl)
                                    ((WebControl)ctrl).Enabled = false;
                                else if (ctrl is HtmlControl)
                                    ((HtmlControl)ctrl).Disabled = true;
                            }
                            Button oElemBtnSubmit = item.FindControl("btnSubmit") as Button;
                            #1. oElemBtnSubmit.Attributes.Add("Disabled", "Disabled"); => not work
                            #2. oElemBtnSubmit.Attributes.Remove("Disabled"); => not work
                            #3. oElemBtnSubmit.Enabled = true; => not work
                            #4. oElemBtnSubmit.Style.Add("color", "#008888"); =>  successfully

 

 

sharon
Top achievements
Rank 1
 asked on 23 Jul 2016
0 answers
71 views

Hi,

I'm working with telerik controls such as radhtmlcharts, comboboxs, grids,tapstrip,RadMultiPage; all of the in the same page. I have at least 10 charts and 10 ragrid all of them in separated RadPageView.

Everything works perfect until I decided to add a radpanel where I want to add radcomboboxes in order to use them as my chart's filters, They will be around 15 comboboxes, but when I run the app everything stops working.

here is part of my code, where panel is inside a <td>, in the other <td> is located RadMultiPage  and the RadPageViews

<div>
                <table style="width:100%">
                    <tr>
                        <td style="width:21%" valign="top">
                            <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Width="100%" ExpandMode="FullExpandedItem" Skin="Windows7" Height="100%">
                                <Items>
                                    <telerik:RadPanelItem runat="server" Text="Areas">
                                        <Items>
                                            <telerik:RadPanelItem runat="server" Value="templateHolder">
                                                <ContentTemplate>
                                                    <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbDireccion" Label="Dirección:" AutoPostBack="true"
                                                        DataTextField="Direccion" DataValueField="ID" OnSelectedIndexChanged="rcbDireccion_SelectedIndexChanged" DropDownAutoWidth="Enabled"
                                                        Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Dirección..." OnClientDropDownOpening="dropDownOpening"
                                                    OnClientDropDownClosed="dropDownClosed" OnClientSelectedIndexChanged="dropDownClosed">
                                                    </telerik:RadComboBox>
                                                    <br />
                                                    <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbSubdireccion" Label="Subdirección:" AutoPostBack="true"
                                                        DataTextField="Sub" DataValueField="ID" OnSelectedIndexChanged="rcbSubdireccion_SelectedIndexChanged" DropDownAutoWidth="Enabled"
                                                        Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Subdirección..." >
                                                    </telerik:RadComboBox>
                                                    <br />
                                                    <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbGerencia" Label="Gerencia:" AutoPostBack="true"
                                                        DataTextField="Gerencia" DataValueField="ID" OnSelectedIndexChanged="rcbGerencia_SelectedIndexChanged" DropDownAutoWidth="Enabled"
                                                        Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Gerencia...">
                                                    </telerik:RadComboBox>
                                                    <br />
                                                    <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbJefatura" Label="Jefatura/Unidad:" AutoPostBack="true"
                                                        DataTextField="Jefatura" DataValueField="ID" OnSelectedIndexChanged="rcbJefatura_SelectedIndexChanged" DropDownAutoWidth="Enabled"
                                                        Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Jefatura/Unidad...">
                                                    </telerik:RadComboBox>
                                                </ContentTemplate>
                                            </telerik:RadPanelItem>
                                        </Items>
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Datos PPTO">
                                                <Items>
                                                    <telerik:RadPanelItem runat="server" Value="templateHolder1">
                                                        <ContentTemplate>
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbPresupuesto" Label="Presupuesto:" AutoPostBack="true"
                                                                DataTextField="Gerencia" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Presupuesto...">
                                                            </telerik:RadComboBox>
                                                            <br />
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbPrograma" Label="Programa:" AutoPostBack="true"
                                                                DataTextField="Gerencia" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Programa...">
                                                            </telerik:RadComboBox>
                                                            <br />
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbTrabajo" Label="Trabajo:" AutoPostBack="true"
                                                                DataTextField="Gerencia" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Trabajo...">
                                                            </telerik:RadComboBox>
                                                            <br />
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbProyecto" Label="Proyecto:" AutoPostBack="true"
                                                                DataTextField="Gerencia" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Proyecto...">
                                                            </telerik:RadComboBox>
                                                            <br />
                                                        </ContentTemplate>
                                                    </telerik:RadPanelItem>
                                                </Items>
                                            </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Equipos">
                                        <Items>
                                            <telerik:RadPanelItem runat="server" Value="templateHolder1">
                                                        <ContentTemplate>
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbNombre" Label="Equipo:" AutoPostBack="true"
                                                                DataTextField="Gerencia" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Equipo...">
                                                            </telerik:RadComboBox>
                                                            <br />
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbCapacidad" Label="Capacidad:" AutoPostBack="true"
                                                                DataTextField="Gerencia" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Capacidad...">
                                                            </telerik:RadComboBox>
                                                            <br />
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbAreaOp" Label="Area:" AutoPostBack="true"
                                                                DataTextField="Gerencia" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Operativa...">
                                                            </telerik:RadComboBox>
                                                            <br />
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbActividad" Label="Actividad:" AutoPostBack="true"
                                                                DataTextField="Gerencia" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Actividad...">
                                                            </telerik:RadComboBox>
                                                            <br />
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbTipoEquipo" Label="Tipo:" AutoPostBack="true"
                                                                DataTextField="Gerencia" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="de Equipo...">
                                                            </telerik:RadComboBox>
                                                            <br />
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbAreatrabjo" Label="Area de:" AutoPostBack="true"
                                                                DataTextField="Gerencia" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Trabajo...">
                                                            </telerik:RadComboBox>
                                                        </ContentTemplate>
                                                    </telerik:RadPanelItem>
                                        </Items>
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Configuración">
                                        <Items>
                                            <telerik:RadPanelItem runat="server" Value="templateHolder1">
                                                        <ContentTemplate>
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbSociedad" Label="Sociedad:" AutoPostBack="true"
                                                                DataTextField="Sub" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Sociedad...">
                                                            </telerik:RadComboBox>
                                                            <br />
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbFondo" Label="Fondo:" AutoPostBack="true"
                                                                DataTextField="Sub" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Fondo..." >
                                                            </telerik:RadComboBox>
                                                            <br />
                                
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbAdecuado" Label="Adecuado:" AutoPostBack="true"
                                                                DataTextField="Jefatura" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Adecuado...">
                                                            </telerik:RadComboBox>
                                                            <br />
                                                            <telerik:RadComboBox RenderMode="Lightweight" runat="server" ID="rcbEjercicio" Label="Ejercicio:" AutoPostBack="true"
                                                                DataTextField="Jefatura" DataValueField="ID" DropDownAutoWidth="Enabled"
                                                                Skin="Windows7" Filter="Contains" Width="100%" EmptyMessage="Ejercicio...">
                                                            </telerik:RadComboBox>
                                                        </ContentTemplate>
                                                    </telerik:RadPanelItem>
                                        </Items>
                                    </telerik:RadPanelItem>
                                </Items>
                </telerik:RadPanelBar>
                        </td>
                        <td style="width:79%" valign="top" align="left">
                            <telerik:RadMultiPage ID="RadMultiPag1" runat="server" CssClass="RadMultiPage" SelectedIndex="0" RenderMode="Lightweight" Width="100%">
                                <telerik:RadPageView ID="RadPageView3" runat="server" Height="100%" Style="overflow: hidden" CssClass="innerMultiPage">
                                <br />
                                <asp:ImageButton ID="btnAF" OnClientClick="printChartClientAF(); return false;" runat="server" ToolTip="Imprimir Gráfico" ImageUrl="~/Images/ico_imprimir.gif"/>
                                <div id="chartContainerAF" style="width:100%">
                                <div class="col-lg-9">
                                        <telerik:RadHtmlChart RenderMode="Lightweight" runat="server" ID="ColumnAF" Width="100%" Height="500" Transitions="true" Skin="Simple" DataSourceID="SqlDataSourceAF">
                                        <ClientEvents OnLoad="chartLoad"/>
                                        <PlotArea>
                                            <Series>
                                                <telerik:ColumnSeries Name="Devengado" Stacked="false" Gap="1.5" Spacing="0.4" DataFieldY="Devengado">
                                                    <Appearance>
                                                        <FillStyle BackgroundColor="#ff0000"></FillStyle>
                                                    </Appearance>
                                                    <LabelsAppearance DataFormatString="{0:C} MM" Position="OutsideEnd" RotationAngle="90" Color="Black"></LabelsAppearance>
                                                    <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                </telerik:ColumnSeries>
                                                <telerik:ColumnSeries Name="Flujo" Gap="1.5" Spacing="0.4" DataFieldY="Flujo">
                                                    <Appearance>
                                                        <FillStyle BackgroundColor="#33cc33"></FillStyle>
                                                    </Appearance>
                                                    <LabelsAppearance DataFormatString="{0:C} MM" Position="OutsideEnd"  RotationAngle="90" Color="Black"></LabelsAppearance>
                                                    <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                </telerik:ColumnSeries>
                                            </Series>
                                            <Appearance>
                                                <FillStyle BackgroundColor="Transparent"></FillStyle>
                                            </Appearance>
                                            <XAxis AxisCrossingValue="0" Color="black" MajorTickType="Outside" MinorTickType="Outside"
                                                Reversed="false" DataLabelsField="Area">
                                                <LabelsAppearance DataFormatString="{0}" RotationAngle="90" Skip="0" Step="1"></LabelsAppearance>
                                                <TitleAppearance Position="Center" RotationAngle="0" Text="Centro Gestor">
                                                </TitleAppearance>
                                            </XAxis>
                                            <YAxis AxisCrossingValue="0" Color="black" MajorTickSize="1" MajorTickType="Outside"
                                                MinorTickType="None" Reversed="false">
                                                <LabelsAppearance DataFormatString="{0} MM" RotationAngle="0" Skip="0" Step="1"></LabelsAppearance>
                                                <TitleAppearance Position="Center" RotationAngle="0" Text="">
                                                </TitleAppearance>
                                            </YAxis>
                                        </PlotArea>
                                        <Appearance>
                                            <FillStyle BackgroundColor="Transparent"></FillStyle>
                                        </Appearance>
                                        <ChartTitle Text="Gráfico por Centro Gestor">
                                            <Appearance Align="Center" BackgroundColor="Transparent" Position="Top">
                                            </Appearance>
                                        </ChartTitle>
                                        <Legend>
                                            <Appearance BackgroundColor="Transparent" Position="Right">
                                            </Appearance>
                                        </Legend>
                                    </telerik:RadHtmlChart>
                                    </div>
                                </div>
                                <div class="col-lg-3" >
                                    <telerik:RadGrid ID="rgColumnAF" runat="server" AllowPaging="True" Culture="es-MX" Width="98%" RenderMode="Lightweight" Height="500"
                                        PageSize="20" GroupPanelPosition="Top" Skin="Windows7" DataSourceID="SqlDataSourceAF" OnItemDataBound="rgColumnAF_ItemDataBound"
                                        OnExcelMLWorkBookCreated="rgColumnAF_ExcelMLWorkBookCreated" onexcelmlexportrowcreated="rgColumnAF_ExcelMLExportRowCreated"
                OnItemCreated="rgColumnAF_ItemCreated" OnItemCommand="rgColumnAF_ItemCommand">
                                        <ClientSettings ReorderColumnsOnClient="true" AllowColumnsReorder="true" ColumnsReorderMethod="Reorder">
                                            <Scrolling AllowScroll="true" UseStaticHeaders="true"/>
                                        </ClientSettings>
                                        <GroupingSettings CaseSensitive="false" />
                                        <ExportSettings OpenInNewWindow="true" IgnorePaging="true"/>
                                        <MasterTableView AutoGenerateColumns="true" CommandItemDisplay="Top">
                                            <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false"/>
                                            <Columns>
                                            </Columns>
                                        </MasterTableView>
                                    </telerik:RadGrid>
                                </div>
                            </telerik:RadPageView>
                                <telerik:RadPageView ID="RadPageView4" runat="server" Height="100%" Style="overflow: hidden">
                                    <br />
                                    <asp:ImageButton  ID="btnProc" OnClientClick="printChartClientAF(); return false;" runat="server" ToolTip="Imprimir Gráfico" ImageUrl="~/Images/ico_imprimir.gif"/>
                                    <div id="chartContainerProc" style="width:100%">
                                        <div class="col-lg-9">
                                        <telerik:RadHtmlChart RenderMode="Lightweight" runat="server" ID="BarProc" Width="100%" Height="500" Transitions="true" Skin="Simple" DataSourceID="SqlDataSourceProc">
                                            <ClientEvents OnLoad="chartLoad1" />
                                            <PlotArea>
                                                <Series>
                                                    <telerik:BarSeries Name="Devengado" Stacked="false" Gap="1.5" Spacing="0.4" DataFieldY="Devengado">
                                                        <Appearance>
                                                            <FillStyle BackgroundColor="#ff0000"></FillStyle>
                                                        </Appearance>
                                                        <LabelsAppearance DataFormatString="{0:C} MM" Position="OutsideEnd" RotationAngle="0"></LabelsAppearance>
                                                        <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                    </telerik:BarSeries>
                                                    <telerik:BarSeries Name="Flujo" Gap="1.5" Spacing="0.4" DataFieldY="Flujo">
                                                        <Appearance>
                                                            <FillStyle BackgroundColor="#00ff00"></FillStyle>
                                                        </Appearance>
                                                        <LabelsAppearance DataFormatString="{0:C} MM" Position="OutsideEnd" RotationAngle="0"></LabelsAppearance>
                                                        <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                    </telerik:BarSeries>
                                                </Series>
                                                <Appearance>
                                                    <FillStyle BackgroundColor="Transparent"></FillStyle>
                                                </Appearance>
                                                <XAxis AxisCrossingValue="0" Color="black" MajorTickType="Outside" MinorTickType="Outside"
                                                    Reversed="false" DataLabelsField="Proceso">
                                                    <LabelsAppearance DataFormatString="{0}" RotationAngle="0" Skip="0" Step="1"></LabelsAppearance>
                                                    <TitleAppearance Position="Center" RotationAngle="0" Text="Proceso">
                                                    </TitleAppearance>
                                                </XAxis>
                                                <YAxis AxisCrossingValue="0" Color="black" MajorTickSize="1" MajorTickType="Outside"
                                                    MinorTickType="None" Reversed="false">
                                                    <LabelsAppearance DataFormatString="{0} MM" RotationAngle="90" Skip="0" Step="1"></LabelsAppearance>
                                                    <TitleAppearance Position="Center" RotationAngle="0" Text="">
                                                    </TitleAppearance>
                                                </YAxis>
                                            </PlotArea>
                                            <Appearance>
                                                <FillStyle BackgroundColor="Transparent"></FillStyle>
                                            </Appearance>
                                            <ChartTitle Text="Gráfico por Proceso">
                                                <Appearance Align="Center" BackgroundColor="Transparent" Position="Top">
                                                </Appearance>
                                            </ChartTitle>
                                            <Legend>
                                                <Appearance BackgroundColor="Transparent" Position="Top">
                                                </Appearance>
                                            </Legend>
                                        </telerik:RadHtmlChart>
                                    </div>
                                    </div>
                                    <div class="col-lg-3" align="center">
                                        <telerik:RadGrid ID="rgBarProc" runat="server" AllowPaging="True" Culture="es-MX" Width="100%" RenderMode="Lightweight"
                                            PageSize="20" GroupPanelPosition="Top" Skin="Windows7" DataSourceID="SqlDataSourceProc" OnItemDataBound="rgBarProc_ItemDataBound"
                                            OnExcelMLWorkBookCreated="rgBarProc_ExcelMLWorkBookCreated" onexcelmlexportrowcreated="rgBarProc_ExcelMLExportRowCreated"
                    OnItemCreated="rgBarProc_ItemCreated" OnItemCommand="rgBarProc_ItemCommand">
                                            <GroupingSettings CaseSensitive="false" />
                                            <ClientSettings ReorderColumnsOnClient="true" AllowColumnsReorder="true" ColumnsReorderMethod="Reorder">
                                                <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                                            </ClientSettings>
                                            <ExportSettings OpenInNewWindow="true" IgnorePaging="true"/>
                                            <MasterTableView AutoGenerateColumns="true" CommandItemDisplay="Top">
                                                <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false"/>
                                            </MasterTableView>
                                        </telerik:RadGrid>
                                    </div>
                             
                                </telerik:RadPageView>
                                <telerik:RadPageView ID="RadPageView5" runat="server" Height="100%" Style="overflow: hidden">
                                    <br />
                                    <div class="col-lg-6" align="center">
                                        <telerik:RadGrid RenderMode="Lightweight" ID="rgAreaFlu" runat="server" AllowPaging="True" Culture="es-MX" Width="92%"
                                            PageSize="20" GroupPanelPosition="Top" Skin="Windows7" DataSourceID="SqlDataSourceProFlu" OnItemDataBound="rgAreaFlu_ItemDataBound"
                                            OnExcelMLWorkBookCreated="rgAreaFlu_ExcelMLWorkBookCreated" onexcelmlexportrowcreated="rgAreaFlu_ExcelMLExportRowCreated"
                    OnItemCreated="rgAreaFlu_ItemCreated" OnItemCommand="rgAreaFlu_ItemCommand">
                                            <GroupingSettings CaseSensitive="false" />
                                            <ClientSettings>
                                                <Scrolling AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="1" />
                                            </ClientSettings>
                                            <ExportSettings OpenInNewWindow="true" IgnorePaging="true"/>
                                            <MasterTableView AutoGenerateColumns="true" CommandItemDisplay="Top">
                                                <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false"/>
                                            </MasterTableView>
                                        </telerik:RadGrid>
                                    </div>
                                    <div class="col-lg-6" align="center">
                                        <telerik:RadGrid ID="rgAreaDev" runat="server" AllowPaging="True" Culture="es-MX" Width="92%" RenderMode="Lightweight"
                                            PageSize="20" GroupPanelPosition="Top" Skin="Windows7" DataSourceID="SqlDataSourceProDev" OnItemDataBound="rgAreaDev_ItemDataBound"
                                            OnExcelMLWorkBookCreated="rgAreaDev_ExcelMLWorkBookCreated" onexcelmlexportrowcreated="rgAreaDev_ExcelMLExportRowCreated"
                    OnItemCreated="rgAreaDev_ItemCreated" OnItemCommand="rgAreaDev_ItemCommand">
                                            <GroupingSettings CaseSensitive="false" />
                                            <ClientSettings>
                                                <Scrolling AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="1"/>
                                            </ClientSettings>
                                            <ExportSettings OpenInNewWindow="true" IgnorePaging="true"/>
                                            <MasterTableView AutoGenerateColumns="true" CommandItemDisplay="Top">
                                                <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false"/>
                                            </MasterTableView>
                                        </telerik:RadGrid>
                                    </div>
                                    <asp:ImageButton  ID="btnAreaProc" OnClientClick="printChartClientAF(); return false;" runat="server" ToolTip="Imprimir Gráfico" ImageUrl="~/Images/ico_imprimir.gif"/>
                                    <div id="chartContainerAreaProc" style="width:100%">
                                        <div class="col-lg-6">
                                            <telerik:RadHtmlChart RenderMode="Lightweight" runat="server" ID="AreaFluChart" Width="100%" Height="500" Skin="Simple" DataSourceID="SqlDataSourceProFlu">
                                                <ClientEvents OnLoad="chartLoad3" />
                                                <PlotArea>
                                                    <Series>
                                                        <telerik:AreaSeries Name="Ejercicio" DataFieldY="Ejercicio">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#00cc66"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Above" RotationAngle="0" DataFormatString="{0:C} MM"></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Circle" BackgroundColor="White" Size="6" BorderColor="#00cc66"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Original" DataFieldY="Original">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#6699ff"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Below" RotationAngle="0" DataFormatString="{0:C} MM" ></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#6699ff"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Compromisos" DataFieldY="Compromisos">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#ffff00"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Above" RotationAngle="0" DataFormatString="{0:C} MM" ></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#ffff00"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Proyeccion" DataFieldY="Proyeccion">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#ff0000"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Below" RotationAngle="0" DataFormatString="{0:C} MM"></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#ff0000"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Devengado x Pagar" DataFieldY="DevengadoxPagar">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#000000"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Above" RotationAngle="0" DataFormatString="{0:C} MM"></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#000000"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Sobregiro" DataFieldY="Sobregiro">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#0000cc"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Below" RotationAngle="0" DataFormatString="{0:C} MM" ></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#0000cc"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Solicitudes en Tramite" DataFieldY="Solicitudes">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#009900"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Above" RotationAngle="0" DataFormatString="{0:C} MM" ></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#009900"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Traspaso Emisor" DataFieldY="Emisor">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#cc3300"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Below" RotationAngle="0" DataFormatString="{0:C} MM" ></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#cc3300"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Traspaso Receptor" DataFieldY="Receptor">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#808080"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Above" RotationAngle="0" DataFormatString="{0:C} MM" ></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#808080"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                    </Series>
                                                    <Appearance>
                                                        <FillStyle BackgroundColor="Transparent"></FillStyle>
                                                    </Appearance>
                                                    <XAxis AxisCrossingValue="0" Color="black" MajorTickType="Outside" MinorTickType="Outside" Reversed="false"
                                                        DataLabelsField="Mes">
                                                        <TitleAppearance Position="Center"></TitleAppearance>
                                                        <LabelsAppearance DataFormatString="{0}" RotationAngle="90" Skip="0" Step="1">
                                                        </LabelsAppearance>
                                                        <MinorGridLines Visible="false"></MinorGridLines>
                                                        <MajorGridLines Visible="false"></MajorGridLines>
                                                    </XAxis>
                                                    <YAxis AxisCrossingValue="0" Color="black" MajorTickSize="4" MajorTickType="Outside"
                                                        MinorTickType="None" MinValue="0" Reversed="false">
                                                        <LabelsAppearance DataFormatString="{0} M" RotationAngle="0" Skip="0" Step="1">
                                                        </LabelsAppearance>
                                                        <TitleAppearance RotationAngle="0" Position="Center" Text=""></TitleAppearance>
                                                    </YAxis>
                                                </PlotArea>
                                                <Appearance>
                                                    <FillStyle BackgroundColor="Transparent"></FillStyle>
                                                </Appearance>
                                                <ChartTitle Text="Comportamiento mensual Flujo">
                                                    <Appearance Align="Center" BackgroundColor="Transparent" Position="Top">
                                                    </Appearance>
                                                </ChartTitle>
                                                <Legend>
                                                    <Appearance BackgroundColor="Transparent" Position="Top">
                                                    </Appearance>
                                                </Legend>
                                            </telerik:RadHtmlChart>
                                        </div>
                                        <div class="col-lg-6">
                                            <telerik:RadHtmlChart RenderMode="Lightweight" runat="server" ID="AreaDevChart" Width="100%" Height="500" Skin="Simple" DataSourceID="SqlDataSourceProDev">
                                                <ClientEvents OnLoad="chartLoad4" />
                                                <PlotArea>
                                                    <Series>
                                                        <telerik:AreaSeries Name="Ejercicio" DataFieldY="Ejercicio">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#00cc66"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Above" RotationAngle="0" DataFormatString="{0:C} MM"></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Circle" BackgroundColor="White" Size="6" BorderColor="#00cc66"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Original" DataFieldY="Original">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#6699ff"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Below" RotationAngle="0" DataFormatString="{0:C} MM" ></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#6699ff"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Compromisos" DataFieldY="Compromisos">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#ffff00"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Above" RotationAngle="0" DataFormatString="{0:C} MM" ></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#ffff00"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Proyeccion" DataFieldY="Proyeccion">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#ff0000"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Below" RotationAngle="0" DataFormatString="{0:C} MM"></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#ff0000"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Devengado x Pagar" DataFieldY="DevengadoxPagar">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#000000"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Above" RotationAngle="0" DataFormatString="{0:C} MM"></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#000000"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Sobregiro" DataFieldY="Sobregiro">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#0000cc"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Below" RotationAngle="0" DataFormatString="{0:C} MM" ></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#0000cc"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Solicitudes en Tramite" DataFieldY="Solicitudes">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#009900"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Above" RotationAngle="0" DataFormatString="{0:C} MM" ></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#009900"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Traspaso Emisor" DataFieldY="Emisor">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#cc3300"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Below" RotationAngle="0" DataFormatString="{0:C} MM" ></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#cc3300"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                        <telerik:AreaSeries Name="Traspaso Receptor" DataFieldY="Receptor">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#808080"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance Position="Above" RotationAngle="0" DataFormatString="{0:C} MM" ></LabelsAppearance>
                                                            <LineAppearance Width="1"></LineAppearance>
                                                            <MarkersAppearance MarkersType="Square" BackgroundColor="White" Size="6" BorderColor="#808080"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance Color="White" DataFormatString="{0:C} MM"></TooltipsAppearance>
                                                        </telerik:AreaSeries>
                                                    </Series>
                                                    <Appearance>
                                                        <FillStyle BackgroundColor="Transparent"></FillStyle>
                                                    </Appearance>
                                                    <XAxis AxisCrossingValue="0" Color="black" MajorTickType="Outside" MinorTickType="Outside" Reversed="false"
                                                        DataLabelsField="Mes">
                                                        <TitleAppearance Position="Center"></TitleAppearance>
                                                        <LabelsAppearance DataFormatString="{0}" RotationAngle="90" Skip="0" Step="1">
                                                        </LabelsAppearance>
                                                        <MinorGridLines Visible="false"></MinorGridLines>
                                                        <MajorGridLines Visible="false"></MajorGridLines>
                                                    </XAxis>
                                                    <YAxis AxisCrossingValue="0" Color="black" MajorTickSize="4" MajorTickType="Outside"
                                                         MinorTickType="None" MinValue="0" Reversed="false">
                                                        <LabelsAppearance DataFormatString="{0} M" RotationAngle="0" Skip="0" Step="1">
                                                        </LabelsAppearance>
                                                        <TitleAppearance RotationAngle="0" Position="Center" Text=""></TitleAppearance>
                                                    </YAxis>
                                                </PlotArea>
                                                <Appearance>
                                                    <FillStyle BackgroundColor="Transparent"></FillStyle>
                                                </Appearance>
                                                <ChartTitle Text="Comportamiento mensual Devengado">
                                                    <Appearance Align="Center" BackgroundColor="Transparent" Position="Top">
                                                    </Appearance>
                                                </ChartTitle>
                                                <Legend>
                                                    <Appearance BackgroundColor="Transparent" Position="Top">
                                                    </Appearance>
                                                </Legend>
                                            </telerik:RadHtmlChart>
                                        </div>
                                    </div>
                                </telerik:RadPageView>
                                <telerik:RadPageView ID="RadPageView6" runat="server" Height="100%" Style="overflow: hidden">
                                    <br />
                                    <div class="col-lg-6" align="center">
                                        <telerik:RadGrid ID="rgLineFlu" runat="server" AllowPaging="True" Culture="es-MX" Width="92%" RenderMode="Lightweight"
                                            PageSize="20" GroupPanelPosition="Top" Skin="Windows7" DataSourceID="SqlDataSourceFluPro" OnItemDataBound="rgLineFlu_ItemDataBound"
                                            OnExcelMLWorkBookCreated="rgLineFlu_ExcelMLWorkBookCreated" onexcelmlexportrowcreated="rgLineFlu_ExcelMLExportRowCreated"
                    OnItemCreated="rgLineFlu_ItemCreated" OnItemCommand="rgLineFlu_ItemCommand">
                                            <GroupingSettings CaseSensitive="false" />
                                            <ClientSettings>
                                                <Scrolling AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="1" />
                                            </ClientSettings>
                                            <ExportSettings OpenInNewWindow="true" IgnorePaging="true"/>
                                            <MasterTableView AutoGenerateColumns="true" CommandItemDisplay="Top">
                                                <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false"/>
                                            </MasterTableView>
                                        </telerik:RadGrid>
                                    </div>
                                    <div class="col-lg-6" align="center">
                                        <telerik:RadGrid ID="rgLineDev" runat="server" AllowPaging="True" Culture="es-MX" Width="92%" RenderMode="Lightweight"
                                            PageSize="20" GroupPanelPosition="Top" Skin="Windows7" DataSourceID="SqlDataSourceDevPro" OnItemDataBound="rgLineDev_ItemDataBound"
                                            OnExcelMLWorkBookCreated="rgLineDev_ExcelMLWorkBookCreated" onexcelmlexportrowcreated="rgLineDev_ExcelMLExportRowCreated"
                    OnItemCreated="rgLineDev_ItemCreated" OnItemCommand="rgLineDev_ItemCommand">
                                            <GroupingSettings CaseSensitive="false" />
                                            <ClientSettings>
                                                <Scrolling AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="1" />
                                            </ClientSettings>
                                            <ExportSettings OpenInNewWindow="true" IgnorePaging="true"/>
                                            <MasterTableView AutoGenerateColumns="true" CommandItemDisplay="Top">
                                                <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false"/>
                                            </MasterTableView>
                                        </telerik:RadGrid>
                                    </div>
                                    <asp:ImageButton  ID="btnLineProc" OnClientClick="printChartClientAF(); return false;" runat="server" ToolTip="Imprimir Gráfico" ImageUrl="~/Images/ico_imprimir.gif"/>
                                    <div id="chartContainerLineProc" style="width:100%">
                                        <div class="col-lg-6">
                                            <telerik:RadHtmlChart RenderMode="Lightweight" runat="server" ID="LineFlujoChart" Width="100%" Height="500" Transitions="true" Skin="Simple" DataSourceID="SqlDataSourceFluPro">
                                                <ClientEvents OnLoad="chartLoad5" />
                                                <Appearance>
                                                    <FillStyle BackgroundColor="Transparent"></FillStyle>
                                                </Appearance>
                                                <ChartTitle Text="Comportamiento del Flujo en base a Programas ">
                                                    <Appearance Align="Center" BackgroundColor="Transparent" Position="Top">
                                                    </Appearance>
                                                </ChartTitle>
                                                <Legend>
                                                    <Appearance BackgroundColor="Transparent" Position="Bottom">
                                                    </Appearance>
                                                </Legend>
                                                <PlotArea>
                                                    <Appearance>
                                                        <FillStyle BackgroundColor="Transparent"></FillStyle>
                                                    </Appearance>
                                                    <XAxis AxisCrossingValue="0" Color="black" MajorTickType="Outside" MinorTickType="Outside"
                                                        Reversed="false" DataLabelsField="Mes">
                                                        <LabelsAppearance DataFormatString="{0}" RotationAngle="90" Skip="0" Step="1">
                                                        </LabelsAppearance>
                                                        <TitleAppearance Position="Center" RotationAngle="0" Text="">
                                                        </TitleAppearance>
                                                    </XAxis>
                                                    <YAxis AxisCrossingValue="0" Color="black" MajorTickSize="1" MajorTickType="Outside"
                                                         MinorTickSize="1" MinorTickType="Outside"  Reversed="false">
                                                        <LabelsAppearance DataFormatString="{0} MM" RotationAngle="0" Skip="0" Step="1">
                                                        </LabelsAppearance>
                                                        <TitleAppearance Position="Center" RotationAngle="0" Text="">
                                                        </TitleAppearance>
                                                    </YAxis>
                                                    <Series>
                                                        <telerik:LineSeries Name="BS" DataFieldY="BS">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#000099"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance DataFormatString="{0:C}" Position="Above" >
                                                            </LabelsAppearance>
                                                            <LineAppearance Width="1" />
                                                            <MarkersAppearance MarkersType="Circle" BackgroundColor="White" Size="8" BorderColor="#000099"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                        </telerik:LineSeries>
                                                        <telerik:LineSeries Name="BT" DataFieldY="BT">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#006600"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance DataFormatString="{0:C} MM" Position="Below" >
                                                            </LabelsAppearance>
                                                            <LineAppearance Width="1" />
                                                            <MarkersAppearance MarkersType="Circle" BackgroundColor="White" Size="8" BorderColor="#006600"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                        </telerik:LineSeries>
                                                        <telerik:LineSeries Name="CV" DataFieldY="CV">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#ff0000"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance DataFormatString="{0:C} MM" Position="Above" >
                                                            </LabelsAppearance>
                                                            <LineAppearance Width="1" />
                                                            <MarkersAppearance MarkersType="Circle" BackgroundColor="White" Size="8" BorderColor="#ff0000"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                        </telerik:LineSeries>
                                                        <telerik:LineSeries Name="KB" DataFieldY="KB">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#660066"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance DataFormatString="{0:C} MM" Position="Below" >
                                                            </LabelsAppearance>
                                                            <LineAppearance Width="1" />
                                                            <MarkersAppearance MarkersType="Circle" BackgroundColor="White" Size="8" BorderColor="#660066"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                        </telerik:LineSeries>
                                                        <telerik:LineSeries Name="FV" DataFieldY="FV">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#333300"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance DataFormatString="{0:C} MM" Position="Above" >
                                                            </LabelsAppearance>
                                                            <LineAppearance Width="1" />
                                                            <MarkersAppearance MarkersType="Circle" BackgroundColor="White" Size="8" BorderColor="#333300"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                        </telerik:LineSeries>
                                                    </Series>
                                                </PlotArea>
                                            </telerik:RadHtmlChart>
                                        </div>
                                        <div class="col-lg-6">
                                            <telerik:RadHtmlChart RenderMode="Lightweight" runat="server" ID="LineDevChart" Width="100%" Height="500" Transitions="true" Skin="Simple" DataSourceID="SqlDataSourceDevPro">
                                                <ClientEvents OnLoad="chartLoad6" />
                                                <Appearance>
                                                    <FillStyle BackgroundColor="Transparent"></FillStyle>
                                                </Appearance>
                                                <ChartTitle Text="Comportamiento del Devengado en base a Programas ">
                                                    <Appearance Align="Center" BackgroundColor="Transparent" Position="Top">
                                                    </Appearance>
                                                </ChartTitle>
                                                <Legend>
                                                    <Appearance BackgroundColor="Transparent" Position="Bottom">
                                                    </Appearance>
                                                </Legend>
                                                <PlotArea>
                                                    <Appearance>
                                                        <FillStyle BackgroundColor="Transparent"></FillStyle>
                                                    </Appearance>
                                                    <XAxis AxisCrossingValue="0" Color="black" MajorTickType="Outside" MinorTickType="Outside"
                                                        Reversed="false" DataLabelsField="Mes">
                                                        <LabelsAppearance DataFormatString="{0}" RotationAngle="90" Skip="0" Step="1">
                                                        </LabelsAppearance>
                                                        <TitleAppearance Position="Center" RotationAngle="0" Text="">
                                                        </TitleAppearance>
                                                    </XAxis>
                                                    <YAxis AxisCrossingValue="0" Color="black" MajorTickSize="1" MajorTickType="Outside"
                                                         MinorTickSize="1" MinorTickType="Outside" Reversed="false">
                                                        <LabelsAppearance DataFormatString="{0} M" RotationAngle="0" Skip="0" Step="1">
                                                        </LabelsAppearance>
                                                        <TitleAppearance Position="Center" RotationAngle="0" Text="">
                                                        </TitleAppearance>
                                                    </YAxis>
                                                    <Series>
                                                        <telerik:LineSeries Name="BS" DataFieldY="BS">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#000099"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance DataFormatString="{0:C} MM" Position="Above" >
                                                            </LabelsAppearance>
                                                            <LineAppearance Width="1" />
                                                            <MarkersAppearance MarkersType="Circle" BackgroundColor="White" Size="8" BorderColor="#000099"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                        </telerik:LineSeries>
                                                        <telerik:LineSeries Name="BT" DataFieldY="BT">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#006600"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance DataFormatString="{0:C} MM" Position="Below" >
                                                            </LabelsAppearance>
                                                            <LineAppearance Width="1" />
                                                            <MarkersAppearance MarkersType="Circle" BackgroundColor="White" Size="8" BorderColor="#006600"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                        </telerik:LineSeries>
                                                        <telerik:LineSeries Name="CV" DataFieldY="CV">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#ff0000"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance DataFormatString="{0:C} MM" Position="Above">
                                                            </LabelsAppearance>
                                                            <LineAppearance Width="1" />
                                                            <MarkersAppearance MarkersType="Circle" BackgroundColor="White" Size="8" BorderColor="#ff0000"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                        </telerik:LineSeries>
                                                        <telerik:LineSeries Name="KB" DataFieldY="KB">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#660066"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance DataFormatString="{0:C} MM" Position="Below">
                                                            </LabelsAppearance>
                                                            <LineAppearance Width="1" />
                                                            <MarkersAppearance MarkersType="Circle" BackgroundColor="White" Size="8" BorderColor="#660066"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                        </telerik:LineSeries>
                                                        <telerik:LineSeries Name="FV" DataFieldY="FV">
                                                            <Appearance>
                                                                <FillStyle BackgroundColor="#333300"></FillStyle>
                                                            </Appearance>
                                                            <LabelsAppearance DataFormatString="{0:C} MM" Position="Above" >
                                                            </LabelsAppearance>
                                                            <LineAppearance Width="1" />
                                                            <MarkersAppearance MarkersType="Circle" BackgroundColor="White" Size="8" BorderColor="#333300"
                                                                BorderWidth="2"></MarkersAppearance>
                                                            <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                        </telerik:LineSeries>
                                                    </Series>
                                                </PlotArea>
                                            </telerik:RadHtmlChart>
                                        </div>
                                    </div>
                                </telerik:RadPageView>
                                <telerik:RadPageView ID="RadPageView7" runat="server" Height="100%" Style="overflow: hidden" CssClass="innerMultiPage">
                                    <br />
                                    <div class="col-lg-12">
                                        <telerik:RadGrid ID="rgEquipos" RenderMode="Lightweight" runat="server" AllowPaging="false" Culture="es-MX" Style="margin-top: 0px" Width="50%" PageSize="15"
                                        GroupPanelPosition="Top" OnItemDataBound="rgEquipos_ItemDataBound" Skin="Windows7" DataSourceID="SqlDataSourceEqu"
                                                 OnExcelMLWorkBookCreated="rgEquipos_ExcelMLWorkBookCreated" onexcelmlexportrowcreated="rgEquipos_ExcelMLExportRowCreated"
                    OnItemCreated="rgEquipos_ItemCreated" OnItemCommand="rgEquipos_ItemCommand">
                                                    <ClientSettings ReorderColumnsOnClient="true" AllowColumnsReorder="true" ColumnsReorderMethod="Reorder">
                                                        <Scrolling AllowScroll="true" UseStaticHeaders="true"/>
                                                    </ClientSettings>
                                                    <GroupingSettings CaseSensitive="false" />
                                                    <ExportSettings OpenInNewWindow="true" IgnorePaging="true"/>
                                                    <MasterTableView AutoGenerateColumns="true" CommandItemDisplay="Top">
                                                        <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false"/>
                                                        <Columns>
                                                        </Columns>
                                                    </MasterTableView>
                                                </telerik:RadGrid>
                                        <asp:ImageButton ID="btnEq" OnClientClick="printChartClientE()" runat="server" ToolTip="Imprimir Gráfico" ImageUrl="~/Images/ico_imprimir.gif"/>
                                 
                                    </div>
                                    <div id="chartContainerE" style="width:100%">
                                            <div class="col-lg-12">
                                                <telerik:RadHtmlChart RenderMode="Lightweight" runat="server" ID="EquiposChart" Width="100%" Height="650" Transitions="true" Skin="Simple" DataSourceID="SqlDataSourceEqu">
                                                    <ClientEvents OnLoad="chartLoad7" />
                                                    <PlotArea>
                                                        <Series>
                                                            <telerik:ColumnSeries Name="Devengado" Stacked="true" Gap="1.5" Spacing="0.4" DataFieldY="Devengado">
                                                                <Appearance>
                                                                    <FillStyle BackgroundColor="#ff0000"></FillStyle>
                                                                </Appearance>
                                                                <LabelsAppearance DataFormatString="{0}MM" Position="InsideBase" RotationAngle="90" Color="Black"></LabelsAppearance>
                                                                <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                            </telerik:ColumnSeries>
                                                            <telerik:ColumnSeries Name="Flujo" DataFieldY="Flujo">
                                                                <Appearance>
                                                                    <FillStyle BackgroundColor="#33cc33"></FillStyle>
                                                                </Appearance>
                                                                <LabelsAppearance DataFormatString="{0}MM" Position="OutsideEnd" RotationAngle="90" Color="Black"></LabelsAppearance>
                                                                <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                            </telerik:ColumnSeries>
                                                        </Series>
                                                        <Appearance>
                                                            <FillStyle BackgroundColor="Transparent"></FillStyle>
                                                        </Appearance>
                                                        <XAxis AxisCrossingValue="0" Color="black" MajorTickType="Outside" MinorTickType="Outside"
                                                            Reversed="false" DataLabelsField="Equipo_PM">
                                                            <LabelsAppearance DataFormatString="{0}" RotationAngle="90" Skip="0" Step="1"></LabelsAppearance>
                                                            <TitleAppearance Position="Center" RotationAngle="0" Text="Centro Gestor">
                                                            </TitleAppearance>
                                                        </XAxis>
                                                        <YAxis AxisCrossingValue="0" Color="black" MajorTickSize="1" MajorTickType="Outside"
                                                            MinorTickType="None" Reversed="false">
                                                            <LabelsAppearance DataFormatString="{0} MM" RotationAngle="0" Skip="0" Step="1"></LabelsAppearance>
                                                            <TitleAppearance Position="Center" RotationAngle="0" Text="">
                                                            </TitleAppearance>
                                                        </YAxis>
                                                    </PlotArea>
                                                    <Appearance>
                                                        <FillStyle BackgroundColor="Transparent"></FillStyle>
                                                    </Appearance>
                                                    <ChartTitle Text="Gráfico por Equipos">
                                                        <Appearance Align="Center" BackgroundColor="Transparent" Position="Top">
                                                        </Appearance>
                                                    </ChartTitle>
                                                    <Legend>
                                                        <Appearance BackgroundColor="Transparent" Position="Right">
                                                        </Appearance>
                                                    </Legend>
                                                </telerik:RadHtmlChart>
                                            </div>
                                        </div>
                                </telerik:RadPageView>
                                <telerik:RadPageView ID="RadPageView8" runat="server" Height="100%" Style="overflow: hidden" CssClass="innerMultiPage">
                                    <br />
                                    <div class="col-lg-12">
                                        <telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" DataSourceID="SqlDataSourceGroup" runat="server" PageSize="20"
                                            AllowSorting="True" AllowMultiRowSelection="True" AllowPaging="True" ShowGroupPanel="false" ShowFooter="True"
                                            AutoGenerateColumns="False" GridLines="none" Skin="Windows7" Width="70%" EnableLinqExpressions="false"
                                            OnItemDataBound="rgGroup_ItemDataBound" OnExcelMLWorkBookCreated="rgGroup_ExcelMLWorkBookCreated" onexcelmlexportrowcreated="rgGroup_ExcelMLExportRowCreated"
                                            OnItemCreated="rgGroup_ItemCreated" OnItemCommand="rgGroup_ItemCommand">
                                            <PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle>
                                            <ClientSettings ReorderColumnsOnClient="true" AllowColumnsReorder="true" ColumnsReorderMethod="Reorder">
                                                <Scrolling AllowScroll="true" UseStaticHeaders="true"/>
                                            </ClientSettings>
                                            <GroupingSettings RetainGroupFootersVisibility="true"  CaseSensitive="false" />
                                            <ExportSettings OpenInNewWindow="true" IgnorePaging="true"/>
                                            <MasterTableView Width="100%" ShowGroupFooter="true" CommandItemDisplay="Top">
                                                <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false"/>
                                                <GroupByExpressions>
                                                    <telerik:GridGroupByExpression>
                                                        <SelectFields>
                                                            <telerik:GridGroupByField FieldAlias="EPS" FieldName="EPS"></telerik:GridGroupByField>
                                                        </SelectFields>
                                                        <GroupByFields>
                                                            <telerik:GridGroupByField FieldName="EPS" SortOrder="Descending"></telerik:GridGroupByField>
                                                        </GroupByFields>
                                                    </telerik:GridGroupByExpression>
                                                    <telerik:GridGroupByExpression>
                                                        <SelectFields>
                                                            <telerik:GridGroupByField FieldAlias="Presupuesto" FieldName="Presupuesto"></telerik:GridGroupByField>
                                                        </SelectFields>
                                                        <GroupByFields>
                                                            <telerik:GridGroupByField FieldName="Presupuesto"></telerik:GridGroupByField>
                                                        </GroupByFields>
                                                    </telerik:GridGroupByExpression>
                                                </GroupByExpressions>
                                                <Columns>
                                                   <telerik:GridBoundColumn HeaderText="Rubro" DataField="Rubro" AllowFiltering="false" AllowSorting="false" UniqueName="Rubro">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn Aggregate="Sum" DataField="Programa" HeaderText="Programa"
                                                        FooterText="Total: " FooterAggregateFormatString="{0:C}">
                                                    </telerik:GridBoundColumn>
                                                    <telerik:GridBoundColumn Aggregate="Sum" DataField="Ejercicio" HeaderText="Ejercicio"
                                                        FooterText="Total: " FooterAggregateFormatString="{0:C}">
                                                    </telerik:GridBoundColumn>
                                                </Columns>
                                            </MasterTableView>
                                            <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True">
                                                <Selecting AllowRowSelect="True"></Selecting>
                                                <Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True"
                                                    ResizeGridOnColumnResize="False"></Resizing>
                                            </ClientSettings>
                                            <FooterStyle Font-Bold="true"/>
                                            <GroupingSettings ShowUnGroupButton="true"></GroupingSettings>
                                        </telerik:RadGrid>
                                    </div>
                                    <div class="col-lg-12">
                                        <telerik:RadGrid ID="rgSeg" RenderMode="Lightweight" runat="server" AllowPaging="false" Culture="es-MX" Style="margin-top: 0px" Width="50%" PageSize="15"
                                        GroupPanelPosition="Top" Skin="Windows7" DataSourceID="SqlDataSourceSeg"  OnItemDataBound="rgSeg_ItemDataBound" OnExcelMLWorkBookCreated="rgSeg_ExcelMLWorkBookCreated" onexcelmlexportrowcreated="rgSeg_ExcelMLExportRowCreated"
                                        OnItemCreated="rgSeg_ItemCreated" OnItemCommand="rgSeg_ItemCommand">
                                            <ClientSettings ReorderColumnsOnClient="true" AllowColumnsReorder="true" ColumnsReorderMethod="Reorder">
                                                <Scrolling AllowScroll="true" UseStaticHeaders="true"/>
                                            </ClientSettings>
                                            <GroupingSettings CaseSensitive="false" />
                                            <ExportSettings OpenInNewWindow="true" IgnorePaging="true"/>
                                            <MasterTableView AutoGenerateColumns="true" CommandItemDisplay="Top">
                                                <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false"/>
                                                <Columns>
                                                </Columns>
                                            </MasterTableView>
                                        </telerik:RadGrid>
                                        <asp:ImageButton ID="btnSeg" OnClientClick="printChartClientAF()" runat="server" ToolTip="Imprimir Gráfico" ImageUrl="~/Images/ico_imprimir.gif"/>
                                    </div>
                                    <div id="chartContainerSeg" style="width:100%">
                                            <div class="col-lg-12">
                                                <telerik:RadHtmlChart RenderMode="Lightweight" runat="server" ID="SegChart" Width="100%" Height="650" Transitions="true" Skin="Simple" DataSourceID="SqlDataSourceSeg">
                                                    <ClientEvents OnLoad="chartLoad7" />
                                                    <PlotArea>
                                                        <Series>
                                                            <telerik:ColumnSeries Name="Programa" Stacked="false" Gap="1.5" Spacing="0.4" DataFieldY="Programa">
                                                                <Appearance>
                                                                    <FillStyle BackgroundColor="#ff0000"></FillStyle>
                                                                </Appearance>
                                                                <LabelsAppearance DataFormatString="{0:C} MM" Position="InsideBase" RotationAngle="90" Color="Black"></LabelsAppearance>
                                                                <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                            </telerik:ColumnSeries>
                                                            <telerik:ColumnSeries Name="Ejercicio" DataFieldY="Ejercicio">
                                                                <Appearance>
                                                                    <FillStyle BackgroundColor="#33cc33"></FillStyle>
                                                                </Appearance>
                                                                <LabelsAppearance DataFormatString="{0:C} MM" Position="OutsideEnd" RotationAngle="90" Color="Black"></LabelsAppearance>
                                                                <TooltipsAppearance DataFormatString="{0:C} MM" Color="White"></TooltipsAppearance>
                                                            </telerik:ColumnSeries>
                                                        </Series>
                                                        <Appearance>
                                                            <FillStyle BackgroundColor="Transparent"></FillStyle>
                                                        </Appearance>
                                                        <XAxis AxisCrossingValue="0" Color="black" MajorTickType="Outside" MinorTickType="Outside"
                                                            Reversed="false" DataLabelsField="EPS">
                                                            <LabelsAppearance DataFormatString="{0}" RotationAngle="90" Skip="0" Step="1"></LabelsAppearance>
                                                            <TitleAppearance Position="Center" RotationAngle="0" Text="EPS">
                                                            </TitleAppearance>
                                                        </XAxis>
                                                        <YAxis AxisCrossingValue="0" Color="black" MajorTickSize="1" MajorTickType="Outside"
                                                            MinorTickType="None" Reversed="false">
                                                            <LabelsAppearance DataFormatString="{0} MM" RotationAngle="0" Skip="0" Step="1"></LabelsAppearance>
                                                            <TitleAppearance Position="Center" RotationAngle="0" Text="">
                                                            </TitleAppearance>
                                                        </YAxis>
                                                    </PlotArea>
                                                    <Appearance>
                                                        <FillStyle BackgroundColor="Transparent"></FillStyle>
                                                    </Appearance>
                                                    <ChartTitle Text="Gráfico por Equipos">
                                                        <Appearance Align="Center" BackgroundColor="Transparent" Position="Top">
                                                        </Appearance>
                                                    </ChartTitle>
                                                    <Legend>
                                                        <Appearance BackgroundColor="Transparent" Position="Right">
                                                        </Appearance>
                                                    </Legend>
                                                </telerik:RadHtmlChart>
                                            </div>
                                    </div>
                                </telerik:RadPageView>
                                <telerik:RadPageView ID="RadPageView1" runat="server" Height="100%" Style="overflow: hidden" CssClass="innerMultiPage">
                                        <br />
                                        <telerik:RadGrid RenderMode="Lightweight" ID="rgGroup" DataSourceID="SqlDataSourceGroup" runat="server" PageSize="20"
                                                    AllowSorting="True" AllowMultiRowSelection="True" AllowPaging="True" ShowGroupPanel="false" ShowFooter="True"
                                                    AutoGenerateColumns="False" GridLines="none" Skin="Windows7" Width="70%" EnableLinqExpressions="false"
                                                    OnItemDataBound="rgGroup_ItemDataBound" OnExcelMLWorkBookCreated="rgGroup_ExcelMLWorkBookCreated" onexcelmlexportrowcreated="rgGroup_ExcelMLExportRowCreated"
                                                    OnItemCreated="rgGroup_ItemCreated" OnItemCommand="rgGroup_ItemCommand">
                                                    <PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle>
                                                    <ClientSettings ReorderColumnsOnClient="true" AllowColumnsReorder="true" ColumnsReorderMethod="Reorder">
                                                        <Scrolling AllowScroll="true" UseStaticHeaders="true"/>
                                                    </ClientSettings>
                                                    <GroupingSettings RetainGroupFootersVisibility="true"  CaseSensitive="false" />
                                                    <ExportSettings OpenInNewWindow="true" IgnorePaging="true"/>
                                                    <MasterTableView Width="100%" ShowGroupFooter="true" CommandItemDisplay="Top">
                                                        <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false" ShowRefreshButton="false"/>
                                                        <GroupByExpressions>
                                                            <telerik:GridGroupByExpression>
                                                                <SelectFields>
                                                                    <telerik:GridGroupByField FieldAlias="EPS" FieldName="EPS"></telerik:GridGroupByField>
                                                                </SelectFields>
                                                                <GroupByFields>
                                                                    <telerik:GridGroupByField FieldName="EPS" SortOrder="Descending"></telerik:GridGroupByField>
                                                                </GroupByFields>
                                                            </telerik:GridGroupByExpression>
                                                            <telerik:GridGroupByExpression>
                                                                <SelectFields>
                                                                    <telerik:GridGroupByField FieldAlias="Presupuesto" FieldName="Presupuesto"></telerik:GridGroupByField>
                                                                </SelectFields>
                                                                <GroupByFields>
                                                                    <telerik:GridGroupByField FieldName="Presupuesto"></telerik:GridGroupByField>
                                                                </GroupByFields>
                                                            </telerik:GridGroupByExpression>
                                                        </GroupByExpressions>
                                                        <Columns>
                                                           <telerik:GridBoundColumn HeaderText="Rubro" DataField="Rubro" AllowFiltering="false" AllowSorting="false" UniqueName="Rubro">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn Aggregate="Sum" DataField="Programa" HeaderText="Programa"
                                                                FooterText="Total: " FooterAggregateFormatString="{0:C}">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn Aggregate="Sum" DataField="Ejercicio" HeaderText="Ejercicio"
                                                                FooterText="Total: " FooterAggregateFormatString="{0:C}">
                                                            </telerik:GridBoundColumn>
                                                        </Columns>
                                                    </MasterTableView>
                                                    <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True">
                                                        <Selecting AllowRowSelect="True"></Selecting>
                                                        <Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True"
                                                            ResizeGridOnColumnResize="False"></Resizing>
                                                    </ClientSettings>
                                                    <FooterStyle Font-Bold="true"/>
                                                    <GroupingSettings ShowUnGroupButton="true"></GroupingSettings>
                                                </telerik:RadGrid>
                                    </telerik:RadPageView>
                                <telerik:RadPageView ID="RadPageView2" runat="server" Height="100%" Style="overflow: hidden">
                                        <br />PEP
                                    </telerik:RadPageView>
                            </telerik:RadMultiPage>
                        </td>
                    </tr>
                </table>
            </div>

Rodrigo
Top achievements
Rank 1
 asked on 22 Jul 2016
2 answers
233 views

So, I have scoured the NET and the ListBox release notes and cannot find anyone else having this problem so I am hoping this will be an easy fix by a Telerik Guru. I am using,

  • Telerik UI for ASP.NET AJAX ver. 2014.3.1209.45
  • browser: Chrome

Behavior: Upon initial load, I write values from the server side to the new control. Upon checking or unchecking, my JavaScript function fires, but the ListBox's get_checkedItems() method returns the items that are checked "before" the "OnClientItemChecking" event fires. I would expect to get the items of the ListBox after I check or uncheck items, in other words, the current state of the ListBox. Anyone have any ideas?

<telerik:RadListBox ID="CMListBox" runat="server" RenderMode="Lightweight" SelectionMode="Multiple"CheckBoxes="true" Width="300px" OnClientItemChecking="CMListBox_ItemChecking" Height="100px">                                <Items></Items></telerik:RadListBox>

function CMListBox_ItemChecking(sender,args)
{
  var Radlb = $find("<%= CMListBox.ClientID %>");
  var txt = "";
  var labelStr = "";
  var iter = Radlb.get_checkedItems().length;
  for (var i = 0; i < iter ; i++)
  {
     txt = Radlb.get_checkedItems()[i].get_text();
     labelStr += txt + "<br>";
  }
  if (labelStr != ""){
     labelStr = labelStr.substring(0, labelStr.length - 4);
  }
  else {
     labelStr = "None";
  }
  var s = document.getElementById("CommManagerID");
  s.innerHTML = labelStr;
}

Jeff
Top achievements
Rank 1
 answered on 22 Jul 2016
1 answer
1.2K+ views

Hi all,

I need to add a replace button to every row in the RadGrid. Any help is appreciated

My code is as follows

<div>     

<telerik:RadGrid ID="grdVwPrecisionsources" runat="server" OnNeedDataSource="PrecisionSourcesDataGrid" Width="60%">        

<ClientSettings>                            

 <Resizing AllowColumnResize="true" ResizeGridOnColumnResize="true" AllowResizeToFit="true" />                         

</ClientSettings>       

</telerik:RadGrid>

<div>

ascx.cs

protected void PrecisionSourcesDataGrid(object sender, EventArgs e)         

{                    

var table = new DataTable();             

table.Columns.Add("Source");             

table.Columns.Add("ID");             

table.Columns.Add("Name");             

table.Columns.Add("Date");                          

table.Columns.Add("Reminder");                          

table.Columns.Add("Status");             

table.Columns.Add(" ", typeof(string));       - This needs to be button column             

table.Rows.Add("Point", "M6-515", "Co-57", "8/30/2016", "1 week to expiration", "Replace in 40 days", "");             

table.Rows.Add("Point", "M6-515", "Co-57", "8/30/2016", "1 week to expiration", "Replace in 40 days", "");             

grdVwPrecisionsources.DataSource = table;      

   }

Maria Ilieva
Telerik team
 answered on 22 Jul 2016
2 answers
99 views

fisrt I'm using Visual Studio 2013 and Telerik.Web.UI dll version 2016.2.607.40. I have a grid with a grouped column. when I click the export to PDF button there is no data in the pdf just the headers and footer. I have attached my files. also I've set the gridlines = Both and they do not show in the grid. I've looked at it in both IE and Chrome. can someone show me what I've got wrong.

<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" RenderMode="Lightweight" GridLines="Both"
ShowFooter="True" CssClass="rgview" ClientSettings-Resizing-AllowColumnResize="true" Width="100%">
<ExportSettings IgnorePaging="true" OpenInNewWindow="true" ExportOnlyData="true">
<Pdf DefaultFontFamily="Arial Unicode MS" PageTopMargin="45mm" BorderStyle="Medium" BorderColor="#666666"></Pdf>
</ExportSettings>
<MasterTableView CommandItemDisplay="Top" ShowGroupFooter="true" GroupsDefaultExpanded="true" GridLines="Both">
<CommandItemSettings ShowExportToPdfButton="true" ShowRefreshButton="false" ShowAddNewRecordButton="false" ShowPrintButton="true" />
<NoRecordsTemplate>There are no records to display</NoRecordsTemplate>
<Columns>
<telerik:GridBoundColumn Aggregate="First" DataField="DistTyp" HeaderText="Distribution type"
ReadOnly="True" SortExpression="DistTyp" UniqueName="DistTyp" FooterText="Dist. Type: ">
<HeaderStyle Width="150px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="RqstRedistOrdNbr" HeaderText="Order No." UniqueName="RqstRedistOrdNbr">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="RcvdDt" HeaderText="Date Rec." UniqueName="RcvdDt" DataFormatString="{0:d}">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Mtrl" HeaderText="Material" UniqueName="Mtrl">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="MtrlDescr" HeaderText="Material Desc." SortExpression="MtrlDescr" UniqueName="MtrlDescr">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="MtrlDescr" HeaderText="Quantity" SortExpression="MtrlDescr" UniqueName="MtrlDescr">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn Aggregate="Sum" DataField="TotLbs" DataType="System.Decimal"
HeaderText="Total Lbs" SortExpression="TotLbs" UniqueName="TotLbs" FooterText="Total: ">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn Aggregate="Sum" DataField="InvcAmt" DataType="System.Decimal" DataFormatString="{0:c}"
HeaderText="Invc Amt" ReadOnly="True" SortExpression="InvcAmt" UniqueName="InvcAmt" FooterText="Total: ">
</telerik:GridBoundColumn>
</Columns>
<GroupByExpressions>
<telerik:GridGroupByExpression>
<GroupByFields >
<telerik:GridGroupByField FieldName="DistTyp" />
</GroupByFields>
</telerik:GridGroupByExpression>
</GroupByExpressions>
</MasterTableView>
</telerik:RadGrid>

CodeBehind

Private Sub RadGrid1_ColumnCreated(sender As Object, e As GridColumnCreatedEventArgs) Handles RadGrid1.ColumnCreated
  If TypeOf e.Column Is GridGroupSplitterColumn Then
    e.Column.Resizable = False
    e.Column.HeaderStyle.Width = Unit.Pixel(1)
  End If
End Sub
 
Private Sub RadGrid1_ItemDataBound(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemDataBound
  If (TypeOf (e.Item) Is GridFooterItem) Then
    Dim dataBoundItem As GridFooterItem = e.Item
    dataBoundItem("DistTyp").Text = "Totals"
    dataBoundItem("InvcAmt").ForeColor = Color.Red
    dataBoundItem("InvcAmt").Font.Bold = True
  End If
End Sub
 
Private Sub RadGrid1_NeedDataSource(sender As Object, e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource
  Try
    Dim dt As New DataTable
    dt = GetData()
    RadGrid1.DataSource = dt
  Catch ex As Exception
    Dim s As String = ex.Message
  End Try
 
End Sub
Function GetData() As DataTable
  Dim dt As New DataTable
  Dim dr As DataRow
  dt.Columns.Add("DistTyp")
  dt.Columns.Add("Prog")
  dt.Columns.Add("RqstRedistOrdNbr")
  dt.Columns.Add("RcvdDt")
  dt.Columns.Add("Mtrl")
  dt.Columns.Add("MtrlDescr")
  dt.Columns.Add("TotLbs", Type.GetType("System.Decimal"))
  dt.Columns.Add("InvcAmt", Type.GetType("System.Decimal"))
 
  dr = dt.NewRow
  dr("DistTyp") = "BownBoxFee"
  dr("Prog") = "NSLP"
  dr("RqstRedistOrdNbr") = "1000175861"
  dr("RcvdDt") = "2015-08-05"
  dr("Mtrl") = "100350"
  dr("MtrlDescr") = "PEAS GREEN FRZ CTN-30 LB"
  dr("TotLbs") = CDec("100")
  dr("InvcAmt") = CDec("11.0")
  dt.Rows.Add(dr)
  dr = dt.NewRow
  dr("DistTyp") = "BownBoxFee"
  dr("Prog") = "NSLP"
  dr("RqstRedistOrdNbr") = "1000175862"
  dr("RcvdDt") = "2015-10-05"
  dr("Mtrl") = "100350"
  dr("MtrlDescr") = "PEAS GREEN FRZ CTN-30 LB"
  dr("TotLbs") = CDec("200")
  dr("InvcAmt") = CDec("11.0")
  dt.Rows.Add(dr)
 
  dr = dt.NewRow
  dr("DistTyp") = "DirectDiversionFee"
  dr("Prog") = "NSLP"
  dr("RqstRedistOrdNbr") = "1000175911"
  dr("RcvdDt") = "2015-08-05"
  dr("Mtrl") = "100935"
  dr("MtrlDescr") = "SUNFLOWER SEED BUTTER 6-5#'S"
  dr("TotLbs") = CDec("200")
  dr("InvcAmt") = CDec("111.0")
  dt.Rows.Add(dr)
 
  Return dt
End Function

 

mike
Top achievements
Rank 1
 answered on 22 Jul 2016
2 answers
342 views

I have a formview that is based on the selected row of a grid.  For fv_vc.ItemInsert, I would like to set the value of the venIdFk textbox in the formview (fv_vc) to the value of venId in the radgrid's selected row.  I am using server-side selection.  For example, if venId (Cell[1]) of the grid's selected row is 81, then 81 would be inserted as the value of venIdFk in the formview.

Here's the grid:

<telerik:RadGrid
                    ID="rg_vendors"
                    runat="server"
                    AllowPaging="True"
                    AllowSorting="True"
                    AllowFilteringByColumn="True"
                    ShowGroupPanel="True"
                    Skin="Office2010Silver"
                    CellSpacing="-1"
                    DataSourceID="sdc_rg_vendors"
                    GridLines="Both"
                    OnItemCommand="rg_vendors_ItemCommand"
                    OnPreRender="rg_vendors_PreRender"
                    EnableViewState="true"
                    OnSelectedIndexChanged="rg_vendors_SelectedIndexChanged">
                    <ClientSettings
                        AllowDragToGroup="True"
                        AllowColumnsReorder="True"
                        ReorderColumnsOnClient="True">
                    </ClientSettings>
                    <MasterTableView
                        DataSourceID="sdc_rg_vendors"
                        AutoGenerateColumns="False"
                        DataKeyNames="venId"
                        CommandItemDisplay="Top">
                        <CommandItemSettings
                            ShowExportToExcelButton="true"
                            ShowAddNewRecordButton="false"
                            ShowRefreshButton="false" />
                            <Columns>  
                                <telerik:GridButtonColumn Text="Select" CommandName="Select" ButtonType="LinkButton"></telerik:GridButtonColumn>                  
                                <telerik:GridBoundColumn DataField="venId" ReadOnly="True" HeaderText="Id" SortExpression="venId" UniqueName="venId" DataType="System.Int32" FilterControlAltText="Filter venId column" Visible="false" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"></telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="venNm" HeaderText="Vendor" SortExpression="venNm" UniqueName="venNm" FilterControlAltText="Filter venNm column" HeaderStyle-HorizontalAlign="Center"></telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="venCity" HeaderText="City" SortExpression="venCity" UniqueName="venCity" FilterControlAltText="Filter venCity column" HeaderStyle-HorizontalAlign="Center"></telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="stateAbbr" HeaderText="State" SortExpression="stateAbbr" UniqueName="stateAbbr" FilterControlAltText="Filter stateAbbr column" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"></telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="venZip" HeaderText="Zip Code" SortExpression="venZip" UniqueName="venZip" FilterControlAltText="Filter venZip column" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"></telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="venPh" HeaderText="Phone" SortExpression="venPh" UniqueName="venPh" FilterControlAltText="Filter venPh column" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"></telerik:GridBoundColumn>
                                <telerik:GridCheckBoxColumn DataField="venActive" HeaderText="Active" SortExpression="venActive" UniqueName="venActive" DataType="System.Boolean" FilterControlAltText="Filter venActive column" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center"></telerik:GridCheckBoxColumn>
                            </Columns>
                    </MasterTableView>
                </telerik:RadGrid>

Here's the formview:

<asp:FormView
                            ID="fv_vc"
                            runat="server"
                            DataKeyNames="vcId"
                            DataSourceID="sdc_fv_vc"
                            OnItemInserted="fv_vc_ItemInserted"
                            OnItemDeleted="fv_vc_ItemDeleted"
                            OnItemUpdated="fv_vc_ItemUpdated">
                            <EmptyDataTemplate>
                                <asp:LinkButton ID="lb_insertitemtemplate" runat="server" OnClick="lb_insertitemtemplate_Click">New Contact</asp:LinkButton>
                            </EmptyDataTemplate>
                            <EditItemTemplate>
                                vcId:
                                <asp:Label Text='<%# Eval("vcId") %>' runat="server" ID="vcIdLabel1" /><br />
                                vcLn:
                                <asp:TextBox Text='<%# Bind("vcLn") %>' runat="server" ID="vcLnTextBox" /><br />
                                vcFn:
                                <asp:TextBox Text='<%# Bind("vcFn") %>' runat="server" ID="vcFnTextBox" /><br />
                                vcEm:
                                <asp:TextBox Text='<%# Bind("vcEm") %>' runat="server" ID="vcEmTextBox" /><br />
                                vcPh:
                                <asp:TextBox Text='<%# Bind("vcPh") %>' runat="server" ID="vcPhTextBox" /><br />
                                vcPrimary:
                                <asp:CheckBox Checked='<%# Bind("vcPrimary") %>' runat="server" ID="vcPrimaryCheckBox" /><br />
                                venIdFk:
                                <asp:TextBox Text='<%# Bind("venIdFk") %>' runat="server" ID="venIdFkTextBox" ReadOnly="true" Visible="false" /><br />
                                <asp:LinkButton runat="server" Text="Update" CommandName="Update" ID="UpdateButton" CausesValidation="True" /> <asp:LinkButton runat="server" Text="Cancel" CommandName="Cancel" ID="UpdateCancelButton" CausesValidation="False" />
                            </EditItemTemplate>
                            <InsertItemTemplate>
                                vcLn:
                                <asp:TextBox Text='<%# Bind("vcLn") %>' runat="server" ID="vcLnTextBox" /><br />
                                vcFn:
                                <asp:TextBox Text='<%# Bind("vcFn") %>' runat="server" ID="vcFnTextBox" /><br />
                                vcEm:
                                <asp:TextBox Text='<%# Bind("vcEm") %>' runat="server" ID="vcEmTextBox" /><br />
                                vcPh:
                                <asp:TextBox Text='<%# Bind("vcPh") %>' runat="server" ID="vcPhTextBox" /><br />
                                vcPrimary:
                                <asp:CheckBox Checked='<%# Bind("vcPrimary") %>' runat="server" ID="vcPrimaryCheckBox" /><br />
                                venIdFk:
                                <asp:TextBox Text='<%# Bind("venIdFk") %>' runat="server" ID="venIdFkTextBox" /><br />
                                 
                                <asp:LinkButton runat="server" Text="Insert" CommandName="Insert" ID="InsertButton" CausesValidation="True" /> <asp:LinkButton runat="server" Text="Cancel" CommandName="Cancel" ID="InsertCancelButton" CausesValidation="False" />
                            </InsertItemTemplate>
                            <ItemTemplate>                               
                                <asp:Label Text='<%# Eval("vcId") %>' runat="server" ID="vcIdLabel" Visible="false" />
                                <asp:Label Text='<%# Bind("venIdFk") %>' runat="server" ID="venIdFkLabel" Visible="false" />
                                <div class="row">
                                    <div class="col-md-3">
                                        <strong>Last Name</strong><br />
                                        <asp:Label Text='<%# Bind("vcLn") %>' runat="server" ID="vcLnLabel" /><br />
                                    </div>
                                    <div class="col-md-3">
                                        <strong>First Name</strong><br />
                                        <asp:Label Text='<%# Bind("vcFn") %>' runat="server" ID="vcFnLabel" /><br />
                                    </div>
                                    <div class="col-md-3">
                                        <strong>Email</strong><br />
                                        <asp:Label Text='<%# Bind("vcEm") %>' runat="server" ID="vcEmLabel" /><br />
                                    </div>
                                    <div class="col-md-2">
                                        <strong>Phone</strong><br />
                                        <asp:Label Text='<%# Bind("vcPh") %>' runat="server" ID="vcPhLabel" /><br />
                                    </div>
 
                                    <div class="col-md-1">
                                        <strong>Primary</strong><br />
                                        <asp:CheckBox Checked='<%# Bind("vcPrimary") %>' runat="server" ID="vcPrimaryCheckBox" Enabled="false" /><br />
                                    </div>
                                </div>
                                <asp:LinkButton runat="server" Text="Edit" CommandName="Edit" ID="EditButton" CausesValidation="False" /> <asp:LinkButton runat="server" Text="Delete" CommandName="Delete" ID="DeleteButton" CausesValidation="False" /> <asp:LinkButton runat="server" Text="New" CommandName="New" ID="NewButton" CausesValidation="False" />
                            </ItemTemplate>
                        </asp:FormView>

My initial thought was to use a hidden field and set it's value based on the grid's SelectedIndexChanged using something like:

hdn_venId.Value = rg_vendors.SelectedRow.Cells[1].Text;

Then I would set the value of venIdFk in the formview's InsertItemTemplate by making it equal to hdn_venId.  I would like to avoid the use of hidden fields.  Is there a cleaner way of accomplishing this?

Thanks,

J

 

 

Maria Ilieva
Telerik team
 answered on 22 Jul 2016
1 answer
81 views

Dear Team,

is there any way i can customize the GroupingSettings-GroupContinuesFormatString value

Reason my header is having data if i am enabling GroupingSettings-GroupContinuesFormatString property

it is overriding my header data with Showing {0} of {1} items.

so what i want is Showing {0} of {1} items. + my header data

Kostadin
Telerik team
 answered on 22 Jul 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?