Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding custom classes to the existing project
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01316412
Message ID:
01316635
Views:
18
>>>>I'm not sure which type it is. Anyway, I dropped them in App_Code, I'm having this problem now
>>>
>>>Did you happen to add a reference to the existing project already? If so, remove it. It's either an eternal/referenced DLL or it's part of the same project. You don't want to do both.
>>
>>I didn't add a reference except for the fact I added these classes on the Toolbox.
>
>Did you drop this control on a form after adding it to the toolbox? If so, the reference was automatically added.

Yes, I did. Here is what I have in the page
<%@ Register Assembly="skmControls2" Namespace="FriendshipCircle.FCAdmin.skmControls2"
    TagPrefix="cc1" %>
and
<cc1:GridView runat="server" ID="ProfilesGrid"
If I would not add this GridView on the toolbox, how would I use this class in my pages?

Also why did he name the class GridView and not some custom SortingGridView?

May be the idea was that having just adding this class to the App_Code all your grids would automatically use this GridView class and not the default GridView?

Would you please clarify this for me, because I think I'm doing something wrong here.

When you tried it yesterday, did you try to create a new project and add it there?

Also I didn't study the Test Project that came with this class, guess it's time to review it too.

Thanks a lot again.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform