NUnit.Extensions.Asp.Tester.GetChildElementHtmlId C# (CSharp) Method

GetChildElementHtmlId() protected abstract method

Returns the HTML ID of a child control. Useful when implementing testers for container controls that do HTML ID mangling. This method is very likely to change in a future release.
protected abstract GetChildElementHtmlId ( string aspId ) : string
aspId string
return string
        protected internal abstract string GetChildElementHtmlId(string aspId);

Usage Example

Example #1
0
 /// <summary>
 /// Returns the HTML ID of a child control.  Useful when implementing
 /// testers for container controls that do HTML ID mangling.  This method
 /// is very likely to change in a future release.
 /// </summary>
 protected internal override string GetChildElementHtmlId(string aspId)
 {
     return(container.GetChildElementHtmlId(aspId));
 }