none
Dificultad en GridView en compaginaccion sin fuente de datos RRS feed

  • Pregunta

  • Hola

    tengo la siguiente dificultad

    tengo un gridview al cual no le tengo una fuente de datos debido a que segun el caso toma la fuente correspondiente.

    pero al momento de activar la compaginaccion  me muestra la primera pagina y al hacer click en la segunda me da el siguiente error

     

    The GridView 'GridView1' fired event PageIndexChanging which wasn't handled.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.Web.HttpException: The GridView 'GridView1' fired event PageIndexChanging which wasn't handled.

    Source Error: 
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 
    [HttpException (0x80004005): The GridView 'GridView1' fired event PageIndexChanging which wasn't handled.]
       System.Web.UI.WebControls.GridView.OnPageIndexChanging(GridViewPageEventArgs e) +1609249
       System.Web.UI.WebControls.GridView.HandlePage(Int32 newPage) +62
       System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +434
       System.Web.UI.WebControls.GridView.RaisePostBackEvent(String eventArgument) +205
       System.Web.UI.WebControls.GridView.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +9528578
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724

    alguno conoce la manera de poder realizar la compaginaccion sin la fuente de datos definida

    lunes, 13 de abril de 2015 21:05

Respuestas