' Telerik.Web.UI.RadAsyncUpload.C​​ontrolObjectsVisibility'已过时:'此属性在RadAsyncUpload'

时间:2015-12-14 14:11:43

标签: asp.net telerik

我收到了这个警告:

  

' Telerik.Web.UI.RadAsyncUpload.C​​ontrolObjectsVisibility'已经过时了:   '此属性在RadAsyncUpload'

中是偶像的

我需要摆脱它。

据我了解,我需要更换

  

ControlObjectsVisibility   由其他财产。   告诉我要替换什么?

1 个答案:

答案 0 :(得分:0)

ControlObjectsVisibility was used in the old RadUpload control

Telerik认为它不再用于RadAsyncUpload控件。

[Description("Gets or sets the value indicating which control objects will be displayed. This property is obsolete in RadAsyncUpload and is not used.")]
[Obsolete("This property is obsolete in RadAsyncUpload")]
public virtual ControlObjectsVisibility ControlObjectsVisibility { get; set; }

根据您提供的错误消息,看起来您正在使用RadAsyncUpload控件,因此您可以删除该行代码。