Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Max 144 posts 166 karma points
    May 11, 2012 @ 09:05
    Max
    0

    Error creating controls ajax control toolkiot 3.5 with Umbraco 4.7

    I am trying im plement  a simpel calender extender in umbraco usercontrol

    it gives me this error

    Error creating control (usercontrols/AdmiralIssuesCreate.ascx).
    Maybe file doesn't exists or the usercontrol has a cache directive, which is not allowed! See the tracestack for more information!

    here is my  user control file:

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AdmiralIssuesCreate.ascx.cs" Inherits="WebUmbracoLogin.AdmiralIssuesCreate" %>

    <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolKit" %>
    <ajaxToolKit:ToolkitScriptManager ID="ToolkitScriptManager1" CombineScripts="false" runat="server">
    </ajaxToolKit:ToolkitScriptManager>


        <p>

        </p>

        <ContentTemplate>
           
            <table class="style1">
                <tr>
                    <td align="center" colspan="2">
       
          
                        <asp:Label ID="lblResult" runat="server" ForeColor="#CC0000"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2">
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server"
                    ValidationGroup="t" />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label1" runat="server" Text="Title"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtIssueName" runat="server" ValidationGroup="t" Width="369px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
                    ControlToValidate="txtIssueName" Display="None"
                    ErrorMessage="Title Required" ValidationGroup="t"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="top">
                        <asp:Label ID="Label2" runat="server" Text="CreatedDate"></asp:Label>
                    </td>
                    <td>
                       <asp:TextBox ID="txtCreatedDate" runat="server" ValidationGroup="t"
                    Width="140px"></asp:TextBox>
                         <asp:Button ID="btnDate" runat="server" Height="22px" Text=".."
                            Width="27px" />
                   <ajaxToolkit:CalendarExtender ID="CalendarExtender1" TargetControlID="txtCreatedDate" PopupButtonID="btnDate"  runat="server"></ajaxToolkit:CalendarExtender>
                         <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
                    ControlToValidate="txtCreatedDate" Display="None"
                    ErrorMessage="created date Required" ValidationGroup="t"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label3" runat="server" Text="IssueCategory"></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="DropIssueCategory" runat="server" Height="21px"
                            Width="188px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="top">
                        <asp:Label ID="Label4" runat="server" Text="IssueDescription"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtIssueDescription" runat="server" Height="71px"
                    TextMode="MultiLine" ValidationGroup="t" Width="345px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
                    ControlToValidate="txtIssueDescription"
                    ErrorMessage="Issue Description Required" ValidationGroup="t" BorderStyle="None"
                            Display="None"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label8" runat="server" Text="Status"></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="DropStatus" runat="server" Height="21px" Width="184px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label5" runat="server" Text="ContactPerson"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtContactPerson" runat="server" ValidationGroup="t"
                            Width="315px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
                            ControlToValidate="txtContactPerson" Display="None"
                            ErrorMessage="contact person required" ValidationGroup="t"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label6" runat="server" Text="ContactTelephone"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtContactTelephone" runat="server" Width="310px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label7" runat="server" Text="ContactEmail"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtContactEmail" runat="server" Width="312px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label9" runat="server" Text="Issues Group "></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtIssuegroup" runat="server" Width="328px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="top">
                        <asp:Label ID="Label10" runat="server" Text="Solution"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtSolution" runat="server" Height="66px" Width="449px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="top">
                        <asp:Label ID="Label12" runat="server" Text="Priority"></asp:Label>
                    </td>
                    <td>
                        <asp:DropDownList ID="DropPriority" runat="server" Height="38px" Width="200px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="Label11" runat="server" Text="Responsible Person"></asp:Label>
                    </td>
                    <td valign="baseline">
                        <asp:TextBox ID="txtRespPerson" runat="server" Width="389px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        &nbsp;</td>
                    <td>
                        <asp:Button ID="btnSubmit" runat="server" onclick="btnSubmit_Click"
                    Text="Submit" ValidationGroup="t" Width="127px" />
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        &nbsp;</td>
                    <td>
                        &nbsp;</td>
                </tr>
            </table>
        </ContentTemplate>

    any ideas or suggestion is welcome

    using ajaxcontroltoolkit 3.5 with umrbaco 4.7


Please Sign in or register to post replies

Write your reply to:

Draft