MobileControl.InnerText Property

 

Returns the text inside the control. The inner text might be a combination of text from child controls. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

protected string InnerText { get; set; }

Property Value

Type: System.String

The text inside the control.

Exception Condition
Exception

the inner text contains markup tags at run time, and the derived control does not allow markup tags in inner text.

ArgumentException

the value used to set this property contains new line characters and the derived control does not allow multiple lines of text.

.NET Framework
Available since 1.1

MobileControl Class
System.Web.UI.MobileControls Namespace
Creating Custom Mobile Controls
Inside the ASP.NET Mobile Controls

Return to top
Show: