设置确认框的位置 [英] Set position of Confirmation Box
本文介绍了设置确认框的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个名为cbxConfirmationBox的确认框。在盒子里面我有一个OK按钮。我的问题是如何将OK按钮设置为居中而不是左边?以下是我的代码。
Hi, I have a confirmation box called cbxConfirmationBox. Inside the box I have a OK button. My question is how can i set the OK button to center instead of at left? Below are my codes.
protected void showPopupControl()
{
bool IsValid = ASPxEdit.ValidateEditorsInContainer(Page, "tConfig");
if (IsValid == true)
{
cbxConfirmationBox.setshowxPopControl = true;
cbxConfirmationBox.setMessageContent = "Are you sure to " + ViewState["ButtonClicked"].ToString() + " this Configuration ?";
cbxConfirmationBox.setShowOKButton = true;
cbxConfirmationBox.setTitle = "Confirmation!";
cbxConfirmationBox.updatexUPConfirmation();
}
}
推荐答案
这篇关于设置确认框的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文