如何在忙碌指示器中设置焦点Rad窗口在Silverlight中忙? [英] How to Set Focus on Rad Window during Busy Indicator is Busy in Silverlight?

查看:75
本文介绍了如何在忙碌指示器中设置焦点Rad窗口在Silverlight中忙?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在使用Silverlight应用程序。

在我的应用程序中,我在RadWindow的内容中使用了telerik控件的忙碌指示器。

In我的父页面包含动作按钮。按任意按钮一次按下任何Silverlight页面打开一个窗口。它工作正常但是一旦任何弹出窗口打开然后按Enter / Space那次它再次打开新的radwindow。

如果我从用户控件中删除busyindicator然后它工作正常。但我在子窗口的Usercontrol中需要指示器。



请给我一些解决方案。

Hello,
I am working On Silverlight Application.
In My aplication i used telerik control's Busy Indicator in RadWindow's Content.
In my Parent Page contain Action Button. Once Any button press that time open one Window with any Silverlight page. It's working fine but once any popup open then press Enter/Space that time it again open new radwindow.
If i remove busyindicator from user control then it's working fine. But i need Indicator in child window's Usercontrol.

Please give me some solution for this.

推荐答案

嗨Savalia Manoj,希望此链接 [ ^ ]可以帮助您。



问候。
Hi Savalia Manoj, Hope this link[^] helps you.

Regards.


大家好,

我也尝试过这个问题的不同解决方案。



Hello all,
I have also try different solution for this issue.

//Set this after busy indicator = false

 System.Windows.Browser.HtmlPage.Plugin.Focus();
 txtName.UpdateLayout();
 txtName.Focus();



另一个是这个




Another is this

// Set this in Loaded event of particular page.
this.IsTabStop = true;
this.UpdateLayout();
this.Focus();



另一个是这个,


Another one is this,

// IN Page Load Constructor
  txtName.IsEnabledChanged += (s, e) => txtName.Focus();


这篇关于如何在忙碌指示器中设置焦点Rad窗口在Silverlight中忙?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆