AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
DAX
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 27.11.2008, 14:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
palleagermark: Set focus on a particular field on an EP page
Источник: http://palleagermark.blogspot.com/20...eld-on-ep.html
==============

With the AX 2009 Enterprise Portal you now have an easy way to set focus on a particular field on a page.

These are the steps you need to go through:
  1. The field must be created as or converted to a TemplateField. The "Dynamics AX Bound Field Designer" helps you to that. Add the field to the "Selected Field" list, make it active and click "Convert to Template field"
  2. Switch to the Source view of the page.
  3. It seems like you have to add the label of the fields yourself. This is done by adding the following section to the XML of the TemplateField: HeaderText="
  4. Finally add code to set the focus:

    TextBox TextBox = (TextBox)this.AxGroup1.FindControl("TextBox1");
    if (TextBox != null)
    {
    TextBox.Focus();
    }

Источник: http://palleagermark.blogspot.com/20...eld-on-ep.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Solutions Monkey: EP Page Life Cycle Blog bot DAX Blogs 0 18.02.2009 08:05
palleagermark: Dealing with changed table or field id's Blog bot DAX Blogs 0 11.02.2009 11:05
Solutions Monkey: Deploying Ax 2009 SP1 EP Blog bot DAX Blogs 0 05.02.2009 07:08
palleagermark: Bug in EP 2009 when having the debug flag set to true Blog bot DAX Blogs 0 05.01.2009 11:06
Inside Dynamics AX 4.0: Page Processing Blog bot DAX Blogs 0 25.10.2007 03:04

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 07:28.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.