Adding Content to C1Dialog

You can add content, such as text and arbitrary controls, to the C1Dialog control. In this topic, you will add the text "Hello World!" and a standard Button control to the content area of a C1Dialog control. This topic assumes that you have created an AJAX-enabled ASP.NET project that contains a ScriptManager control (see Creating an AJAX-Enabled ASP.NET Project) and a C1Dialog control.

Complete the following steps:

1.   Click the Source tab to enter Source view.

2.   Enter the following markup between the <cc1:C1Dialog> and </cc1:C1Dialog> tags:

<Content>

    <p>Hello World!</p>

    </br>

</Content>

3.   Place your cursor after the </br> tag.

4.   Navigate to the Visual Studio Toolbox and double-click a standard Button control to add it to the dialog box.

5.   Open the project in a Studio for iPhone-compatible browser.

 This Topic Illustrates the Following:

The result of this topic will resemble the following image:

 


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.