CodeVerge.Net Beta
Login Idy
Register Password
  Forgot?
   Explore    Item Entry    Profile    Invite   History    Resources   SiteMap  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML




Zone: > newsgroup > asp.net forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 5/15/2006 3:24:55 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 4 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
ack95
Asp.Net User
Cannot apply skin to custom (inherited) Gridview control !!!5/15/2006 3:24:55 PM

0/0

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\Temporary ASP.NET Files\pmkp\1a890319\4ff6ca4b\App_Theme_SSR.hnhjrw_k.0.vb    46   

I am out of ideas?  Please help

Thank you, ack95
1 Items, 1 Pages 1 |< << Go >> >|



Search This Site:





Other Resources:
Non-serializable error on clustered server - novell.devsup.exdirector ... Non-serializable error on clustered server, > ROOT > NEWSGROUP > Novell Forums > novell.devsup.exdirector, Date: 1 ... cannot apply skin to custom (inherited) ...
Walkthrough: Developing and Using a Custom Server Control You could not apply LocalizableAttribute to custom server controls in ASP.NET ... In addition, a control cannot be added to the toolbox of a visual designer ...
Custom CSS Style in Edit mode not taking effect - telerik Forum GridView for WinForms. MaskedEditBox for WinForms. Menustrip for WinForms ... While we are able to apply the custom CSS styles to content and they do show ...
SearchableGrid Members Gets or sets the custom content for the pager row in a GridView control. ... Gets or sets the skin to apply to the control. ( inherited from WebControl) SortDirection ...
SearchableGrid Class Gets or sets the custom content for the pager row in a GridView control. ... Gets or sets the skin to apply to the control. (Inherited from WebControl. ...
15 Seconds : Code in Style with ASP.NET Themes As you have seen, a skin file can be used to apply styling and formatting to any ... for a TreeView control, the template layout of a GridView control, and so on. ...
CodeProject: Themes and Skins in ASP.NET 2.0. Free source code and ... You typically define a control skin for each type of control that you want to ... and I want to change skin on usercontrol which also apply at inner server controls. ...
 
All Times Are GMT