Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2725
Attempting to Style WebCombo
posted

I have a webcombo with Columns: Code,Title and values: row1: blank  Row2: Yes  row3: No

When it comes up the scroll bars are visible and the no is partially visible. i cannot seem to increase

the size of the dropdown frame . if i change the dropdown height it changes the  height of the rows.

I don't want the rows resized.

 

Gary

Parents
No Data
Reply
  • 170
    posted

    Hi Gary,

    Just a few ideas for you to try, and a few questions.

    ·       Are you setting the 'DropDownFrame' size at design time or programmatically?

    ·       Are you setting the correct properties? (sorry if this is a silly question.)

    o      VB Example: WebCombo1.DropDownLayout.DropdownWidth = System.Web.UI.WebControls.Unit.Pixel(500) This will set the dropdownframe to a width of 500px.(.DropdownHeight for height) I put it in the page_load to test it and it did work.

    ·       If you are setting it at design time then, are you Setting the ‘StyleSetName’, ‘StyleSetPath’ or ‘EnableAppStyling’? I’m not sure, but I think the styleset can override your design time settings, sure I’ve had this before, but don’t quote me.

    ·       Have you checked for any bad html markup on your page by viewing source? I’m sure I have experience this before. Not sure what I deleted from the definition, but I know it was overriding my layout so a colour I tried to change in code came back at runtime.

     

     

    Hope this helps,

     

    PenPal1999

     

Children
No Data