Ejemplo n.º 1
0
        protected void RenderPhoneProperties()
        {
            base.Response.Write("<tr><td class=\"cntPT\"><select id=phl class=\"cntDD\">");
            this.RenderListBody(ContactUtilities.AssistantPhoneNumber.Id, ContactUtilities.PhoneNumberProperties);
            base.Response.Write("</select></td><td class=\"cntPV\">");
            this.RenderTextControl(true, ContactUtilities.PhoneNumberProperties);
            base.Response.Write("</td></tr>");
            base.Response.Write("<tr><td colspan=2 class=cntPV2><table cellspacing=0 cellpadding=0 class=w100><tr><td id=cntLt>");
            base.Response.Write(LocalizedStrings.GetHtmlEncoded(-746050732));
            base.Response.Write("</td><td id=cntRt><select name=\"");
            base.Response.Write(ContactUtilities.DefaultPhoneNumber.Id);
            base.Response.Write("\" class=\"cntDD cntCB\">");
            int intValue = this.helper.GetIntValue(ContactUtilities.DefaultPhoneNumber, 1);

            for (int i = 0; i <= 18; i++)
            {
                this.RenderListItem(i.ToString(), ContactUtilities.GetPropertyStringFromPhoneNumberType((PhoneNumberType)i), intValue == i);
            }
            base.Response.Write("</select></td></tr></table></td></tr>");
        }