|
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Thread>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<% if (!Model.ForumReference.IsLoaded) Model.ForumReference.Load(); %>
<% using (Html.BeginForm())
{ %>
<%:Html.AntiForgeryToken() %>
<div style="margin-bottom: 5px; height: 30px;">
<% if (!Model.ForumReference.IsLoaded) Model.ForumReference.Load(); %>
<%:Ajax.ForumMapPath(Model.Forum.ID) %>
</div>
<% Html.RenderPartial("Detail", Model.ThreadPost); %>
<div class="ui-corner-top ui-widget-content" style="margin-right: 5px;">
<div class="ui-widget-header ui-corner-top ui-border-bottom" style="overflow: auto;">
<h3 style="margin-left: 10px;">
<%=Html.Global("forums", "Move")%><%=Html.Global("forums", "Thread")%>:<%=Model.Title%></h3>
</div>
<div style="margin: 10px; padding: 10px;">
<%=Html.Hidden("ForumID")%>
<%:Ajax.ForumTree("AllForumsTree", new TreeViewOptions()
{
DisableNodeLinks=true,
OnNodeSelected = "if (node.element.attr(\"isgroup\")=='True') $('#MoveForumButton').css({'display':'none'}); else { $('#ForumID').val(node.element.attr('key')); $('#MoveForumButton').css({'display':'block'});}"
}) %>
</div>
<div id="MoveForumButton" style="padding: 5px; text-align: center; display: none;">
<%=Ajax.Submit(Html.Global("RES_SAVE"), "ui-icon ui-icon-disk")%>
</div>
</div>
<%} %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
|
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.
In 1999, I started programming using Delphi, VB, VJ.From 2002 I started with .NET using C#.Since 2005 when i had became an EIP product manager I was focus on EIP and CMS technique. In 2008 i established dotnetage.com and started to shared my ideas and projects online. I believe "No shared no grow"
www.dotnetage.com