
CellPadding="1" CellSpacing="1" ShowFooter="True" ShowGroupPanel="True"
Width="950px" >
<ClientSettings AllowDragToGroup="True" AllowColumnsReorder="true" AllowRowsDragDrop="true" ReorderColumnsOnClient="true">
<Scrolling AllowScroll="false" UseStaticHeaders="True" />
<Resizing AllowColumnResize="True" AllowRowResize="false" ResizeGridOnColumnResize="false"
ClipCellContentOnResize="true" EnableRealTimeResize="false" AllowResizeToFit="true" />
<Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />
</ClientSettings>
<MasterTableView AutoGenerateColumns="False" DataSourceID="ObjectDataSource1">
<CommandItemSettings ExportToPdfText="Export to PDF" />
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
</RowIndicatorColumn>
<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="EVA_title" ItemStyle-Width="120px"FilterControlAltText="Filter EVA_title column" HeaderText="Title" SortExpression="EVA_title" UniqueName="EVA_title">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="EVA_author" ItemStyle-Width="90px"FilterControlAltText="Filter EVA_author column" HeaderText="Author" SortExpression="EVA_author" UniqueName="EVA_author">
</telerik:GridBoundColumn>
</Columns>
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column">
</EditColumn>
</EditFormSettings>
</MasterTableView>
<FilterMenu EnableImageSprites="False">
</FilterMenu>
</telerik:RadGrid>
<
asp:GridView runat="server" SkinID="skinGridDetail1" AutoGenerateColumns="False"
CaptionAlign="Left" CellPadding="1" ForeColor="#333333"
GridLines="Vertical" HeaderStyle-BackColor="#D7D2D1" CssClass="styleCaption2"
BorderStyle="Solid" BorderColor="Silver" BorderWidth="1px"
Font-Names="Tahoma" Font-Size="8pt" VerticalAlign="Middle" >
<HeaderStyle BackColor="#D7D2D1" ForeColor="black" Height="16px" HorizontalAlign="Center" BorderStyle="Solid" BorderWidth="1" BorderColor="Silver" Font-Bold="False" VerticalAlign="Middle"/>
<RowStyle BackColor="white" Height="16px" VerticalAlign="Middle"/>
<AlternatingRowStyle BackColor="#F8F8F8" Height="16px" VerticalAlign="Middle" />
</
asp:GridView>
<
telerik:RadGrid runat="server" SkinID="skinRadGrid" AutoGenerateColumns="False"
CaptionAlign="Left" CellPadding="1" ForeColor="#333333"
GridLines="Vertical" HeaderStyle-BackColor="#D7D2D1" CssClass="styleCaption2"
BorderStyle="Solid" BorderColor="Silver" BorderWidth="1px"
Font-Names="Tahoma" Font-Size="8pt" VerticalAlign="Middle" >
<HeaderStyle BackColor="#D7D2D1" ForeColor="black" Height="16px" HorizontalAlign="Center" BorderStyle="Solid" BorderWidth="1" BorderColor="Silver" Font-Bold="False" VerticalAlign="Middle"/>
</telerik:RadGrid>

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Main.aspx.cs" Inherits="Main" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head id="Head1" runat="server"> <title></title></head><body> <form id="form1" runat="server"> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"> <script type="text/javascript"> function SetValue() { var panel = $find("<%=XmlPanel1.ClientID %>"); panel.set_value("test"); } </script> </telerik:RadScriptBlock> <div> <telerik:RadComboBox ID="RadComboBox1" runat="server" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" Width="300" Label="Select book genres:"> <Items> <telerik:RadComboBoxItem Text="Arts" /> <telerik:RadComboBoxItem Text="Biographies" /> <telerik:RadComboBoxItem Text="Children's Books" /> <telerik:RadComboBoxItem Text="Computers & Internet" /> <telerik:RadComboBoxItem Text="Cooking" /> <telerik:RadComboBoxItem Text="History" /> <telerik:RadComboBoxItem Text="Fiction" /> <telerik:RadComboBoxItem Text="Mystery" /> <telerik:RadComboBoxItem Text="Nonfiction" /> <telerik:RadComboBoxItem Text="Romance" /> <telerik:RadComboBoxItem Text="Science Fiction" /> <telerik:RadComboBoxItem Text="Travel" /> </Items> </telerik:RadComboBox> </div> <div> <input value="Set Value" onclick="SetValue(); return false;" type="button" /> <div> <telerik:RadXmlHttpPanel ID="XmlPanel1" runat="server" OnServiceRequest="XmlPanel1_ServiceRequest" EnableClientScriptEvaluation="true"> <telerik:RadComboBox ID="ComboBox1" runat="server"> </telerik:RadComboBox> </telerik:RadXmlHttpPanel> </div> </div> </form></body></html>using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using Telerik.Web.UI;public partial class Main : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { } protected void XmlPanel1_ServiceRequest(object sender, Telerik.Web.UI.RadXmlHttpPanelEventArgs e) { ArrayList itemsList = new ArrayList(); itemsList.Add("Beverages"); itemsList.Add("Condiments"); itemsList.Add("Confections"); ComboBox1.DataSource = itemsList; ComboBox1.DataBind(); }}public ActionResult UploadFileToServer(FormCollection form){'isEnabled':'true','uploadedFiles':[{"fileInfo":{"FileName":"New Text Document.jpg","ContentType":"image/jpeg","ContentLength":7,"Index":0},"metaData":"/wEFsQF7IlRlbXBGaWxlTmFtZSI6Im5rMW10MGQxLjFxZSIsIkFzeW5jVXBsb2FkVHlwZU5hbWUiOiJUZWxlcmlrLldlYi5VSS5VcGxvYWRlZEZpbGVJbmZvLCBUZWxlcmlrLldlYi5VSSwgVmVyc2lvbj0yMDEyLjMuMTAxNi40MCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj0xMjFmYWU3ODE2NWJhM2Q0In2cjHHKucOwL9XHbTwMx7hNK3SkzeOs2R2WtBZJyOqw3w=="}]}| <%@ Control Language="C#" AutoEventWireup="true" CodeFile="SiteConfigWizard.ascx.cs" |
| Inherits="SiteConfigWizard" %> |
| <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> |
| <telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server" Transparency="30" IsSticky="false" |
| BackgroundPosition="Center"> |
| <asp:Image ID="image1" runat="server" AlternateText="Loading..." ImageUrl="~/images/Loading1.gif" /> |
| </telerik:RadAjaxLoadingPanel> |
| <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="LoadingPanel1" > |
| <telerik:RadMultiPage ID="radSiteConfigPages" SelectedIndex="0" runat="server"> |
| <telerik:RadPageView ID="pgHome" runat="server"> |
| <fieldset class="fs_standard"> |
| <h3> |
| <asp:Label ID="lblHead_Home" runat="server" Text="Create a new site"></asp:Label></h3> |
| <p class="blurb"> |
| <asp:Label ID="lblSubHead_Home" runat="server" Text="Provide the basic settings for creating a new site."></asp:Label></p> |
| <table class="tbl_form"> |
| <tr> |
| <td> |
| <label> |
| Site Name *</label> |
| </td> |
| <td class="td_input_text"> |
| <asp:TextBox ID="txtSiteName" runat="server" Font-Size="Medium" Font-Bold="true"></asp:TextBox> |
| <asp:RequiredFieldValidator ID="rfvSiteName" runat="server" ControlToValidate="txtSiteName" |
| Text="*" ErrorMessage="Site name is required."></asp:RequiredFieldValidator> |
| </td> |
| <td> |
| <telerik:RadToolTip ID="rttSiteName" ShowEvent="OnClick" HideEvent="LeaveTargetAndToolTip" |
| Sticky="true" ShowDelay="50" runat="server" TargetControlID="txtSiteName" RelativeTo="Element" |
| Animation="None" Position="MiddleRight"> |
| The alias name of the site used for uniquely identifying it. This name should be |
| unique.</telerik:RadToolTip> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <label> |
| Site Alias Name *</label> |
| </td> |
| <td class="td_input_text"> |
| <asp:TextBox ID="txtSiteAlias" runat="server" Font-Size="Medium" Font-Bold="true"></asp:TextBox> |
| <asp:RequiredFieldValidator ID="rfvSiteAlias" runat="server" ControlToValidate="txtSiteAlias" |
| Text="*" ErrorMessage="Site Alias is required."></asp:RequiredFieldValidator> |
| </td> |
| <td> |
| <telerik:RadToolTip ID="rttSiteAlias" ShowEvent="OnClick" HideEvent="LeaveTargetAndToolTip" |
| Sticky="true" ShowDelay="50" runat="server" TargetControlID="txtSiteAlias" RelativeTo="Element" |
| Animation="None" Position="MiddleRight"> |
| The alias name of the site used for uniquely identifying it. This name should be |
| unique.</telerik:RadToolTip> |
| </td> |
| </tr> |
| <tr valign="top"> |
| <td> |
| <label> |
| Website Type *</label> |
| </td> |
| <td> |
| <asp:RadioButtonList ID="rblWebSiteType" runat="server" RepeatDirection="Horizontal"> |
| </asp:RadioButtonList> |
| <asp:RequiredFieldValidator ID="rfvSiteType" runat="server" ControlToValidate="rblWebSiteType" |
| Text="*" ErrorMessage="Site Type is required."></asp:RequiredFieldValidator> |
| </td> |
| <td> |
| <telerik:RadToolTip ID="rttSiteType" ShowEvent="OnClick" HideEvent="LeaveTargetAndToolTip" |
| Sticky="true" ShowDelay="50" runat="server" TargetControlID="rblWebSiteType" |
| RelativeTo="Element" Animation="None" Position="MiddleRight"> |
| The type of the site. For promotional site, select Promotion, otherwise select Website.</telerik:RadToolTip> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| </td> |
| <td colspan="2"> |
| <div class="cta"> |
| <asp:LinkButton ID="lbtNextPage_Home" CssClass="button" runat="server" OnClick="lbtNextPage_Home_Click"><span>Next ></span></asp:LinkButton> |
| <div class="clear"> |
| </div> |
| </div> |
| </td> |
| </tr> |
| <%-- <tr> |
| <td> |
| Website Default Timezone |
| </td> |
| <td> |
| <asp:DropDownList ID="drpTimeZones" runat="server"> |
| </asp:DropDownList> |
| </td> |
| </tr>--%> |
| </table> |
| </fieldset> |
| </telerik:RadPageView> |
| <telerik:RadPageView ID="pgImport" runat="server"> |
| <fieldset class="fs_standard"> |
| <h3> |
| <asp:Label ID="lblHead_Import" runat="server" Text="Import Existing Website settings"></asp:Label></h3> |
| <p class="blurb"> |
| <asp:Label ID="lblSubHead_Import" runat="server" Text="You can select an existing website to get all its information automatically imported to your new site."></asp:Label></p> |
| <p> |
| Would you like to import settings? |
| <asp:RadioButtonList ID="rbtImportSettings" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rbtImportSettings_SelectedIndexChanged"> |
| <asp:ListItem Text="Yes, Show me existing website" Value="1"></asp:ListItem> |
| <asp:ListItem Text="No Thanks! Let me create it from scratch." Value="2" Selected="True"></asp:ListItem> |
| </asp:RadioButtonList> |
| </p> |
| <div id="divExistingPromo" runat="server" visible="false" style="padding-bottom: 28px;"> |
| Select any existing Website to import it's settings: |
| <telerik:RadComboBox ID="rcbExistingWeb" runat="server" Skin="Web20" Text="Select One..." |
| ExpandAnimation-Type="OutBack" CollapseAnimation-Type="InBack" Width="150px" |
| DropDownWidth="150px"> |
| </telerik:RadComboBox> |
| <telerik:RadToolTip ID="rttExistingPromo" ShowEvent="OnClick" HideEvent="LeaveTargetAndToolTip" |
| Sticky="true" ShowDelay="50" runat="server" TargetControlID="rcbExistingWeb" |
| RelativeTo="Element" Animation="None" Position="MiddleRight"> |
| These are the previous promotion available. Select any of them to import all those |
| settings.</telerik:RadToolTip> |
| </div> |
| <div class="cta"> |
| <asp:LinkButton ID="lbtPrevPage_Import" runat="server" CssClass="button_soft" OnClick="lbtPrevPage_Import_Click"><span>< Back</span></asp:LinkButton> |
| <asp:LinkButton ID="lbtNextPage_Import" runat="server" CssClass="button" OnClick="lbtNextPage_Import_Click"><span>Next ></span></asp:LinkButton> |
| <div class="clear"> |
| </div> |
| </div> |
| </fieldset> |
| </telerik:RadPageView> |
| <telerik:RadPageView ID="pgTemplates" runat="server"> |
| <fieldset class="fs_standard"> |
| <h3> |
| <asp:Label ID="lblHead_Templates" runat="server" Text="Website template"></asp:Label></h3> |
| <p class="blurb"> |
| <asp:Label ID="lblSubHead_Templates" runat="server" Text="Templates provides the skin and other apperance for your site. Select one of the |
| available template."></asp:Label></p> |
| <fieldset> |
| <h4> |
| Available Templates</h4> |
| <telerik:RadListBox ID="lstTemplates" Width="200" Height="200" SelectionMode="Single" |
| AutoPostBack="true" Skin="Web20" runat="server"> |
| </telerik:RadListBox> |
| <div class="snapshots"> |
| <<asp:Image ID="imgTemplate" runat="server" /> |
| <img src="/Portals/0/snapshot_blue.gif" width="200" height="150" alt="Default Blue" |
| class="snapshot" /> |
| <img src="/Portals/0/snapshot_brown.gif" width="200" height="150" alt="Default Brown" |
| class="snapshot" /> |
| <img src="/Portals/0/snapshot_green.gif" width="200" height="150" alt="Default Green" |
| class="snapshot" /> |
| </div> |
| </fieldset> |
| <div class="cta"> |
| <asp:LinkButton ID="lbtPrevPage_Template" runat="server" CssClass="button_soft" OnClick="lbtPrevPage_Template_Click"><span>< Back</span></asp:LinkButton> |
| <asp:LinkButton ID="lbtNextPage_Template" runat="server" CssClass="button" OnClick="lbtNextPage_Template_Click"><span>Next ></span></asp:LinkButton> |
| <div class="clear"> |
| </div> |
| </div> |
| </fieldset> |
| </telerik:RadPageView> |
| <telerik:RadPageView ID="pgPromo" runat="server"> |
| <fieldset class="fs_standard"> |
| <h3> |
| <asp:Label ID="lblHead_Promo" runat="server" Text="You've selected Promotion"></asp:Label></h3> |
| <p class="blurb"> |
| <asp:Label ID="lblSubHead_Promo" runat="server" Text="Let's know more about this Promotion."></asp:Label></p> |
| <fieldset> |
| <h4> |
| Promotion Type</h4> |
| <p> |
| Select a type that best suits this promotion.</p> |
| <telerik:RadComboBox ID="rcbPromoType" runat="server" Skin="Web20" ExpandAnimation-Type="OutBack" |
| CollapseAnimation-Type="InBack" Width="250px" DropDownWidth="250px"> |
| </telerik:RadComboBox> |
| <telerik:RadToolTip ID="rttPromoType" ShowEvent="OnClick" HideEvent="LeaveTargetAndToolTip" |
| Sticky="true" ShowDelay="50" runat="server" TargetControlID="rcbPromoType" RelativeTo="Element" |
| Animation="None" Position="MiddleRight"> |
| Select your promotion type.</telerik:RadToolTip> |
| </fieldset> |
| <fieldset> |
| <h4> |
| Duration <small>(optional)</small></h4> |
| <table class="tbl_form"> |
| <tr> |
| <td> |
| <label> |
| Promotion Start Date</label> |
| </td> |
| <td> |
| <telerik:RadDateTimePicker ID="calStartDate" runat="server" Calendar-DayNameFormat="Short" |
| DateInput-DisplayDateFormat="M/d/yyyy hh:mm tt" DateInput-EmptyMessage="Pick a date"> |
| </telerik:RadDateTimePicker> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| <label> |
| Promotion End Date</label> |
| </td> |
| <td> |
| <telerik:RadDateTimePicker ID="calEndDate" runat="server" Calendar-DayNameFormat="Short" |
| DateInput-DisplayDateFormat="M/d/yyyy hh:mm tt" DateInput-EmptyMessage="Pick a date"> |
| </telerik:RadDateTimePicker> |
| </td> |
| </tr> |
| </table> |
| </fieldset> |
| <div class="cta"> |
| <asp:LinkButton ID="lbtPrevPage_Promo" runat="server" CssClass="button_soft" OnClick="lbtPrevPage_Promo_Click"><span>< Back</span></asp:LinkButton> |
| <asp:LinkButton ID="lbtNextPage_Promo" runat="server" CssClass="button" OnClick="lbtNextPage_Promo_Click"><span>Next ></span></asp:LinkButton> |
| <div class="clear"> |
| </div> |
| </div> |
| </fieldset> |
| </telerik:RadPageView> |
| <telerik:RadPageView ID="pgFinish1" runat="server"> |
| <fieldset class="fs_standard"> |
| <h3> |
| <asp:Label ID="lblHead_Finish1" runat="server" Text="ALL SET"></asp:Label></h3> |
| <p class="blurb"> |
| <asp:Label ID="lblSubHead_Finish1" runat="server" Text="We now have the basic information needed to create the new Promotion."></asp:Label></p> |
| <div class="cta"> |
| <asp:LinkButton ID="lbtPrevPage_Finish1" runat="server" CssClass="button_soft" OnClick="lbtPrevPage_Finish1_Click"><span>Back</span></asp:LinkButton> |
| <asp:LinkButton ID="lbtCreateSite_Finish1" runat="server" CssClass="button" OnClick="lbtCreateSite_Finish1_Click"><span>Create Site</span></asp:LinkButton> |
| <div class="clear"> |
| </div> |
| </div> |
| </fieldset> |
| </telerik:RadPageView> |
| <telerik:RadPageView ID="pgFinish2" runat="server"> |
| <fieldset class="fs_standard"> |
| <h3> |
| <asp:Label ID="lblHead_Finish2" runat="server" Text="Site Created Successfully"></asp:Label></h3> |
| <p class="blurb"> |
| <asp:Label ID="lblSubHead_Finish2" runat="server" Text="Your new site was created successfully. Please go through the below information for accessing the new site."></asp:Label></p> |
| <div id="divSiteDetails" runat="server" visible="false"> |
| <fieldset> |
| <h4> |
| Your Site Name</h4> |
| <p class="confirm_site"> |
| <asp:Label ID="lblSiteName" runat="server" Text="Snackonomics"></asp:Label></p> |
| <h4> |
| Your Site Path</h4> |
| <p class="confirm_url"> |
| <a id="ancSitePath" runat="server" target="_blank" href="#"></a> |
| </p> |
| <input type="hidden" runat="server" id="hidPromoId" value="0" /> |
| <input type="hidden" runat="server" id="hidWebsiteId" value="0" /> |
| </fieldset> |
| </div> |
| <%--<p> |
| You can now choose to either finish the wizard now, Or click continue to furnish |
| more details that are required to make it work functionally</p>--%> |
| <p> |
| You can now choose to finish the wizard and get into the detailed setting of promotion. |
| Otherwise, you can take a first look at the promotion.</p> |
| <div class="cta"> |
| <asp:LinkButton ID="lbtFinish2" runat="server" CssClass="button_soft" OnClick="lbtFinish2_Click"><span>Finish</span></asp:LinkButton> |
| <a id="ancSitePath2" runat="server" target="_blank" href="#" class="button"><span>Preview |
| site</span></a> |
| <div class="clear"> |
| </div> |
| </div> |
| </fieldset> |
| </telerik:RadPageView> |
| </telerik:RadMultiPage> |
| </telerik:RadAjaxPanel> |