CSS Friendly Control Adaptershttp://forums.asp.net/1018.aspx/1?CSS+Friendly+Control+AdaptersDiscuss the CSS Friendly Control Adapters sample project, ask questions, post bugs, etcThu, 21 Feb 2013 21:27:24 -0500urn:uuid:00000000-0000-0000-0000-000000001018urn:uuid:00000000-0000-0000-0000-000004587825http://forums.asp.net/p/1718402/4587825.aspx/1?Convert+HTML+to+PDFConvert HTML to PDF <p>Hi Team,</p> <p>I want to convert PDF from my html file, So I have html template so I can update data in that template and I want to convert it in PDF so please let me best way for this.</p> <p>I have used iTextSharp tool and write a code for this and I am able covert PDf for this tool but problem is when see the PDf its formateing not getting what I am expecting, that is different from html.</p> <p><a href="http://amitpatelit.wordpress.com/2011/09/02/html-to-pdf-converter/">http://amitpatelit.wordpress.com/2011/09/02/html-to-pdf-converter/</a></p> <p>So can you please sugest me any other tool or in this above code I have to made few correction.</p> <p>You are answer will be really appreciated.</p> <p>&nbsp;</p> <p>&nbsp;</p> 2011-09-08T06:16:42-04:002011-09-08T06:16:42.923-04:00urn:uuid:00000000-0000-0000-0000-000005407691http://forums.asp.net/p/1910123/5407691.aspx/1?Could+we+change+DropDownList+control+s+displaying+style+in+IE10+the+same+like+in+IE9+Could we change DropDownList control's displaying style in IE10 the same like in IE9? <p>Hi,</p> <p>Could we change DropDownList control's displaying style in IE10 the same like in IE9? I have several controls, some controls are independent on IE version, so I want to keep DropDownlistList control's displaying style in IE9, could we implement this by modifying css? Especially for the click arrow button image. It is different between IE9 and IE10. Could I replace the image file in IE10?</p> <p>Alex</p> 2013-05-29T03:52:03-04:002013-05-29T03:52:03.527-04:00urn:uuid:00000000-0000-0000-0000-000004491770http://forums.asp.net/p/1696691/4491770.aspx/1?Render+gridview+as+div+instead+of+tableRender gridview as <div> instead of table <p>looking for some code snippet which will render a gridview into&nbsp;<pre class="prettyprint">&lt;div&gt;</pre>&nbsp;instead of table.<br> Anyone can help me on this?</p> <p>I need to draw a graph and need some features like select the graph area with mouse and provide copy paste operation.</p> 2011-07-05T07:28:00-04:002011-07-05T07:28:00.873-04:00urn:uuid:00000000-0000-0000-0000-000005335045http://forums.asp.net/p/1891161/5335045.aspx/1?what+is+CSS+Friendly+Control+Adapterswhat is CSS Friendly Control Adapters <p>i hard about this name that CSS Friendly Control Adapters. so please anyone tell me what it is and what it does ?</p> <p>how to use it means what i need to download and what is the advantage. looking for details discussion. thanks</p> 2013-03-17T18:17:54-04:002013-03-17T18:17:54.51-04:00urn:uuid:00000000-0000-0000-0000-000004699207http://forums.asp.net/p/1743140/4699207.aspx/1?CssCss <p>Can we apply</p> <p>border-radius property in css of asp.net</p> 2011-11-24T11:14:25-05:002011-11-24T11:14:25.68-05:00urn:uuid:00000000-0000-0000-0000-000004689336http://forums.asp.net/p/1740899/4689336.aspx/1?span+h1+h2+not+workingspan,h1,h2.. not working <p>If i try to use such tage IE9 sometimes don't show them. What particular change in css is required to resolve this problem</p> 2011-11-18T07:17:48-05:002011-11-18T07:17:48.843-05:00urn:uuid:00000000-0000-0000-0000-000005282765http://forums.asp.net/p/1878084/5282765.aspx/1?Gmail+Linkedin+Add+item+to+a+textboxGmail / Linkedin - Add item to a textbox <p>Does anyone&nbsp; know, how to make a textbox control, that after finding a contact, just add label with cancel button to a textbox control or other special control?</p> <p>I watch this in Gmail inserting a new email contact. Or adding Skills and specialties in Linkedin.</p> <p>Many Thanks,</p> <p>Pete</p> <p></p> <p></p> <p></p> <p></p> <p></p> 2013-01-26T14:22:24-05:002013-01-26T14:22:24.657-05:00urn:uuid:00000000-0000-0000-0000-000005062041http://forums.asp.net/p/1823014/5062041.aspx/1?css+give+different+view+in+different+browser+css give different view in different browser ? <p>i apply css in my web site ....</p> <p>but it gives me different result in different browser....</p> <p>how overcome this problem ?&nbsp;</p> 2012-07-11T14:57:20-04:002012-07-11T14:57:20.463-04:00urn:uuid:00000000-0000-0000-0000-000005186070http://forums.asp.net/p/1852707/5186070.aspx/1?Main+menu+active+hover+lost+on+sub+menu+hover+Asp+net+menu+controlMain menu active/hover lost on sub menu hover. Asp.net menu control <p>Hi there</p> <p>Can anyone help me with this issue plz. I posted this thread in different category yesterday but haven't got any reply. Thinking people here in this thread might help. Fingers crossed!!</p> <p>here is the link</p> <p><a href="http://forums.asp.net/t/1852371.aspx/1?Main&#43;menu&#43;active&#43;hover&#43;lost&#43;on&#43;sub&#43;menu&#43;hover&#43;Asp&#43;net&#43;menu&#43;control">http://forums.asp.net/t/1852371.aspx/1?Main&#43;menu&#43;active&#43;hover&#43;lost&#43;on&#43;sub&#43;menu&#43;hover&#43;Asp&#43;net&#43;menu&#43;control</a></p> <p></p> <p>Thanks for reading!</p> 2012-10-20T01:40:15-04:002012-10-20T01:40:15.833-04:00urn:uuid:00000000-0000-0000-0000-000005169231http://forums.asp.net/p/1848878/5169231.aspx/1?what+is+CSS+Friendly+Control+Adapterswhat is CSS Friendly Control Adapters <p>i will be glad if someone tell me what is CSS Friendly Control Adapters and what it's use in asp.net web apps. how to use it?</p> <p>please give me small smaple code for showing me how to use it. thanks</p> 2012-10-05T07:31:16-04:002012-10-05T07:31:16.083-04:00urn:uuid:00000000-0000-0000-0000-000002421342http://forums.asp.net/p/1275031/2421342.aspx/1?How+to+remove+CellSpacing+and+CellPadding+from+generated+markup+for+Datalist+How to remove CellSpacing and CellPadding from generated markup for Datalist? <p>&nbsp;The mark-up generated by the datalist css adapter is as follow:<br> </p> <pre class="prettyprint">&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; summary=&quot;&quot;&gt; ... &lt;/table&gt;</pre><pre class="prettyprint">&nbsp;I do not want to set the cellspacing and cellpadding to zero, because I need to change them from css later.</pre><pre class="prettyprint">Is there a way to solve this issue? <br></pre><pre class="prettyprint">&nbsp;</pre>&nbsp;<br> 2008-06-13T10:28:45-04:002008-06-13T10:28:45.507-04:00urn:uuid:00000000-0000-0000-0000-000005121434http://forums.asp.net/p/1837310/5121434.aspx/1?Change+Skin+of+an+UserControl+in+side+a+page+dynamicallyChange Skin of an UserControl in side a page dynamically <p>Hello friends,</p> <p>I have an usercontrol with a skin id&nbsp;</p> <p><em><strong>&lt;%@ Control Language=&quot;C#&quot; AutoEventWireup=&quot;true&quot; CodeBehind=&quot;test.ascx.cs&quot; Inherits=&quot;test&quot; %&gt;</strong></em><br> <em><strong>&lt;asp:Button SkinID=&quot;skin1&quot; ID=&quot;btnTest&quot; runat=&quot;server&quot; Text=&quot;Test&quot;/&gt;</strong></em></p> <p>And i use this usercontrol in one of the pages</p> <p>Test.aspx</p> <p><em><strong>&lt;%@ Register Src=&quot;test.ascx&quot; TagName=&quot;Export&quot; TagPrefix=&quot;uc1&quot; %&gt;</strong></em></p> <p>Now I want to change the Skin of the usercontrol to &quot;skin2&quot; dynamically in test.aspx.cs</p> <p>I tried to do it Page_PreInit as <em><strong>btnTest.SkinId=&quot;Skin2&quot;, </strong> </em>But btnTest Always was null,</p> <p>I tried to do it in OnInit of the test.aspx.cs page too, but it did not help, Please let me know the possible solution ;)</p> 2012-08-26T09:54:54-04:002012-08-26T09:54:54.75-04:00urn:uuid:00000000-0000-0000-0000-000005113341http://forums.asp.net/p/1835355/5113341.aspx/1?TabOrder+not+working+with+cssfriendly+adapter+using+menuTabOrder not working with cssfriendly adapter using menu <p>Hi,</p> <p>I have applied cssfriendly adapter in my application to improve the performance of current menu. All things goes well but tab order not working properly which was work perfect before applying CSSFriendly adapter to menu.</p> 2012-08-20T06:31:48-04:002012-08-20T06:31:48.323-04:00urn:uuid:00000000-0000-0000-0000-000005112262http://forums.asp.net/p/1835045/5112262.aspx/1?Background+image+from+DBBackground image from DB <p>Hello,</p> <p>I'm trying to give my div a background image from database, but it doesn't work.</p> <p>&lt;div id=&quot;imagediv&quot; class=&quot;centered_div&quot; style=&quot;background-image: url('&lt;%# &quot;GetImage.aspx?id=&quot; &#43; Eval(&quot;value.ID&quot;) %&gt;');&quot; &gt;</p> <p>controls<br> <br> &lt;/div&gt;</p> <p></p> <p>Please help.</p> <p></p> <p>Thanks.</p> 2012-08-18T12:37:53-04:002012-08-18T12:37:53.21-04:00urn:uuid:00000000-0000-0000-0000-000005088602http://forums.asp.net/p/1829121/5088602.aspx/1?CSS+Problem+How+to+control+the+z+index+CSS Problem: How to control the z-index? <p>Hi guys,<br> <br> I have in my website a menu and down to it there is an auto-playing slider, the menu has long sub-menus, and the problem when I open the menu I cannot see the whole list of sub-menus; the moving slider hides it. It just come over the menu.<br> I tried to edit the CSS, the z-index attribute, but still the same problem.<br> I want the sub-menu over the slider.<br> <br> Here is the picture:<br> <br> <img src="http://im24.gulfup.com/2012-07-31/1343690359371.png"><br> <br> <br> Here are the design code of menu<br> <br> </p> <pre class="prettyprint">&lt;div id=&quot;menus&quot; style=&quot;z-index: 10px;&quot;&gt; &lt;ul class=&quot;menus&quot;&gt; &lt;li&gt;&lt;a href=&quot;index.aspx&quot;&gt;&lt;span&gt;Home&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a class=&quot;parent&quot;&gt;&lt;span&gt;Educational Plan&lt;/span&gt;&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href=&quot;#&quot; class=&quot;parent&quot;&gt;&lt;span&gt;Education Faculty&lt;/span&gt;&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;span&gt;Curricula &amp; Teaching Methods Dep.&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;span&gt;Educational Mgmt. Supervision Dep.&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;span&gt;Islamic Studies Dep.&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;span&gt;Educational Mgmt. Supervision Dep.&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;span&gt;Islamic Studies Dep.&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;span&gt;Lingustics Dep.&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;&lt;span&gt;Literatures Dep.&lt;/span&gt;&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/ul&gt; &lt;/div&gt;</pre> <p><br /><br /><br />and this is the design code of slider<br /><br /></p> <pre class="prettyprint">&lt;div id="prew_img" style="z-index: 3px;"&gt; &lt;ul class="round"&gt; &lt;li&gt; &lt;img src="images/header1.jpg" alt="" /&gt;&lt;/li&gt; &lt;li&gt; &lt;img src="images/header2.jpg" alt="" /&gt;&lt;/li&gt; &lt;li&gt; &lt;img src="images/header3.jpg" alt="" /&gt;&lt;/li&gt; &lt;li&gt; &lt;img src="images/header4.jpg" alt="" /&gt;&lt;/li&gt; &lt;li&gt; &lt;img src="images/header5.jpg" alt="" /&gt;&lt;/li&gt; &lt;li&gt; &lt;img src="images/header6.jpg" alt="" /&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt;</pre> <p><br> <br> </p> 2012-07-30T23:49:53-04:002012-07-30T23:49:53.38-04:00urn:uuid:00000000-0000-0000-0000-000004715658http://forums.asp.net/p/1746381/4715658.aspx/1?background+image+not+displaying+properlybackground-image not displaying properly <p>Hi,</p> <p></p> <p>I am unable to display my CSS background-image in my web form with several attempts failed.</p> <p>I've tried these several attempts such as:</p> <p>background-image: url(&quot;~/imgmenu/menu_level1_item.png&quot;);</p> <p>background-image: url('~/imgmenu/menu_level1_item.png');</p> <p>background-image: url(~/imgmenu/menu_level1_item.png);</p> <p>background-image: url(/imgmenu/menu_level1_item.png);</p> <p>background-image: url(imgmenu/menu_level1_item.png);</p> <p>I place my images on my /imgmenu folder on the application root under /WebApplication1 folder, my css file is declared properly.</p> <p>I could not figure it out on what went wrong.</p> <p></p> <p>Please help. Thanks.</p> 2011-12-05T10:38:08-05:002011-12-05T10:38:08.583-05:00urn:uuid:00000000-0000-0000-0000-000004941781http://forums.asp.net/p/1794879/4941781.aspx/1?A+link+to+the+original+files+The+missing+files+when+attempting+to+re+create+the+sample+web+site+A link to the original files. The missing files when attempting to re-create the sample web site. <p>I am new to using the CSS Friendly Control Adapters, and part of my frustation in using them is attempting to re-construct the sample web site. The documentation is very good, and the files that are available to download from codeplex.com will allow you to use the CSS Friendly Control Adapters, but if you go to <a href="http://www.asp.net/CSSAdapters"> http://www.asp.net/CSSAdapters</a>&nbsp;and download all of the files from the view source code links, as I did, and from looking at all of the forum messages of other people requesting different pieces such as the master page files, the sitemap files, the xml data files, the app_code sitespecific directory files, etc., not all of the files needed to re-construct the sample web site are available. They were in the original set of files, but are no longer available on codeplex.&nbsp;</p> <p>Anyway, here is a link to the original Beta 1 vsi file that contains all of the files needed. Enjoy!</p> <p>go.microsoft.com/fwlink/?linkid=65785</p> <p></p> <p>&nbsp; &nbsp; Take Care,</p> <p>&nbsp; &nbsp; Mike</p> <p></p> 2012-04-19T20:41:33-04:002012-04-19T20:41:33.14-04:00urn:uuid:00000000-0000-0000-0000-000004815204http://forums.asp.net/p/1765662/4815204.aspx/1?+portion+my+default+when+button+clicks#portion my default when button clicks <p>Hi</p> <p></p> <p>I have 4 portions in a form.&nbsp; when i clck add button3 by default 3rd portion should be selected in bottom portion. it is going top page i have to scroll down to see my form.. i want to select that portion by default when click on button.</p> 2012-02-03T16:21:43-05:002012-02-03T16:21:43.277-05:00urn:uuid:00000000-0000-0000-0000-000004687558http://forums.asp.net/p/1740525/4687558.aspx/1?Parse+Error+in+using+filter+in+css+fileParse Error in using filter in css file <p>when i use filter in my css then w3c validator gives me parse error and the error is :</p> <p>Parse Error&nbsp;<span class="skippedString">. html #overlay{ background-color: #333; background-color: transparent; background-image:url(../../Scripts/Lightbox/Images/blank.gif); filter: &quot;progid:DXImageTransform.Microsoft.AlphaImageLoader (src=&quot;overlay.png&quot;, sizingMethod=&quot;scale&quot;)&quot;; }</span></p> <p><span class="skippedString"></span>code m attaching below:-</p> <pre class="prettyprint">* html #overlay{ background-color: #333; background-color: transparent; background-image:url(../../Scripts/Lightbox/Images/blank.gif); filter: progid:DXImageTransform.Microsoft.AlphaImageLoader (src=&quot;overlay.png&quot;, sizingMethod=&quot;scale&quot;); }</pre> 2011-11-17T08:49:34-05:002011-11-17T08:49:34.427-05:00urn:uuid:00000000-0000-0000-0000-000004817239http://forums.asp.net/p/1766140/4817239.aspx/1?Problem+with+style+Width+Unit+Pixel+for+sitemap+masterpageProblem with style.Width = Unit.Pixel for sitemap/masterpage <p>Hi</p> <p>I have a menu from a sitemap file that im showing on a master page, its working fine, the only problem i have is that not all my imagelink have the same width.<br> If i changes the style.Width = Unit.Pixel to 100% then all the link have the same width as the first link<br> <img src="http://i43.tinypic.com/11c9huc.png"></p> <p>So u can see that if the image is smaller then the first one, then it will repeat it self and if its to big then the first one then some of the image is missing.</p> <p></p> <p>If i changes the width to maybe 250, then its easy to see that the images is repeating it self.<br> <img src="http://i42.tinypic.com/206oi81.png"></p> <p>How can i get the style.Width = Unit.Pixel to use the right width of the image(s) !?<br> can i some place write the 6 images width !? </p> <p>My code is</p> <pre class="prettyprint">Protected Sub navcontainer_MenuItemDataBound(sender As Object, e As System.Web.UI.WebControls.MenuEventArgs) Handles navcontainer.MenuItemDataBound Dim map = CType(e.Item.DataItem, SiteMapNode) 'get SiteMapNode Dim css = map(&quot;css&quot;) 'cache cssclass, used several places in this method classes(e.Item) = css 'place css in lookup variable for use in DynamicItemTemplate Dim style As BGImageStyle Dim selector = String.Format(&quot;.{0}&quot;, css) If e.Item.Selected Then style = New BGImageStyle(map(&quot;imgActive&quot;)) 'use active image for selected page style.Width = Unit.Pixel(250) style.Height = Unit.Pixel(46) Page.Header.StyleSheet.CreateStyleRule(style, Nothing, selector) Else style = New BGImageStyle(map(&quot;imgLink&quot;)) 'use default image for not selected page selector = String.Format(&quot;.{0}&quot;, css) style.Width = Unit.Pixel(250) style.Height = Unit.Pixel(46) Page.Header.StyleSheet.CreateStyleRule(style, Nothing, selector) End If style = New BGImageStyle(map(&quot;imgHover&quot;)) selector = String.Format(&quot;.{0}:hover&quot;, css) style.Width = Unit.Pixel(250) style.Height = Unit.Pixel(46) Page.Header.StyleSheet.CreateStyleRule(style, Nothing, selector) End Sub</pre> 2012-02-05T17:05:55-05:002012-02-05T17:05:55.917-05:00