<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySkin.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySkin" %>

设置样式

配色方案
高级设置
常规:
  • <%= new HtmlText("Background", this.UserStyle.Background) { Class = "txt colorpicker" }%>
背景图像:
  • <%= new HtmlHidden("BackgroundImg", null)%>
    <%= new SingleUploadInstance(this) { UploadTag = "BackgroundImg", Accept = "image/*", UploadControlName="上传背景图片"}.ToHtml()%> <%-- <%= new SingleUploadInstance(this) { UploadTag = "BackgroundImg", InitParams = "FileFilter=图片格式(*.jpg;*.gif;*.png;)|*.jpg;*.gif;*.png,DefaultColor=#FFFFFFFF,SelectFiles=选择上传图片,Upload=确认上传图片" }.ToHtml()%> --%>
    <%= new HtmlSelect("BgRepeat", "Value", "Key", "Key") { Option = this.ListBgRepeat, SelectedValue = this.UserStyle.BgRepeat }%> <%= new HtmlSelect("BgAttachment", "Value", "Key", "Key") { Option = this.ListBgAttachment, SelectedValue = this.UserStyle.BgAttachment }%>
    *爱惜你的空间,请勿使用违规图片
<%= new HtmlSubmit("保存修改", null, "SkinClient(this);")%>