terça-feira, 15 de setembro de 2015

iMIS - Development

Tips for me before publish a page.


- Use class TextButton for the buttons.


<asp:Button ID="btnSave" runat="server" Text="Clear Content" OnClick="btnSave_OnClick" CssClass="TextButton" CausesValidation="False" />

- Apply the spaces between the input fields


Ignore Validation
if (Request.Url.AbsoluteUri.Contains("ContentRecordEdit.aspx") || Request.Url.AbsoluteUri.Contains("ContentDesigner.aspx") || Request.Url.AbsoluteUri.Contains("ContentItemEdit.aspx"))
{
    rfvAddress.Enabled = false;
    rfvDescription.Enabled = false;
    rfvDisplayUntil.Enabled = false;
    rfvStartDate.Enabled = false;
}



Nenhum comentário:

Postar um comentário