ASP.NET Mobile AdRotator Control offers wireless advertisements to Mobile devices. This control functionality is similar to AdRotator web form control in ASP.NET. You can use any image formats with this advertisement to targeted devices by using <DeviceSpecific> properties.
Where Advertisement File is the path of the XML file used for the advertisement. This XML file contains advertisement data and should have proper XML formed else it results in the runtime error. The Advertisement file format must have following format.
AdvertisementFile Format is as follows:
<?xml version="1.0" ?>
<Advertisements>
[<Ad>
<ImageUrl>The URL of the image to display</ImageUrl>
<NavigateUrl>The URL of the page to display</NavigateUrl>
[<OptionalImageUrl>URL of monochrome image to display</OptionalImageUrl>]
[<OptionalNavigateUrl>URL of page to display</OptionalNavigateUrl>]
<AlternateText>The text to display as a ToolTip</AlternateText>
<Keyword>The keyword used to filter</Keyword>
<Impressions>
The relative weighting of the advertisement
</Impressions>
</Ad>]
</Advertisements>
PocketPlanner .NET Compact Framework Component
Pocket Calendar is a scheduling and time planning component for applications using the Microsoft .NET Compact Framework. The clear programming interface makes programming with the control easy and effective. Pocket Calendar can quickly be integrated into any Pocket PC software and saves you long hours of coding and debug. The ASP.NET Calendar control allows the convenient selection of a date. The mobile version of the Calendar control serves the same purpose, but on devices that cannot display as rich of a calendar as many HTML browsers, a reduced version is used, or a version that presents an interaction that consists of a number of screens. The following example uses a Calendar control to allow the user to choose a date. That chosen date is then displayed.
Sub Calendar_SelectionChanged(Sender as Object, E as EventArgs)
DateLabel.Text = String.Format("The date you selected is {0}", _
Cal.SelectedDate.ToString("D"))
ActiveForm = Form2
End Sub
</script>
mobile:Form id="Form1" runat=server>
<mobile:Label runat=server StyleReference="Title">Pick a date using the calendar control. </mobile:Label>
<mobile:Calendar id="Cal" OnSelectionChanged="Calendar_SelectionChanged" runat=server/>
</mobile:Form>
<mobile:Form id="Form2" runat=server>
<mobile:Label id="DateLabel" runat=server/>
</mobile:Form>
Allowing the User to Make Phone Calls
Devices such as cell phones, can originate phone calls when the user makes a selection. The PhoneCall control provides a way for an application to encapsulate this action so that when the application is visited from a device that is capable of making phone calls, a UI is presented to do so. When the application is visited from a device that cannot make phone calls, either label text or a link is displayed.