• 16-08-2010, 01:29:00
    #1
    🌐 𝘀𝗼𝗰𝗶𝗳𝗹𝘆.𝗰𝗼𝗺
    AllowCustomPaging must be true and VirtualItemCount must be set for a DataGrid with ID 'sira' when AllowPaging is set to true and the selected data source does not implement ICollection.


    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: AllowCustomPaging must be true and VirtualItemCount must be set for a DataGrid with ID 'sira' when AllowPaging is set to true and the selected data source does not implement ICollection.

    Source Error:

    Line 33:
    Line 34: sira.DataSource = yaz
    Line 35: sira.DataBind()
    Line 36:
    Line 37: yaz.Close()
  • 16-08-2010, 09:33:24
    #2
    Kimlik doğrulama veya yönetimden onay bekliyor.
    Büyük ihtimalle datareader'ı bind etmeye çalıştığından oluyor.
    AllowPaging özelliğini true yap grid'de.
  • 24-08-2010, 05:03:00
    #3
    Üyeliği durduruldu
    Çalışmanıza break koyup deneyin büyük ihtimalle sorun giderir
  • 26-08-2010, 22:33:35
    #4
    bu hatayı girdview de paging özelliğinden sonraki sayfaya geçmaye çalıştığınızda alıyosanız grid view bi eventındaki kodu yazmayı unutmuşsundur eğer öyleyse belirt burda nereye hangi kodu yazacağını söyliyim