473,289 Members | 1,756 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,289 software developers and data experts.

Problem applying skin to custom GridView control

I am going insane. We have created a themeable control called
GridViewBase:

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

May 15 '06 #1
0 1415

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Frédéric Mayot | last post by:
Hi I'm trying to define a skin for a custom control. I can't see how to do it... My custom control inherits from a TextBox but it doesn't recognize the skinID defined for asp:TextBox. Any idea ?...
0
by: Stuart Shay | last post by:
Hello All I am working on creating a generic theme for my GridView Controls. In My Skin File I have something like this. <asp:GridView SkinId="CustomPager" CssClass="gridView"...
1
by: Stephen Hatfield | last post by:
I am working on part of an application most of which is being developed outside of my group. I may actually have two problems here. I have a GridView for which the columns are generated dynamically...
1
by: WebMatrix | last post by:
Hi, I started a new web application which so far has several grdiviews displaying data. I find myself reimplementing the same logic (copy/pasting really) in grid's event ItemDataBound and...
2
by: shapper | last post by:
Hello, I created an Asp.Net 2.0 which contains a custom control. I compiled the project and now I am using it in a web site. The custom control contains a Panel, a Label and an Image. ...
1
by: Jeff | last post by:
Dear reader :-) ASP.NET 2.0 I have a GridView on my webpage. The ItemTemplate and AlternativeItemTemplate should have different background color. I've tryed this technique which don't help...
0
by: Steve B. | last post by:
Hi, The BoundField element in the gridview control provide a property ItemStyle-Wrap that allow to control if the text can wrap in the outputed cell. Since I want this to be the default...
3
by: Steve B. | last post by:
Hi, I'd like to apply a css class on all cells in all gridviews in my app. To achieve that, I have to set hte item-style cssclass property of each columns. If I add this to my skin file : ...
16
by: pupilstuff | last post by:
hi guys i just want to perform custom paging in which at the footer of the grid view ,there must be a pager 'pervious/next with numeric' this is what i did in aspx page <asp:GridView...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.