Unable to cast object of type 'System.EventArgs' to type 'C1.Web.Wijmo.Controls

Posted by: jeffrey.hudson on 30 July 2019, 12:14 am EST

  • Posted 30 July 2019, 12:14 am EST

    I am receiving the following error
    Unable to cast object of type 'System.EventArgs' to type 'C1.Web.Wijmo.Controls.C1GridView.C1GridViewPageEventArgs'.

    with this code

    Private Sub dGrdSearch_PageIndexChanging(ByVal sender As Object, ByVal e As C1.Web.Wijmo.Controls.C1GridView.C1GridViewPageEventArgs) Handles dGrdSearch.PageIndexChanging
    dGrdSearch.PageIndex = e.NewPageIndex
    End Sub

    I am just not seeing what I am doing wrong?

    Thanks for any help,

  • Replied 30 July 2019, 7:17 pm EST

    Hi Jeff,

    We are sorry but we were not able to replicate the issue at our end. Please refer to the sample attached that we used to replicate the issue. Could you please tell us whether we are missing something in order to replicate the issue?


Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels