Composite control causing datagrid to not render

Last post 09-15-2003 4:32 PM by joteke. 3 replies.

Sort Posts:

  • Composite control causing datagrid to not render

    09-12-2003, 4:46 PM
    • Member
      239 point Member
    • mikestu
    • Member since 12-27-2002, 12:25 PM
    • Atlanta, GA
    • Posts 49
    I have a custom composite control inherited from WebControl. It basically renders a div and some tables. If I drop one into the ItemTemplate of a datagrid, I get this error in the designer when the datagrid tries to render: "There was an error rendering the control. Check to make sure all properties are valid." I can't figure out what I'm doing in my control that makes it so I can't place it within a datagrid. Any ideas?
    Mike
  • Re: Composite control causing datagrid to not render

    09-14-2003, 2:31 AM
    • All-Star
      46,022 point All-Star
    • joteke
    • Member since 06-16-2002, 3:24 PM
    • Kyro, Finland
    • Posts 6,879
    • ASPInsiders
      Moderator
      TrustedFriends-MVPs
    Did you still try running it? I just developed a custom column for DataGrid and at design view I get the same error message but despite that when running the Page it works like a charm.

    If it doesn't work, provide some more details like code etc.
    Thanks,

    Teemu Keiski
    Finland, EU
  • Re: Composite control causing datagrid to not render

    09-15-2003, 2:32 PM
    • Member
      239 point Member
    • mikestu
    • Member since 12-27-2002, 12:25 PM
    • Atlanta, GA
    • Posts 49
    Yep, I tried running it, but the entire grid fails to render anything. Mine isn't a custom column, but just a custom composite control. If this thread isn't far enough down to be ignored, does anyone else have ideas? :)
    Mike


  • Re: Composite control causing datagrid to not render

    09-15-2003, 4:32 PM
    • All-Star
      46,022 point All-Star
    • joteke
    • Member since 06-16-2002, 3:24 PM
    • Kyro, Finland
    • Posts 6,879
    • ASPInsiders
      Moderator
      TrustedFriends-MVPs
    OK, could you then show a bit of code how you have implemented it? It helps to help you.
    Thanks,

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