+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / News.title Configuration

News.title Configuration

8 posts, 0 answered
  1. Bachar Zeidan
    Bachar Zeidan avatar
    67 posts
    Registered:
    01 Jul 2010
    05 Jul 2010
    Link to this post
    Hello everybody,

    I 'a trying to modify the news.title legth to become more flexible (>256) and to do this i created my own MetaKey like this:
    <add key="News.MyTitle" valueType="LongText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    after this step I modified "NewsItemNew.ascx" like this :
    textBox ID from Title To MyTitle

    <asp:TextBox ID="MyTitle" Text="<%$Resources:TitleInput %>" runat="server" MaxLength="500" ValidationGroup="InsertNews"></asp:TextBox>    
                
    now after editing my new "News" form with a title> 256 and click on "create this news Item"'  i had another problem:
    the title of my new "News Item" has become invisible in all other parties who claim the news Information! see TitleNoMoreVisible.png and TitleNoMoreVisible1.png.

    I think that the reason of this problem that i have to set some new property and say to sitefinity that the title is no more Title but MyTitle! but I dont really know how to proceed!

    another question!
    if I make this Modification , wich other consequences i can have In my project!


    thank you 
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    05 Jul 2010
    Link to this post
    Hello Bachar Zeidan,

    Map NewsItemsList.ascx template and modify

    <telerik:ClientTemplate Name="View" runat="server">
                <a href="<%= ((Telerik.News.WebControls.Admin.NewsItemsList)Parent.Parent).ItemViewUrl %>">{#MetaFields.Title#}</a>
            </telerik:ClientTemplate>

    to

    <telerik:ClientTemplate Name="View" runat="server">
                <a href="<%= ((Telerik.News.WebControls.Admin.NewsItemsList)Parent.Parent).ItemViewUrl %>">{#MetaFields.MyTitle#}</a>
            </telerik:ClientTemplate>

    Inside the same template there is a js method DataBindGrid where you need to add your custom key as require fields, so the metakey will be passed as a parameter of the js function and as a result you will have a proper datasource.


    function DataBindGrid(currentPageIndex, pageSize, sortExpressionsAsSQL, filterExpressionsAsSQL) {
        var requiredMetaFields = ['Title', 'Author', 'Source', 'Publication_Date', 'Expiration_Date', 'Title2'];
        var cultureInfoField = document.getElementById('<%= cultureInfoField.ClientID %>');
        Telerik.Cms.Engine.Services.ContentService.GetContentItems(currentPageIndex * pageSize, pageSize,
        "SortOrder ASC", filterExpressionsAsSQL, requiredMetaFields, cultureInfoField.value, dataProviderName, updateGrid, OnFailed);
    }


    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Bachar Zeidan
    Bachar Zeidan avatar
    67 posts
    Registered:
    01 Jul 2010
    05 Jul 2010
    Link to this post

    Hello,
    i all ready made all this changes...but i still have problems.....Undefined.png

    here is my code:

    where Titolo=Mytitle(my MetaKey)

    in NewsItemNew.ascx

    <asp:TextBox ID="Titolo" Text="<%$Resources:TitleInput %>" runat="server" MaxLength="270" ValidationGroup="InsertNews"></asp:TextBox>


    and in NewsItemList

    var requiredMetaFields = ['Title', 'Author', 'Source', 'Publication_Date', 'Expiration_Date', 'Titolo'];


    <a href="<%= ((Telerik.News.WebControls.Admin.NewsItemsList)Parent.Parent).ItemViewUrl %>">{#MetaFields.Titolo#}</a>


    did i forget to set any thing !!?

    thx you
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    05 Jul 2010
    Link to this post
    Hello Bachar Zeidan,

    You need to update the old titles. You get "undefined", because you have not added value for the custom meta key you have created for these items,

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Bachar Zeidan
    Bachar Zeidan avatar
    67 posts
    Registered:
    01 Jul 2010
    05 Jul 2010
    Link to this post
    hello again,
    i tried to updated the old newsTitle but with not success,ok, I can understand  that i don't use anymore the Default Title and it's normal that changing it  I will have  Undefined tittle, but if you see the first line is shown with no title it's something like ----------------------------.

    undifinied.png


    this title was added with my custom key (MyTitle) !!!
    i don't know really what  I can do to resolve this problem


    my web.config is update with my new MetaKey :
    <add key="News.MyTitle" valueType="LongText" visible="True" searchable="True" sortable="True" defaultValue=""/>


    NewsItemNew.ascx"
    <asp:TextBox ID="MyTitle" Text="<%$Resources:TitoloInput %>" runat="server" MaxLength="270" ValidationGroup="InsertNews"></asp:TextBox>    
            
     and especially  NewsItemsList.ascx where I' am continuing to see empty title i changed it like this

    <a href="<%= ((Telerik.News.WebControls.Admin.NewsItemsList)Parent.Parent).ItemViewUrl %>">{#MetaFields.MyTitle#}</a>
    and 

    function

     

     

     

    var requiredMetaFields = ['Title', 'Author', 'Source', 'Publication_Date', 'Expiration_Date','MyTitle'];

     

     

     

     

    all i want to have is the possibility to insert a NewsTitle longer than 256
    thank you very much

     

  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    06 Jul 2010
    Link to this post
    Hello Bachar Zeidan,

    Please attach a zip archive that contains your web.config, NewsItemNew template and NewsItemsList template.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Bachar Zeidan
    Bachar Zeidan avatar
    67 posts
    Registered:
    01 Jul 2010
    06 Jul 2010
    Link to this post

    NewsItemList.ascx



    <%@ Control Language="C#" %>
    <telerik:JsFileLink id="jsLink" runat="server" ScriptType="jQuery"></telerik:JsFileLink>
      
    <div style="display:none;">
        <asp:TextBox ID="FilterExpressionField" runat="server"></asp:TextBox>
    </div>
    <div class="ToolsAll">
        <asp:HyperLink ID="createNewButton" runat="server" cssClass="CmsButLeft new">
            <strong class="CmsButRight light">
                <asp:Literal ID="createNewButtonText" runat="server" />
            </strong>
        </asp:HyperLink>
        <div class="groupEdit">
            <asp:LinkButton ID="groupOperationsLink" runat="server" CssClass="groupEditExpand" OnClientClick="groupOpsVisible = ToggleDiv('groupOperationsDiv'); return false;">
                <asp:Literal ID="litButton1" runat="server" Text="<%$Resources:GroupOperations %>"></asp:Literal>
            </asp:LinkButton>
            <div id="groupOperationsDiv" style="display: none; ">
                <div class="groupActionsPopup">
                    <span class="numberOfSelectedItem"><strong id="numberOfSelectedItems">0</strong><asp:Literal ID="lblSelectedItems" runat="server" Text="<%$Resources:ItemsSelected %>"></asp:Literal></span>
                    <ul>
                        <li>
                            <span id="disabledDeleteGroupGrid" class="disabled"><asp:Literal ID="Literal20" runat="server" Text="<%$Resources:Delete %>"></asp:Literal></span
                            <asp:LinkButton Style="display: none;" ID="btnDeleteGroupGrid" runat="server" OnClientClick="DeleteWithConfirmation(); return false;" Text="<%$Resources:Delete %>"></asp:LinkButton>
                            <asp:Literal ID="lblSelected" runat="server" Text="<%$Resources:Selected %>" />
                        </li>
                    </ul>
                </div>
            </div>
        </div>
          
        <asp:PlaceHolder ID="fullWindow" runat="server">
        <div class="searchItems">
            <div class="searchInputs">
                <asp:Label ID="searchFieldLabel" AssociatedControlID="searchField" runat="server"></asp:Label>
                <asp:DropDownList ID="searchField" runat="server"></asp:DropDownList>
                <asp:Label ID="searchWordsLabel" AssociatedControlID="searchWords" runat="server"></asp:Label>
                <asp:TextBox ID="searchWords" CssClass="searchString" runat="server"></asp:TextBox>
                <asp:Button ID="searchButton" runat="server" CssClass="searchButton"/>
            </div>
        </div>
        </asp:PlaceHolder>
        <div class="clear"><!-- --></div>
    </div>
    <div class="workArea">
        <telerik:MessageControl runat="server" ID="message">
            <ItemTemplate>
                <asp:Label runat="server" ID="messageText"></asp:Label>
            </ItemTemplate>
        </telerik:MessageControl>
        <h2 class="gridTitle">
            <asp:Label ID="Title" Text="<%$Resources:AllContentItems %>" runat="server" />
        </h2>
        <telerik:ClientTemplatesHolder ID="GridTemplates" runat="server">
            <telerik:ClientTemplate Name="Edit" runat="server">
                <a href="<%= ((Telerik.News.WebControls.Admin.NewsItemsList)Parent.Parent).ItemEditUrl %>"><asp:Literal ID="Literal1" Text="<%$ Resources:Edit %>" runat="server" /></a>
            </telerik:ClientTemplate>
            <telerik:ClientTemplate Name="Delete" runat="server">
                <a href="javascript:if(confirm('<%= GetLocalResourceObject("AreYouSure_Delete") %>')) DeleteContent('{#ID#}')"><asp:Literal ID="Literal6" Text="<%$ Resources:Delete %>" runat="server" /></a>
            </telerik:ClientTemplate>
            <telerik:ClientTemplate Name="View" runat="server">
                <a href="<%= ((Telerik.News.WebControls.Admin.NewsItemsList)Parent.Parent).ItemViewUrl %>">{#MetaFields.MyTitle#}</a>
            </telerik:ClientTemplate>   
            <telerik:ClientTemplate Name="Author" runat="server">
                {#MetaFields.Author#}
            </telerik:ClientTemplate>
            <telerik:ClientTemplate Name="Source" runat="server">
                {#MetaFields.Source#}
            </telerik:ClientTemplate>
            <telerik:ClientTemplate Name="PublicationDate" runat="server">
                {#MetaFields.Publication_Date#}
            </telerik:ClientTemplate>
              
            <telerik:ClientTemplate Name="ExpirationDate" runat="server">
                {#MetaFields.Expiration_Date#}
            </telerik:ClientTemplate>
          
            <telerik:ClientTemplate Name="Status" runat="server">
                {#Status#}
            </telerik:ClientTemplate>
        </telerik:ClientTemplatesHolder>
        <div id="gridPlaceholder">
        <telerik:RadGrid ID="ItemsGrid" runat="server" AutoGenerateColumns="false" AllowSorting="true" AllowPaging="true" PageSize="50" EnableViewState="false" Skin="SitefinityItems"
         EnableEmbeddedSkins="false" AllowMultiRowSelection="true">
            <MasterTableView AllowMultiColumnSorting="false" CssClass="listItems listItemsBindOnClient" Width="98%">
                <Columns>
                    <telerik:GridTemplateColumn ItemStyle-CssClass="gridActions edit" UniqueName="Edit">
                    </telerik:GridTemplateColumn>
                    <telerik:GridTemplateColumn 
                        UniqueName="Delete" ItemStyle-CssClass="gridActions delete">
                    </telerik:GridTemplateColumn>
                    <telerik:GridClientSelectColumn UniqueName="CheckBoxColumn" HeaderStyle-CssClass="check" ItemStyle-CssClass="check">
                    </telerik:GridClientSelectColumn>
                    <telerik:GridTemplateColumn 
                        UniqueName="View"  
                        SortExpression="Title" 
                        ItemStyle-CssClass="gridContentTitle"
                        HeaderText="<%$ Resources:title%>">
                    </telerik:GridTemplateColumn>            
                <telerik:GridTemplateColumn 
                        UniqueName="Author"  
                        SortExpression="Author" 
                        HeaderText="<%$ Resources:Author %>">
                    </telerik:GridTemplateColumn>
                    <telerik:GridTemplateColumn 
                        UniqueName="Source"  
                        SortExpression="Source"
                        HeaderText="<%$ Resources:Source %>">
                    </telerik:GridTemplateColumn>
                    <telerik:GridTemplateColumn
                        UniqueName="PublicationDate"
                        SortExpression="Publication_Date"
                        HeaderText='<%$Resources:PublicationDate %>'>
                    </telerik:GridTemplateColumn>
                    <telerik:GridTemplateColumn
                        UniqueName="ExpirationDate"
                        SortExpression="Expiration_Date"
                        HeaderText='<%$Resources:ExpirationDate %>'>
                    </telerik:GridTemplateColumn>
                    <telerik:GridTemplateColumn 
                        UniqueName="Status"  
                        HeaderText="<%$ Resources:Status %>">
                    </telerik:GridTemplateColumn>
                </Columns>
            </MasterTableView>
            <PagerStyle Mode="NumericPages" />
            <ClientSettings>
                <ClientEvents OnCommand="RadGrid_Command" OnRowDataBound="RadGrid_RowDataBound" OnRowSelected="RadGrid_RowSelected" OnRowDeselected="RadGrid_RowDeselected" />
                <Selecting AllowRowSelect="true" />
            </ClientSettings>
        </telerik:RadGrid>
        </div>
        <asp:HiddenField ID="cultureInfoField" runat="server" />
         <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
            <script type="text/javascript">
    <!--
    var dataProviderName = "<%= ((Telerik.News.WebControls.Admin.NewsItemsList)Parent.Parent).ProviderName %>";
    var gridTemplates = ClientTemplates.GetSet("<%= GridTemplates.ClientID %>");
    var allowDelete = "<%= ((Telerik.News.WebControls.Admin.NewsItemsList)Parent.Parent).AllowDelete %>";
    var allowModify = "<%= ((Telerik.News.WebControls.Admin.NewsItemsList)Parent.Parent).AllowModify %>";
    var groupOpsVisible = false;
      
    function loadData() {
        var tableView = $find('<%= ItemsGrid.ClientID %>').get_masterTableView();
        var currentPageIndex = tableView.get_currentPageIndex();
        var pageSize = tableView.get_pageSize();
        var filterExpressionField = document.getElementById('<%= FilterExpressionField.ClientID %>');
        DataBindGrid(currentPageIndex, pageSize, "", filterExpressionField.value);
    }
    Sys.Application.add_load(loadData);
    function DataBindGrid(currentPageIndex, pageSize, sortExpressionsAsSQL, filterExpressionsAsSQL) {
        var requiredMetaFields = ['Title','MyTitle', 'Author', 'Source', 'Publication_Date', 'Expiration_Date'];
        var cultureInfoField = document.getElementById('<%= cultureInfoField.ClientID %>');
        Telerik.Cms.Engine.Services.ContentService.GetContentItems(currentPageIndex * pageSize, pageSize,
        sortExpressionsAsSQL, filterExpressionsAsSQL, requiredMetaFields, cultureInfoField.value, dataProviderName, updateGrid, OnFailed);
    }
    function RadGrid_Command(sender, args) {
        args.set_cancel(true);
        var currentPageIndex = sender.get_masterTableView().get_currentPageIndex();
        var pageSize = sender.get_masterTableView().get_pageSize();
        var sortExpressions = sender.get_masterTableView().get_sortExpressions();
        var filterExpressions = sender.get_masterTableView().get_filterExpressions();
        if (sortExpressions.length > 0 && filterExpressions.length > 0 && currentPageIndex > 0) {
            sender.get_masterTableView().set_currentPageIndex(0);
        }
        var filterExpressionField = document.getElementById('<%= FilterExpressionField.ClientID %>');
        var sortExpressionsAsSQL = sortExpressions.toString();
        var filterExpressionsAsSQL = filterExpressions.toString();
        if(filterExpressionsAsSQL.length == 0)
            filterExpressionsAsSQL = filterExpressionField.value;
        DataBindGrid(currentPageIndex, pageSize, sortExpressionsAsSQL, filterExpressionsAsSQL);
    }
    function updateGrid(result) {
        var tableView = $find("<%= ItemsGrid.ClientID %>").get_masterTableView();
        tableView.set_virtualItemCount(result.Count);
        tableView.set_dataSource(result.Data);
        tableView.dataBind();
          
        var emptyWindow = document.getElementById('empty');
        var gridPlaceholder = document.getElementById('gridPlaceholder');
        if(result.Count > 0)
        {
            emptyWindow.style.display = 'none';
            gridPlaceholder.style.display = '';
        }
        else
        {
            emptyWindow.style.display = '';
            gridPlaceholder.style.display = 'none';
        }
    }
    function RadGrid_RowSelected(sender, args) {
      
        var dataItem = args.get_gridDataItem();
        var insertNewID = true;
        var currentCount = parseInt(document.getElementById("numberOfSelectedItems").innerHTML);
        if (dataItem._dataItem != null) {
            for (var i = 0; i < selectedContentIDs.length; i++) {
                if (selectedContentIDs[i] == dataItem._dataItem.ID) {
                    insertNewID = false;
                }
            }
            if (insertNewID) {
                selectedContentIDs[selectedContentIDs.length] = dataItem._dataItem.ID;
                currentCount++;
            }
        }
        document.getElementById("numberOfSelectedItems").innerHTML = currentCount.toString();
        EnableOrDisableGroupOperationButtons(currentCount != 0);
    }
    function RadGrid_RowDeselected(sender, args) {
        var dataItem = args.get_gridDataItem();
        var currentCount = parseInt(document.getElementById("numberOfSelectedItems").innerHTML);
        if (dataItem._dataItem != null) {
            for (var i = 0; i < selectedContentIDs.length; i++) {
                if (selectedContentIDs[i] == dataItem._dataItem.ID) {
                    delete selectedContentIDs[i];
                    currentCount--;
                }
            }
        }
        document.getElementById("numberOfSelectedItems").innerHTML = currentCount.toString();
        EnableOrDisableGroupOperationButtons(currentCount != 0);
    }
    function RadGrid_RowDataBound(sender, args) {
        var dataItem = args.get_dataItem();
        var item = args.get_item();
        var columns = item.get_owner().get_columns();
        var cells = args.get_item().get_element().cells;
          
        if(dataItem['IsLocked'] == true) {
            args.get_item().get_element().className = "cms_locked";
        }
        else {
            args.get_item().get_element().className = "";
        }
          
        for (var i = 0; i < cells.length; i++) {
            var cell = cells[i];
            var elementName = columns[i].get_element().UniqueName;
            var html = gridTemplates.Replace(elementName, dataItem);
            if (html != null)
                if(html != "") {
                    var date = null;
                      
                    if(elementName == 'PublicationDate') {
                        date = new Date(dataItem['MetaFields'].Publication_Date);
                    }
                    else if (elementName == 'ExpirationDate') {
                        date = new Date(dataItem['MetaFields'].Expiration_Date);
                    }
                      
                    if(date && !isNaN(date)) {
                        html = date._toFormattedString('dd MMM yyyy, hh:mm tt', Sys.CultureInfo.CurrentCulture);
                    }
                      
                    cell.innerHTML = html;
                }
                else {
                    cell.innerHTML = " ";
                }
        }
          
        // disable delete if needed
        if(dataItem['IsDisabled'] == true || (allowDelete.toLowerCase() == 'false' && dataItem['IsOwner'] == false)) {
            $(args.get_item().get_element()).children(".delete").children("a").removeAttr("href");
            $(args.get_item().get_element()).children(".deleteDis").children("a").removeAttr("href");
            $(args.get_item().get_element()).children(".delete").addClass("deleteDis");
            $(args.get_item().get_element()).children(".delete").removeClass("delete");
        }
        else {
            $(args.get_item().get_element()).children(".deleteDis").addClass("delete");
            $(args.get_item().get_element()).children(".deleteDis").removeClass("deleteDis");
        }
          
        // disabled edit if needed
        if (dataItem['IsDisabled'] == true || (allowModify.toLowerCase() == 'false' && dataItem['IsOwner'] == false)) {
            $(args.get_item().get_element()).children(".edit").children("a").removeAttr("href");
            $(args.get_item().get_element()).children(".editDis").children("a").removeAttr("href");
            $(args.get_item().get_element()).children(".edit").addClass("editDis");
            $(args.get_item().get_element()).children(".edit").removeClass("edit");
        }
        else {
            $(args.get_item().get_element()).children(".editDis").addClass("edit");
            $(args.get_item().get_element()).children(".editDis").removeClass("editDis");
        }
    }
    function OnFailed(error) {
        alert("Stack Trace: " + error.get_stackTrace() + "/r/n" +
            "Error: " + error.get_message() + "/r/n" +
            "Status Code: " + error.get_statusCode() + "/r/n" +
            "Exception Type: " + error.get_exceptionType() + "/r/n" +
            "Timed Out: " + error.get_timedOut());
    }
    function DeleteContent(contentId) {
        Telerik.Cms.Engine.Services.ContentService.DeleteContent(contentId, dataProviderName, DeleteContent_Success, OnFailed);
    }
    function DeleteContent_Success(result) {
        var tableView = $find('<%= ItemsGrid.ClientID %>').get_masterTableView();
        var currentPageIndex = tableView.get_currentPageIndex();
        var pageSize = tableView.get_pageSize();
        var sortExpression = tableView.get_sortExpressions();
        var filterExpressionField = document.getElementById('<%= FilterExpressionField.ClientID %>');
        var sortExpressionAsSQL = sortExpression.toString();
        var filterExpressionAsSQL = filterExpressionField.value.toString();
        tableView.clearSelectedItems();
        DataBindGrid(currentPageIndex, pageSize, sortExpressionAsSQL, filterExpressionAsSQL);
    }
    var selectedContentIDs = [];
      
    function DeleteSelectedContent() {
        var guidsToPass = [];
        for (var i = 0; i < selectedContentIDs.length; i++) {
            if (selectedContentIDs[i] != undefined) {
                guidsToPass[guidsToPass.length] = selectedContentIDs[i];
            }
        }
        Telerik.Cms.Engine.Services.ContentService.GroupDeleteContent(guidsToPass, dataProviderName, DeleteContent_Success, OnFailed);
        ToggleDiv('groupOperationsDiv');
    }
      
    function DeleteWithConfirmation() {
        if (confirm('<%= GetLocalResourceObject("AreYouSure") %>')) DeleteSelectedContent();
    }
      
    function EnableOrDisableGroupOperationButtons(enable) {
        if (enable) {
            $("#<%= btnDeleteGroupGrid.ClientID %>").show();
            $("#disabledDeleteGroupGrid").hide();
        }
        else {
            $("#<%= btnDeleteGroupGrid.ClientID %>").hide();
            $("#disabledDeleteGroupGrid").show();
        }
    }
      
    function ToggleDiv(divID) {
        var div = document.getElementById(divID);
        var result = div.style.display == "block";
        if (div.style.display != "none") {
            div.style.display = "none";
        }
        else {
            div.style.display = "block";
        }
        return result;
    }
      
    document.onclick = check;
    function check(e) {
        var target = (e && e.target) || (event && event.srcElement);
        var obj = document.getElementById('groupOperationsDiv');
        var obj2 = document.getElementById('<%= groupOperationsLink.ClientID %>');
        if (groupOpsVisible) {
            checkParent(target) ? obj.style.display = 'none' : null;
        }
        else {
            checkParent(target) ? obj.style.display = 'none' : null;
            if (target == obj2) {
                obj.style.display = 'block';
            }
        }
    }
    function checkParent(t) {
        while (t.parentNode) {
            if (t == document.getElementById('groupOperationsDiv')) {
                return false;
            }
            t = t.parentNode;
        }
        return true;
    }
      
    -->
            </script>
        </telerik:RadCodeBlock>
        <asp:PlaceHolder ID="emptyWindow" runat="server">
            <div id="empty">
                <h2 class="gridTitle"><telerik:SfLiteral ID="Literal2" runat="server" Text="<%$Resources:NoNews %>"></telerik:SfLiteral></h2>
                <p><asp:HyperLink ID="createNewEmpty" runat="server" cssClass="mainLink" ToolTip="<%$Resources:CreateYourFirstNewsTooltip %>"><strong><telerik:SfLiteral ID="Literal3" runat="server" Text="<%$Resources:CreateYourFirstNews %>"></telerik:SfLiteral></strong></asp:HyperLink><br />
                <telerik:SfLiteral ID="Literal4" runat="server" Text="<%$Resources:Or %>"></telerik:SfLiteral>, <a href="http://www.sitefinity.com/sf3/faq.html#gc" target="_blank" title="Opens in new browser window"><telerik:SfLiteral ID="Literal5" runat="server" Text="<%$Resources:CheckNewsFAQ %>"></telerik:SfLiteral></a></p>       
            </div>
        </asp:PlaceHolder>
    </div>



    NewsItemNew.ascx


    <%@ Control Language="C#" AutoEventWireup="true" CodeFile="NewsItemNew.ascx.cs" Inherits="Sitefinity_Admin_ControlTemplates_News_prova" %>
      
    <%@ Register TagPrefix="sf" Namespace="Telerik.Cms.Engine.WebControls" Assembly="Telerik.Cms.Engine" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Cms.Web.UI" Assembly="Telerik.Cms.Web.UI" %>
    <%@ Register TagPrefix="sf" Namespace="Telerik.Cms.Engine.WebControls.Admin" Assembly="Telerik.Cms.Engine" %>
    <%@ Register TagPrefix="sfLib" Namespace="Telerik.Libraries.WebControls" Assembly="Telerik.Libraries" %>
      
    <div class="ToolsAll">
        <div class="backWrapp">
            <asp:HyperLink ID="BackButton1" runat="server" CssClass="actions back" causesvalidation="false"><asp:Literal ID="Literal1" runat="server" Text="<%$Resources:BackToAllNewsItems %>"></asp:Literal></asp:HyperLink>
        </div>
    </div>
    <div id="divWorkArea" runat="server" class="workArea insert">
        <sf:MessageControl runat="server" ID="message1">
            <ItemTemplate>
                <asp:Label runat="server" ID="messageText"></asp:Label>
            </ItemTemplate>
        </sf:MessageControl>
        <div class="mainForm">
        <p class="mand">* <asp:Literal ID="Literal4" runat="server" Text="<%$Resources:MandatoryFields %>"></asp:Literal></p
        <h3><asp:Label ID="Label1" AssociatedControlID="MyTitle" runat="server"><asp:Literal ID="Literal2" runat="server" Text="<%$Resources:Title %>"></asp:Literal> * <em id="TitleLabel" runat="server"></em></asp:Label></h3>
        <fieldset class="set">
            <div class="setIn title">
                <asp:TextBox ID="MyTitle" Text="<%$Resources:TitleInput %>" runat="server" MaxLength="500" ValidationGroup="InsertNews"></asp:TextBox>    
                <asp:RequiredFieldValidator ID="validator1" runat="server" ControlToValidate="MyTitle" Display="Dynamic" EnableViewState="False" CssClass="validMessage" SetFocusOnError="True" ValidationGroup="InsertNews"><strong><asp:Literal ID="Literal5" runat="server" Text="<%$Resources:TitleEmpty %>"></asp:Literal></strong></asp:RequiredFieldValidator>
            </div>
        </fieldset>
        <div class="bottom"><div><!-- --></div></div>                  
        <h3><asp:Literal ID="Literal3" runat="server" Text="<%$Resources:Content %>"></asp:Literal> * <em id="contentEditorLabel" runat="server"></em></h3>                
        <fieldset class="set">                    
                <div class="setIn">
                    <telerik:RadEditor 
                        runat="server" 
                        ID="Editor"
                        ContentAreaCssFile="~/Sitefinity/Admin/Themes/Default/AjaxControlsSkins/Sitefinity/EditorContentArea.css"
                        ToolsFile="~/Sitefinity/Admin/ControlTemplates/EditorToolsFile.xml"                   
                        Skin="WebBlue"                     
                        NewLineBr="False"
                        Width="95%"
                        ContentFilters="EncodeScripts,FixUlBoldItalic,FixEnclosingP,IECleanAnchors,MozEmStrong,ConvertFontToSpan,ConvertToXhtml,IndentHTMLContent"
                        <ImageManager ViewPaths="~/Images" UploadPaths="~/Images" DeletePaths="~/Images" />
                        <MediaManager ViewPaths="~/Files" UploadPaths="~/Files" DeletePaths="~/Files" />
                        <FlashManager ViewPaths="~/Files" UploadPaths="~/Files" DeletePaths="~/Files" />
                        <DocumentManager ViewPaths="~/Files" UploadPaths="~/Files" DeletePaths="~/Files" />
                        <CssFiles>
                            <telerik:EditorCssFile Value="~/Sitefinity/Admin/Themes/Default/AjaxControlsSkins/Sitefinity/EditorCssFile.css" />
                        </CssFiles>
                    </telerik:RadEditor>
                    <script type="text/javascript">
      
                    Telerik.Web.UI.Editor.CommandList["LibraryImageManager"] = function(commandName, editor, args)
                    {
                       var editorArgs = editor.getSelectedElement();
                       if (!editorArgs.nodeName || typeof(editorArgs.nodeName) == "undefined" || editorArgs.nodeName != "A")
                            editorArgs = editor.getSelection();
                         
                       var myCallbackFunction = function(sender, args)
                       {
                            if (typeof(editorArgs.nodeName) != "undefined" && editorArgs.nodeName == "IMG")
                                args.parentNode.replaceChild(editorArgs, args);
                            else
                            {
                                var cloned = args.cloneNode(true);
                                var div = args.ownerDocument.createElement("DIV");
                                div.appendChild(cloned);
                                editorArgs.pasteHtml(div.innerHTML);
                            }
                       }
                       editor.showExternalDialog(
                       '<%= ((Telerik.Cms.Web.CmsPageBase)Page).ResolveCmsUrl("~/Sitefinity/UserControls/Dialogs/ImageEditorDialog.aspx") %>',
                       editorArgs, 
                       750, 
                       600, 
                       myCallbackFunction, 
                       null, 
                       'ImageLibraryDialog', 
                       true, 
                       Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move, 
                       false, 
                       true)
                    };
      
                    Telerik.Web.UI.Editor.CommandList["LibraryDocumentManager"] = function(commandName, editor, args)
                    {
                       var editorArgs = editor.getSelectedElement();
                       if (!editorArgs.nodeName || typeof(editorArgs.nodeName) == "undefined" || editorArgs.nodeName != "A")
                            editorArgs = editor.getSelection();
                         
                       var myCallbackFunction = function(sender, args)
                       {
                            if (typeof(editorArgs.nodeName) != "undefined" && editorArgs.nodeName == "A")
                                args.parentNode.replaceChild(editorArgs, args);
                            else
                            {
                                var cloned = args.cloneNode(true);
                                var div = args.ownerDocument.createElement("DIV");
                                div.appendChild(cloned);
                                editorArgs.pasteHtml(div.innerHTML);
                            }
                       }
                       editor.showExternalDialog(
                       '<%= ((Telerik.Cms.Web.CmsPageBase)Page).ResolveCmsUrl("~/Sitefinity/UserControls/Dialogs/DocumentEditorDialog.aspx") %>',
                       editorArgs, 
                       750, 
                       600, 
                       myCallbackFunction, 
                       null, 
                       'ImageLibraryDialog', 
                       false, 
                       Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move, 
                       false, 
                       true)
                    };
      
                    Telerik.Web.UI.Editor.CommandList["LinkManager"] = function(commandName, editor, args)
                    {
                       var editorArgs = editor.getSelectedElement();
                       if (!editorArgs.nodeName || typeof(editorArgs.nodeName) == "undefined" || editorArgs.nodeName != "A")
                       {                                                                   
                            var sel = editor.getSelection();  
                            editorArgs = sel;
                            editorArgs.Html = sel.getHtml();
                            editorArgs.Text = sel.getText();                                    
                       }
                         
                       var myCallbackFunction = function(sender, args)
                       {
                            if (typeof(editorArgs.nodeName) != "undefined" && editorArgs.nodeName == "A")
                                args.parentNode.replaceChild(editorArgs, args);
                            else
                            {
                                var cloned = args.cloneNode(true);
                                var div = args.ownerDocument.createElement("DIV");
                                div.appendChild(cloned);
                                editorArgs.pasteHtml(div.innerHTML);
                            }
                       }
                       editor.showExternalDialog(
                       '<%= ((Telerik.Cms.Web.CmsPageBase)Page).ResolveCmsUrl("~/Sitefinity/UserControls/Dialogs/LinksDialog.aspx") %>',
                       editorArgs, 
                       750, 
                       600, 
                       myCallbackFunction, 
                       null, 
                       'ImageLibraryDialog', 
                       false, 
                       Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move, 
                       false, 
                       true)
                    };
      
                    Telerik.Web.UI.Editor.CommandList["SetLinkProperties"] = function(commandName, editor, args)
                    {
                       var editorArgs = editor.getSelectedElement();
                       if (!editorArgs.nodeName || typeof(editorArgs.nodeName) == "undefined" || editorArgs.nodeName != "A")
                            editorArgs = editor.getSelection();
                         
                       var myCallbackFunction = function(sender, args)
                       {
                            if (typeof(editorArgs.nodeName) != "undefined" && editorArgs.nodeName == "A")
                                args.parentNode.replaceChild(editorArgs, args);
                            else
                            {
                                var cloned = args.cloneNode(true);
                                var div = args.ownerDocument.createElement("DIV");
                                div.appendChild(cloned);
                                editorArgs.pasteHtml(div.innerHTML);
                            }
                       }
                       editor.showExternalDialog(
                       '<%= ((Telerik.Cms.Web.CmsPageBase)Page).ResolveCmsUrl("~/Sitefinity/UserControls/Dialogs/LinksDialog.aspx") %>',
                       editorArgs, 
                       750, 
                       600, 
                       myCallbackFunction, 
                       null, 
                       'ImageLibraryDialog', 
                       false, 
                       Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Move, 
                       false, 
                       true)
                    };
                    var oldFunction = Telerik.Web.UI.Editor.CommandList["ToggleScreenMode"]; //save the original Paste function
      
                    Telerik.Web.UI.Editor.CommandList["ToggleScreenMode"] = function(commandName, editor, args)
                    {
                        oldFunction(commandName, editor, args);
                        var bd = document.getElementsByTagName("body")[0];
                          
                        if(/fullScreenMode/.test(bd.className)) {
                            var rep = bd.className.match(' '+'fullScreenMode')?' '+'fullScreenMode':'fullScreenMode';
                            bd.className=bd.className.replace(rep,'');
      
                        } else {
                            bd.className += bd.className?' '+'fullScreenMode':'fullScreenMode';
                        }
                    };
                      
                    // automated tests helper function
                    function InsertTextArea()
                    
                        var editor = $find('<%=Editor.ClientID%>');
                        editor.set_html('<textarea id="myTableToFind" style="overflow:hidden; height: 300px; width: 500px;" border="none"></textarea>'); 
                    }
                      
                    </script>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Editor" Display="Dynamic" EnableViewState="False" CssClass="validMessage" SetFocusOnError="True" ValidationGroup="InsertNews"><strong><asp:Literal ID="Literal6" runat="server" Text="<%$Resources:ContentEmpty %>"></asp:Literal></strong></asp:RequiredFieldValidator>                            
                </div>
        </fieldset>
        <div class="bottom"><div><!-- --></div></div>
        <sf:ContentMetaFields ID="MetaFields" runat="server">
            <ItemTemplate>
                <h3><asp:Literal ID="Literal7" runat="server" Text="<%$Resources:Category %>"></asp:Literal></h3>
                 <fieldset class="set">
                    <ol class="setIn">
                        <li class="catSel clearfix">
                                <asp:Label ID="Label8" AssociatedControlID="Category" runat="server">
                                    <asp:Literal ID="Literal1" runat="server" Text="<%$Resources:Category %>"></asp:Literal>
                                <em id="Em1" runat="server"></em></asp:Label>
                                <sf:ContentCategoriesField ID="Category" runat="server" />
                         </li>                                                 
                        </ol>
                    </fieldset>
                    <div class="bottom"><div><!-- --></div></div>
                    <h3>
                        <asp:Literal ID="Literal3" runat="server" Text="<%$Resources:Tags %>"></asp:Literal></h3>
                    <fieldset class="set">
                        <ol class="setIn">
                            <li class="tags">
                                <sf:ContentTagEditor ID="tagsControl" runat="server" />
                            </li>
                        </ol>
                    </fieldset>
                    <div class="bottom">
                        <div>
                            <!-- -->
                        </div>
                    </div>
                    <h3><asp:Literal ID="Literal8" runat="server" Text="<%$Resources:AdditionalInfo %>"></asp:Literal></h3>
                    <fieldset class="set">
                      <ol class="setIn">
                        <li>
                            <asp:Label ID="Label4" AssociatedControlID="Summary" runat="server"><asp:Literal ID="Literal6" runat="server" Text="<%$Resources:Summary %>"></asp:Literal> <em id="SummaryLabel" runat="server"></em></asp:Label>
                            <asp:TextBox ID="Summary" TextMode="MultiLine" Text="" runat="server"></asp:TextBox>
                            <p class="example"><asp:Literal ID="Literal9" runat="server" Text="<%$Resources:SummaryNote %>"></asp:Literal></p>
                        </li
                         <li>
                            <asp:Label ID="Label3" AssociatedControlID="Author" runat="server"><asp:Literal ID="Literal10" runat="server" Text="<%$Resources:Author %>"></asp:Literal> <em id="AuthorLabel" runat="server"></em></asp:Label>
                            <asp:TextBox ID="Author" Text="<%$Resources:AuthorInput %>" runat="server" MaxLength="250"></asp:TextBox>
                            <p class="example"><asp:Literal ID="Literal11" runat="server" Text="<%$Resources:AuthorNote %>"></asp:Literal></p>
                        </li>
                         <li>
                            <asp:Label ID="Label5" AssociatedControlID="Source" runat="server"><asp:Literal ID="Literal12" runat="server" Text="<%$Resources:Source %>"></asp:Literal> <em id="SourceLabel" runat="server"></em></asp:Label>
                            <asp:TextBox ID="Source" Text="" runat="server" MaxLength="250"></asp:TextBox>
                            <p class="example"><asp:Literal ID="Literal13" runat="server" Text="<%$Resources:SourceNote %>"></asp:Literal></p>
                        </li>
                        <li class="selector">
                            <asp:Label ID="Label2" AssociatedControlID="Thumbnail" runat="server"><asp:Literal ID="Literal14" runat="server" Text="<%$Resources:Thumbnail %>"></asp:Literal> <em id="ThumbnailLabel" runat="server"></em></asp:Label>
                            <asp:TextBox ID="Thumbnail" Text="" runat="server" MaxLength="250"></asp:TextBox>
                            <sfLib:ButtonSelector ID="ButtonSelector1" WindowNavigateUrl="~/Sitefinity/UserControls/Dialogs/ImageEditorDialog.aspx" ItemTemplatePath="~/Sitefinity/Admin/ControlTemplates/News/Dialogs/ButtonSelector.ascx" AssociatedControls="Thumbnail" runat="server" cssclass="pickerWrapper" ButtonText="<%$Resources:Select%>" />
                            <p class="example">
                                <asp:Literal ID="Literal15" runat="server" Text="<%$Resources:ThumbnailNote %>"></asp:Literal>
                            </p>
                        </li>
                      </ol>  
                    </fieldset>
                    <div class="bottom"><div><!-- --></div></div>
                      
                      
                      
                      
                    <h3><asp:Literal ID="Literal16" runat="server" Text="<%$Resources:Schedule %>"></asp:Literal></h3>
                    <fieldset class="set dates">
                        <ol class="setIn">                               
                          
                         <li>
                            <asp:Label ID="Label6" AssociatedControlID="Publication_Date" runat="server"><asp:Literal ID="Literal17" runat="server" Text="<%$Resources:PublicationDate %>"></asp:Literal> <em id="Publication_DateLabel" runat="server"></em></asp:Label>                                    
                            <telerik:RadDateTimePicker ID="Publication_Date" runat="server"></telerik:RadDateTimePicker>
                        </li>
                        <li>
                            <asp:Label ID="Label7" AssociatedControlID="Expiration_Date" runat="server"><asp:Literal ID="Literal18" runat="server" Text="<%$Resources:ExpirationDate %>"></asp:Literal> <em id="Expiration_DateLabel" runat="server"></em></asp:Label>                                    
                            <telerik:RadDateTimePicker ID="Expiration_Date" runat="server"></telerik:RadDateTimePicker>
                        </li>                                 
                    </ol>
                </fieldset>
            </ItemTemplate>
        </sf:ContentMetaFields>
        <div class="bottom"><div><!-- --></div></div>
        <p class="button_area">
            <asp:LinkButton ID="saveButton1" runat="server" CssClass="CmsButLeft okdark" 
                ValidationGroup="InsertNews" Text="<%$Resources:CreateThisNewsItem %>" 
                onclick="saveButton1_Click" />
            <asp:Label ID="Literal20" runat="server" Text="<%$Resources:Or %>" />
            <asp:LinkButton ID="cancelButton1" Text="<%$Resources:Cancel %>" runat="server" CssClass="cmscclcmd" causesvalidation="false" />
        </p>
        </div>
        <div class="info" id="divFaq" runat="server">
        <div class="infoBottom">
            <h3><asp:Literal ID="Literal22" runat="server" Text="<%$Resources:NewsFAQ %>"></asp:Literal></h3>
            <asp:Literal ID="Literal23" runat="server" Text="<%$Resources:NewsFAQText %>"></asp:Literal>
            <p class="hideAllFAQs">
                <a href="javascript:void(0)" onclick="javascript:Personalization.hideFaqSection('<%= divFaq.ClientID %>')">Hide FAQs everywhere</a>
            </p>
            </div>
        </div>
        <div class="clear"><!-- --></div>
    </div>



    and my web.config

    <?xml version="1.0"?>
    <configuration>
        <configSections>
            <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                    <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
                        <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
                        <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                        <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                        <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    </sectionGroup>
                </sectionGroup>
            </sectionGroup>
            <sectionGroup name="telerik">
                <section name="dataAccess" type="Telerik.DataAccess.Configuration.SectionHandler, Telerik.DataAccess" requirePermission="false"/>
                <section name="framework" type="Telerik.Framework.Configuration.SectionHandler, Telerik.Framework" requirePermission="false"/>
                <section name="localization" type="Telerik.Localization.Configuration.SectionHandler, Telerik.Localization" requirePermission="false"/>
                <section name="blogs" type="Telerik.Blogs.Configuration.SectionHandler, Telerik.Blogs" requirePermission="false"/>
                <section name="news" type="Telerik.News.Configuration.SectionHandler, Telerik.News" requirePermission="false"/>
                <section name="versioning" type="Telerik.Versioning.Configuration.SectionHandler, Telerik.Versioning" requirePermission="false"/>
                <section name="lists" type="Telerik.Lists.Configuration.SectionHandler, Telerik.Lists" requirePermission="false"/>
                <section name="cmsEngine" type="Telerik.Cms.Engine.Configuration.SectionHandler, Telerik.Cms.Engine" requirePermission="false"/>
                <section name="security" type="Telerik.Security.Configuration.SectionHandler, Telerik.Security" requirePermission="false"/>
                <section name="workflow" type="Telerik.Workflow.WorkflowSectionHandler, Telerik.Workflow" requirePermission="false"/>
                <section name="cms" type="Telerik.Cms.Configuration.SectionHandler, Telerik.Cms" requirePermission="false"/>
                <section name="polls" type="Telerik.Polls.PollsSectionHandler, Telerik.Polls" requirePermission="false"/>
                <section name="fileManager" type="Telerik.FileManager.Configuration.SectionHandler, Telerik.FileManager" requirePermission="false"/>
                <section name="forums" type="Telerik.Forums.Configuration.SectionHandler, Telerik.Forums" requirePermission="false"/>
                <section name="rss" type="Telerik.Rss.Configuration.SectionHandler, Telerik.Rss" requirePermission="false"/>
                <section name="search" type="Telerik.Search.Configuration.SectionHandler, Telerik.Search" requirePermission="false"/>
                <section name="personalization" type="Telerik.Personalization.Configuration.SectionHandler, Telerik.Personalization" requirePermission="false"/>
                <section name="libraries" type="Telerik.Libraries.Configuration.SectionHandler, Telerik.Libraries" requirePermission="false"/>
                <section name="events" type="Telerik.Events.Configuration.SectionHandler, Telerik.Events" requirePermission="false"/>
                <section name="notifications" type="Telerik.Notifications.Newsletters.Configuration.SectionHandler, Telerik.Notifications" requirePermission="false"/>
                <section name="spamProtector" type="Telerik.Cms.Engine.SpamProtector.Configuration.SpamProtectorSection, Telerik.Cms.Engine"/>
                <section name="performanceCounter" type="Telerik.Framework.Utilities.HealthMonitoring.Configuration.CountersSection, Telerik.Framework"/>
                <section name="storageSetting" type="Telerik.Libraries.AmazonStorage.StorageSection, Telerik.Libraries" requirePermission="false"/>
                <section name="mediaProvider" type="Telerik.Libraries.MediaProvider.Configuration.MediaProviderSection, Telerik.Libraries" requirePermission="false"/>
                <section name="wiki" type="Telerik.Wiki.Configuration.SectionHandler, Telerik.Wiki" requirePermission="false"/>
            </sectionGroup>
        </configSections>
        <appSettings>
            <add key="ChangePasswordURL" value="ChangePasswordAutomatic.aspx?GUID="/>
            <add key="AttivazioneAccountURL" value="ActivateAccount.aspx?GUID="/>
            <add key="TemplateMailAttivazione" value="R3\Templates\RichiestaAttivazione.txt"/>
            <add key="TemplateMailAttivazioneManuale" value="R3\Templates\RichiestaAttivazioneManuale.txt"/>
            <add key="TemplateCambioPassword" value="R3\Templates\CambioPassword.txt"/>
            <add key="TemplateMailResetPassword" value="R3\Templates\ResetPassword.txt"/>
            <add key="TemplateBloccoUtente" value="R3\Templates\AccountBloccato.txt"/>
            <add key="TemplateCambioEMail" value="R3\Templates\CambioEMail.txt"/>
        <add key="TemplateCambioEMailPassword" value="R3\Templates\CambioEMailPassword.txt"/>
            <add key="TemplateCambioPEC" value="R3\Templates\CambioPEC.txt"/>
        <add key="TemplateMailCertificato" value="R3\Templates\MailCertificato.txt"/>
        <add key="PathFileLog" value="LogErrori.log"/>
            <add key="FileIconsDirectory" value="~/R3/Immagini/"/>
            <add key="FileIconsExtension" value=".gif"/>
            <add key="DestinatariMailAmministrazione" value="bachar.zeidan@ramcube.it"/>
            <add key="DestinatariMailErroriApplicativo" value="bachar.zeidan@ramcube.it"/>
            <add key="ToolName" value="Akadi Sviluppo"/>
            <add key="SeparatoreRigheErrori" value=".vb:riga "/><!--".vb:line "-->
            <add key="SeparatoreParagrafiErrori" value="   in "/><!--"   at "-->
            <add key="MailUfficioCED" value="bachar.zeidan@ramcube.it" />
            <add key="OggettoMailRichiestaAttivazione" value="Registrazione al nuovo Portale Omceomi"/>
            <add key="OggettoMailCambioEMail" value="Registrazione al portale OMCeOMI - cambio e-mail"/>
            <add key="OggettoMailCambioPEC" value="Registrazione al portale OMCeOMI - cambio PEC"/>
            <add key="OggettoMailPasswordRecovery" value="Reimposta la password del nuovo Portale Omceomi"/>
            <add key="NomeIndiceDocumenti" value="Documenti"/>
        <add key="PercorsoTemplateCertificato" value="R3\Templates\stampedoc\Certificato.doc"/>
            <add key="TemplateMailCertificato" value="R3\Templates\MailCertificato.txt"/>
      
        <!-- sincronizzazione con sistema IAM -->
        <add key="FtpReplica" value="ftp://85.94.194.75/"/>
        <add key="PercorsoCartellaImportazioneDati" value="Anagrafiche_AKADI/"/>
        <add key="PercorsoCartellaEsportazioneDati" value="IndirizziMail_AKADI"/>
        <add key="PercorsoCartellaTemporaneaImport" value="C:\sites\akadi\temp\Import"/>
        <add key="PercorsoCartellaTemporaneaExport" value="C:\sites\akadi\temp\Export"/>
        <add key="FtpUser" value="r3ftpguest"/>
        <add key="FtpPassword" value="9qHQ84aC"/>
        <add key="ChiaveControlloAzione" value="azionelegittima"/>
        <!-- sincronizzazione con sistema IAM -->
          
        <!-- sincronizzazione dati per NewsLetter -->
        <add key="GruppoTuttiMail" value="Tutti Mail"/>
        <add key="GruppoMediciMail" value="Medici Chirurghi Mail"/>
        <add key="GruppoOdontoiatriMail" value="Odontoiatri Mail"/>
        <add key="GruppoTuttiPEC" value="Tutti PEC"/>
        <add key="GruppoMediciPEC" value="Medici Chirurghi PEC"/>
        <add key="GruppoOdontoiatriPEC" value="Odontoiatri PEC"/>
        <add key="GruppiManuali" value="R3,GruppoTest"/>
        <add key="DimensioneGruppo" value="1000"/>
        <!-- sincronizzazione dati per NewsLetter -->
          
            <!-- Messaggi per controlli personalizzati -->    
            <add key="RichiestaErrata" value="Richiesta non valida."/>
            <add key="RichiestaAttivazioneNonDisponibile" value="L'attivazione è già stata effettuata."/>
            <add key="UtenteNonRegistrato" value= "Iscritto non più registrato."/>
            <add key="UtenteGiaAttivo" value="Iscritto già attivo."/>
            <add key="UtenteDisattivato" value="Iscritto disattivato."/>
            <add key="AttivazioneCompletata" value="Attivazione dell'Iscritto {0} completata."/>
            <add key="ImpossibileCompletareRichiesta" value="Impossibile completare la richiesta."/>
            <add key="PasswordGiaImpostata" value="La password e gia stata reimpostata con quella richiesta."/>
            <add key="NonAutenticato" value="Non e' possibile modificare la Password o l' e-mail se non si e' autenticati."/>
            <add key="PasswordErrata" value="La Password non e' corretta."/>
            <add key="UtenteNonSpecificato" value="Iscritto non specificato."/>
            <add key="UtenteNonValido" value="Iscritto non valido."/>
            <add key="UtenteNonTrovato" value="Iscritto non trovato."/>
            <add key="AccountBloccato" value="Iscritto {0} Bloccato."/>
            <add key="ObbligatorietaCampiUserIdMail" value="Bisogna specificare sia il numero di iscrizione che l'indirizzo e-mail."/>
            <add key="NessunUtenteUserIdMail" value="Nessun Iscritto registrato con questo numero di iscrizione e indirizzo e-mail."/>
            <add key="IstruzioniInviate" value="Le istruzioni per reimpostare la password sono state inviate all'indirizzo e-mail: {0}."/>
            <add key="CampiObbligatoriRicercaIscritto" value="Ricerca annullata: impostare almeno un valore per 'nome' e 'cognome'."/>
            <add key="MinimoCaratteriRicercaIscritto" value="Ricerca annullata: il testo ricercato e' troppo corto. Inserire un testo di almeno 3 caratteri."/>
            <add key="IscrittoNonTrovato" value="Nessun nominativo trovato."/>
            <add key="VaiAreaRiservata" value="Vai all'area riservata"/>
            <add key="VaiAreaPubblica" value="Vai all'area pubblica"/>
            <add key="VaiAreaPubblicaRiservata" value="Vai all'area pubblica | riservata"/>
        <add key="PECNonFornita" value="Per poter richiedere l'emissione della copia del proprio certificato online, è necessario comunicare all'Omceomi il proprio indirizzo di posta elettronica certificata (PEC)."/>
        <add key="RegistrazioneEMailDuplicata" value="L'indirizzo di posta elettronica immesso e' gia' in uso. Immettere un indirizzo di posta elettronica diverso."/>
        <add key="RegistrazioneNumeroIscrizioneDuplicato" value="Il numero di iscrizione risulta già registrato sul portale."/>
            <!-- Messaggi per controlli personalizzati -->
          
          
        <!-- Parametri per invio mail PEC -->
        <add key="From" value="noreply@pec.omceomi.it" />
        <add key="Host" value="sendm.cert.legalmail.it" />
        <add key="UserName" value="HRE07421" />
        <add key="Password" value="WX9WFG2H" />
        <add key="Port" value="465" />
        <!-- Parametri per invio mail PEC -->
          
        </appSettings>
        <runtime>
            <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                <dependentAssembly>
                    <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
                    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
                </dependentAssembly>
                <dependentAssembly>
                    <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
                    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
                </dependentAssembly>
            </assemblyBinding>
        </runtime>
        <connectionStrings>
      
            <!-- database su discountasp  -->
           
              
        </connectionStrings>
        <system.web>
        <machineKey
    validationKey="FFD8FBA61B215B53B911AED8015736AC10AA313C8ED59D3DEA6263D32EAD5481682D550A53C066ACFDD39613762318D310EF10B034BB41ED01CD4E799DDD9692"
    decryptionKey="0166F9AF67E506E00B384AAEFE09097EAD6719B04FB34347C5A96A6A94F60E35"
    validation="SHA1" decryption="AES"
    />
      
      
        <globalization uiCulture="it" culture="it-IT"/>
            <xhtmlConformance mode="Strict"/>
            <!-- Sets the allowed upload file size -->
            <httpRuntime maxRequestLength="51200"/>
            <pages>
                <controls>
                    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                    <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                    <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
                    <add tagPrefix="telerik" namespace="Telerik.Charting" assembly="Telerik.Web.UI"/>
                    <add tagPrefix="telerik" namespace="Telerik.Cms.Web.UI" assembly="Telerik.Cms.Web.UI"/>
                    <add tagPrefix="telerik" namespace="Telerik.Cms.Web.UI" assembly="Telerik.Framework"/>
                </controls>
            </pages>
            <httpHandlers>
                <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
                <add verb="*" path="*.rss" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
                <add verb="*" path="*.rss.ashx" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
                <add verb="*" path="*.sflb" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add verb="*" path="*.sflb.ashx" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add verb="*" path="*.tmb" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add verb="*" path="*.tmb.ashx" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add verb="*" validate="false" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
                <add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
                <add verb="*" validate="false" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI"/>
                <remove verb="*" path="*.asmx"/>
                <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
                <add verb="GET" path="CaptchaImage.axd" type="Telerik.Web.UI.SpamProtection.Captcha.CaptchaImageHandler, Telerik.Cms.Web.UI"/>
                <add verb="POST" path="blogs/metablog.ashx" type="Telerik.Blogs.MetaWeblog.MetaWeblogHandler, Telerik.Blogs"/>
                <add verb="POST" path="trackback.ashx" type="Telerik.Cms.Engine.Trackback.TrackbackHandler, Telerik.Cms.Engine"/>
                <add verb="GET" path="*.s3lb" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
                <add verb="GET" path="*.s3lb.ashx" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
                <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
            </httpHandlers>
            <!--
            <customErrors mode="On" defaultRedirect="~/Error.aspx">
                <error redirect="~/Sitefinity/nopermissions.aspx" statusCode="403"/>
            </customErrors>
            -->
            <customErrors mode="RemoteOnly">
                <error redirect="~/Sitefinity/nopermissions.aspx" statusCode="403"/>
            </customErrors>
            <compilation debug="true">
                <assemblies>
                    <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                    <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                    <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                    <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                    <add assembly="System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies>
            </compilation>
            <roleManager enabled="true" cacheRolesInCookie="true" defaultProvider="Sitefinity">
       <providers>
        <clear />
        <add connectionStringName="DefaultConnection" applicationName="/" name="Sitefinity" type="Telerik.DataAccess.AspnetProviders.TelerikRoleProvider, Telerik.DataAccess" />
       </providers>
      </roleManager>
            <membership defaultProvider="Sitefinity" userIsOnlineTimeWindow="15" hashAlgorithmType="">
                <providers>
                    <clear/>
                    <add name="Sitefinity" connectionStringName="DefaultConnection" type="Telerik.DataAccess.AspnetProviders.TelerikMembershipProvider, Telerik.DataAccess" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" passwordAttemptWindow="10" passwordStrengthRegularExpression="" minRequiredPasswordLength="1" minRequiredNonalphanumericCharacters="0"/>
                </providers>
            </membership>
            <profile defaultProvider="Sitefinity">
                <providers>
                    <clear/>
                    <add name="Sitefinity" connectionStringName="DefaultConnection" applicationName="/" type="Telerik.DataAccess.AspnetProviders.TelerikProfileProvider, Telerik.DataAccess"/>
                </providers>
                <properties>
                    <add name="FirstName"/>
                    <add name="LastName"/>
                    <add name="CodiceFiscale"/>
            <add name="PEC"/>
            <add name="Newsletter" type="System.Boolean" />
            <add name="Telefono"/>
            <add name="Orari"/>
                    <add name="MailSbloccoInviata" type="System.Boolean"/>
            <add name="Note"/>
                </properties>
            </profile>
            <httpModules>
                <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="Cms" type="Telerik.Cms.Web.CmsHttpModule, Telerik.Cms"/>
                <!-- Http Module for extension mappings in Library module.-->
                <!--<add name="LibraryModule" type="Telerik.Libraries.LibraryHttpModule, Telerik.Libraries"/>-->
                <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
            </httpModules>
            <authentication mode="Forms">
                <forms name=".ASPNET" loginUrl="~/default.aspx" protection="All" timeout="1440" path="/"/>
            </authentication>
            <authorization>
                <allow users="?"/>
            </authorization>
            <siteMap defaultProvider="CmsSiteMapProvider" enabled="true">
                <providers>
                    <clear/>
                    <add name="CmsSiteMapProvider" description="Displays Cms Pages" type="Telerik.Cms.Web.CmsSiteMapProvider"/>
                </providers>
            </siteMap>
            <healthMonitoring enabled="true" heartbeatInterval="0">
                <eventMappings>
                    <add name="Simple Web Request Event" type="Telerik.Utilities.SimpleWebRequestEvent,Telerik.Framework"/>
                    <add name="Code Benchmark Event" type="Telerik.Utilities.CodeBenchmarkEvent,Telerik.Framework"/>
                </eventMappings>
                <providers>
                    <add name="Simple Web Event Provider" type="Telerik.Utilities.TextFileWebEventProvider,Telerik.Framework" logFileName="~/App_Data/sitefinity.log"/>
                    <add name="Simple Web Buffered Event Provider" type="Telerik.Utilities.BufferedTextFileWebEventProvider,Telerik.Framework" bufferMode="Notification" logFileName="~/App_Data/sitefinity.log"/>
                    <add name="Code Benchmark Provider" type="Telerik.Utilities.CodeBenchmarkTextFileProvider,Telerik.Framework" enabled="False" logFileName="~/App_Data/performance.log"/>
                </providers>
                <rules>
                    <add name="SitefinityEventHandler" eventName="Simple Web Request Event" provider="Simple Web Event Provider" minInterval="00:00:00" minInstances="1" maxLimit="Infinite"/>
                    <add name="SitefinityErrorHandler" eventName="All Errors" provider="Simple Web Event Provider" minInterval="00:00:00" minInstances="1" maxLimit="Infinite"/>
                    <add name="SitefinityCodeBenchmarkHandler" eventName="Code Benchmark Event" provider="Code Benchmark Provider" minInterval="00:00:00" minInstances="1" maxLimit="Infinite"/>
                </rules>
            </healthMonitoring>
        </system.web>
        <system.web.extensions>
            <scripting>
                <!--The Following lines value should be true in production server-->
                <scriptResourceHandler enableCompression="false" enableCaching="false"/>
            </scripting>
        </system.web.extensions>
        <system.webServer>
            <validation validateIntegratedModeConfiguration="false"/>
            <modules>
                <remove name="ScriptModule"/>
                <remove name="Cms"/>
                <!--<remove name="LibraryModule"/>-->
                <remove name="RadUploadModule"/>
                <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="Cms" type="Telerik.Cms.Web.CmsHttpModule, Telerik.Cms"/>
                <!-- Http Module for extension mappings in Library module.-->
                <!--<add name="LibraryModule" type="Telerik.Libraries.LibraryHttpModule, Telerik.Libraries"/>-->
                <add name="RadUploadModule" preCondition="managedHandler" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
            </modules>
            <handlers>
                <remove name="ScriptResource"/>
                <remove name="WebServiceHandlerFactory-Integrated"/>
                <remove name="ScriptHandlerFactory"/>
                <remove name="ScriptHandlerFactoryAppServices"/>
                <remove name="SitefinityTemplate"/>
                <remove name="SitefinityThumbnail"/>
                <remove name="SitefinityLibrary"/>
                <remove name="RadUploadProgress"/>
                <remove name="SitefinityRSS"/>
                <remove name="Dialog"/>
                <remove name="Spellcheck"/>
                <remove name="ChartImage"/>
                <remove name="CaptchaImage"/>
                <remove name="Metablog"/>
                <remove name="Trackback"/>
                <remove name="AmazonLibrary"/>
                <remove name="AmazonLibraryAdd"/>
                <remove name="SitefinityThumbnailAdd"/>
                <remove name="SitefinityRSSAdd"/>
                <remove name="SitefinityLibraryAdd"/>
                <remove name="Telerik_Web_UI_WebResource_axd"/>
                <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add name="SitefinityTemplate" path="*.template" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32"/>
                <add name="SitefinityThumbnail" path="*.tmb" verb="*" preCondition="integratedMode" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add name="SitefinityThumbnailAdd" path="*.tmb.ashx" verb="*" preCondition="integratedMode" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add name="SitefinityLibrary" path="*.sflb" verb="*" preCondition="integratedMode" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add name="SitefinityLibraryAdd" path="*.sflb.ashx" verb="*" preCondition="integratedMode" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
                <add name="SitefinityRSS" preCondition="integratedMode" verb="*" path="*.rss" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
                <add name="SitefinityRSSAdd" preCondition="integratedMode" verb="*" path="*.rss.ashx" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
                <add name="RadUploadProgress" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
                <add name="Dialog" preCondition="integratedMode" verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
                <add name="Spellcheck" preCondition="integratedMode" verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
                <add name="ChartImage" preCondition="integratedMode" verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI"/>
                <add name="CaptchaImage" preCondition="integratedMode" verb="GET" path="CaptchaImage.axd" type="Telerik.Web.UI.SpamProtection.Captcha.CaptchaImageHandler, Telerik.Cms.Web.UI"/>
                <add name="Metablog" preCondition="integratedMode" verb="POST" path="blogs/metablog.ashx" type="Telerik.Blogs.MetaWeblog.MetaWeblogHandler, Telerik.Blogs"/>
                <add name="Trackback" preCondition="integratedMode" verb="POST" path="trackback.ashx" type="Telerik.Cms.Engine.Trackback.TrackbackHandler, Telerik.Cms.Engine"/>
                <add name="AmazonLibrary" path="*.s3lb" verb="*" preCondition="integratedMode" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
                <add name="AmazonLibraryAdd" path="*.s3lb.ashx" verb="*" preCondition="integratedMode" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
                <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI"/>
            </handlers>
        </system.webServer>
        <system.net>
            <mailSettings>
                <!-- 
                <smtp from="r3.dnobili@email.it">
                    <network host="smtp.email.it" userName="r3.dnobili@email.it" password="Password01"/>
                </smtp>
                -->
      
          <smtp from="nicola.achille@ramcube.it">
            <network host="smtp.ramcube.it" userName="ramc01" password="ramezn" port="25" />
          </smtp>
      
                <!-- 
                <smtp from="noreply@omceomi.com">
                    <network host="monthly.smtp.com" userName="luca.alberti@ramcube.it" password="T73wc8QE" port="2525" />
                </smtp>
                -->
                  
            </mailSettings>
        </system.net>
        <system.codedom>
            <compilers>
                <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
                    <providerOption name="CompilerVersion" value="v3.5"/>
                    <providerOption name="WarnAsError" value="false"/>
                </compiler>
                <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
                    <providerOption name="CompilerVersion" value="v3.5"/>
                    <providerOption name="OptionInfer" value="true"/>
                    <providerOption name="WarnAsError" value="false"/>
                </compiler>
            </compilers>
        </system.codedom>
        <telerik>
            <dataAccess defaultConnection="DefaultConnection">
       <connections>
        <add name="DefaultConnection" driver="Nolics.ORMapper.DataProviders.SqlServer2005Provider" connectionStringName="Sitefinity" />
        <add name="GenericContentConnection" driver="Telerik.Cms.Engine.Data.Providers.GCSql2005Provider, Telerik.Cms.Engine.Data" connectionStringName="Sitefinity" />
       </connections>
      </dataAccess>
            <framework>
                <caching defaultProvider="memoryCache">
                    <providers>
                        <add name="memoryCache" type="Telerik.Caching.MemoryCachingProvider, Telerik.Framework"/>
                        <add name="ASPNET" type="Telerik.Caching.AspNetCachingProvider, Telerik.Framework" duration="120" slidingExpiration="true"/>
                    </providers>
                    <cacheDependency mode="InMemory"/>
                </caching>
                <modules>
                    <add type="Telerik.Cms.Engine.GenericContentModule, Telerik.Cms.Engine"/>
                    <add type="Telerik.News.NewsModule, Telerik.News"/>
                    <add type="Telerik.Blogs.BlogsModule, Telerik.Blogs"/>
                    <add type="Telerik.Lists.ListModule, Telerik.Lists"/>
                    <add type="Telerik.Polls.PollModule, Telerik.Polls"/>
                    <add type="Telerik.Forums.ForumsModule, Telerik.Forums"/>
                    <add type="Telerik.Libraries.LibrariesModule, Telerik.Libraries"/>
                    <add type="Telerik.Events.EventsModule, Telerik.Events"/>
                    <add type="Telerik.Notifications.Newsletters.NewsletterModule, Telerik.Notifications"/>
                    <add type="Telerik.Wiki.WikiModule, Telerik.Wiki"/>
                </modules>
                <services>
                    <add type="Telerik.Search.SearchModule, Telerik.Search"/>
                    <add type="Telerik.Search.Engine.IndexingManager, Telerik.Search"/>
                    <add type="Telerik.Rss.RssModule, Telerik.Rss"/>
                    <add type="Telerik.Rss.RssProviderService, Telerik.Rss"/>
                    <add type="Telerik.Cms.Engine.ContentUrlRewriterService, Telerik.Cms.Engine"/>
                </services>
                <tools>
                    <add type="Telerik.Cms.Tools.SiteExporter, Telerik.Cms"/>
                </tools>
                <assemblies>
                </assemblies>
                <controlDesigners>
                    <add key="System.Web.UI.WebControls.Image" value="Telerik.Libraries.WebControls.ImageEditorDialog, Telerik.Libraries"/>
                    <add key="Telerik.Cms.Engine.WebControls.SitefinityImage" value="Telerik.Libraries.WebControls.ImageEditorDialog, Telerik.Libraries"/>
                </controlDesigners>
                <propertySelectors>
                    <add key="System.Web.UI.Design.ImageUrlEditor" value="Telerik.Libraries.WebControls.ImageSelector, Telerik.Libraries"/>
                </propertySelectors>
                <sitefinityConfiguration defaultProvider="XmlConfigProvider">
                    <providers>
                        <add name="XmlConfigProvider" type="Telerik.Sitefinity.Configuration.XmlConfigProvider, Telerik.Framework"/>
                    </providers>
                </sitefinityConfiguration>
            </framework>
            <notifications defaultProvider="Notifications">
                <providers>
                    <clear/>
                    <add name="Notifications" type="Telerik.Notifications.Data.DefaultProvider, Telerik.Notifications.Data" connectionStringName="DefaultConnection" EnableSsl="false" MergedFields="FirstName;LastName" SendingInterval="1000"/>
                </providers>
            </notifications>
            <search defaultProvider="Search">
                <providers>
                    <clear/>
                    <add name="Search" type="Telerik.Search.Data.DefaultProvider, Telerik.Search.Data" connectionStringName="DefaultConnection" useCompoundIndexFile="true"/>
                </providers>
                <indexClients>
                    <add name="PageIndex" type="Telerik.Cms.Search.PageIndexProvider, Telerik.Cms" settingsControl="Telerik.Cms.Web.UI.PageIndexSettings, Telerik.Cms" viewSettingsControl="Telerik.Cms.Web.UI.SearchViewControl, Telerik.Cms" description="Provides indexing services for CMS Pages."/>
                    <add name="LibraryIndex" type="LibraryIndex.LibraryIndexProvider,App_Code" settingsControl="LibraryIndex.LibraryIndexSettings,App_Code" viewSettingsControl="LibraryIndex.LibraryViewControl,App_Code" description="Provides indexing SQL services for CMS Library."/>
                    <add name="R3NewsIndex" type="R3NewsIndex.R3NewsIndexProvider, App_Code" settingsControl="R3NewsIndex.R3NewsIndexSettings, App_Code" viewSettingsControl="R3NewsIndex.R3NewsViewControl, App_Code" />
                    <!-- <add name="NewsIndex" type="NewsIndex.NewsIndexProvider, App_Code" settingsControl="NewsIndex.NewsIndexSettings, App_Code" viewSettingsControl="NewsIndex.NewsViewControl, App_Code" /> -->
          </indexClients>
                <indexers>
                    <add extensionOrMimeType=".aspx" type="Telerik.Search.Engine.HtmlIndexer"/>
                    <add extensionOrMimeType="text/html" type="Telerik.Search.Engine.HtmlIndexer"/>
                </indexers>
                <searchInputValidation>
                    <add matchPattern="\A[\*\?\~][^\s]*" replacementString="" enabled="true" matchAlert="You can not start your query using wildcards, modify your query and try again.."/>
                    <add matchPattern="[\!\^\(\)\{\}\[\]]" replacementString="" enabled="true" matchAlert="Strange characters should be enclosed between double quotation, modify your query and try again.."/>
                </searchInputValidation>
            </search>
            <localization defaultProvider="Sitefinity" persistenceMode="None" defaultCulture="en" cultures="en, es, fr, de, bg">
                <providers>
                    <clear/>
                    <add name="Sitefinity" type="Telerik.Localization.Data.DefaultProvider, Telerik.Localization.Data" connectionStringName="DefaultConnection"/>
                </providers>
            </localization>
            <lists defaultProvider="Sitefinity">
                <providers>
                    <clear/>
                    <add name="Sitefinity" securityProviderName="" type="Telerik.Lists.Data.DefaultProvider, Telerik.Lists.Data" connectionStringName="DefaultConnection" visible="true"/>
                    <!--
                    <add name="SitefinityXml" securityProviderName="" type="Telerik.Lists.Data.XmlProvider, Telerik.Lists.Data" dataFile="~/App_Data/Lists.xml" visible="true"  />
                    -->
                </providers>
            </lists>
            <forums defaultProvider="Sitefinity">
                <providers>
                    <clear/>
                    <add name="Sitefinity" securityProviderName="" profileProviderName="Sitefinity" type="Telerik.Forums.Data.DefaultProvider, Telerik.Forums.Data" connectionStringName="DefaultConnection" visible="true"/>
                </providers>
            </forums>
            <rss defaultProvider="Sitefinity">
                <feeds>
                </feeds>
                <channelProviders>
                    <clear/>
                    <add name="Page Rss Provider" type="Telerik.Cms.Web.RssChannelProvider, Telerik.Cms" settingsControl="Telerik.Cms.Web.UI.RssSettingsControl, Telerik.Cms" viewSettingsControl="Telerik.Cms.Web.UI.RssViewSettingsControl, Telerik.Cms" description="Provides RSS for CMS pages"/>
                </channelProviders>
                <providers>
                    <clear/>
                    <add name="Sitefinity" type="Telerik.Rss.Data.DefaultServiceProvider, Telerik.Rss.Data" connectionStringName="DefaultConnection"/>
                </providers>
            </rss>
            <versioning defaultProvider="Sitefinity">
                <providers>
                    <clear/>
                    <add name="Sitefinity" type="Telerik.Versioning.Data.DefaultProvider, Telerik.Versioning.Data" connectionStringName="DefaultConnection"/>
                </providers>
            </versioning>
        <security defaultProvider="DefaultSecurityProvider" cmsProvidersName="Sitefinity">
                <roles>
                    <clear/>
                    <add name="Administrators" permission="Unrestricted"/>
                </roles>
                <providers>
                    <clear/>
                    <add name="DefaultSecurityProvider" connectionStringName="DefaultConnection" type="Telerik.Security.Data.DefaultSecurityProvider, Telerik.Security.Data" membershipProvider="Sitefinity" roleProvider="Sitefinity"/>
                </providers>
            </security>
            <cms defaultProvider="Sitefinity" pageExtension=".aspx" disabled="false"
       pageEditorUIMode="Overlay">
       <providers>
        <clear />
        <add connectionStringName="DefaultConnection" allowPageHistory="true"
         allowPageWorkflow="false" cachingProviderName="ASPNET" name="Sitefinity"
         type="Telerik.Cms.Data.DefaultProvider, Telerik.Cms.Data" />
       </providers>
       <toolboxControls>
        <clear />
        <add name="Generic Content" section="Most popular" type="Telerik.Cms.Engine.WebControls.GenericContent, Telerik.Cms.Engine" />
        <add name="Image" section="Most popular" type="Telerik.Cms.Engine.WebControls.SitefinityImage, Telerik.Cms.Engine"
         description="Displays an image on a Web page." />
        <add name="Image gallery" section="Most popular" type="Telerik.Libraries.WebControls.ImageGallery, Telerik.Libraries" />
        <add name="Dynamic Hyper Link" section="Navigation" type="Telerik.Cms.Engine.WebControls.DynamicHyperLink, Telerik.Cms.Engine"
         description="Dynamic Hyper Link lets you declare link for cms pages so that its Navigate URL doesn't not depend on where the page is located in the hierarchy." />
        <add name="Site Menu" section="Navigation" url="~/Sitefinity/UserControls/Navigation35/SiteMenu.ascx" />
        <add name="Site Panelbar" section="Navigation" url="~/Sitefinity/UserControls/Navigation35/SitePanelbar.ascx" />
        <add name="Site Tabstrip" section="Navigation" url="~/Sitefinity/UserControls/Navigation35/SiteTabstrip.ascx" />
        <add name="Site Treeview" section="Navigation" url="~/Sitefinity/UserControls/Navigation35/SiteTreeview.ascx" />
        <add name="Breadcrumb" section="Navigation" type="Telerik.Cms.Web.UI.Breadcrumb, Telerik.Cms.Web.UI" />
        <add name="Hyper Link" section="Navigation" type="Telerik.Cms.Engine.WebControls.SitefinityHyperLink, Telerik.Cms.Engine"
         description="Creates links on a Web page that allow users to move from page to page in your application." />
        <add name="Language Selector" section="Navigation" type="Telerik.Localization.WebControls.LanguageBar,Telerik.Localization"
         description="A control for selecting the current language current version" />
        <add name="RadTabStrip" section="RadControls" type="Telerik.Web.UI.RadTabStrip, Telerik.Web.UI" />
        <add name="RadMenu" section="RadControls" type="Telerik.Web.UI.RadMenu, Telerik.Web.UI" />
        <add name="RadPanelBar" section="RadControls" type="Telerik.Web.UI.RadPanelBar, Telerik.Web.UI" />
        <add name="Image " section="Images & Documents" type="Telerik.Cms.Engine.WebControls.SitefinityImage, Telerik.Cms.Engine"
         description="Displays an image on a Web page." />
        <add name="XML Data Source" section="Data" type="System.Web.UI.WebControls.XmlDataSource, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
         description="Represents an XML data source to data-bound controls." />
        <add name="SiteMapDataSource" section="Data" type="System.Web.UI.WebControls.SiteMapDataSource, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
         description="Provides a data source control that Web server controls and other controls can use to bind to hierarchical site map data. " />
        <add name="Details View" section="Data" type="System.Web.UI.WebControls.DetailsView, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
         description="Displays the values of a single record from a data source in a table, where each data row represents a field of the record. The DetailsView control allows you to edit, delete, and insert records." />
        <add name="Grid View" section="Data" type="System.Web.UI.WebControls.GridView, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
        <add name="Login Status" section="Login" type="System.Web.UI.WebControls.LoginStatus, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
         description="Detects the user's authentication state and toggles the state of a link to log in to or log out of a Web site." />
        <add name="Login Name" section="Login" type="System.Web.UI.WebControls.LoginName, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
         description="Displays the value of the System.Web.UI.Page.User.Identity.Name property." />
        <add name="Login" section="Login" url="~/Sitefinity/UserControls/Login/LoginControl.ascx"
         description="Provides user interface (UI) elements for logging in to a Web site." />
        <add name="Manage Profile" section="Login" type="Telerik.Security.WebControls.ManageProfile, Telerik.Security"
         description="Provides UI for managing user's profile information" />
        <add name="Login View" section="Login" url="~/Sitefinity/UserControls/Login/LoginViewControl.ascx"
         description="Displays the appropriate content template for a given user, based on the user's authentication status and role membership." />
        <add name="Create User" section="Login" url="~/Sitefinity/UserControls/Login/CreateUserWizardControl.ascx"
         description="Provides a user interface for creating new Web site user accounts." />
        <add name="Spam Protector" section="Forms" type="Telerik.Web.UI.SpamProtection.SpamProtector, Telerik.Cms.Web.UI"
         description="Provides spam protection to web forms using different strategies." />
        <add name="Video" section="Most popular" type="Telerik.Libraries.WebControls.Video, Telerik.Libraries"
         description="Video content control" />
        <add name="R3 Login Status" section="Login" url="~/R3/UserControls/Login/R3LoginStatus.ascx"
         description="Displays the appropriate content template for a given user, based on the user's authentication status and role membership." />
        <add name="R3 Create User" section="Login" url="~/R3/UserControls/Login/R3CreateUserControl.ascx"
         description="Provides a user interface for creating new Web site user accounts." />
        <add name="R3 Create User Manual" section="Login" url="~/R3/UserControls/Login/R3CreateUserManual.ascx"
         description="Provides a user interface for creating new Web site user accounts." />
        <add name="R3 Create User Manual Complete" section="Login" url="~/R3/UserControls/Login/R3CreateUserManualComplete.ascx"
         description="Provides a user interface for complete manual register." />
        <add name="R3 Activate Account" section="Login" url="~/R3/UserControls/Login/R3ActivateAccount.ascx"
         description="Active the user account." />
        <add name="R3 Change Password" section="Login" url="~/R3/UserControls/Login/R3ChangePassword.ascx"
         description="Change the user Password." />
        <add name="R3 Reset Password" section="Login" url="~/R3/UserControls/Login/R3ResetPassword.ascx"
         description="Reset the user Password." />
        <add name="R3 Reset Password Complete" section="Login" url="~/R3/UserControls/Login/R3ResetPasswordComplete.ascx"
          description="Reset the user Password." />
        <add name="R3 Change Mail And Password" section="Login" url="~/R3/UserControls/Login/R3ChangeMailPassword.ascx"
         description="Change the user Mail and Password." />
        <add name="R3 Password Recovery" section="Login" url="~/R3/UserControls/Login/R3PasswordRecovery.ascx"
         description="Get link for change password." />
        <add name="R3 Get Activation" section="Login" url="~/R3/UserControls/Login/R3GetActivation.ascx"
         description="Get link for activate the account." />
        <add name="R3 Login Control" section="Login" url="~/R3/UserControls/Login/R3LoginControl.ascx"
         description="Get link for activate the account." />
        <add name="R3 Cerca Iscritti Home" section="Portale" url="~/R3/UserControls/Portale/R3CercaIscrittiHome.ascx"
         description="Ricerca iscritti per Home Page." />
        <add name="R3 Cerca Iscritti" section="Portale" url="~/R3/UserControls/Portale/R3CercaIscritti.ascx"
         description="Ricerca iscritti." />
        <add name="R3 Dettagli Iscritto" section="Portale" url="~/R3/UserControls/Portale/R3DettagliMedico.ascx"
         description="Dettagli iscritto." />
        <add name="R3 Invia Certificato" section="Portale" url="~/R3/UserControls/Portale/R3CreaCertificato.ascx"
         description="Invia Certificato." />
        <add name="R3 Iscrizione Eventi ECM" section="Portale" url="~/R3/UserControls/Portale/R3IscrizioneEventiECM.ascx"
         description="Invia Certificato." />
        <add name="R3 News Archive" section="Portale" url="~/R3/UserControls/Portale/R3NewsArchive.ascx"
         description="News Archive" />
        <add name="R3 Search Box" section="Portale" url="~/R3/UserControls/Portale/R3SearchBox.ascx"
         description="Ricerca nel sito." />
        <add name="R3 Search Results" section="Portale" type="Telerik.Search.WebControls.CustomSearchResults, App_Code" />
        <add name="R3 Single News" section="Portale" url="~/R3/UserControls/Portale/R3SingleNews.ascx"
         description="Single News." />
        <add name="R3 News View" section="Portale" type="Telerik.News.WebControls.NewsViewExtender, App_Code" />
        <add name="R3 Log Accessi" section="Portale" url="~/R3/UserControls/Portale/R3LogAccessi.ascx"
         description="Log Accessi." />
        <add name="Dynamic Hyper Link to Private Page" section="Navigation"
         type="System.Web.UI.WebControls.R3HyperLinkToPrivate, App_Code" />
        <add name="YouTube Video List" section="Portale" url="~/R3/UserControls/Portale/YouTubeVideoList.ascx" description="Vusualizza playlists di Youtube" />
        <add name="YouTube player" section="Portale" url="~/R3/UserControls/Portale/YouTubeVideoDetail.ascx" description="Player video Youtube" />
         <add name="R3 Index Documents" section="Portale" url="~/R3/UserControls/Portale/R3IndexDocuments.ascx" description="Reindicizza i documenti in modo incrementale." />
       </toolboxControls>
      </cms>
            <cmsEngine defaultProvider="Generic_Content">
                <providers>
                    <clear/>
                    <add name="Generic_Content" urlRewriteFormat="[Publication_Date]/[Name].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="True" defaultMetaField="Name" securityProviderName="" allowLocalization="False" allowVersioning="True" allowWorkflow="False" allowComments="false" commentsModeration="true" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Cms.Engine.Data.Providers.DefaultProvider, Telerik.Cms.Engine.Data"/>
                    <add name="News" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" securityProviderName="" allowVersioning="True" applicationName="/News" versioningProviderName="" commentsModeration="true" connectionStringName="GenericContentConnection" type="Telerik.News.Data.DefaultNewsProvider, Telerik.News.Data" allowWorkflow="true" />
                    <add name="Blogs" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" applicationName="/Blogs" allowVersioning="True" allowComments="true" commentsModeration="false" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Blogs.Data.DefaultBlogProvider, Telerik.Blogs.Data"/>
                    <add name="Libraries" urlRewriteFormat="~/{Provider}/{LibraryName}/[Name].sflb.ashx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" applicationName="/Libraries" allowVersioning="False" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Libraries.Data.DefaultProvider, Telerik.Libraries.Data" tagEditorTemplate="~/Sitefinity/Admin/ControlTemplates/Libraries/BatchTagsEditor.ascx"/>
                    <!--Amazon Data Provider [First turn off the default one] url format can be urlRewriteFormat="~/{Provider}/{LibraryName}/[Name].s3lb" as well in that cae there will extra libraries in the url-->
                    <!--<add name="Libraries" urlRewriteFormat="~/{LibraryName}/[Name].s3lb"  thumbnailExtension=".tmb" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" applicationName="/Libraries" allowVersioning="True" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Libraries.Data.AmazonProvider, Telerik.Libraries.Data" tagEditorTemplate="~/Sitefinity/Admin/ControlTemplates/Libraries/BatchTagsEditor.ascx" />-->
                    <!--Viddler Data Provider Compatible with other libraries, must add a libraryInfo with type = "Viddler"-->
                    <!--<add name="Libraries" urlRewriteFormat="~/{LibraryName}/[Name].sflb.ashx" thumbnailExtension=".tmb.ashx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" applicationName="/Libraries" allowVersioning="True" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Libraries.Data.ViddlerProvider, Telerik.Libraries.Data" tagEditorTemplate="~/Sitefinity/Admin/ControlTemplates/Libraries/BatchTagsEditor.ascx"/>-->
                    <add name="Events" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" securityProviderName="" allowVersioning="True" applicationName="/Events" versioningProviderName="" commentsModeration="true" connectionStringName="GenericContentConnection" type="Telerik.Events.Data.DefaultEventsProvider, Telerik.Events.Data"/>
                    <add name="Wiki" urlRewriteFormat="[Wiki]/[Name].aspx" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" securityProviderName="" allowVersioning="True" applicationName="/Wiki" versioningProviderName="" allowComments="true" commentsModeration="true" connectionStringName="GenericContentConnection" dataFile="~/App_Data/Wikis.xml" type="Telerik.Wiki.Data.XmlProvider, Telerik.Wiki.Data"/>
                </providers>
                <rssProviders>
                    <clear/>
                    <add name="Blogs" type="Telerik.Blogs.RssProvider, Telerik.Blogs" visible="True" applicationName="/Blogs" rssFieldAuthor="Author" rssFieldTitle="Title" rssFieldPubDate="Publication_Date"/>
                </rssProviders>
                <browserCacheSettings lastModifiedDateEnabled="true" contentExpirationEnabled="false">
                    <expirationSettings option="ExpireImmediately" value="0">
                    </expirationSettings>
                </browserCacheSettings>
                <metaFields>
                    <add key="Generic_Content.Name" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="Name this content" mandatory="True"/>
                    <add key="Generic_Content.Description" valueType="LongText" visible="True" searchable="False" sortable="True" defaultValue="Add description here"/>
                    <add key="Generic_Content.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""  />
                    <add key="Generic_Content.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
            <add key="News.MyTitle" valueType="LongText" visible="True" searchable="True" sortable="True" defaultValue=""/>
      
            <add key="News.Title" valueType="LongText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="News.Summary" valueType="LongText" visible="True" searchable="True" sortable="True" defaultValue=""/>
            <add key="News.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="News.Source" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="News.Publication_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
                    <add key="News.Expiration_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Max"/>
                    <add key="News.Thumbnail" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="News.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""></add>
                    <add key="Blogs.Title" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Blogs.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Blogs.Publication_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
                    <add key="Blogs.BlogID" valueType="Guid" visible="False" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Blogs.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Blogs.View_Count" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue="0"/>
                    <add key="Libraries.Name" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Width" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Height" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Size" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Extension" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.AlternateText" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Description" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.PermaLink" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Libraries.URL" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Events.Title" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Events.Street" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Events.City" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Events.Country" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Events.State" valueType="ShortText" visible="True" searchable="True" sortable="False" defaultValue=""/>
                    <add key="Events.Geomapping_Data" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="Events.Event_Start" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
                    <add key="Events.Event_End" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
                    <add key="Events.Publication_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
                    <add key="Events.Expiration_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Max"/>
                    <add key="Events.Contact_Name" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="Events.Contact_Email" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="Events.Contact_Phone" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="Events.Contact_Cell" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="Events.Contact_Web" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
                    <add key="Events.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Wiki.Name" valueType="ShortText" visible="True" searchable="False" sortable="True" defaultValue="HomePage" mandatory="True"/>
                    <add key="Wiki.Wiki" valueType="ShortText" visible="True" searchable="False" sortable="True" defaultValue="DefaultWiki"/>
                    <add key="Wiki.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
                    <add key="Wiki.Category" valueType="ShortText" visible="True" searchable="False" sortable="True" defaultValue=""/>
                    <add key="Wiki.DisplayName" valueType="Boolean" visible="False" searchable="False" sortable="False" defaultValue="True"/>
                </metaFields>
                <contentViewSettings>
                    <add type="Telerik.Cms.Engine.WebControls.Design.Settings.TextSettingService"/>
                    <add type="Telerik.Cms.Engine.WebControls.Design.Settings.ContentSettingService"/>
                    <add type="Telerik.Cms.Engine.WebControls.Design.Settings.MaxWidthSettingService"/>
                </contentViewSettings>
            </cmsEngine>
            <news defaultGenericProvider="News">
                <genericContentProviders>
                    <add providerName="News" publicationDateField="Publication_Date" expirationDateField="Expiration_Date" thumbnailUrlField="Thumbnail" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_"/>
                </genericContentProviders>
            </news>
            <blogs defaultGenericProvider="Blogs">
                <genericContentProviders>
                    <add providerName="Blogs" publicationDateField="Publication_Date" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" flatOwnership="True"/>
                </genericContentProviders>
            </blogs>
            <libraries defaultGenericProvider="Libraries">
                <genericContentProviders>
                    <add providerName="Libraries" publicationDateField="Publication_Date"/>
                </genericContentProviders>
                <libraryInfo>
                    <add name="Image" title="Image Library" defaultExtenstions=".png, .jpg, .jpeg, .gif" metaKeys="Author, AlternateText, Extension, Name, Height, Width, Size, Category"></add>
                    <add name="Document" title="Document Library" defaultExtenstions=".doc, .docx, .rtf, .txt, .pdf, .ppt, .pps, .pptx, .html, .xls, .xlsx" metaKeys="Author, Description, Extension, Name, Size, Category"></add>
                    <add name="Custom" title="Custom Library" defaultExtenstions=".*" metaKeys="Author, Description, Extension, Name, Size, Category"></add>
                    <add name="Video" title="Video" defaultExtenstions=".wmv" metaKeys="Author, Extension, Name, Size, Category, Description"></add>
                    <!-- Viddler can co-exists with other libraries-->
                    <!--<add name="Viddler" title="Viddler Library" defaultExtenstions=".avi, .mpg, .mov, .wmv, .wma, .3gp" metaKeys="Author, Description, Extension, Name, Size, Category"></add>-->
                </libraryInfo>
                <!-- before using extensionMapping be you uncomment LibraryHttpModule in handlers and httpHandlers sections -->
                <extensionMapping defaultExtension=".sflb.ashx">
                    <!--<add key=".jpg"/>
                    <add key=".pdf"/>
                    <add key=".csv"/>
                    <add key=".xls"/>-->
                </extensionMapping>
            </libraries>
            <events defaultGenericProvider="Events" googleMapsAPIKey="" googleMapsAPIUrl="http://maps.google.com/maps?file=api&;v=2.x&key=" yahooMapsAPIKey="" yahooMapsAPIUrl="http://api.maps.yahoo.com/ajaxymap?v=3.7&;appid=" liveSearchMapsAPIUrl="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2">
                <genericContentProviders>
                    <add providerName="Events" publicationDateField="Publication_Date" expirationDateField="Expiration_Date" eventStartField="Event_Start" eventEndField="Event_End" streetField="Street" cityField="City" countryField="Country" stateField="State" geomappingDataField="Geomapping_Data" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_"/>
                </genericContentProviders>
            </events>
            <wiki defaultGenericProvider="Wiki" defaultProvider="SitefinityXml">
                <genericContentProviders>
                    <add providerName="Wiki" urlRewriteFormat="[Wiki]/[Name].aspx" urlWhitespaceChar="_"/>
                </genericContentProviders>
            </wiki>
            <workflow deleteOnCompletion="true" defaultProvider="NolicsWorkflowProvider">
                <providers>
                    <clear/>
                    <add name="NolicsWorkflowProvider" connectionStringName="DefaultConnection" type="Telerik.Workflow.NolicsWorkflowProvider, Telerik.Workflow"/>
                </providers>
            </workflow>
            <polls defaultProvider="NolicsPollsProvider">
                <providers>
                    <clear/>
                    <add name="NolicsPollsProvider" connectionStringName="DefaultConnection" type="Telerik.Polls.Data.NolicsPollsProvider, Telerik.Polls.Data"/>
                </providers>
            </polls>
            <fileManager defaultProvider="Sitefinity">
                <impersonation username="" password="">
                    <allow roles="Administrators"></allow>
                </impersonation>
                <providers>
                    <clear/>
                    <add name="Sitefinity" type="Telerik.FileManager.DefaultProvider, Telerik.FileManager"/>
                </providers>
            </fileManager>
            <personalization defaultProvider="Sitefinity">
                <providers>
                    <clear/>
                    <add name="Sitefinity" type="Telerik.Personalization.Data.NolicsProvider, Telerik.Personalization.Data" connectionStringName="DefaultConnection"/>
                </providers>
                <globalSettings>
                    <add type="Telerik.Cms.Web.UI.Personalization.GeneralSettingPanel, Telerik.Cms" templatePath="~/Sitefinity/Admin/ControlTemplates/Personalization/GeneralSettings.ascx" order="1"/>
                    <add type="Telerik.Cms.Web.UI.Personalization.DashboardSettingPanel, Telerik.Cms" templatePath="~/Sitefinity/Admin/ControlTemplates/Personalization/DashboardSettings.ascx" order="2"/>
                    <add type="Telerik.Cms.Web.UI.Personalization.PageEditorSettingPanel, Telerik.Cms" templatePath="~/Sitefinity/Admin/ControlTemplates/Personalization/PageEditorSettings.ascx" order="3"/>
                </globalSettings>
                <dashboardVisibilitySettings>
                    <add key="showMyLatestChanges" value="true"/>
                    <add key="showLastModifiedPages" value="true"/>
                    <add key="showNewUsers" value="false"/>
                    <add key="showLastModifiedBlogs" value="false"/>
                    <add key="showLastModifiedBlogPosts" value="false"/>
                    <add key="showLastModifiedNews" value="false"/>
                    <add key="showLastModifiedForums" value="false"/>
                    <add key="showNewForumPosts" value="false"/>
                    <add key="showLastModifiedLists" value="false"/>
                    <add key="showLastModifiedContents" value="false"/>
                </dashboardVisibilitySettings>
            </personalization>
            <spamProtector defaultProvider="akismet" disabled="true">
                <providers>
                    <add name="akismet" type="Telerik.Cms.Engine.SpamProtector.AkismetProvider" key="c0e8868fd509" siteUrl="http://www.telerik.com/"/>
                </providers>
            </spamProtector>
            <performanceCounter category="Sitefinity CMS" description="Sitefinity performance statistics" disabled="true">
                <counters>
                    <add name="DAL Operations/Sec" description="The number database calls made per second." type="RateOfCountsPerSecond32"/>
                    <add name="Error Raised" description="Number of times excpetion has been thrown running the app" type="NumberOfItems32"/>
                    <add name="CMS Page Average Execution Time" description="The average time consumed to serve Sitefinity pages measured in milliseconds." type="AverageTimer32"/>
                    <add name="CMS Content Average Execution Time" description="The average time consumed to serve Sitefinity Content measured in milliseconds." type="AverageTimer32"/>
                    <add name="Average Operation Execution Time" description="The average time to execute an operaion (CRUD) measured in milliseconds." type="AverageTimer32"/>
                </counters>
            </performanceCounter>
            <storageSetting defaultProvider="Amazon">
                <providers>
                    <add name="Amazon" type="Telerik.Libraries.AmazonStorage.AmazonStorageProvider, Telerik.Libraries" downloadUrlPrefix="http://s3.amazonaws.com" accessKey="#YourAccessKey#" secretAccessKey="#YourSecrectKey#" bucketName="Sitefinity"/>
                </providers>
            </storageSetting>
            <!-- Viddler-->
            <mediaProvider defaultProvider="viddler">
                <providers>
                    <add name="viddler" type="Telerik.Libraries.MediaProvider.ViddlerProvider" apiKey="#Your_Api#" baseUrl="http://api.viddler.com/rest/v1/"/>
                </providers>
            </mediaProvider>
        </telerik>
    </configuration>

    Where MyTitle is my new MetaKey!


    thank you a lot!

    scusmi but i can not attach a .Zip file "File is not correct type.  try again"!
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    06 Jul 2010
    Link to this post
    Hello Bachar Zeidan,

    The TextBox control with ID="MyTitle" should be inside ContentMetaFields control which persists metadata automatically, otherwise you should do it manually by getting the content item and calling SetMetaData method.

    Also have in mind that the forums are public and you should remove some sensitive information of any code that you post - like connection strings and passwords to your databases ( I removed them from your post)

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
8 posts, 0 answered