|
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Forum>" %>
<%
using (Ajax.BeginAjaxForm("Edit", "Forum", new jQueryAjaxOptions()
{
AutoBlocking = true,
OnSuccess = "$('#forumTree').treeview('option','selectedNode').element.children('.dna-treeview-node-content').find('span').text($('#Forum_Title').val());"
}, new RouteValueDictionary(new { id = Model.ID }), null))
{ %>
<%:Html.AntiForgeryToken() %>
<%Html.EnableClientjQueryValidation(); %>
<div style="margin: 10px;">
<div style="margin-bottom:10px;">
<% if (Model.IsGroup)
{%>
<img src="<%:Url.Content("~/Content/Images/Forums/forum_unread_subforum.gif") %>"
alt="" style="float: left;" />
<%}
else
{ %>
<img src="<%:Url.Content("~/Content/Images/Forums/forum_unread.gif") %>" alt="" style="float: left;" />
<%} %>
<h3 style="margin: 5px 0px 0px 5px; float: left;">
<%=Model.Title%>
</h3>
<div style="clear: both;">
</div>
</div>
<% Html.RenderPartial("ForumForm", Model); %>
<div style="margin-top: 5px; padding: 5px; text-align: center;">
<%=Ajax.Submit(Html.Global("RES_SAVE"), "ui-icon ui-icon-disk")%>
</div>
</div>
<%} %>
<%=Html.StartupScripts() %>
|
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