Adding controls to dropdown
I need to add a link button control to dropdown 开发者_JAVA百科list item.is it possible to add child controls to a drop downlist ?if not how can i achieve this?
a drop-down list only supports text (so to speak) and NOT child controls. You are going to have to simulate this with a textbox, image button ( the down arrow ) and a div that toggles hidden/visible when you click the image. I believe that Telerik has such a control
You can not add controls to Dropdown list, why you want to do so ? Use GridView, DataList and Repeater control instead.
You can't do this. Because Dropdown list rendering as SELECT tag in HTML. You can create custom dropdown like control using DIV. Or use any technologies like Silverlight or Flash
Like Maud'Dib mentioned, Telerik is the best route to take if you want a very packaged solution.
If you want to use a free package, use ASP.NET AJAX drop down control and render the div with an image in front.
If you want a light weight solution, use jQuery
精彩评论