Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add new project in the solution?
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01316637
Message ID:
01316688
Views:
12
>>I'm going to try that, strange that Scott didn't add it in his class - seems like an obvious requirement.
>
>Not strange at all (since it's not really a requirement as much as a "nice to have"). To be honest, I doubt I would have noticed something like that if I was using the class - I tend to type that kind of thing inside of the aspx code editor, not via the property sheet.

I sent Scott an e-mail, but in the meantime I'm back to square one with the problems :(

Did I do something wrong? I added the class to my App_Code. I added/removed this library from the Toolbox multiple times.

If I try to add a new reference in the TestPage
< %@ Register Assembly="skmControls2" Namespace="skmControls2" TagPrefix="shm" % >


    <shm:GridView ID="GridView1" runat="server" AllowPaging="True" 
        AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="School,siteID" 
        DataSourceID="SqlDataSource1" ArrowDownImageUrl="~/images/DownArrow.GIF" 
        ArrowUpImageUrl="~/images/UpArrow.GIF">
        <Columns>
            <asp:CommandField ShowSelectButton="True" />
            <asp:BoundField DataField="School" HeaderText="School" ReadOnly="True" 
                SortExpression="School" />
            <asp:BoundField DataField="siteID" HeaderText="siteID" ReadOnly="True" 
                SortExpression="siteID" />
            <asp:BoundField DataField="UpdateRef" HeaderText="UpdateRef" 
                InsertVisible="False" ReadOnly="True" SortExpression="UpdateRef" />
        </Columns>
    </shm:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="< %$ ConnectionStrings:FCCMSConnectionString % >" 
        SelectCommand="SELECT * FROM [Schools]"></asp:SqlDataSource>
I keep getting errors.

If I comment the references and revert back to ASP grid, the project build OK and I can display the page, but no sorting/highlight.

How can I make this beast to work? Should I try to adjust the namespace - this trick seemed to work yesterday...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform