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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 22.10.2009, 08:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,492 / 846 (79) +++++++
Регистрация: 28.10.2006
Solutions Monkey: How to set focus on the asp.net textbox in AxPopup form?
Источник: http://blogs.msdn.com/solutions/arch...opup-form.aspx
==============
To set the focus include this method in your page that is opened in the popup window and call the method without control name in the page load event.

For example to set the focus on txtCustAccount



protected void Page_Load(object sender, EventArgs e)

{



SetFocus(txtCustAccount);

}



public static void SetFocus(Control control)

{

StringBuilder sb = new StringBuilder();



sb.Append("\r\n");



control.Page.RegisterClientScriptBlock("SetFocus", sb.ToString());

}



==============
Источник: http://blogs.msdn.com/solutions/arch...opup-form.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Solutions Monkey: AxPopup Controls in EP Blog bot DAX Blogs 0 22.09.2009 11:05
Solutions Monkey: Screencast - How to set up Enterprise Portal (EP) in a Network Load Balancing (NLB) MOSS 2007 cluster Blog bot DAX Blogs 0 14.08.2009 11:05
Solutions Monkey: How to use Chart Control in EP 2009? Blog bot DAX Blogs 0 02.04.2009 09:05
Solutions Monkey: How to alternate the background color of each row in Web Grid in EP 4.0? Blog bot DAX Blogs 0 12.01.2008 12:31
Solutions Monkey: EP 4.0 Questions Blog bot DAX Blogs 0 28.10.2006 16:40

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

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

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