|
<%@ Control Language="C#" %>
<%@ Import Namespace="RapidWebDev.Platform.Web.Controls" %>
<ajax:TabContainer ID="TabContainer" runat="server">
<ajax:TabPanel ID="TabPanelProduct" HeaderText="Product" runat="server">
<ContentTemplate>
<table cellpadding="0" cellspacing="0" class="table6col">
<tr>
<td class="c1" nowrap="nowrap">Category: </td>
<td class="c2">
<My:ComboBox ID="DropDownListCategory" Mode="Local" Editable="true" ForceSelection="true" runat="server" /><label for="<%= this.DropDownListCategory.ClientID %>" class="required">*</label>
</td>
<td class="c1" nowrap="nowrap">Name: </td>
<td class="c2">
<My:TextBox ID="TextBoxName" CssClass="textboxShort" MaxLength="256" runat="server" /><label for="<%= this.TextBoxName.ClientID %>" class="required">*</label>
</td>
<td class="c1" nowrap="nowrap">Number: </td>
<td class="c2">
<My:TextBox ID="TextBoxNumber" CssClass="textboxShort" MaxLength="32" runat="server" /><label for="<%= this.TextBoxNumber.ClientID %>" class="required">*</label>
</td>
</tr>
<tr>
<td class="c1" nowrap="nowrap">Manufactory: </td>
<td class="span" colspan="5">
<My:TextBox ID="TextBoxManufactory" CssClass="textarea" MaxLength="256" Width="92.7%" runat="server" />
</td>
</tr>
<tr>
<td class="c1" nowrap="nowrap">Description: </td>
<td class="span" colspan="5">
<My:TextBox ID="TextBoxDescription" CssClass="textarea" Width="92.7%" runat="server" />
</td>
</tr>
<My:ExtensionDataForm ID="ProductExtensionDataForm" runat="server" />
<asp:PlaceHolder ID="PlaceHolderOperateContext" Visible="false" runat="server">
<tr>
<td colspan="6"><hr /></td>
</tr>
<tr>
<td class="c1" nowrap="true">Created On: </td>
<td class="c2"><My:TextBox ID="TextBoxCreatedOn" CssClass="textboxShort readonly" ReadOnly="true" runat="server" /></td>
<td class="c1" nowrap="true">Created By: </td>
<td class="span" colspan="3"><My:UserLink ID="UserLinkCreatedBy" runat="server" /></td>
</tr>
<tr>
<td class="c1" nowrap="true">Updated On: </td>
<td class="c2"><My:TextBox ID="TextBoxLastUpdatedOn" CssClass="textboxShort readonly" ReadOnly="true" runat="server" /></td>
<td class="c1" nowrap="true">Updated By: </td>
<td class="span" colspan="3"><My:UserLink ID="UserLinkLastUpdatedBy" runat="server" /></td>
</tr>
</tr>
</asp:PlaceHolder>
</table>
</ContentTemplate>
</ajax:TabPanel>
<ajax:TabPanel ID="TabPanelProductLogs" HeaderText="Logs" Visible="false" runat="server">
<ContentTemplate>
<table cellpadding="2" cellspacing="0" border="1" style="width:100%; border-collapse:separate">
<asp:Repeater ID="RepeaterProductLogs" runat="server">
<HeaderTemplate>
<tr>
<th style="width: 60px; padding:2px; background-color: Gray; color: White">Number</th>
<th style="padding:2px; background-color: Gray; color: White">Body</th>
<th style="width: 120px; padding:2px; background-color: Gray; color: White">User</th>
<th style="width: 170px; padding:2px; background-color: Gray; color: White">Logged On</th>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td style="text-align:center; padding:2px"><%# Container.ItemIndex + 1 %></td>
<td style="padding:2px"><%# DataBinder.Eval(Container.DataItem, "Body") %></td>
<td style="padding:2px"><%# UserLink.BuildUserLink(DataBinder.Eval(Container.DataItem, "LoggedBy").ToString())%></td>
<td style="padding:2px"><%# DataBinder.Eval(Container.DataItem, "LoggedOn") %></td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table>
</ContentTemplate>
</ajax:TabPanel>
</ajax:TabContainer>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I've worked as a software architect and developer based on Microsoft .NET framework and web technology since 2002, having rich experience on SaaS, multiple-tier web system and website development. I've devoted into open source project development since 2003, and have created 3 main projects including DataQuicker (ORM), ExcelQuicker (Excel Report Generator), and RapidWebDev (Enterprise-level CMS)
I worked in BenQ (8 mo), Bleum (4 mo), Newegg (1 mo), Microsoft (3 yr) and Autodesk (5 yr) before 2012. Now I own a startup company in Shanghai China to deliver the exceptional results to global internet users by leveraging the power of Internet and the local excellence.