More in this section

Forums / Developing with Sitefinity / Custom Filtering RadGrid and SF

Custom Filtering RadGrid and SF

7 posts, 0 answered
  1. doug
    doug avatar
    9 posts
    Registered:
    24 Jan 2011
    01 Feb 2013
    Link to this post

    We are using SF 5 and moving all existing website pages .aspx to .ascx for SF.   we have a RadGrid with a custom filtering just like the example on SF .NET filtering. http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filteringtemplatecolumns/defaultvb.aspx?#qsf-demo-source

    i added this tag to the top of my ascx

    <%@ Register TagPrefix="custom" Namespace="SFLeadingEdgeVB.LEL.FilteringTemplateColumns" %>

    when i open my page it crashes on.

    Unknown server tag 'custom:FilteringTemplateColumn'.<custom:FilteringTemplateColumn

    my class page namespace is:

    Namespace SFLeadingEdgeVB.LEL
    Public Class FilteringTemplateColumn

    any help would be great!

     

  2. Victor
    Victor avatar
    94 posts
    Registered:
    15 Jun 2011
    01 Feb 2013 in reply to doug
    Link to this post
    Should "FilteringTemplateColumns"  be part of the namespace?
  3. doug
    doug avatar
    9 posts
    Registered:
    24 Jan 2011
    01 Feb 2013 in reply to Victor
    Link to this post

    wrong test page.  yes i removed it in my page but I still get the error.

    SFLeadingEdgeVB.LEL

  4. Victor
    Victor avatar
    94 posts
    Registered:
    15 Jun 2011
    01 Feb 2013 in reply to doug
    Link to this post
    Did you include the "assembly" property?
  5. doug
    doug avatar
    9 posts
    Registered:
    24 Jan 2011
    01 Feb 2013 in reply to Victor
    Link to this post

    thanks for the quick reply:

    i basically used the exact code sequence from the asp.net demo site:  the custom tag doesn't have assembly:  is that what you mean?

    <%@ Register TagPrefix="custom" Namespace="Telerik.GridExamplesCS.Programming.FilteringTemplateColumns" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

  6. Victor
    Victor avatar
    94 posts
    Registered:
    15 Jun 2011
    01 Feb 2013 in reply to doug
    Link to this post
    Try setting Assembly="SFLeadingEdgeVB" and see if that corrects the error
    ("SFLeadingEdgeVB.dll" is the right file correct?)
  7. doug
    doug avatar
    9 posts
    Registered:
    24 Jan 2011
    01 Feb 2013 in reply to Victor
    Link to this post

    I think i got it.  I added the assembly name like you said, but it still failed.  then i added the assembly name with the namespace (SFLeadingEdgeVB.SFLeadingEdgeVB.LEL). i'm atleast in the code now.

    thanks again

     

7 posts, 0 answered