<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>CSS Friendly Control Adapters</title><link>http://forums.asp.net/1018.aspx</link><description>Discuss the CSS Friendly Control Adapters sample project, ask questions, post bugs, etc</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: CSS Adapter breaks CreateUserWizard</title><link>http://forums.asp.net/thread/1689732.aspx</link><pubDate>Tue, 01 May 2007 14:04:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1689732</guid><dc:creator>bdemarzo</dc:creator><author>bdemarzo</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1689732.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1689732</wfw:commentRss><description>&lt;p&gt;Tana,&lt;/p&gt;&lt;p&gt;If you're comfortable with the fix (I don't have a test page for CreateUserWizard to test against), post it to CodePlex.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: CSS Adapter breaks CreateUserWizard</title><link>http://forums.asp.net/thread/1686779.aspx</link><pubDate>Sun, 29 Apr 2007 05:33:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1686779</guid><dc:creator>ticanaer</dc:creator><author>ticanaer</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1686779.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1686779</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;If you haven't already given up on using the adapter for the CreateUserWizard then would you like to give the following a go?&lt;/p&gt;
&lt;p&gt;Replace the WebControlAdapterExtender.MakeNameFromId&amp;nbsp;method with the following:&amp;nbsp;&lt;/p&gt;&lt;pre class=coloredcode&gt;&lt;span class=kwd&gt;static public string&lt;/span&gt; MakeNameFromId(&lt;span class=kwd&gt;string&lt;/span&gt; id)
{
    &lt;span class=kwd&gt;string&lt;/span&gt; name = &lt;span class=st&gt;""&lt;/span&gt;;
    &lt;span class=kwd&gt;for&lt;/span&gt; (&lt;span class=kwd&gt;int&lt;/span&gt; i=0; i&lt;span&gt;char&lt;/span&gt; thisChar = id[i];
        &lt;span class=kwd&gt;char&lt;/span&gt; prevChar = ((i - 1) &amp;gt; -1) ? id[i - 1] : &lt;span class=st&gt;' '&lt;/span&gt;;
        &lt;span class=kwd&gt;char&lt;/span&gt; nextChar = ((i + 1) &amp;lt; id.Length) ? id[i + 1] : &lt;span class=st&gt;' '&lt;/span&gt;;
        &lt;span class=kwd&gt;if&lt;/span&gt; (thisChar == &lt;span class=st&gt;'_'&lt;/span&gt; &amp;amp;&amp;amp; prevChar != &lt;span class=st&gt;'_'&lt;/span&gt; &amp;amp;&amp;amp; i &amp;gt; 0)
        {
            &lt;span class=cmt&gt;// Transforms '_grandParentControl__parentControl_childControl' to:
            // '_grandParentControl$_parentControl$childControl'.&lt;/span&gt;
            name += &lt;span class=st&gt;"$"&lt;/span&gt;;
        }
        &lt;span class=kwd&gt;else&lt;/span&gt;
        {
            name += thisChar;
        }
    }
    &lt;span class=kwd&gt;return&lt;/span&gt; name;
}&lt;/pre&gt;&lt;pre class=coloredcode&gt;It fixes a problem that I found with child input elements of adapted controls being rendered with incorrent names when they are nested within other server-side controls.&lt;/pre&gt;&lt;pre class=coloredcode&gt;Cheers,&lt;/pre&gt;&lt;pre class=coloredcode&gt;Tana&lt;/pre&gt;</description></item><item><title>Re: CSS Adapter breaks CreateUserWizard</title><link>http://forums.asp.net/thread/1680869.aspx</link><pubDate>Wed, 25 Apr 2007 05:07:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1680869</guid><dc:creator>Trevor311</dc:creator><author>Trevor311</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1680869.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1680869</wfw:commentRss><description>&lt;p&gt;Didn't fix the problem for me.&amp;nbsp; Submting the wizard form results in the form reloading, and a login control that is placed in the side column menu has it's user name and password fields marked like their validation was submited and errored.&amp;nbsp; I checked my database to verify that new new records were created.&amp;nbsp; No error shows up for the CreateUserWizard control.&amp;nbsp; It's as if it was never actually submitted.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I'm going to have to remove the CSS Friendly adapter for this control.&amp;nbsp; After a month of working with these Adapters, I'm growing to strongly dislike them. While I appreciate the effort put into them, and appreciate their goal, it's not worth it to throw these adapters into an environment and then spend countless hours debugging the numerous issues they've caused.&amp;nbsp; At least a few of the adapters seem to work ok so far.&lt;/p&gt;</description></item><item><title>Re: CSS Adapter breaks CreateUserWizard</title><link>http://forums.asp.net/thread/1676123.aspx</link><pubDate>Sat, 21 Apr 2007 17:19:52 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1676123</guid><dc:creator>ticanaer</dc:creator><author>ticanaer</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1676123.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1676123</wfw:commentRss><description>&lt;p&gt;Hey Steve,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I've just posted an solution for this at &lt;a href="http://forums.asp.net/1676119/ShowThread.aspx#1676119" title="http://forums.asp.net/1676119/ShowThread.aspx#1676119"&gt;http://forums.asp.net/1676119/ShowThread.aspx#1676119&lt;/a&gt; which should serve as an in the interim fix until the CSS Adapters team releases a new version.&lt;/p&gt;&lt;p&gt;Enjoy,&lt;/p&gt;&lt;p&gt;Tana&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: CSS Adapter breaks CreateUserWizard</title><link>http://forums.asp.net/thread/1672089.aspx</link><pubDate>Thu, 19 Apr 2007 02:19:24 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1672089</guid><dc:creator>steve harman</dc:creator><author>steve harman</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1672089.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1672089</wfw:commentRss><description>&lt;p&gt;I'm seeing a similar issue with the PasswordRecovery adapter - the password is being reset twice and Fiddler show two requests for the page.&lt;/p&gt;&lt;p&gt;Is anyone from the CSS Adapters teams looking into this?&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: CSS Adapter breaks CreateUserWizard</title><link>http://forums.asp.net/thread/1664830.aspx</link><pubDate>Fri, 13 Apr 2007 16:03:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1664830</guid><dc:creator>steve harman</dc:creator><author>steve harman</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1664830.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1664830</wfw:commentRss><description>&lt;p&gt;**BUMP**&lt;/p&gt;&lt;p&gt;I spent the last 5 hours chasing down this exact same problem... and i just now came across this post.&lt;/p&gt;&lt;p&gt;When using the control I kept getting the "Please enter a different user name." error message, and upon looking in my user management tool I could see that the user had in fact been created. So I threw a few breakpoints in my code (where I had attached handlers to the wizard's CreatingUser and CreatedUser events) and noticed that they were being fired twice.&lt;/p&gt;&lt;p&gt;Upon a little more inspection it looks like the entire page life-cycle is firing twice as I was also seeing the page's OnInit fire two times. And to confirm what others have said, this issue does not seem to effect my app when running in FF (2.0), but does happen when running in IE7.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This issue really needs to be addressed as it breaks all but the most basic use-cases - (read: the it works for drag-and-drop demos, but not for use in the real world).&lt;/p&gt;&lt;p&gt;Does anyone from the Control Adapters team have any info on this? Any updates would be much appreciated.&lt;/p&gt;&lt;p&gt;Thanks!&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: CSS Adapter breaks CreateUserWizard</title><link>http://forums.asp.net/thread/1660969.aspx</link><pubDate>Wed, 11 Apr 2007 13:47:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1660969</guid><dc:creator>fancyclown</dc:creator><author>fancyclown</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1660969.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1660969</wfw:commentRss><description>&lt;p&gt;I too would be very interested to know if there has been any movement on this. There are a few threads discussing&amp;nbsp; the problem, as the post upthread shows but nothing in the way of real solution.&lt;/p&gt;&lt;p&gt;I am experiencing the same problem with CSS Controls adapters when used with the CreateUserWizard. Converting the control to templated breaks the adapter rendering, but doesn't solve the broken functionality. The only solution so far has been to remove the CreateUserWizard from the browser definition file (CSSFriendlyAdapters.browser).&lt;/p&gt;&lt;p&gt;Many thanks.&lt;/p&gt;</description></item><item><title>CSS Adapter breaks CreateUserWizard</title><link>http://forums.asp.net/thread/1638129.aspx</link><pubDate>Tue, 27 Mar 2007 01:22:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1638129</guid><dc:creator>SLiddicoat</dc:creator><author>SLiddicoat</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1638129.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1018&amp;PostID=1638129</wfw:commentRss><description>&lt;p&gt;I've seen this in several threads now, but I haven't found a solution yet.&amp;nbsp; Does anyone know if the control adapter designers are working on this problem?&amp;nbsp; When using the CreateUserWizard with CSS Control Adapters, it attempts to create the user twice.&amp;nbsp; Some new information that they may not have is that this happens with IE, but not with Firefox.&amp;nbsp; I've verified this with IE7 and Firefox 2.0.&amp;nbsp; Another person verified it in IE6.&amp;nbsp; Here are some of the other threads reporting this problem:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://forums.asp.net/thread/1499422.aspx"&gt;http://forums.asp.net/thread/1499422.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://forums.asp.net/thread/1618075.aspx"&gt;http://forums.asp.net/thread/1618075.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://forums.asp.net/thread/1633367.aspx"&gt;http://forums.asp.net/thread/1633367.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://forums.asp.net/thread/1484654.aspx"&gt;http://forums.asp.net/thread/1484654.aspx&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>