What does this error mean?

Discussion in 'ASP .Net Datagrid Control' started by jm, Oct 31, 2003.

  1. jm

    jm Guest

    Parser Error Message: Could not load type
    System.Web.UI.WebControls.Template from assembly System.Web,
    Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.

    The code in question is:

    <asp:Template ColumnHeaderText="Completed"
    ItemStyle-HorizontalAlign="Center">

    Thanks.
    jm, Oct 31, 2003
    #1
    1. Advertising

  2. Hi

    "jm" <> ha scritto nel messaggio
    news:...
    > Parser Error Message: Could not load type
    > System.Web.UI.WebControls.Template from assembly System.Web,
    > Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
    >
    > The code in question is:
    >
    > <asp:Template ColumnHeaderText="Completed"
    > ItemStyle-HorizontalAlign="Center">
    >


    It means that don't exist the class Template in the
    "System.Web.UI.WebControls" assembly.

    The class for template column is named "TemplateColumn" not "Template", also
    the property "ColumnHeaderText"
    doesn't exist in the TemplateColumn class.... but it exists "HeaderText"

    Then your code must be:

    <asp:TemplateColumn HeaderText="Completed"
    ItemStyle-HorizontalAlign="Center">

    Giorgio
    Giorgio Parmeggiani, Nov 1, 2003
    #2
    1. Advertising

  3. jm

    jm Guest

    "Giorgio Parmeggiani" <> wrote in message news:<#$>...
    > Hi
    >
    > "jm" <> ha scritto nel messaggio
    > news:...
    > > Parser Error Message: Could not load type
    > > System.Web.UI.WebControls.Template from assembly System.Web,
    > > Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
    > >
    > > The code in question is:
    > >
    > > <asp:Template ColumnHeaderText="Completed"
    > > ItemStyle-HorizontalAlign="Center">
    > >

    >
    > It means that don't exist the class Template in the
    > "System.Web.UI.WebControls" assembly.
    >
    > The class for template column is named "TemplateColumn" not "Template", also
    > the property "ColumnHeaderText"
    > doesn't exist in the TemplateColumn class.... but it exists "HeaderText"
    >
    > Then your code must be:
    >
    > <asp:TemplateColumn HeaderText="Completed"
    > ItemStyle-HorizontalAlign="Center">
    >
    > Giorgio


    Thank you. It was a long day.
    jm, Nov 3, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Showjumper

    What does thi s error message mean?

    Showjumper, Jul 31, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    321
    Showjumper
    Jul 31, 2003
  2. John Kraft

    what does this error mean?

    John Kraft, Aug 8, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    291
    John Saunders
    Aug 8, 2003
  3. Li Ma
    Replies:
    1
    Views:
    2,278
    Roedy Green
    Mar 9, 2009
  4. Rahul
    Replies:
    4
    Views:
    566
    Robert Kern
    Apr 7, 2009
  5. C Barrington-Leigh
    Replies:
    1
    Views:
    1,199
    Tim Leslie
    Sep 10, 2010
Loading...

Share This Page