|
<%@ Control Language="C#" Inherits="DNA.Mvc.DynamicUI.WidgetViewUserControl" %>
<% if (IsDesignMode)
{ %>
<form action="#" class="ui-widget-settings ui-widget-content ui-corner-all">
<div style="overflow: hidden;">
<%:PropertyDescriptors["FileUrl"].DisplayName%></div>
<div style="overflow: hidden; margin-top: 5px;">
<%:Ajax.TextBox(GenerateFieldID("FileUrl"), UserData["FileUrl"] != null ? UserData["FileUrl"].ToString() : "http://")%>
<%:Ajax.FileButton(GenerateFieldID("FileUrl"),
WebContext.Current.Web.GetWebRootUri(),
new ButtonOptions()
{
Text = Html.Global("RES_BROWSE"),
Icons = new ButtonOptions.ButtonIcons()
{
PrimaryIconCssClass = "ui-icon ui-icon-folder-open"
}
},
null)%>
</div>
</form>
<%} %>
<% if (ViewData["Content"] != null)
{ %>
<div style="padding: 10px;">
<div style="margin-top: 5px;">
<%:Html.FormatWiKi(Context.Server.HtmlDecode(ViewData["Content"].ToString())) %>
</div>
</div>
<%}
else
{ %>
<%:Html.ValidationSummary() %>
<%} %>
<%=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