Initial project's source code check-in.
This commit is contained in:
commit
b03b0b373f
4573 changed files with 981205 additions and 0 deletions
|
@ -0,0 +1,177 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="gvBillingPeriod.HeaderText" xml:space="preserve">
|
||||
<value>Billing Period</value>
|
||||
</data>
|
||||
<data name="gvCycleName.HeaderText" xml:space="preserve">
|
||||
<value>Cycle Name</value>
|
||||
</data>
|
||||
<data name="gvEndDate.HeaderText" xml:space="preserve">
|
||||
<value>End Date</value>
|
||||
</data>
|
||||
<data name="gvRecurringFee.HeaderText" xml:space="preserve">
|
||||
<value>Recurring Fee</value>
|
||||
</data>
|
||||
<data name="gvServiceHistory.EmptyDataText" xml:space="preserve">
|
||||
<value>No service history were found</value>
|
||||
</data>
|
||||
<data name="gvSetupFee.HeaderText" xml:space="preserve">
|
||||
<value>Setup Fee</value>
|
||||
</data>
|
||||
<data name="gvStartDate.HeaderText" xml:space="preserve">
|
||||
<value>Start Date</value>
|
||||
</data>
|
||||
<data name="lclServiceHistory.Text" xml:space="preserve">
|
||||
<value>Service History</value>
|
||||
</data>
|
||||
<data name="lclServiceName.Text" xml:space="preserve">
|
||||
<value>Service Name:</value>
|
||||
</data>
|
||||
<data name="lclServiceStatus.Text" xml:space="preserve">
|
||||
<value>Current Status:</value>
|
||||
</data>
|
||||
<data name="lclServiceType.Text" xml:space="preserve">
|
||||
<value>Service Type:</value>
|
||||
</data>
|
||||
<data name="lclSvcCreated.Text" xml:space="preserve">
|
||||
<value>Created:</value>
|
||||
</data>
|
||||
<data name="lclSvcCycleName.Text" xml:space="preserve">
|
||||
<value>Billing Cycle:</value>
|
||||
</data>
|
||||
<data name="lclSvcCyclePeriod.Text" xml:space="preserve">
|
||||
<value>Cycle Period:</value>
|
||||
</data>
|
||||
<data name="lclSvcProviderName.Text" xml:space="preserve">
|
||||
<value>Provider Name:</value>
|
||||
</data>
|
||||
<data name="lclSvcRecurringFee.Text" xml:space="preserve">
|
||||
<value>Recurring Fee:</value>
|
||||
</data>
|
||||
<data name="lclSvcRegOrderId.Text" xml:space="preserve">
|
||||
<value>Registrar Order Id:</value>
|
||||
</data>
|
||||
<data name="lclSvcSetupFee.Text" xml:space="preserve">
|
||||
<value>Setup Fee:</value>
|
||||
</data>
|
||||
<data name="lclUsername.Text" xml:space="preserve">
|
||||
<value>Username:</value>
|
||||
</data>
|
||||
</root>
|
|
@ -0,0 +1,174 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="gvBillingPeriod.HeaderText" xml:space="preserve">
|
||||
<value>Billing Period</value>
|
||||
</data>
|
||||
<data name="gvCycleName.HeaderText" xml:space="preserve">
|
||||
<value>Cycle Name</value>
|
||||
</data>
|
||||
<data name="gvEndDate.HeaderText" xml:space="preserve">
|
||||
<value>End Date</value>
|
||||
</data>
|
||||
<data name="gvRecurringFee.HeaderText" xml:space="preserve">
|
||||
<value>Recurring Fee</value>
|
||||
</data>
|
||||
<data name="gvServiceHistory.EmptyDataText" xml:space="preserve">
|
||||
<value>No service history were found</value>
|
||||
</data>
|
||||
<data name="gvSetupFee.HeaderText" xml:space="preserve">
|
||||
<value>Setup Fee</value>
|
||||
</data>
|
||||
<data name="gvStartDate.HeaderText" xml:space="preserve">
|
||||
<value>Start Date</value>
|
||||
</data>
|
||||
<data name="lclAddonSvcPrice.Text" xml:space="preserve">
|
||||
<value>Addon Price:</value>
|
||||
</data>
|
||||
<data name="lclServiceHistory.Text" xml:space="preserve">
|
||||
<value>Service History</value>
|
||||
</data>
|
||||
<data name="lclServiceName.Text" xml:space="preserve">
|
||||
<value>Service Name:</value>
|
||||
</data>
|
||||
<data name="lclServiceStatus.Text" xml:space="preserve">
|
||||
<value>Current Status:</value>
|
||||
</data>
|
||||
<data name="lclServiceType.Text" xml:space="preserve">
|
||||
<value>Service Type:</value>
|
||||
</data>
|
||||
<data name="lclSvcCreated.Text" xml:space="preserve">
|
||||
<value>Created:</value>
|
||||
</data>
|
||||
<data name="lclSvcCycleName.Text" xml:space="preserve">
|
||||
<value>Billing Cycle:</value>
|
||||
</data>
|
||||
<data name="lclSvcCyclePeriod.Text" xml:space="preserve">
|
||||
<value>Cycle Period:</value>
|
||||
</data>
|
||||
<data name="lclSvcRecurringFee.Text" xml:space="preserve">
|
||||
<value>Recurring Fee:</value>
|
||||
</data>
|
||||
<data name="lclSvcSetupFee.Text" xml:space="preserve">
|
||||
<value>Setup Fee:</value>
|
||||
</data>
|
||||
<data name="lclUsername.Text" xml:space="preserve">
|
||||
<value>Username:</value>
|
||||
</data>
|
||||
</root>
|
|
@ -0,0 +1,126 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="btnOrder.Text" xml:space="preserve">
|
||||
<value>ORDER</value>
|
||||
</data>
|
||||
<data name="lclStartingFrom.Text" xml:space="preserve">
|
||||
<value>Starting from:</value>
|
||||
</data>
|
||||
</root>
|
|
@ -0,0 +1,123 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="lnkMoreDetails.Text" xml:space="preserve">
|
||||
<value>More details...</value>
|
||||
</data>
|
||||
</root>
|
|
@ -0,0 +1,171 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="gvBillingPeriod.HeaderText" xml:space="preserve">
|
||||
<value>Billing Period</value>
|
||||
</data>
|
||||
<data name="gvCycleName.HeaderText" xml:space="preserve">
|
||||
<value>Cycle Name</value>
|
||||
</data>
|
||||
<data name="gvEndDate.HeaderText" xml:space="preserve">
|
||||
<value>End Date</value>
|
||||
</data>
|
||||
<data name="gvRecurringFee.HeaderText" xml:space="preserve">
|
||||
<value>Recurring Fee</value>
|
||||
</data>
|
||||
<data name="gvServiceHistory.EmptyDataText" xml:space="preserve">
|
||||
<value>No service history were found</value>
|
||||
</data>
|
||||
<data name="gvSetupFee.HeaderText" xml:space="preserve">
|
||||
<value>Setup Fee</value>
|
||||
</data>
|
||||
<data name="gvStartDate.HeaderText" xml:space="preserve">
|
||||
<value>Start Date</value>
|
||||
</data>
|
||||
<data name="lclServiceHistory.Text" xml:space="preserve">
|
||||
<value>Service History</value>
|
||||
</data>
|
||||
<data name="lclServiceName.Text" xml:space="preserve">
|
||||
<value>Service Name:</value>
|
||||
</data>
|
||||
<data name="lclServiceStatus.Text" xml:space="preserve">
|
||||
<value>Current Status:</value>
|
||||
</data>
|
||||
<data name="lclServiceType.Text" xml:space="preserve">
|
||||
<value>Service Type:</value>
|
||||
</data>
|
||||
<data name="lclSvcCreated.Text" xml:space="preserve">
|
||||
<value>Created:</value>
|
||||
</data>
|
||||
<data name="lclSvcCycleName.Text" xml:space="preserve">
|
||||
<value>Billing Cycle:</value>
|
||||
</data>
|
||||
<data name="lclSvcCyclePeriod.Text" xml:space="preserve">
|
||||
<value>Cycle Period:</value>
|
||||
</data>
|
||||
<data name="lclSvcRecurringFee.Text" xml:space="preserve">
|
||||
<value>Recurring Fee:</value>
|
||||
</data>
|
||||
<data name="lclSvcSetupFee.Text" xml:space="preserve">
|
||||
<value>Setup Fee:</value>
|
||||
</data>
|
||||
<data name="lclUsername.Text" xml:space="preserve">
|
||||
<value>Username:</value>
|
||||
</data>
|
||||
</root>
|
|
@ -0,0 +1,121 @@
|
|||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DomainName_ServiceDetails.ascx.cs" Inherits="WebsitePanel.Ecommerce.Portal.ProductControls.DomainName_ServiceDetails" %>
|
||||
<div class="FormBody">
|
||||
<table cellspacing="0" cellpadding="3">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclServiceName" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrServiceName" /></td>
|
||||
</tr>
|
||||
<asp:PlaceHolder runat="server" ID="pnlUsername">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclUsername" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrUsername" /></td>
|
||||
</tr>
|
||||
</asp:PlaceHolder>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclServiceStatus" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrServiceStatus" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclServiceType" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrServiceTypeName" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcCreated" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcCreated" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcCycleName" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcCycleName" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcCyclePeriod" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcCyclePeriod" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcSetupFee" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcSetupFee" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcRecurringFee" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcRecurringFee" /></td>
|
||||
</tr>
|
||||
<asp:PlaceHolder runat="server" ID="pnlDomainOrder">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcProviderName" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcProviderName" /></td>
|
||||
</tr>
|
||||
</asp:PlaceHolder>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="FormButtonsBar">
|
||||
<div class="FormSectionHeader"><asp:Localize runat="server" meta:resourcekey="lclServiceHistory" /></div>
|
||||
</div>
|
||||
<div>
|
||||
<asp:GridView ID="gvServiceHistory" runat="server" meta:resourcekey="gvServiceHistory"
|
||||
AutoGenerateColumns="False" CssSelectorClass="NormalGridView" AllowPaging="False">
|
||||
<Columns>
|
||||
<asp:TemplateField meta:resourcekey="gvCycleName">
|
||||
<ItemStyle Width="40%"></ItemStyle>
|
||||
<ItemTemplate>
|
||||
<%# Eval("CycleName") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvBillingPeriod">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# String.Concat(Eval("PeriodLength"), " ", Eval("BillingPeriod"), "(s)") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvSetupFee">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# Eval("Currency") %> <%# Eval("SetupFee", "{0:C}") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvRecurringFee">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# Eval("Currency") %> <%# Eval("RecurringFee", "{0:C}") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvStartDate">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# Eval("StartDate") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvEndDate">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# Eval("EndDate") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
<HeaderStyle CssClass="GridHeader" HorizontalAlign="Left" />
|
||||
<RowStyle CssClass="Normal" />
|
||||
<PagerStyle CssClass="GridPager" />
|
||||
<EmptyDataRowStyle CssClass="Normal" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
</asp:GridView>
|
||||
</div>
|
|
@ -0,0 +1,101 @@
|
|||
// Copyright (c) 2011, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
|
||||
using WebsitePanel.Portal;
|
||||
using WebsitePanel.Ecommerce.EnterpriseServer;
|
||||
using WebsitePanel.EnterpriseServer;
|
||||
|
||||
namespace WebsitePanel.Ecommerce.Portal.ProductControls
|
||||
{
|
||||
public partial class DomainName_ServiceDetails : ecControlBase, IViewServiceDetails
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#region IViewServiceDetails Members
|
||||
|
||||
public bool LoadServiceInfo(int serviceId)
|
||||
{
|
||||
EnsureChildControls();
|
||||
|
||||
try
|
||||
{
|
||||
// load domain name svc
|
||||
DomainNameSvc domainSvc = StorehouseHelper.GetDomainNameService(serviceId);
|
||||
if (domainSvc == null)
|
||||
RedirectToBrowsePage();
|
||||
//
|
||||
ecUtils.ToggleControls(PanelSecurity.LoggedUser.Role != UserRole.User, pnlDomainOrder, pnlUsername);
|
||||
//
|
||||
ltrServiceName.Text = domainSvc.ServiceName;
|
||||
ltrUsername.Text = domainSvc.Username;
|
||||
ltrServiceTypeName.Text = ecPanelFormatter.GetSvcItemTypeName(domainSvc.TypeId);
|
||||
ltrSvcCycleName.Text = domainSvc.CycleName;
|
||||
ltrSvcCyclePeriod.Text = String.Concat(domainSvc.PeriodLength, " ", domainSvc.BillingPeriod, "(s)");
|
||||
ltrSvcSetupFee.Text = String.Concat(domainSvc.Currency, " ", domainSvc.SetupFee.ToString("C"));
|
||||
ltrSvcRecurringFee.Text = String.Concat(domainSvc.Currency, " ", domainSvc.RecurringFee.ToString("C"));
|
||||
ltrSvcCreated.Text = domainSvc.Created.ToString();
|
||||
ltrServiceStatus.Text = ecPanelFormatter.GetServiceStatusName(domainSvc.Status);
|
||||
//
|
||||
if (pnlDomainOrder.Visible)
|
||||
{
|
||||
//ltrSvcRegOrderId.Text = domainSvc.RegOrderId;
|
||||
ltrSvcProviderName.Text = domainSvc.ProviderName;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
HostModule.ShowErrorMessage("LOAD_DOMAIN_NAME_SVC", ex);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public void BindServiceHistory(int serviceId)
|
||||
{
|
||||
gvServiceHistory.DataSource = StorehouseHelper.GetServiceHistory(serviceId);
|
||||
gvServiceHistory.DataBind();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,133 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebsitePanel.Ecommerce.Portal.ProductControls {
|
||||
|
||||
|
||||
public partial class DomainName_ServiceDetails {
|
||||
|
||||
/// <summary>
|
||||
/// ltrServiceName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrServiceName;
|
||||
|
||||
/// <summary>
|
||||
/// pnlUsername control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder pnlUsername;
|
||||
|
||||
/// <summary>
|
||||
/// ltrUsername control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrUsername;
|
||||
|
||||
/// <summary>
|
||||
/// ltrServiceStatus control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrServiceStatus;
|
||||
|
||||
/// <summary>
|
||||
/// ltrServiceTypeName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrServiceTypeName;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcCreated control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcCreated;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcCycleName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcCycleName;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcCyclePeriod control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcCyclePeriod;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcSetupFee control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcSetupFee;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcRecurringFee control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcRecurringFee;
|
||||
|
||||
/// <summary>
|
||||
/// pnlDomainOrder control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder pnlDomainOrder;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcProviderName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcProviderName;
|
||||
|
||||
/// <summary>
|
||||
/// gvServiceHistory control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView gvServiceHistory;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,125 @@
|
|||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HostingAddon_ServiceDetails.ascx.cs" Inherits="WebsitePanel.Ecommerce.Portal.ProductControls.HostingAddon_ServiceDetails" %>
|
||||
<div class="FormBody">
|
||||
<table cellspacing="0" cellpadding="3">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclServiceName" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrServiceName" /></td>
|
||||
</tr>
|
||||
<asp:PlaceHolder runat="server" ID="pnlUsername">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclUsername" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrUsername" /></td>
|
||||
</tr>
|
||||
</asp:PlaceHolder>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclServiceStatus" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrServiceStatus" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclServiceType" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrServiceTypeName" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcCreated" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcCreated" /></td>
|
||||
</tr>
|
||||
<asp:PlaceHolder runat="server" ID="pnlOneTimeAddon">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclAddonSvcPrice" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrAddonSvcPrice" /></td>
|
||||
</tr>
|
||||
</asp:PlaceHolder>
|
||||
<asp:PlaceHolder runat="server" ID="pnlRecurringAddon">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcCycleName" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcCycleName" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcCyclePeriod" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcCyclePeriod" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcRecurringFee" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcRecurringFee" /></td>
|
||||
</tr>
|
||||
</asp:PlaceHolder>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcSetupFee" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcSetupFee" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<asp:PlaceHolder runat="server" ID="pnlAddonSvcHistory">
|
||||
<div class="FormButtonsBar">
|
||||
<div class="FormSectionHeader"><asp:Localize runat="server" meta:resourcekey="lclServiceHistory" /></div>
|
||||
</div>
|
||||
<div>
|
||||
<asp:GridView ID="gvServiceHistory" runat="server" meta:resourcekey="gvServiceHistory"
|
||||
AutoGenerateColumns="False" CssSelectorClass="NormalGridView" AllowPaging="False">
|
||||
<Columns>
|
||||
<asp:TemplateField meta:resourcekey="gvCycleName">
|
||||
<ItemStyle Width="40%"></ItemStyle>
|
||||
<ItemTemplate>
|
||||
<%# Eval("CycleName") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvBillingPeriod">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# String.Concat(Eval("PeriodLength"), " ", Eval("BillingPeriod"), "(s)") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvSetupFee">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# Eval("Currency") %> <%# Eval("SetupFee", "{0:C}") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvRecurringFee">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# Eval("Currency") %> <%# Eval("RecurringFee", "{0:C}") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvStartDate">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# Eval("StartDate") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvEndDate">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# Eval("EndDate") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
<HeaderStyle CssClass="GridHeader" HorizontalAlign="Left" />
|
||||
<RowStyle CssClass="Normal" />
|
||||
<PagerStyle CssClass="GridPager" />
|
||||
<EmptyDataRowStyle CssClass="Normal" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
</asp:GridView>
|
||||
</div>
|
||||
</asp:PlaceHolder>
|
|
@ -0,0 +1,113 @@
|
|||
// Copyright (c) 2011, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
|
||||
using WebsitePanel.Portal;
|
||||
using WebsitePanel.Ecommerce.EnterpriseServer;
|
||||
using WebsitePanel.EnterpriseServer;
|
||||
|
||||
namespace WebsitePanel.Ecommerce.Portal.ProductControls
|
||||
{
|
||||
public partial class HostingAddon_ServiceDetails : ecControlBase, IViewServiceDetails
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#region IViewServiceDetails Members
|
||||
|
||||
public bool LoadServiceInfo(int serviceId)
|
||||
{
|
||||
EnsureChildControls();
|
||||
|
||||
try
|
||||
{
|
||||
// load hosting addon svc
|
||||
HostingAddonSvc addonSvc = StorehouseHelper.GetHostingAddonService(serviceId);
|
||||
if (addonSvc == null)
|
||||
RedirectToBrowsePage();
|
||||
//
|
||||
ecUtils.ToggleControls(addonSvc.Recurring, pnlRecurringAddon);
|
||||
ecUtils.ToggleControls(!addonSvc.Recurring, pnlOneTimeAddon);
|
||||
ecUtils.ToggleControls(PanelSecurity.LoggedUser.Role != UserRole.User, pnlUsername);
|
||||
|
||||
ltrServiceName.Text = addonSvc.ServiceName;
|
||||
ltrUsername.Text = addonSvc.Username;
|
||||
ltrServiceTypeName.Text = ecPanelFormatter.GetSvcItemTypeName(addonSvc.TypeId);
|
||||
ltrSvcSetupFee.Text = String.Concat(addonSvc.Currency, " ", addonSvc.SetupFee.ToString("C"));
|
||||
ltrSvcCreated.Text = addonSvc.Created.ToString();
|
||||
ltrServiceStatus.Text = ecPanelFormatter.GetServiceStatusName(addonSvc.Status);
|
||||
|
||||
if (addonSvc.Recurring)
|
||||
{
|
||||
ltrSvcCycleName.Text = addonSvc.CycleName;
|
||||
ltrSvcCyclePeriod.Text = String.Concat(addonSvc.PeriodLength, " ", addonSvc.BillingPeriod, "(s)");
|
||||
ltrSvcRecurringFee.Text = String.Concat(addonSvc.Currency, " ", addonSvc.CyclePrice.ToString("C"));
|
||||
}
|
||||
else
|
||||
{
|
||||
ltrAddonSvcPrice.Text = String.Concat(addonSvc.Currency, " ", addonSvc.CyclePrice.ToString("C"));
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
HostModule.ShowErrorMessage("LOAD_DOMAIN_NAME_SVC", ex);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public void BindServiceHistory(int serviceId)
|
||||
{
|
||||
// load hosting addon svc
|
||||
HostingAddonSvc addonSvc = StorehouseHelper.GetHostingAddonService(serviceId);
|
||||
//
|
||||
ecUtils.ToggleControls(addonSvc.Recurring, pnlAddonSvcHistory);
|
||||
//
|
||||
if (addonSvc.Recurring)
|
||||
{
|
||||
gvServiceHistory.DataSource = StorehouseHelper.GetServiceHistory(serviceId);
|
||||
gvServiceHistory.DataBind();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,151 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebsitePanel.Ecommerce.Portal.ProductControls {
|
||||
|
||||
|
||||
public partial class HostingAddon_ServiceDetails {
|
||||
|
||||
/// <summary>
|
||||
/// ltrServiceName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrServiceName;
|
||||
|
||||
/// <summary>
|
||||
/// pnlUsername control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder pnlUsername;
|
||||
|
||||
/// <summary>
|
||||
/// ltrUsername control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrUsername;
|
||||
|
||||
/// <summary>
|
||||
/// ltrServiceStatus control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrServiceStatus;
|
||||
|
||||
/// <summary>
|
||||
/// ltrServiceTypeName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrServiceTypeName;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcCreated control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcCreated;
|
||||
|
||||
/// <summary>
|
||||
/// pnlOneTimeAddon control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder pnlOneTimeAddon;
|
||||
|
||||
/// <summary>
|
||||
/// ltrAddonSvcPrice control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrAddonSvcPrice;
|
||||
|
||||
/// <summary>
|
||||
/// pnlRecurringAddon control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder pnlRecurringAddon;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcCycleName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcCycleName;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcCyclePeriod control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcCyclePeriod;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcRecurringFee control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcRecurringFee;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcSetupFee control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcSetupFee;
|
||||
|
||||
/// <summary>
|
||||
/// pnlAddonSvcHistory control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder pnlAddonSvcHistory;
|
||||
|
||||
/// <summary>
|
||||
/// gvServiceHistory control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView gvServiceHistory;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,30 @@
|
|||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HostingPlan_Brief.ascx.cs" Inherits="WebsitePanel.Ecommerce.Portal.ProductControls.HostingPlan_Brief" %>
|
||||
<div class="ProductBlock">
|
||||
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
||||
<tr>
|
||||
<td class="ProductInfo">
|
||||
<asp:Literal runat="server" ID="ltrProductName" />
|
||||
<asp:Repeater runat="server" ID="rptHighlights">
|
||||
<HeaderTemplate>
|
||||
<ul type="disc" class="HighLights">
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<li><%# Container.DataItem %></li>
|
||||
</ItemTemplate>
|
||||
<FooterTemplate>
|
||||
</ul>
|
||||
</FooterTemplate>
|
||||
</asp:Repeater>
|
||||
<div class="PriceBlock">
|
||||
<div class="Left">
|
||||
<div class="NormalText"><asp:Localize runat="server" meta:resourcekey="lclStartingFrom" /></div>
|
||||
<asp:Literal runat="server" ID="ltrCurrencySymb" />
|
||||
<span class="ProductPrice"><asp:Literal runat="server" ID="ltrProductPrice" /></span>
|
||||
</div>
|
||||
<div class="Right"><asp:Button runat="server" ID="btnOrder" meta:resourcekey="btnOrder"
|
||||
CssClass="Button1" OnClick="btnOrder_Click" /></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
|
@ -0,0 +1,93 @@
|
|||
// Copyright (c) 2011, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
|
||||
using WebsitePanel.Ecommerce.EnterpriseServer;
|
||||
|
||||
namespace WebsitePanel.Ecommerce.Portal.ProductControls
|
||||
{
|
||||
public partial class HostingPlan_Brief : ecControlBase
|
||||
{
|
||||
private Product productInfo;
|
||||
|
||||
public Product ProductInfo
|
||||
{
|
||||
get { return productInfo; }
|
||||
set
|
||||
{
|
||||
productInfo = value;
|
||||
//
|
||||
EnsureChildControls();
|
||||
DisplayProductInfo();
|
||||
}
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected void btnOrder_Click(object sender, EventArgs e)
|
||||
{
|
||||
Response.Redirect(NavigatePageURL("ecOrderProduct", "ResellerId",
|
||||
ecPanelRequest.ResellerId.ToString(), "ProductId=" + ((Button)sender).CommandArgument));
|
||||
}
|
||||
|
||||
private void DisplayProductInfo()
|
||||
{
|
||||
ltrProductName.Text = productInfo.ProductName;
|
||||
ltrCurrencySymb.Text = EcommerceSettings.CurrencyCodeISO;
|
||||
btnOrder.CommandArgument = productInfo.ProductId.ToString();
|
||||
|
||||
// highlights
|
||||
rptHighlights.DataSource = StorefrontHelper.GetProductHighlights(ecPanelRequest.ResellerId,
|
||||
productInfo.ProductId);
|
||||
rptHighlights.DataBind();
|
||||
|
||||
// price
|
||||
HostingPlanCycle[] cycles = StorefrontHelper.GetHostingPlanCycles(ecPanelRequest.ResellerId,
|
||||
productInfo.ProductId);
|
||||
//
|
||||
if (cycles != null && cycles.Length > 0)
|
||||
{
|
||||
ltrProductPrice.Text = cycles[0].RecurringFee.ToString("C");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,67 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.312
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebsitePanel.Ecommerce.Portal.ProductControls {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// HostingPlan_Brief class.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated class.
|
||||
/// </remarks>
|
||||
public partial class HostingPlan_Brief {
|
||||
|
||||
/// <summary>
|
||||
/// ltrProductName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrProductName;
|
||||
|
||||
/// <summary>
|
||||
/// rptHighlights control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Repeater rptHighlights;
|
||||
|
||||
/// <summary>
|
||||
/// ltrCurrencySymb control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrCurrencySymb;
|
||||
|
||||
/// <summary>
|
||||
/// ltrProductPrice control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrProductPrice;
|
||||
|
||||
/// <summary>
|
||||
/// btnOrder control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Button btnOrder;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HostingPlan_Highlights.ascx.cs" Inherits="WebsitePanel.Ecommerce.Portal.ProductControls.HostingPlan_Highlights" %>
|
||||
<%@ Import Namespace="WebsitePanel.Ecommerce.Portal" %>
|
||||
<asp:Repeater runat="server" ID="rptProductHighlights">
|
||||
<HeaderTemplate>
|
||||
<ul>
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<li class="QuickLabel"><%# Container.DataItem %></li>
|
||||
</ItemTemplate>
|
||||
<FooterTemplate>
|
||||
<asp:PlaceHolder runat="server" Visible='<%# ShowMoreDetails %>'>
|
||||
<li class="QuickLabel"><a href="javascript:void(0)" onclick='window.open("Default.aspx?pid=ecProductDetails&ResellerId=<%# ecPanelRequest.ResellerId %>&ProductId=<%# ecPanelRequest.ProductId %>", "view_details", "channelmode=no,directories=no,fullscreen=no,height=450px,left=50px,location=no,menubar=no,resizable=0,scrollbars=yes,status=no,titlebar=no,menubar=no,top=50px,width=450px")'>
|
||||
<asp:Localize runat="server" meta:resourcekey="lnkMoreDetails" /></a></li>
|
||||
</asp:PlaceHolder>
|
||||
</ul>
|
||||
</FooterTemplate>
|
||||
</asp:Repeater>
|
|
@ -0,0 +1,62 @@
|
|||
// Copyright (c) 2011, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
|
||||
namespace WebsitePanel.Ecommerce.Portal.ProductControls
|
||||
{
|
||||
public partial class HostingPlan_Highlights : ecControlBase
|
||||
{
|
||||
private bool showMoreDetails;
|
||||
|
||||
public bool ShowMoreDetails
|
||||
{
|
||||
get { return showMoreDetails; }
|
||||
set { showMoreDetails = value; }
|
||||
}
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
public void BindHighlights(string[] highlights)
|
||||
{
|
||||
rptProductHighlights.DataSource = highlights;
|
||||
rptProductHighlights.DataBind();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,31 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.42
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebsitePanel.Ecommerce.Portal.ProductControls {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// HostingPlan_Highlights class.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated class.
|
||||
/// </remarks>
|
||||
public partial class HostingPlan_Highlights {
|
||||
|
||||
/// <summary>
|
||||
/// rptProductHighlights control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Repeater rptProductHighlights;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,113 @@
|
|||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HostingPlan_ServiceDetails.ascx.cs" Inherits="WebsitePanel.Ecommerce.Portal.ProductControls.HostingPlan_ServiceDetails" %>
|
||||
<div class="FormBody">
|
||||
<table cellspacing="0" cellpadding="3">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclServiceName" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrServiceName" /></td>
|
||||
</tr>
|
||||
<asp:PlaceHolder runat="server" ID="pnlUsername">
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclUsername" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrUsername" /></td>
|
||||
</tr>
|
||||
</asp:PlaceHolder>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclServiceStatus" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrServiceStatus" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclServiceType" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrServiceTypeName" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcCreated" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcCreated" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcCycleName" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcCycleName" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcCyclePeriod" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcCyclePeriod" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcSetupFee" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcSetupFee" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<asp:Localize runat="server" meta:resourcekey="lclSvcRecurringFee" /></td>
|
||||
<td>
|
||||
<asp:Literal runat="server" ID="ltrSvcRecurringFee" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="FormButtonsBar">
|
||||
<div class="FormSectionHeader"><asp:Localize runat="server" meta:resourcekey="lclServiceHistory" /></div>
|
||||
</div>
|
||||
<div>
|
||||
<asp:GridView ID="gvServiceHistory" runat="server" meta:resourcekey="gvServiceHistory"
|
||||
AutoGenerateColumns="False" CssSelectorClass="NormalGridView" AllowPaging="False">
|
||||
<Columns>
|
||||
<asp:TemplateField meta:resourcekey="gvCycleName">
|
||||
<ItemStyle Width="40%"></ItemStyle>
|
||||
<ItemTemplate>
|
||||
<%# Eval("CycleName") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvBillingPeriod">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# String.Concat(Eval("PeriodLength"), " ", Eval("BillingPeriod"), "(s)") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvSetupFee">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# Eval("Currency") %> <%# Eval("SetupFee", "{0:C}") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvRecurringFee">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# Eval("Currency") %> <%# Eval("RecurringFee", "{0:C}") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvStartDate">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# Eval("StartDate") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField meta:resourcekey="gvEndDate">
|
||||
<ItemStyle Wrap="False" />
|
||||
<ItemTemplate>
|
||||
<%# Eval("EndDate") %>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
<HeaderStyle CssClass="GridHeader" HorizontalAlign="Left" />
|
||||
<RowStyle CssClass="Normal" />
|
||||
<PagerStyle CssClass="GridPager" />
|
||||
<EmptyDataRowStyle CssClass="Normal" />
|
||||
<PagerSettings Mode="NumericFirstLast" />
|
||||
</asp:GridView>
|
||||
</div>
|
|
@ -0,0 +1,95 @@
|
|||
// Copyright (c) 2011, Outercurve Foundation.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without modification,
|
||||
// are permitted provided that the following conditions are met:
|
||||
//
|
||||
// - Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// - Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// - Neither the name of the Outercurve Foundation nor the names of its
|
||||
// contributors may be used to endorse or promote products derived from this
|
||||
// software without specific prior written permission.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
||||
// ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
// LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||
// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
|
||||
using WebsitePanel.Portal;
|
||||
using WebsitePanel.Ecommerce.EnterpriseServer;
|
||||
using WebsitePanel.EnterpriseServer;
|
||||
|
||||
namespace WebsitePanel.Ecommerce.Portal.ProductControls
|
||||
{
|
||||
public partial class HostingPlan_ServiceDetails : ecControlBase, IViewServiceDetails
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#region IViewServiceDetails Members
|
||||
|
||||
public bool LoadServiceInfo(int serviceId)
|
||||
{
|
||||
EnsureChildControls();
|
||||
|
||||
try
|
||||
{
|
||||
// load hosting package svc
|
||||
HostingPackageSvc packageSvc = StorehouseHelper.GetHostingPackageService(serviceId);
|
||||
if (packageSvc == null)
|
||||
RedirectToBrowsePage();
|
||||
//
|
||||
ecUtils.ToggleControls(PanelSecurity.LoggedUser.Role != UserRole.User, pnlUsername);
|
||||
//
|
||||
ltrServiceName.Text = packageSvc.ServiceName;
|
||||
ltrUsername.Text = packageSvc.Username;
|
||||
ltrServiceTypeName.Text = ecPanelFormatter.GetSvcItemTypeName(packageSvc.TypeId);
|
||||
ltrSvcCycleName.Text = packageSvc.CycleName;
|
||||
ltrSvcCyclePeriod.Text = String.Concat(packageSvc.PeriodLength, " ", packageSvc.BillingPeriod, "(s)");
|
||||
ltrSvcSetupFee.Text = String.Concat(packageSvc.Currency, " ", packageSvc.SetupFee.ToString("C"));
|
||||
ltrSvcRecurringFee.Text = String.Concat(packageSvc.Currency, " ", packageSvc.RecurringFee.ToString("C"));
|
||||
ltrSvcCreated.Text = packageSvc.Created.ToString();
|
||||
ltrServiceStatus.Text = ecPanelFormatter.GetServiceStatusName(packageSvc.Status);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
HostModule.ShowErrorMessage("LOAD_HOSTING_PACKAGE_SVC", ex);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public void BindServiceHistory(int serviceId)
|
||||
{
|
||||
gvServiceHistory.DataSource = StorehouseHelper.GetServiceHistory(serviceId);
|
||||
gvServiceHistory.DataBind();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
|
@ -0,0 +1,115 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4927
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WebsitePanel.Ecommerce.Portal.ProductControls {
|
||||
|
||||
|
||||
public partial class HostingPlan_ServiceDetails {
|
||||
|
||||
/// <summary>
|
||||
/// ltrServiceName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrServiceName;
|
||||
|
||||
/// <summary>
|
||||
/// pnlUsername control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.PlaceHolder pnlUsername;
|
||||
|
||||
/// <summary>
|
||||
/// ltrUsername control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrUsername;
|
||||
|
||||
/// <summary>
|
||||
/// ltrServiceStatus control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrServiceStatus;
|
||||
|
||||
/// <summary>
|
||||
/// ltrServiceTypeName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrServiceTypeName;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcCreated control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcCreated;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcCycleName control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcCycleName;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcCyclePeriod control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcCyclePeriod;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcSetupFee control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcSetupFee;
|
||||
|
||||
/// <summary>
|
||||
/// ltrSvcRecurringFee control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Literal ltrSvcRecurringFee;
|
||||
|
||||
/// <summary>
|
||||
/// gvServiceHistory control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.GridView gvServiceHistory;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue