Intersoft WebGrid Documentation
AllowExport Property
See Also  Send Feedback
ISNet.WebUI.WebGrid Namespace > LayoutSet Class : AllowExport Property






Specifies a value whether grid export is allowed in UI.

Syntax

Visual Basic (Declaration) 
<ISNet.Serialization.BinarySerializableAttribute()>
<DefaultValueAttribute()>
<NotifyParentPropertyAttribute(True)>
<DescriptionAttribute("Specifies a value whether grid export is allowed in UI.")>
<ISNet.Serialization.XmlSerializableAttribute()>
Public Property AllowExport As Export
Visual Basic (Usage)Copy Code
Dim instance As LayoutSet
Dim value As Export
 
instance.AllowExport = value
 
value = instance.AllowExport
C# 
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Specifies a value whether grid export is allowed in UI.")]
[ISNet.Serialization.XmlSerializableAttribute()]
public Export AllowExport {get; set;}
Delphi 
public read-write property AllowExport: Export; 
JScript 
ISNet.Serialization.BinarySerializableAttribute()
DefaultValueAttribute()
NotifyParentPropertyAttribute()
DescriptionAttribute("Specifies a value whether grid export is allowed in UI.")
ISNet.Serialization.XmlSerializableAttribute()
public function get,set AllowExport : Export
Managed Extensions for C++ 
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Specifies a value whether grid export is allowed in UI.")]
[ISNet.Serialization.XmlSerializableAttribute()]
public: __property Export get_AllowExport();
public: __property void set_AllowExport( 
   Export value
);
C++/CLI 
[ISNet.Serialization.BinarySerializableAttribute()]
[DefaultValueAttribute()]
[NotifyParentPropertyAttribute(true)]
[DescriptionAttribute("Specifies a value whether grid export is allowed in UI.")]
[ISNet.Serialization.XmlSerializableAttribute()]
public:
property Export AllowExport {
   Export get();
   void set (    Export value);
}

Remarks

When users set this property to Yes, the Export icon will appear in the status bar. When clicked, a menu displaying export and page output options will appear. The export options depends on the last selected object, for instance, if a row is selected in child table then the 'Export selected child table' option will appear.

WebGrid.NET 5.0 Enterprise brings some enhancements on the Exporting feature :

  •  Added OutputType property to ReportInfo. The temporary report file name format is now set to use GUID by default. In previous version, the default value is ExecutionTime.
  • Reduced memory usage and fixed leaks. 
  • Exporting is now working properly without default printer installed. The error message like “Printer not Installed” or “PaperKind does not supported” has been completely eliminated.
  • Core engine has been rewritten for better performance.
  • Added CacheToDisk property to ReportInfo. This feature allows the exporting to write temporary cache to disk instead of using memory.
  • Added CacheToDiskLocation property to ReportInfo. You can customize the folder to store the cache. By default, you don’t have to set this property.
  • Improved exporting menu. The export types are now represented with icons.
  • Added exporting command to row/cell context menu. This allows you to easily perform exporting from your current mouse position in the Grid. 

For more information regarding Exporting you can read Exporting in V5.0.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.