Click here to Skip to main content
14,696,664 members
Home » Discussions » ASP.NET
   

ASP.NET

 
AnswerRe: Browser cookie and session cookie Pin
F-ES Sitecore5-Jan-18 1:45
mveF-ES Sitecore5-Jan-18 1:45 
GeneralRe: Browser cookie and session cookie Pin
Mou_kol6-Jan-18 7:12
MemberMou_kol6-Jan-18 7:12 
GeneralRe: Browser cookie and session cookie Pin
F-ES Sitecore6-Jan-18 7:14
mveF-ES Sitecore6-Jan-18 7:14 
GeneralRe: Browser cookie and session cookie Pin
Mou_kol6-Jan-18 8:02
MemberMou_kol6-Jan-18 8:02 
GeneralRe: Browser cookie and session cookie Pin
F-ES Sitecore6-Jan-18 8:07
mveF-ES Sitecore6-Jan-18 8:07 
GeneralRe: Browser cookie and session cookie Pin
Mou_kol7-Jan-18 2:16
MemberMou_kol7-Jan-18 2:16 
GeneralRe: Browser cookie and session cookie Pin
F-ES Sitecore7-Jan-18 3:11
mveF-ES Sitecore7-Jan-18 3:11 
QuestionHow to: Enable default paging in the GridView Web server control Pin
Member 125540292-Jan-18 3:04
MemberMember 125540292-Jan-18 3:04 
Hello, I would like to see the page in my gridview but I am not working what I am seeing on the internet, should I use a data source?
here I leave my code

<%@ Page Title="Inventario de Aplicaciones" Language="vb" MasterPageFile="~/CHJ_InventarioAplicaciones.Master"

    AutoEventWireup="false" CodeBehind="Principal.aspx.vb" Inherits="CHJ.InventarioAplicaciones.Web.Principal" %>



<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="Main" ViewStateMode="Inherit">

      
       <%--Cabecera--%>
      
   
    <div id="divTituloPagina" class="divTituloPagina">
        <span class="texto_tituloPagina">
            <asp:Label runat="server" CssClass="texto_tituloPagina" Text="Inventario de Aplicaciones" ID="lblTitulo"></asp:Label>
        </span>
    </div>


    <%--Boton nueva Aplicacion--%>
    <div style="margin-left: 10px; margin-bottom: 5px; margin-top: 5px;  text-align:left;" >
         <asp:Button ID="BtnNuevaAplicacion" OnClick="BtnNuevaAplicacion_Click" runat="server" Text="Nueva Aplicación" Font-Bold="True" CssClass="titulo_commando" Font-Italic="false" />
    </div>
    <%--Contenido--%>
   

    <div id = "divBackground"  style="position: fixed; z-index: 999; height: 100%; width: 100%; top: 0; left:0; background-color: grey; filter: alpha(opacity=60); opacity: 0.6;  display:none">

    </div>


    <div id="divContenidoPagina"  class="divContenidoPagina" >
    
     
         <asp:GridView  ID="grdAplicaciones"   runat="server"  Width="100%" Height="80%"  AutoGenerateColumns="False" 

                BackColor="White" EnableTheming="False" Font-Size="13px" 

                ViewStateMode="Enabled" ValidateRequestMode="Enabled" Font-Names="Arial" RowStyle-Width="100%"  AllowCustomPaging="True" AllowPaging="True" 

                SortedAscendingCellStyle-VerticalAlign="NotSet"  DataKeyNames="IdAplicacion" PageSize="18" AllowSorting="True"

                EnableSortingAndPagingCallbacks="True" >

               
                 <Columns>
                    <asp:BoundField HeaderText="Nombre" DataField="Nombre" ItemStyle-Width="300px" >
                    <ItemStyle Width="300px"></ItemStyle>
                    </asp:BoundField>
                   
                    <asp:BoundField HeaderText="Tipo" DataField="TipoAplicacionTexto" ItemStyle-Width="50px" ItemStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="Middle">
                    <ItemStyle Width="150px"></ItemStyle>
                    </asp:BoundField>

                    <asp:BoundField HeaderText="Estado" DataField="EstadoTexto" ItemStyle-Width="150px" ItemStyle-HorizontalAlign="Left" ItemStyle-VerticalAlign="Middle">
                    <ItemStyle Width="150px"></ItemStyle>
                    </asp:BoundField>

                   <asp:ButtonField ButtonType="Image" CommandName="INCIDENCIAS"  ImageUrl="~/Images/incidencias.png" Text="Botón3" HeaderStyle-Width="25px" FooterStyle-VerticalAlign="Middle" FooterStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle"  >
                   <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle"></FooterStyle>
                   <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="25px"></HeaderStyle>
                   <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
                   </asp:ButtonField> 

                  <asp:ButtonField ButtonType="Image" CommandName="APP" ImageUrl="~/Images/view_16x16.gif" Text="Botón4" HeaderStyle-Width="25px" FooterStyle-VerticalAlign="Middle" FooterStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle" >
                  <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle"></FooterStyle>
                  <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="25px"></HeaderStyle>
                  <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
                  </asp:ButtonField>
                     
                  <asp:ButtonField ButtonType="Image" CommandName="EDITAR" ImageUrl="~/Images/file_edit_16x16.gif" Text="Botón1" HeaderStyle-Width="25px" FooterStyle-VerticalAlign="Middle" FooterStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle" >
                  <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle"></FooterStyle>
                  <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="25px"></HeaderStyle>
                  <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
                  </asp:ButtonField>
                    
                  <asp:ButtonField ButtonType="Image" CommandName="BORRAR" ImageUrl="~/Images/trash_16x16.gif" Text="Botón2" HeaderStyle-Width="25px" FooterStyle-VerticalAlign="Middle" FooterStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle"  HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle"  >
                  <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle"></FooterStyle>
                  <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="25px"></HeaderStyle>
                  <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
                  </asp:ButtonField>
                    
                  <asp:ButtonField ButtonType="Image" CommandName="GruposSEG" ImageUrl="~/Images/2608_GoldLock_16x16.png" Text="Botón5" HeaderStyle-Width="25px" FooterStyle-VerticalAlign="Middle" FooterStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle"  HeaderStyle-HorizontalAlign="Center" HeaderStyle-VerticalAlign="Middle"  >
                  <FooterStyle HorizontalAlign="Center" VerticalAlign="Middle"></FooterStyle>
                  <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="25px"></HeaderStyle>
                  <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>
                  </asp:ButtonField>
                 
                </Columns>
                <HeaderStyle BackColor="Gray" Font-Bold="True" ForeColor="White" />

                <%--<RowStyle Width="100%"></RowStyle>--%>

                  <FooterStyle ForeColor="#8C4510" BackColor="#F7DFB5" />
                  <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" Width="100%" />
            


               <%--  <pagersettings firstpagetext="|1|" lastpagetext="|Últ|"
                nextpagetext="|Sig|" previouspagetext="|Ant|" position="Bottom" /> --%>
               <pagersettings mode="NextPreviousFirstLast" firstpagetext="|Pri|" lastpagetext="|Últ|" nextpagetext="|Sig|" previouspagetext="|Ant|" position="Bottom" /> 
               <RowStyle Width="100%"></RowStyle>

        </asp:GridView>
     </div>
                                
    <%--</div> --%>           
      
   
</asp:Content>


modified 2-Jan-18 10:30am.

AnswerRe: How to: Enable default paging in the GridView Web server control Pin
Member 125540292-Jan-18 6:27
MemberMember 125540292-Jan-18 6:27 
QuestionAsp.net Core 2.0 Coversion of Pdf to Image Pin
Member 1353148227-Dec-17 8:19
MemberMember 1353148227-Dec-17 8:19 
AnswerRe: Asp.net Core 2.0 Coversion of Pdf to Image Pin
Afzaal Ahmad Zeeshan27-Dec-17 9:19
mvaAfzaal Ahmad Zeeshan27-Dec-17 9:19 
AnswerRe: Asp.net Core 2.0 Coversion of Pdf to Image Pin
Richard Deeming8-Jan-18 7:41
mveRichard Deeming8-Jan-18 7:41 
QuestionRemote Desktop Pin
NazifullahOsmani26-Dec-17 23:50
MemberNazifullahOsmani26-Dec-17 23:50 
AnswerRe: Remote Desktop Pin
Nathan Minier27-Dec-17 7:40
professionalNathan Minier27-Dec-17 7:40 
Questionhow to create Date to Date Report in asp.net using c# Pin
Member 1278069726-Dec-17 18:15
MemberMember 1278069726-Dec-17 18:15 
AnswerRe: how to create Date to Date Report in asp.net using c# Pin
Afzaal Ahmad Zeeshan27-Dec-17 9:21
mvaAfzaal Ahmad Zeeshan27-Dec-17 9:21 
QuestionHow to implement https for mvc site Pin
Mou_kol22-Dec-17 6:10
MemberMou_kol22-Dec-17 6:10 
AnswerRe: How to implement https for mvc site Pin
A_Griffin22-Dec-17 23:43
MemberA_Griffin22-Dec-17 23:43 
GeneralRe: How to implement https for mvc site Pin
Nathan Minier27-Dec-17 7:44
professionalNathan Minier27-Dec-17 7:44 
GeneralRe: How to implement https for mvc site Pin
A_Griffin27-Dec-17 8:08
MemberA_Griffin27-Dec-17 8:08 
GeneralRe: How to implement https for mvc site Pin
Nathan Minier27-Dec-17 8:19
professionalNathan Minier27-Dec-17 8:19 
SuggestionRe: How to implement https for mvc site Pin
Richard Deeming8-Jan-18 7:44
mveRichard Deeming8-Jan-18 7:44 
GeneralRe: How to implement https for mvc site Pin
A_Griffin8-Jan-18 7:46
MemberA_Griffin8-Jan-18 7:46 
QuestionASP.Net MVC:How to implement Elmah in separate project Pin
Mou_kol22-Dec-17 6:01
MemberMou_kol22-Dec-17 6:01 
AnswerRe: ASP.Net MVC:How to implement Elmah in separate project Pin
jkirkerx22-Dec-17 11:12
professionaljkirkerx22-Dec-17 11:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.