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
答案解析:有
微信扫一扫手机做题