2012-12-02 2 views
0

MVC의 검도 UI를 사용 중 4 .검도 : DropDownList 컨테이너 채우기

@(Html.Kendo().DropDownListFor(model => model.AppUserStatus) 
             .DataTextField("Text") 
             .DataValueField("Value") 
             .BindTo(@ViewBag.StatusList) 

            ) 

가 어떻게 그것을이 들어있는 가장 table.td의 폭을 채우기 위해 어떻게해야합니까 :

나는 table.td이 정의 드롭 다운을?

답변

2

HtmlAttributes 메서드를 사용하여 래퍼와 함께 특성을 직접 추가 할 수 있습니다. 귀하의 경우 다음 작업을해야합니다 :

.HtmlAttributes(new { style = "width:100%;" }) 
관련 문제