Asp.net DropDownlist with headers I need to display drop down list with headers  values are retriving from database i need to  display like  Maharashtra    Mumbai Nasik Pune    UttarPradesh   Lucknow Meerut Noida Ghaziabad   Uttrakhand    Dehradun Rishikesh   Haridwar
Dropdownlist control with s for asp.net (webforms)? Can anyone recommend a dropdownlist control for asp.net (3.5) that can render option groups? Thanks
How to make the tick thickness as the axis line? I am trying to make the thickness of the ticks equal to the axis line thickness. That is what I have so far:  \documentclass{article}   \usepackage{pgfplots}  \pgfplotsset{compat=1.5}   \begin{document}     \begin{tikzpicture}     \begin{axis}[         xlabel=Binding Energy (eV),         ylabel=Intensity (a.\,u.),         xtick pos=left,         x dir= reverse,         ytick = \empty,         every x tick/.style={color=black, thin},         tick align=outside,         xlabel near ticks,         ylabel near ticks,         xmin = 96,         xmax = 108     ]         %\addplot[mark=none] table[x=BE,y=cnts] {si2p.txt};         % This data looks similar:         \addplot[mark=none, smooth] table[x=BE,y=cnts] {             BE      cnts             95      1             98      1             99      10             99.5    5             100 6             101 2             108 2         };      \end{axis}     \end{tikzpicture} \end{document}     But if you take a closer look on the ticks on the outside, you'll see that they are somehow clipped or a least thinner. They are also black so the style seems to work for them.    Is this a bug or can I change the clipping region? And as a second question: is thin the correct value for the thickness? How do I figure out the right size font / text for a given read distance? To avoid printing single letters at varying sizes and measuring how far away I can see it from a distance is there a formula for determining what size font for a particular read distance? Is it better to take the midpoint between the ascender line and x-height or to go purely off of the x-height (since going purely off the ascender line could leave lowercase letters difficult to read)? How does vertical height play into this? Would I need to then figure the hypotenuse distance instead of a straight distance?  For example if I'm shooting for a 20' read distance but the sign is to be placed about 30' up should I use a distance of  35' instead of 20'?  I'm shooting for a 20' read distance for the headline and then possibly a 10' read distance for additional content depending on how it all fits on the active area. Yesterday, I was browsing the mobile Stack Overflow site. I noticed one thing: the textareas where you write your comments/answers are very buggy. I'm using a Samsung Galaxy S2, with the standard Android browser (Android version 4.1.2). There are a number of things that aren't working when typing your comment/answer.   Automatic spacing with Swype is disabled (however this might be because of Swype, not the site). Text navigation buttons (step left, step right, select text, copy text etc.) doesn't work with the on-screen keyboard, and selecting text by holding your finger over text is extremely difficult. When you paste something it always seems to be pasted at the top of your text, no matter where you try to paste it. Replying to another comment ("@Example User") does not show suggested people to reply to, like the full site does.   Is there anything I can do to solve these issues/bugs, or is it in the hands of Stack Overflow itself, and if so, should it be looked into?  Edit: I was using the mobile version of the site when noticing these bugs. Is it possible to get a list of most recently installed packages? How many physical degrees of freedom does the $\mathrm{SU(N)}$ Yang-Mills theory have? The $\mathrm{U(1)}$ QED case has two physical degrees of freedom, which is easy to understand because the free electromagnetic field must be transverse to the direction of propagation. But what are the physical degrees of freedom the $\mathrm{SU(N)}$ Yang-Mills theory?   I believe that the $\mathrm{SU(N)}$ Y.M. theory has four degrees of freedom, and it is easy to see that by gauge fixing (such as the Lorentz condition or the Coulomb condition) that we can always remove one redundant degree of freedom. But then we still haven't completely fixed the redundant degrees of freedom. Thus my question is:     How many physical degrees and how many are redundant degrees of freedom does the Y.M. theory have?    I would be interested to understand how we can determine this mathematically, and also to understand what the physical intuition behind this is? What is serial voting and how does it affect me? Why {are you / you are} making noise? How do you run as a different user from the Start Menu in Windows 10? Running an application as a different user (e.g. domain admin account) from the start menu (by shift + right-clicking the application) used to be an option in Windows 7 &amp; XP.  However, I can't find that option in Windows 10. The workaround seems to be either 1) to find the application in Windows Explorer (shift + right-click) or 2) use runas.exe from the command line.  However, in order to use those workarounds, I have look up the executable name first. It's a bit difficult because I don't have the name of every RSAT tool or executable name memorized.  (e.g. "Active Directory Users and Computers" is dsa.msc, "Routing and Remote Acces" is rrasmgmt.msc)  Is there a simpler way to do this? "Open With" dialog ignores my selection I am running Windows 7 x64. I have a file type that I want to associate with Microsoft Access 2003.  I right-click on the file and select Open With->Choose Default program. In the "Open With" dialog, I select the browse button. I choose Program Files (x86)\Microsoft Office\Office11\msaccess.exe and press "Open".  I end up back at the "Open With" dialog, but nothing has changed. Access is not listed as a program to use to open the file with. The original program (Adobe Acrobat) that is associated with this program is still selected.  Any tips on getting this association to work? Windows 10 sees much more monitors than I have I tried to manipulate a cube with the Boolean modifier. I tried to cut out an edge of the cube with a cylinder. Also, the shading result looks awful in FLAT SHADING mode, so I turned on SMOOTH SHADING.   Has anyone an idea how to achieve a better result. (I also cut out a Sphere first, this made the result less awful).   I used Blender Internal and rendered with smooth shading for smoothness.  Using flat shading looks okay, except the "round" cutouts :/  Face normals are okay.  First image is smooth shading.    EDIT: User Pisurquatre suggested the EdgeSplit modifier, works perfect to me (Maybe a little tweaking here and there): How to run grep with multiple AND patterns? I would like to get the multi pattern match with implicit AND between patterns, i.e. equivalent to running several greps in a sequence:  grep pattern1 | grep pattern2 | ...   So how to convert it to something like?  grep pattern1 &amp; pattern2 &amp; pattern3   I would like to use single grep because I am building arguments dynamically, so everything has to fit in one string. Using filter is system feature, not grep, so it is not an argument for it.    Don't confuse this question with:  grep "pattern1\|pattern2\|..."   This is an OR multi pattern match. Phone keeps rebooting on Volume Up + Power (trying to install ROM) I tried to install Android's ROM and got ERROR 7, then I wiped out cache, data, internal storage, where was twrp.apk installed. After that I cant get into boot menu (with Install, Wipe... buttons). Then I copied twrp to the phone: sudo fastboot flash recovery &lt;twrp.img&gt; Tried versions 3.2.1-0 and 3.4.0-0, because I heard for certain phone (I have Xiaomi Mi4) it's necessary to use proper version, though I don't know which. What's going on now: I can successfully can get to the nice splash screen using Volume Down + Power, then on my PC I give sudo fastboot reboot command and press Volume Up + Power and here is the problem: It has no effect, it just keeps rebooting (I see only Xiaomi's logo). Much as I loathe Microsquish's Word, it does allow you to insert into a header or footer the automated text "Page X of Y."   When using InDesign, it's easy to set up the "Page X" part on a master page. But is there any placeholder character for the Y? That is, it will count the number of pages in the document, either in an absolute or a relative-to-the-section fashion? Every now and again I narrowly miss sending out something with a footer which reads "Page 4 of 3," and I would love to know if there's some way around that. Diagonal lines in table cell I need this table:    (each row and column should have the same height and length, last cell should be divided by diagonal line). I tried the following code:  \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{array} \usepackage{makecell} \newcolumntype{x}[1]{&gt;{\centering\let\newline\\\arraybackslash\hspace{0pt}}p{#1}} \begin{document} \setlength{\extrarowheight}{0.1cm} \begin{tabular}{|x{0.5cm}|x{0.5cm}|x{0.5cm}|x{0.5cm}|x{0.5cm}|}\hline &amp;&amp;&amp;&amp;20\\ \hline &amp;&amp;&amp;&amp;30\\ \hline &amp;&amp;&amp;&amp;45\\ \hline 15&amp;12&amp;18&amp;50&amp;\diaghead(-3,2){\hskip \hsize}{$a_i$}{$b_j$}\\ \hline \end{tabular} \end{document}   but text in the last cell is displayed incorrectly and cells are not the same.     How can I change that? Can you identifiy this short about teenagers on a raft getting swallowed up by an oil slick? I read in several places, including Wikipedia, that a tessellation of the plane by a single, convex, $n-$sided polygon is not possible for $n\geq7$. I was not able to locate a proof, or a paper that discusses this. Maybe it is too trivial, but I am not able to figure it out myself.   So I would like to ask you for help. Where can I find a proof for this?  Also, I am interested in the mathematical background behind plane tiling (especially periodic), If you can suggest papers on the topic it would really help. How to insert an image that also acts as a link this code always returns 0 in PHP 5.2.5 for microseconds:  &lt;?php $dt = new DateTime(); echo $dt-&gt;format("Y-m-d\TH:i:s.u") . "\n"; ?&gt;   Output:  [root@www1 ~]$ php date_test.php 2008-10-03T20:31:26.000000 [root@www1 ~]$ php date_test.php 2008-10-03T20:31:27.000000 [root@www1 ~]$ php date_test.php 2008-10-03T20:31:27.000000 [root@www1 ~]$ php date_test.php 2008-10-03T20:31:28.000000   Any ideas? Why Does Harry Have a Scar When Avada Kedavra Leaves No Trace? Why does Harry have a scar when Avada Kedavra leaves no trace?     ‘The Muggle authorities were perplexed. As far as I am aware, they do not know to this day how the Riddles died, for the Avada Kedavra Curse does not usually leave any sign of damage ... the exception sits before me,’ Dumbledore added, with a nod to Harry’s scar.   Half-Blood Prince - page 343 - Bloomsbury - chapter 17, A Sluggish Memory   What caused Harry to retain a scar from Avada Kedavra, when no one else in know history showed any signs of cause of death when Avada Kedavra was used?  What caused Harry's scar?  I'd love an answer based in canon, such as the books, interviews with J.K. Rowling, or Pottermore.