C# Sitecore 8:SheerResponse对话框弹出窗口不再工作?

C# Sitecore 8:SheerResponse对话框弹出窗口不再工作?,c#,sitecore,sitecore8,C#,Sitecore,Sitecore8,我有一个任务,通过SheerResponse.Alert()将问题传达给运行它的用户,但它在Sitecore 8.x中似乎不再工作 这是一个已知的问题吗?是否有一个替代方案,我应该使用 Stacktrace System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationE

我有一个任务,通过SheerResponse.Alert()将问题传达给运行它的用户,但它在Sitecore 8.x中似乎不再工作

这是一个已知的问题吗?是否有一个替代方案,我应该使用

Stacktrace System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. --->
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> 
System.NullReferenceException: Object reference not set to an instance of an object. at Sitecore.Web.UI.Sheer.SheerResponse.Alert(String text, String[] arguments) at...

Sitecore 8不再支持Sitecore透明用户界面,您需要发言才能使其正常工作。 请使用此参考,它有一段代码,显示了如何使用新方法Sitecore.ExperienceEditor.Dialogs.showModalDialog显示Sitecore 8的弹出窗口。