GridViewHelper AND CSS Friendly Control Adapters

Can someone help me with gridviewhelper? 

What I'm trying to do is group a gridview by a column, using the GridViewHelper [] by agrinei.

When I try to apply grouping in a Page_Load

protected void Page_Load(object sender, EventArgs e)
    GridViewHelper helper = new GridViewHelper(this.GridView1);
    helper.RegisterGroup("ShipRegion", true, true);
it will hide the column, but the new row with the name of a column group wont be created.
I have been testing chaging some code in my aplication to solve the problem and when I remove CSS Friendly Control Adapters for the proyect... boilaa... the control works perfectly
I need CSS Friendly Control Adapters because I´m using CSS.
Please I need help!
11/22/2007 8:10:20 PM 72751 articles. 3 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 47

I have the same problem but no CSS FCA. Did you solve this problem is it something else?

8/12/2008 6:07:33 PM

Similar Artilces:

Trouble controlling .net controlls with CSS
 I am trying to control the :hover css property on <asp: Button> controls. Basically the css is working correctly to set the initial look of the button, but nothing is happening when I hover over the button. Here is my code:CSS:.sidebarButton{    width: 168px;     height: 45px;     background-color: #666666;     text-align: left;    font-weight: bold;    font-family: Century Gothic;    font-size: 13pt;    color: White;    border-style: none;  ...

Is CSS Control Adapters compatible with WebPart and WebPartZone controls?
Both WebPart and WebPartZone ultimately derive from WebControl, so it seems like this would work, but before I got into it deeply, was curious if anyone had tried it and if there are any issues? I don't think there is an esay way to make it works. This was a reply from Scott Guthrie: Unfortunately I don't think there is a super easy way to override WebParts -- since some of the layout does assume tables (since the CSS to-do this positioning with divs isn't super easy).  We are going to look at whether it is possible to build another control adapter for webparts in the f...

ChangePassword control and CSS Friendly Adapters
 Hi, I have difficulty getting ChangePassword control to work properly, ie, user enters correct current password and valid new password, new password is updated in DB but control shows error. I appreciate that this error is caused by double postback and have read threads such as detailing the solutions. How can I go about implementing the code in the above-mentioned thread? Where should I place them?  Thanks. Hi You may contact steve harman by a private email for help, However, try to use MembershipUser.ChangePass...

How do I use CSS Friendly Control Adapters
I’ve been reading a lot on the CSS Friendly Control Adapters and I getting a lot of conflicting and confusing information.   There seems to be two approaches to the use of these which appears to derives from there being two implementations. An older version which involved running a vsi file which I can’t seem to find in the package. And a later method which seems to only involve adding a refrence to the dll file and adding a App_Browsers folder and placing the CSSFriendlyAdapters.browser file in the folder.  Here’s an example, I’m looking at a page from this site, “ASP.NET 2.0 ...

Installing the CSS Friendly Control Adapters
I'm having trouble understanding on how to install the CSS Control Adapters. Could someone explain to me what I need to do? I have tried to do what the implementation said to do, but I can not get anything to work. If anyone has a step by step tutorial that would be great. No icon shows up under the My Templates in the New web Site window. I'm using Visual Studio 2005. ThanksRandy   If you are using the Microsoft release (1.0), then tutorials are available at (Personally, I don't use this release, and I don't use the Vi...

Multiple CSS Friendly Control Adapters
Greetings! I have an ASP.NET 3.5 CSS friendly menu control adapter in use that works perfectly.  However, whenever I drop down a DataList or TreeView onto the page, I am not able to apply any direct styling to the object.  And when I try changing the control to get its styling from a CSS like the menu does, that doesn't work either.  Anyone know what's going on? Thanks much, albarossa Hallo! I was able to get the TreeView to respond to style changes by copying and pasting the source code of a sample TreeView (from the MS tutorial).  However, no matter w...

CSS Friendly Control Adapters
I moved all of the membership to a web service which works fine for all of the control adapters except the Loginstatus control.  When I use it, once the website loads the adapters.dll file it kills the application trying to attach SQL Express to a database in App_Data (the folder is created if it does not exist).  No other "membership" controls have the failure and everything works fine with membership as a web service except for the loginstatus control. If I remove the adapters.browser file it all works fine.  If I remove the loginstatus adapter from the adapters.b...

CSS Friendly Control Adapter for Repeater ?
Hello!I've simple question - is there any way to aplay this nice control to the Repeater Control ? If yes - so how?  Thanks :)  I'm confused as to why you need CSS Control Adapters for the Repeater?!?  The Css Control Adapters take the bloated markup .NET creates for its standard controls and cleans them up.  With Repeaters, there is no output unless you define it.  All you need to do is add CSS classes where you want them in your markup.When your question has been sufficiently answered, please be sure to mark your question as answered. Also, please share...

CSS Friendly control adapter for checkbox list
Hi, Does anyone know if there is CSS Friendly control adapter for <asp:Checkboxlist> and if not, how do I go about making one for it -bdot"There are only 10 kinds of people in this world. Those who understand binary and those who don't" Hi bdotjones, just a thought:If you set the RepeatLayout property of the standard CheckBoxList to "Flow", it will render a css friendly html output.I'm not sure if an adapter could improve the output too much, at least in regards of CSS. Cheers,Juan Juan BarreraMCTSPlease remember to click "Mark as Answer" o...

CSS Friendly Control Adapter Method Benefits ?
 Hi,Can you say that, Whats benefits of this method(i.e, CSS Friendly Control Adapter) for create an web application ?Thanks... MJ_Developer  The benefit is that they create css based markup instead of using tables.While the code that is technically standards compliant it still violates the idea that we shouldnt use the table tag for layout, it should only be used to present tabular data.The benefits to using tableless, css markup is that file sizes are small, it works consistently on more browsers, its accessible to visually impaired people, etc etc etc. More eloquent li...

CSS friendly control adapter
Hi All,                     I am using a css file to control the look and feel of the treeview. The issue is the connecting lines are not showing up between nodes. Can some body point out what change needs to be done to my css.   The css content is as below:   .SimpleEntertainmentTreeView div.AspNet-TreeView ul li {white-space: nowrap; padding: 1px 0 1px 0; font-size:inherit;   } .SimpleEntertainmentTreeView div.AspNet-TreeView ul ul {margin: 2px 0 2px 10px; } .Simple...

RadioButtonList and CSS Friendly Control Adapters Newbie
I have seen several postings in this thread on the an adapter for the standard ASP.NET 2.0 RadioButtonList.  My question is, are any of these stable enough or after I implement it, am I going to come across issues that will pose significant functionality issues and if it is stable enough, what do I do with the source that is posted? Does that mean that I open up the project for the DLL, insert the source somewhere (if so, where does it go) and the have to recompile it?  My apologies for my ignorance, I have just been exploring options for the inflexibility of the RadioButtonList c...

Data presentation control in another Data presentation control
 Hello,I want to make a menu with datalist or gridview control.Basically,the menu will be like this,Categories     Sub Categories.For example, for COMPUTING category there will be NOTEBOOKS DESKTOPS etc.There will be a image for CATEGORIES and linkbuttons with Subcategories.If I put a datalist inside a datalist and a link button inside the second datalist visually it satisfies my need.However,CommandArguments come from database to linkbutton.Andwhen one of these command buttons is cliked it must go to proper page.I dont know how to wrie an event_handler ,specifically, for...

Control Adapter for the Image control
I apologise if this is not the right group to ask, but I didn't see a better one...I'm trying to write a Control Adapter to override the rendering of the asp:Image control, mainly because I have some very image-heavy pages and I don't want the obligatory style="boder-width:0px;" that ASP.NET annoyingly applies to every image, thus adding to the overall page weight.This is what I'm trying to...public class ImageAdapter : WebControlAdapter { protected override void Render(HtmlTextWriter writer) { Image imageControl; imageControl = this.Control as Imag...

Web resources about - GridViewHelper AND CSS Friendly Control Adapters -

Resources last updated: 12/31/2015 4:43:51 AM