Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. text wrapping for radiobuttonlist

text wrapping for radiobuttonlist

Scheduled Pinned Locked Moved ASP.NET
helptutorialdotnet
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gbabu17
    wrote on last edited by
    #1

    Hallo, I have a ajax modalpopupextender which pops up a panel for a button click. Every thing works fine The popupcontrol panel has some controls, one of them is a label which is DynamicControlID for the popupextender. I am rendering a radiobuttonlist dynamically. I am creating ListItems and adding them to Radiobuttonlist, and it is rendered. Problem: The text of some of the radiobuttons exceeds the panel width (i do not want to increase the width of panel). How to wrap the text of radiobutton, so that it can appear in a multiline. For example after rendering the text is as below: <table id="Table1" border=\"0\" style=\"font-size:Medium;width:40%;padding-top:24px;\">\r\n\t<tr>\r\n\t\t<td><input id=\"RadioButtonListCCList_0\" type=\"radio\" name=\"RadioButtonListCCList\" value=\"1316\" checked=\"checked\" /><label for=\"RadioButtonListCCList_0\">AR,AT,AU,BA,BG,BO,BR,BX,CA,CH,CL,CN,CO,CR,CU,CZ,DE,DK,DO,DZ,EC,EG,EM,ES,ET,FI,FR,GB,GR,GT,HN,HR,HU,ID,IE,IL,IN,IS,JP,KE,KR,MA,MX,MY,NO,NZ,PA,PE,PH,PL,PT,RO,RS,SE,SI,SK,TH,TN,TR,TW,US,VE,VN,ZA</label></td>\r\n\t</tr>\r\n</table> Thanks for the help

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups