Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Problem applying skin to custom GridView control

Thread Tools

Problem applying skin to custom GridView control

Posts: n/a
I am going insane. We have created a themeable control called

public class GridViewBase : GridView

in another assembly called BBB:UI and the namespace is BBB:UI as well.
I can successfully use this control in my aspx page with both declaring
it in my web.config OR directly in the page itself with @Register.
FYI... the assembly is referenced by project in the solution and we are
using C#.

The problem is when I want to skin this custom gridview control. I
have tried everything I can think of. As I understand it, it should
work with simply:

<%@ Register TagPrefix="BBB" Namespace="BBB.UI" Assembly="BBB.UI" %>
<BBB:GridViewBase runat="server"></BBB:GridViewBase>

When I try to build the project after adding this skin, I get 3 VB
errors that are all basically:
Error 2 Type 'BBB.UI.GridViewBase' is not defined.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET
Files\pmkp\1a890319\4ff6ca4b\App_Theme_SSR.hnhjrw_ k.0.vb 46

I am out of ideas? Please help

Thank you, ack95

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Applying CSS for gridview template column Harsha ASP .Net Web Controls 1 04-17-2008 03:43 PM
applying CSS using Custom Attributes Michele ASP .Net Mobile 0 09-26-2006 09:48 AM
Skin an Image in Gridview Template Column? Bishop ASP .Net 0 05-09-2006 04:46 PM
Can't set Theme skin Font-Size for GridView CommandField ButtonTyp =?Utf-8?B?QnVydA==?= ASP .Net 1 04-09-2006 10:39 PM
ControlDesigner not invoked on custom control when control is rendered within another custom control Matt Sokol ASP .Net Building Controls 2 08-07-2003 07:13 AM