AllowCustomPaging = false is not working

Last post 10-23-2004 4:05 PM by joteke. 1 replies.

Sort Posts:

  • AllowCustomPaging = false is not working

    10-23-2004, 1:57 AM
    • All-Star
      23,606 point All-Star
    • azamsharp
    • Member since 06-11-2003, 9:36 AM
    • Houston,Texas
    • Posts 4,519
    Hi,

    Although I set the AllowCustomPaging = false; but when I see in the Properties of the DataGrid it should its True instead of being false. Any ideas.

     
    
    public class Styled : DataGrid
    {
    public Styled()
    {
    this.AllowCustomPaging = false;
    this.AllowPaging = true;
    this.PagerStyle.Mode = PagerMode.NumericPages;
    this.PageSize = 5;

    }


    }

    HighOnCoding
    Get high on ASP.NET articles, videos, podcasts and more!
  • Re: AllowCustomPaging = false is not working

    10-23-2004, 4:05 PM
    • All-Star
      46,040 point All-Star
    • joteke
    • Member since 06-16-2002, 3:24 PM
    • Kyro, Finland
    • Posts 6,879
    • ASPInsiders
      Moderator
      TrustedFriends-MVPs
    You mean on VS.NET's property browser? I have a understanding that it doesn't reflect changes made in code of the control but only what it is on the declarative syntax and what the property itself gives (like DefaultValue attribute etc). So just looking at the property browser on this kind of scenario, doesn't tell the thruth.

    Besides, false is default value for AllowCustomPaging property.
    Thanks,

    Teemu Keiski
    Finland, EU
Page 1 of 1 (2 items)