![]() |
Sample Files: |
EasyPost.aspx: An example that rates a package and displays rates, buying postage and creating label using EasyPost for all the carriers.
EasyPostRefundLabel.aspx: An example that shows how to refund a label (postage).
UPS.aspx: An example that rates a package and displays rates for UPS.
FedEx.aspx: An example that rates a package and displays rates for FedEx.
DHL.aspx: An example that rates a package and displays rates for DHL.
USPS.aspx: An example that rates a package and displays rates for USPS.
Canadapost.aspx: An example that rates a package and displays rates for Canadapost.
Roadway.aspx: An example that rates a package and displays rates for Roadway.
SimpleRate.aspx: A simple hard coded example that rates a package and displays rates with the displayrates method.
A simple hard coded example that rates a package and displays rates by interating through the rates collection.SimpleRateControlDropdown.aspx : A simple hard coded examples that rates a package and displays the rates using the displayratesdropdown control.
SimpleRateControlRadio.aspx : A simple hard coded examples that rates a package and displays the rates using the displayratesradio control.
RateForm.aspx
: A form that demonstrates usage of countrylist and accepts shipping
destination details. To use this sample you must have registered and set the
company login properties.
Rate.aspx: Retrives information from the form post from rateform.aspx
and uses it to calculate the requested rates.
RateProcess.aspx: Retrives information from the form post from
rate.aspx and displays the details of the selected rate.
CountryListControl.aspx : Demonstrates use of the countrylist control on its own.
RateControlCodeBehind.aspx and RateControlCodeBehind.cs: This example performs rating similiar to rateform and rate however it demonstrates the use of code behind.
RateServerFormCustom.aspx : This sample shows how to create custom shipping services and companies. It also shows the use of a server side form and has no dependencies on other pages. Custom rates can be mixed with realtime rates, used on their own, or just for failover / backup purposes.
RateServerForm.aspx : This sample is effectively a combination of RateForm.aspx and Rate.aspx. Rather than a traditional form with 2 seperate pages it uses a server side form and web controls for rending the country selection and rate return.
SimpleTrack.aspx : A simple hard coded example that tracks a package and displays the tracking output with the displaytracking method. You will need to edit this sample to set a current, valid tracking number in order to view the tracking return.
SimpleTrackCollection.aspx : A simple hard coded example that tracks a package and displays the tracking output by iterating through the tracking collection. You will need to edit this sample to set a current, valid tracking number in order to view the tracking return.
SimpleTrackControl.aspx : A simple hard coded example that tracks a package and displays the tracking output all with a single call to the displaytracking control. You will need to edit this sample to set a current, valid tracking number in order to view the tracking return.
TrackForm.aspx
: Passes a tracking # and processor from the user to tracking.aspx.
Track.aspx: Accepts a tracking # and processor from TrackForm.aspx and
returns tracking information.
TrackServerForm.aspx : This sample is effectively a combination of TrackForm.aspx and Track.aspx. Rather than a traditional form with 2 seperate pages it uses a server side form and web controls for rending the tracking return.
CountryList.xml: An XML file containing the country information used by the countrylist control.