试题详情
- 单项选择题You are creating a mobile Web Form that dynamically displays news items. You want to display news items by using an instance of a mobile TextView control named TextViewNews. You need to configure the Web Form that contains TextViewNews. The Web Form must enable pagination in case a users device does not display the full text of a news item. Which code segment should you use? ()
A、PagerStyle ps = new PagerStyle();ps.NextPageText = “more>”;ps.PreviousPageText = “<back”;FormNews.Paginate = true;
B、FormNews.PagerStyle.NextPageText = “more >”;FormNews.PagerStyle.PreviousPageText = “< back”;TextViewNews.PaginateRecursive(new ControlPager(FormNews, 1000));
C、FormNews.PagerStyle.NextPageText = “more >”;FormNews.PagerStyle.PreviousPageText = “< back”;FormNews.PaginateRecursive(new ControlPager(FormNews, 1000));
D、FormNews.PagerStyle.NextPageText = “more >”;FormNews.PagerStyle.PreviousPageText = “< back”;FormNews.Paginate = true;
- D
关注下方微信公众号,在线模考后查看
热门试题