iTextSharp Error: Script control 'UpdateProgress1' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors()

Last Reply one year ago By Mudassar

Posted one year ago

Hello everyone,

I followed the follwing link to convert asp.net webpage to PDF.

I am getting the below error while trying to convert asp.net webpage to pdf using iTextSharp HTML to PDF Lib.

https://www.aspsnippets.com/Articles/Export-ASPNet-Web-Page-with-images-to-PDF-using-ITextsharp.aspx

Script control 'UpdateProgress1' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().

Request you to help me

Thanks

 

Posted one year ago

This will not work if you have other controls on page like GridView, UpdatePanel.

So in short, it is not possible to convert such Page to PDF.

Only simple pages as shown in the article can be converted to PDF with such technique.


Posted one year ago Modified on one year ago

Hi Mudassar,

Thanks for the reply.

Could you please tell me if there is any other way to convert an asp.net webpage to PDF which has Updatepanel and Gridview

 

 

 

<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation = "false" CodeFile="TicketDetail.aspx.cs" Inherits="Pages_TicketDetail" MasterPageFile="~/MasterPage.master" Title="Capgemini Service Desk -> Ticket Detail"%>

<%@ Register Assembly="System.Web.Extensions"  Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ MasterType VirtualPath="~/MasterPage.master" %>

<%@ Register

Assembly="AjaxControlToolkit"
Namespace="AjaxControlToolkit"
TagPrefix="ajaxToolkit" %>



<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<script language="javascript" type="text/javascript" src="../JavaScripts/datetimepicker.js">

</script>

<script type="text/javascript">

function setcoords(){
window.scrollTo(1,50);
}

function disp_confirm(AlertMessage)
{

var r=confirm(AlertMessage);
var Id = '<%=HiddenTextBox.ClientID %>';
    
if (r==true)
  {    
  document.getElementById(Id).value ="ok";
  __doPostBack('HiddenLinkButton','');
  }
  if (r==false)
  {
  document.getElementById(Id).value ="cancel";
  __doPostBack('HiddenLinkButton','');
  }

}


</script>
     

<%--Added by jitendra Sahoo--%>

<script type="text/javascript" language="javascript">
      Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
    function EndRequestHandler(sender, args) {
        if (args.get_error() != undefined) {
            args.set_errorHandled(true);
        }
    }
</script>

<script runat="server">

void valStatus_ServerValidate(Object source, ServerValidateEventArgs args)
{
    if ((args.Value == "51eeb366-89b7-4760-837f-487974d005de") || (args.Value == "85fc65be-69d6-4a48-93bc-9712f27c739d"))
    {
        if (txtFixHistoryNew.Text.Trim() == "")
        {
            args.IsValid = false;
        }
        else
        {
            args.IsValid = true;
        }
    }
    else
        args.IsValid = true;
    
}

  
</script>

    
<asp:Button ID="btnExport" runat="server" Text="Export" onclick="btnExport_Click" ></asp:Button >
<asp:ScriptManagerProxy ID="ScriptManagerProxy" runat="server"></asp:ScriptManagerProxy>
<asp:UpdatePanel id="updatePanel" runat="server"  >
    <contenttemplate>
   <asp:TextBox id="HiddenTextBox"  runat="server" Visible="True"></asp:TextBox> <asp:LinkButton id="HiddenLinkButton" onclick="HiddenLinkButton_Click" runat="server" Visible="True"></asp:LinkButton><asp:UpdateProgress id="UpdateProgress1" runat="server"><ProgressTemplate>    

<iframe frameborder="0" src="about:blank"
style="border:0px;position:absolute;z-index:9;left:0px;top:0px;width:expression(this.offsetParent.scrollWidth);height:expression(this.offsetParent.scrollHeight);filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=75, FinishOpacity=0, Style=0, StartX=0, FinishX=100, StartY=0, FinishY=100);">

</iframe>

<div style="position:absolute;z-index:10;left:expression((this.offsetParent.clientWidth/2)-(this.clientWidth/2)+this.offsetParent.scrollLeft);top:expression((this.offsetParent.clientHeight/2)-(this.clientHeight/2)+this.offsetParent.scrollTop);"><img src="../Images/ajax-loader-circleBlue.gif" /><br /><table><tr><td>Please Wait...</td></tr></table> </div>

</ProgressTemplate>


</asp:UpdateProgress> <TABLE><TBODY><TR><TD align=left><asp:Label id="lblMsg" runat="server" ForeColor="Red"></asp:Label> <asp:ValidationSummary id="ValidationSummary1" runat="server" Font-Size="X-Small" DisplayMode="List" HeaderText="Fields marked * cannot be left blank." Font-Names="Verdana"></asp:ValidationSummary> <asp:Label id="lblSolMsg" runat="server" SkinID="errorLabel" ForeColor="Red" Font-Size="X-Small"></asp:Label> </TD></TR></TBODY></TABLE><ajaxToolkit:TabContainer id="TabContainer1" runat="server" ActiveTabIndex="4"> <ajaxToolkit:TabPanel runat="server" HeaderText="Information" ID="TabPanel1" visible="true"  registerWithScriptManager="true" >
                <ContentTemplate>

<asp:Panel id="pnlTicketInformation" runat="server" Width="100%">
    <TABLE width="100%"><TR><TD align="center"><asp:Label ID="lblUpdateMsg" 
        runat="server" SkinID="errorLabel" Text="Ticket Details Updated  Successfully" 
        Visible="False" Width="250px"></asp:Label> </TD><td align="center"><asp:Label 
        ID="lblCreateMsg" runat="server" SkinID="errorLabel" Visible="False" 
        Width="250px"></asp:Label> </td></TR></TABLE>
    <TABLE width="100%"><TR style="WIDTH: 100%"><TD colspan="4" 
        style="BACKGROUND-POSITION-Y: 78%; BACKGROUND-IMAGE: url(../Images/UnderLine.JPG); BACKGROUND-REPEAT: repeat-x; HEIGHT: 39px"><table><tr><td 
        align="right"><asp:Label ID="lblTicketInfirmation" runat="server" 
        SkinID="LabelLeft" Text="Ticket Information" Width="132px"></asp:Label> </td><td 
        align="left" colspan="2" style="WIDTH: 100%" valign="baseline"><asp:Label 
        ID="lblTicketNo" runat="server" SkinID="LabelLeft"></asp:Label> </td></tr></table></TD></TR></TABLE>
    <TABLE><TR><TD align=right><asp:Label id="Label1" runat="server" Width="80px" Text="* Customer:"></asp:Label> </TD><TD align=left><asp:DropDownList id="drpContactName" runat="server" OnSelectedIndexChanged="drpContactName_SelectedIndexChanged" DataValueField="ID" DataTextField="Name" AutoPostBack="True"></asp:DropDownList><asp:RequiredFieldValidator id="RequiredFieldValidator8" runat="server" ControlToValidate="drpContactName" InitialValue="0">*</asp:RequiredFieldValidator></TD><TD align=right><asp:Label id="Label29" runat="server" Width="120px" Text="* Project:"></asp:Label> </TD><TD align=left><asp:DropDownList id="drpProject" runat="server" OnSelectedIndexChanged="drpProject_SelectedIndexChanged" DataValueField="ProjectId" DataTextField="Name" AutoPostBack="True"></asp:DropDownList><asp:RequiredFieldValidator id="RequiredFieldValidator13" runat="server" ControlToValidate="drpProject" InitialValue="0">*</asp:RequiredFieldValidator></TD><TD align=right><asp:Label id="Label28" runat="server" Text="*Application:"></asp:Label> </TD><TD align=left><asp:DropDownList id="drpApplication" runat="server" OnSelectedIndexChanged="drpApplication_SelectedIndexChanged" DataValueField="ID" DataTextField="Name" AutoPostBack="True"></asp:DropDownList><asp:RequiredFieldValidator id="RequiredFieldValidator11" runat="server" ControlToValidate="drpApplication">*</asp:RequiredFieldValidator></TD><TD align=right><asp:Label id="Label4" runat="server" Text="* Impact:"></asp:Label> </TD><TD align=left><asp:DropDownList id="ddlImpact" runat="server" Width="140px" DataValueField="ImpactId" DataTextField="ImpactValue"></asp:DropDownList><asp:RequiredFieldValidator id="RequiredFieldValidator10" runat="server" ControlToValidate="ddlImpact" InitialValue="0">*</asp:RequiredFieldValidator></TD></TR><TR><TD align=right><asp:Label id="Label12" runat="server" Text="Customer Ref#:"></asp:Label> </TD><TD align=left><asp:TextBox id="txtCustomerRef" runat="server"></asp:TextBox> </TD><TD align=right><asp:Label id="Label17" runat="server" Text="* Call Type:"></asp:Label> </TD><TD align=left><asp:DropDownList id="drpCallType" runat="server" OnSelectedIndexChanged="drpCallType_SelectedIndexChanged" AutoPostBack="True"></asp:DropDownList><asp:RequiredFieldValidator id="RequiredFieldValidator3" runat="server" ControlToValidate="drpCallType">*</asp:RequiredFieldValidator></TD><TD align=right><asp:Label id="Label14" runat="server" Text="* Priority:"></asp:Label> </TD><TD align=left><asp:DropDownList id="drpPriority" runat="server" DataValueField="LookupId" DataTextField="LookupName" AutoPostBack="True"></asp:DropDownList><asp:RequiredFieldValidator id="RequiredFieldValidator7" runat="server" Text="*" ControlToValidate="drpPriority" InitialValue="0"></asp:RequiredFieldValidator></TD><TD align=right><asp:Label id="Label18" runat="server" Text="Call Source:"></asp:Label> </TD><TD><asp:DropDownList id="drpCallSource" runat="server"></asp:DropDownList></TD></TR><TR><TD align=right><asp:Label id="Label2" runat="server" Text="Status:"></asp:Label> </TD><TD align=left><asp:DropDownList id="drpCurrentStatus" runat="server" OnSelectedIndexChanged="drpCurrentStatus_SelectedIndexChanged" DataValueField="LookupId" DataTextField="LookupName" AutoPostBack="True"></asp:DropDownList> </TD><TD align=right><asp:Label id="Label36" runat="server" Text="Customer Status:"></asp:Label> </TD><TD align=left><asp:DropDownList id="drpCustomerStatus" runat="server"></asp:DropDownList></TD><TD align=right><asp:Label id="Label26" runat="server" Width="110px" Text="Detailed Category:"></asp:Label> </TD><TD align=left><asp:DropDownList id="drpDetailCategory" runat="server" OnSelectedIndexChanged="drpDetailCategory_SelectedIndexChanged" AutoPostBack="True"></asp:DropDownList> </TD><TD align=right><asp:Label id="Label27" runat="server" Width="95px" Text="Sub Category:"></asp:Label> </TD><TD align=left><asp:DropDownList id="drpSubCategory" runat="server"></asp:DropDownList> </TD></TR><TR><TD align=right><asp:Label id="Label30" runat="server" Text="* Contact Name:"></asp:Label> </TD><TD align=left><asp:TextBox id="txtContactName" runat="server"></asp:TextBox><asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ControlToValidate="txtContactName">*</asp:RequiredFieldValidator></TD><TD align=right><asp:Label id="Label5" runat="server" Width="90px" Text="Contact Email:"></asp:Label> </TD><TD align=left><asp:TextBox id="txtContactEmail" runat="server" Text='<%# DataBinder.Eval(_ticEntry,"ContactEmail") %>'></asp:TextBox><asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" Font-Size="X-Small" Font-Names="Verdana" ControlToValidate="txtContactEmail" ValidationExpression="^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$">*</asp:RegularExpressionValidator></TD><TD align=right><asp:Label id="Label9" runat="server" Width="110px" Text="* Contact Cell:"></asp:Label> </TD><TD align=left><asp:TextBox id="txtContactCell" runat="server" Text='<%# DataBinder.Eval(_ticEntry,"ContactCell") %>'></asp:TextBox><asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="txtContactCell">*</asp:RequiredFieldValidator><asp:RegularExpressionValidator id="RegularExpressionValidator2" runat="server" ControlToValidate="txtContactCell" ValidationExpression="(^[+][0-9]\d*\(\d*\)\d*)|(^[+][0-9]\d*\d*)|(((\(\d{3}\) ?)|(\d{3}[- \.]))?\d{3}[- \.]\d{4}(\s(x\d+)?){0,1}$)" ErrorMessage="Contact Cell not valid. Please fill it in the following format: + Country Code Area Code Number">*</asp:RegularExpressionValidator></TD><TD align=right><asp:Label id="Label10" runat="server" Width="95px" Text="Location:"></asp:Label> </TD><TD align=left><asp:TextBox id="txtLocation" runat="server"></asp:TextBox> </TD></TR></TABLE></asp:Panel> 
                    <BR /><asp:Panel id="PnlTicketDetail" runat="server" Width="100%"><TABLE width="100%"><TR style="WIDTH: 100%"><TD style="BACKGROUND-POSITION-Y: 78%; BACKGROUND-IMAGE: url(../Images/UnderLine.JPG); BACKGROUND-REPEAT: repeat-x; HEIGHT: 46px" colSpan=4><TABLE><TR><TD vAlign=baseline align=left colSpan=2><asp:Label id="Label42" runat="server" SkinID="LabelLeft" Width="90px" Text="Ticket Detail"></asp:Label> </TD><TD style="WIDTH: 100%" vAlign=baseline align=right colSpan=2>&nbsp; </TD></TR></TABLE></TD></TR></TABLE>
                        <TABLE><TR><TD align=right><asp:Label ID="Label13" runat="server" 
                            Text="*Summary:" Width="80px"></asp:Label> </TD><TD><asp:TextBox 
                            id="txtProbSummary" runat="server" Width="768px" MaxLength="150"></asp:TextBox> </TD><TD><asp:RequiredFieldValidator 
                            ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtProbSummary">*</asp:RequiredFieldValidator> </TD></TR><TR><TD 
                            align=right valign="top"><asp:Label ID="Label16" runat="server" 
                            Text="* Problem Detail:" Width="90px"></asp:Label> </TD><TD><asp:TextBox 
                            ID="txtProblemDetail" runat="server" Height="42px" MaxLength="8000" 
                            TextMode="MultiLine" Width="768px"></asp:TextBox> </TD><TD><asp:RequiredFieldValidator 
                            ID="RequiredFieldValidator6" runat="server" 
                            ControlToValidate="txtProblemDetail">*</asp:RequiredFieldValidator> </TD></TR><tr><td 
                            align="right" valign="top"><asp:Label ID="Label19" runat="server" 
                            Text="* Ticket Update:" Visible="False" Width="90px"></asp:Label> </td><td><asp:TextBox 
                            ID="txtFixHistoryNew" runat="server" Height="42px" MaxLength="8000" 
                            TextMode="MultiLine" Visible="False" Width="768px"></asp:TextBox> </td><td><asp:RequiredFieldValidator 
                            ID="RequiredFieldValidator4" runat="server" 
                            ControlToValidate="txtFixHistoryNew" Visible="False">*</asp:RequiredFieldValidator> </td></tr></TABLE>
                        <TABLE><TR><TD align=right valign="top"><asp:CheckBox ID="chkBoxMultIds" 
                            runat="server" Font-Bold="True" Font-Size="XX-Small" ForeColor="DimGray" 
                            OnCheckedChanged="chkBoxMultIds_CheckedChanged" Text="Email CC List" 
                            Width="90px"></asp:CheckBox> </TD><TD align="left" valign="top"><asp:TextBox 
                            ID="txtBoxMultIds" runat="server" TextMode="MultiLine" Visible="false" 
                            Width="488px"></asp:TextBox> <asp:RequiredFieldValidator id="rfvEmail" 
                            runat="server" ControlToValidate="txtBoxMultIds" Font-Names="Verdana" 
                            Font-Size="X-Small" Visible="False">*</asp:RequiredFieldValidator> </TD><TD 
                            align="left"><table><tr><td><asp:Label ID="Label15" runat="server" 
                            Font-Size="XX-Small" Text="* Use comma to seperate multiple email ids." 
                            Width="220px"></asp:Label> </td></tr><tr><td><asp:RegularExpressionValidator 
                            ID="revEmail" runat="server" ControlToValidate="txtBoxMultIds" 
                            Font-Names="Arial" Font-Size="XX-Small" 
                            ValidationExpression="^(([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+([,.](([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+)*$" 
                            Visible="False" Width="150px"> * Enter valid email ids</asp:RegularExpressionValidator> </td></tr></table></TD></TR><TR><TD 
                            vAlign=top align=center><asp:CheckBox ID="chkBoxSendMails" runat="server" 
                            Checked="True" Font-Size="XX-Small" ForeColor="DimGray" 
                            style="POSITION: relative" Text="Send Emails" Width="90px"></asp:CheckBox> </TD><TD 
                            align="left" valign="top"></TD><TD align="left"></TD></TR></TABLE>
                        <asp:Panel id="Panel3" runat="server" Width="125px" Height="50px"><TABLE width="100%"><TR><TD style="WIDTH: 10.5%" align=right><asp:Label id="Label6" runat="server" Width="90px" Text="Previous Status:"></asp:Label> </TD><TD style="WIDTH: 10.5%" align=left><asp:DropDownList id="drpPreviousState" runat="server"></asp:DropDownList> </TD><TD style="WIDTH: 13.5%" align=right><asp:Label id="Label3" runat="server" Visible="False" Text="Team:"></asp:Label> </TD><TD style="WIDTH: 13.5%" align=left><asp:DropDownList id="drpAssignedToTeam" runat="server" Visible="False" OnSelectedIndexChanged="drpAssignedToTeam_SelectedIndexChanged" AutoPostBack="True"></asp:DropDownList> </TD><TD style="WIDTH: 11.5%" align=right><asp:Label id="Label7" runat="server" Visible="False" Text="Assigned To:"></asp:Label> </TD><TD align=left><asp:DropDownList id="drpAssignedToMember" runat="server" Visible="False" OnSelectedIndexChanged="drpAssignedToMember_SelectedIndexChanged" AutoPostBack="True"></asp:DropDownList> </TD><TD align=right><asp:Label style="LEFT: 0px; POSITION: relative" id="Label41" runat="server" Width="105px" Text="Support Member:"></asp:Label></TD><TD align=left><asp:DropDownList style="POSITION: relative" id="ddlSupportMember" runat="server" DataTextField="Name" DataValueField="ID"></asp:DropDownList></TD></TR><TR><TD align=right><asp:Label id="Label8" runat="server" Width="80px" Visible="False" Text="* SLA Code:"></asp:Label> </TD><TD align=left><asp:DropDownList id="drpSLA" runat="server" Visible="False" OnSelectedIndexChanged="drpSLA_SelectedIndexChanged" DataValueField="ID" DataTextField="SlaListProjectCode" AutoPostBack="True"></asp:DropDownList><asp:RequiredFieldValidator id="RequiredFieldValidator19" runat="server" ControlToValidate="drpSLA">*</asp:RequiredFieldValidator></TD><TD align=right><asp:Label id="lblComplexity" runat="server" Width="110px" Text="Complexity:"></asp:Label> </TD><TD align=left><asp:TextBox id="tbxComplexity" runat="server" Width="115px" Enabled="False"></asp:TextBox><asp:ImageButton id="imgBtnComplexity" onclick="imgBtnComplexity_Click" runat="server" ImageUrl="~/Images/Help.GIF" CausesValidation="False"></asp:ImageButton></TD><TD align=right>&nbsp;<asp:Label id="lblProposed" runat="server" Width="110px" Text="Proposed Hours:"></asp:Label> </TD><TD align=left><asp:TextBox id="txtBoxProposed" runat="server" Width="40px" MaxLength="3"></asp:TextBox><asp:RegularExpressionValidator id="revProposed" runat="server" Font-Size="X-Small" ControlToValidate="txtBoxProposed" ValidationExpression="\d+">* Only Integers</asp:RegularExpressionValidator></TD><TD align=right><asp:Label style="POSITION: relative" id="lblApprovedHrs" runat="server" Width="95px" Text="Approved Hours:"></asp:Label></TD><TD align=left><asp:TextBox style="POSITION: relative" id="txtBoxApproved" runat="server" Width="40px" MaxLength="3"></asp:TextBox><asp:RegularExpressionValidator style="POSITION: relative" id="revApproved" runat="server" Font-Size="X-Small" ControlToValidate="txtBoxApproved" ValidationExpression="\d+">* Only Integers</asp:RegularExpressionValidator></TD></TR><TR><TD align=right><asp:Label style="POSITION: relative" id="Label11" runat="server" Visible="False" Text="Submitter:"></asp:Label></TD><TD align=left><asp:TextBox style="POSITION: relative" id="txtSubmitter" runat="server" Visible="False"></asp:TextBox></TD><TD align=right></TD><TD align=left></TD><TD align=right></TD><TD align=left></TD><TD align=right></TD><TD align=left></TD></TR></TABLE></asp:Panel> 
                        <asp:Panel id="pnlResponseDetail" runat="server">
                            <TABLE width="100%"><TR style="WIDTH: 100%"><td></td>&nbsp;</tr><TR style="WIDTH: 100%"><TD style="BACKGROUND-POSITION-Y: 78%; BACKGROUND-IMAGE: url(../Images/UnderLine.JPG); BACKGROUND-REPEAT: repeat-x" colSpan=4><TABLE><TR><TD vAlign=baseline align=left colSpan=2><asp:Label id="Label43" runat="server" SkinID="LabelLeft" Width="220px" Text="Response/Resolution Detail"></asp:Label> </TD><TD style="WIDTH: 100%" vAlign=baseline align=right colSpan=2>&nbsp; </TD></TR></TABLE></TD></TR></TABLE>
                            <TABLE><TR><TD align=right><asp:Label id="Label23" runat="server" Width="90px" 
                                Text="Response By:"></asp:Label> </TD><TD style="WIDTH: 81px"><asp:DropDownList 
                                ID="drpResponseMadeBy" runat="server"></asp:DropDownList> </TD><TD align=right><asp:Label 
                                id="Label24" runat="server" Width="120px" Text="Response DeadLine:"></asp:Label> </TD><TD align=left><asp:TextBox 
                                ID="txtDateTime" runat="server" MaxLength="25"></asp:TextBox> <a 
                                href="javascript:NewCal('<%=txtDateTime.ClientID%>','mmddyyyy',true,12)"><img 
                                alt="Pick a date" border="0" height="16" src="../Images/cal.gif" width="16" /></a></TD><TD align=right><asp:Label 
                                id="Label25" runat="server" Width="105px" Text="Responded At:"></asp:Label> </TD><TD align=left><asp:TextBox 
                                ID="txtRespondedAtResponse" runat="server" Enabled="False"></asp:TextBox> <a 
                                href="javascript:NewCal('<%=txtRespondedAtResponse.ClientID%>','mmddyyyy',true,12)"><img 
                                alt="Pick a date" border="0" height="16" src="../Images/cal.gif" width="16" /></a></TD><TD align=left><asp:Label 
                                ID="Label33" runat="server" Text="Logged At:" Width="75px"></asp:Label> </TD><TD align=left><asp:TextBox 
                                id="txtTicketCreationTime" runat="server" ReadOnly="True"></asp:TextBox> </TD></TR></TABLE>
                            <TABLE><TR><TD align=right><asp:Label id="Label20" runat="server" Width="90px" 
                                Text="Resolution By:"></asp:Label> </TD><TD align=left><asp:DropDownList 
                                ID="drpResolutinDetails" runat="server"></asp:DropDownList> </TD><TD align=right><asp:Label 
                                id="Label21" runat="server" Width="120px" Text="Resolution DeadLine:"></asp:Label> </TD><TD align=left><asp:TextBox 
                                id="txtDeadLine" runat="server" MaxLength="25" 
                                OnTextChanged="txtDeadLine_TextChanged"></asp:TextBox> <a 
                                href="javascript:NewCal('<%=txtDeadLine.ClientID%>','mmddyyyy',true,12)"><img 
                                id="Img2" alt="Pick a date" border="0" height="16" src="../Images/cal.gif" 
                                width="16" /></a></TD><TD align=right><asp:Label id="Label22" 
                                runat="server" Width="105px" Text="Resolved At:"></asp:Label> </TD><TD align=left><asp:TextBox 
                                ID="txtRespondedAtResolution" runat="server"></asp:TextBox> <a 
                                href="javascript:NewCal('<%=txtRespondedAtResolution.ClientID%>','mmddyyyy',true,12)"><img 
                                alt="Pick a date" border="0" height="16" src="../Images/cal.gif" width="16" /></a></TD><TD 
                                align="right"><asp:Label ID="lblFixCode" runat="server" Text="Fix Code:" 
                                Visible="False" Width="75px"></asp:Label> </TD><TD align=left><asp:DropDownList 
                                ID="ddlFixCodes" runat="server" AutoPostBack="True" 
                                DataTextField="FixCodeValues" DataValueField="FixCodeId" 
                                OnSelectedIndexChanged="ddlFixCodes_SelectedIndexChanged" Visible="False" 
                                Width="140px"></asp:DropDownList> <asp:RequiredFieldValidator 
                                ID="RequiredFieldValidator9" runat="server" ControlToValidate="ddlFixCodes" 
                                InitialValue="0">*</asp:RequiredFieldValidator> </TD></TR></TABLE></asp:Panel> 
                        <asp:Panel id="pnlSolution" runat="server" Visible="False"><TABLE width="100%"><TR style="WIDTH: 100%"><TD style="BACKGROUND-POSITION-Y: 78%; BACKGROUND-IMAGE: url(../Images/UnderLine.JPG); BACKGROUND-REPEAT: repeat-x" colSpan=4><TABLE><TR><TD vAlign=baseline align=left colSpan=2><asp:Label id="Label40" runat="server" SkinID="LabelLeft" Width="120px" Text="Associations"></asp:Label> </TD><TD style="WIDTH: 100%" vAlign=baseline align=right colSpan=2>&nbsp; </TD></TR></TABLE></TD></TR></TABLE>
                            <TABLE><TR><TD vAlign=top align=right><asp:Label id="Label38" runat="server" Width="100px" Text="Solution Attached:"></asp:Label> </TD><TD vAlign=top align=left><asp:LinkButton id="lnkSolution" onclick="lnkSolution_Click" runat="server" CausesValidation="False"></asp:LinkButton> </TD><TD vAlign=bottom align=right>&nbsp; <asp:ImageButton id="btnSolution" onclick="btnSolution_Click" runat="server" ImageUrl="~/Images/search-submit.gif" CausesValidation="False" Width="13px" Height="13px" ToolTip="Search Solution"></asp:ImageButton> </TD><TD vAlign=top align=right><asp:Label id="lblSolutionNotReq" runat="server" Width="120px" Visible="False" Text="* Solution not required." Font-Size="XX-Small"></asp:Label> </TD><TD style="WIDTH: 3px" vAlign=top align=right></TD><TD vAlign=top align=right><asp:Label id="lblPorC" runat="server" Width="250px"></asp:Label> </TD><TD vAlign=top align=left><asp:LinkButton id="lblAttachedTicket" onclick="lblAttachedTicket_Click" runat="server" CausesValidation="False"></asp:LinkButton> </TD><TD vAlign=bottom align=right>&nbsp; <asp:ImageButton id="btnModifyAttachedTicket" onclick="btnModifyAttachedTicket_Click" runat="server" ImageUrl="~/Images/edit.png" CausesValidation="False" Width="13px" Visible="False" Height="13px" ToolTip="Modify"></asp:ImageButton> </TD></TR></TABLE></asp:Panel> 
                        <TABLE><TR><TD align=left><asp:Button id="btnUpdate" onclick="btnUpdate_Click" runat="server" Text="Update"></asp:Button> </TD><TD align=left>&nbsp;<asp:Button id="btnSave" onclick="btnSave_Click" runat="server" Text="Save"></asp:Button> &nbsp; </TD><TD align=left><asp:Button id="btnCloseWindow" onclick="btnCloseWindow_Click" runat="server" CausesValidation="False" Width="90px" Text="Close Window"></asp:Button> </TD>
                            
                            <TD align=left><asp:Button id="btnCreateNewTicket" onclick="btnCreateNewTicket_Click" runat="server" CausesValidation="False" Width="137px" Visible="False" Text="Add Another Ticket"></asp:Button> </TD></TR></TABLE>
                        <asp:CheckBox id="chkEmergency" runat="server" Visible="False" Text="Emergency"></asp:CheckBox> </asp:Panel> &nbsp; 
</ContentTemplate>
</ajaxToolkit:TabPanel>
    
<ajaxToolkit:TabPanel runat="server" HeaderText="History" ID="History"><ContentTemplate>
<asp:Panel id="pnlHistory" runat="server">
    <TABLE width="100%"><TR style="WIDTH: 100%"><TD style="BACKGROUND-POSITION-Y: 78%; BACKGROUND-IMAGE: url(../Images/UnderLine.JPG); BACKGROUND-REPEAT: repeat-x" colSpan=4><TABLE><TR><TD vAlign=baseline align=left colSpan=2><asp:Label id="Label45" runat="server" SkinID="LabelLeft" Width="140px" Text="History"></asp:Label> </TD><TD style="WIDTH: 100%" vAlign=baseline align=right colSpan=2>&nbsp; </TD></TR></TABLE></TD></TR></TABLE>
    <TABLE><TR><TD align=right><asp:Label id="Label31" runat="server" Text="Ticket Number:"></asp:Label> </TD><TD align=center><asp:TextBox id="txtTicketNumber" runat="server" Width="75px" BorderWidth="0px" ReadOnly="True"></asp:TextBox> </TD></TR></TABLE>
    <TABLE width="100%"><TR><TD align=center><asp:GridView id="dgvHistory" runat="server" Width="100%" OnSelectedIndexChanged="dgvHistory_SelectedIndexChanged" OnRowCreated="dgvHistory_RowCreated" OnPageIndexChanging="dgvHistory_PageIndexChanging" AutoGenerateColumns="False" AllowPaging="True"><Columns>
<asp:BoundField DataField="CurrentStatus" HeaderText="STATUS"></asp:BoundField>
<asp:BoundField DataField="AssignedToTeam" HeaderText="TEAM"></asp:BoundField>
<asp:BoundField DataField="AssignedToMember" HeaderText="ASSIGNED TO"></asp:BoundField>
<asp:TemplateField HeaderText="SUPPORT MEMBER"><ItemTemplate>
<asp:Label ID="Label44" runat="server" Font-Bold="false"  Text='<%# DataBinder.Eval(Container,"DataItem.SupportMember.Name") %>' ></asp:Label> 
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="ModifiedBy" HeaderText="MODIFIED BY"></asp:BoundField>
<asp:BoundField DataField="ModifiedDate" HeaderText="MODIFIED ON"></asp:BoundField>
<asp:TemplateField HeaderText="TICKET UPDATE"><ItemTemplate>
<asp:Label ID="lblFixHistory" runat="server"  Text='<%# Bind("FixHistory") %>' ></asp:Label>
<ajaxToolkit:HoverMenuExtender
 ID="HoverMenuExtender1" 
  runat="server"
   TargetControlID="lblFixHistory"
    PopupControlID="Panel1"
    PopupPosition="Left"
   OffsetX="120" OffsetY="15"
      PopDelay="25">
</ajaxToolkit:HoverMenuExtender>
<table >
<tr>
<td>
<asp:Panel ID="Panel1" runat="server" GroupingText="" BorderWidth="1px" BorderColor="#0099cc">
<table width="100%">
<tr style="width:100%">
        <td colspan="4" style= "background-position-y: 78%; background-image: url(../Images/UnderLine.JPG);
            background-repeat: repeat-x">
            <table>
    <tr>
        <td align="left" colspan="2" valign="baseline">
            <asp:Label ID="Label39" runat="server" Text="Ticket Update" SkinID="LabelLeft" Width="190px"></asp:Label></td>
        <td colspan="2" valign="baseline" align="right" style="width:100%">
            &nbsp;
        </td>
    </tr></table>
        </td>
    </tr>
</table>
<table><tr><td> 
<asp:TextBox ID="lblHistory" runat="server" TextMode="MultiLine"  ReadOnly="true" ></asp:TextBox></td></tr></table>
</asp:Panel>
</td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateField>
</Columns>

<PagerStyle HorizontalAlign="Right"></PagerStyle>
</asp:GridView> </TD></TR></TABLE></asp:Panel> &nbsp;<asp:Panel id="pnlListOfAttachedTickets" runat="server">
            <TABLE width="100%"><TR style="WIDTH: 100%"><TD style="BACKGROUND-POSITION-Y: 78%; BACKGROUND-IMAGE: url(../Images/UnderLine.JPG); BACKGROUND-REPEAT: repeat-x" colSpan=4><TABLE><TR><TD vAlign=baseline align=left colSpan=2><asp:Label id="Label39" runat="server" SkinID="LabelLeft" Width="290px" Text="Tickets Attached To This Ticket"></asp:Label> </TD><TD style="WIDTH: 100%" vAlign=baseline align=right colSpan=2>&nbsp; </TD></TR></TABLE></TD></TR></TABLE>
            <TABLE><TR><TD><asp:GridView id="GridViewAttachedTickets" runat="server" AutoGenerateColumns="False"><Columns>
<asp:BoundField DataField="TicketNumber" HeaderText="Ticket No">
<HeaderStyle Width="80px"></HeaderStyle>
</asp:BoundField>
<asp:BoundField DataField="ProblemSummary" HeaderText="Problem Summary">
<HeaderStyle Width="900px"></HeaderStyle>
</asp:BoundField>
</Columns>
</asp:GridView> </TD></TR></TABLE></asp:Panel> 
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel runat="server" HeaderText="Attachments" ID="Attachments"><ContentTemplate>

<asp:UpdatePanel id="AttachmentUpdate" runat="server">
    <ContentTemplate>
<asp:Panel id="pnlAttachment" runat="server">
    <TABLE style="WIDTH: 100%"><TR><TD style="WIDTH: 3px"><asp:Label id="lblErrorMsg" runat="server" SkinID="errorLabel" Width="500px" Visible="False"></asp:Label> </TD></TR></TABLE>
    <TABLE width="100%"><TR style="WIDTH: 100%"><TD style="BACKGROUND-POSITION-Y: 78%; BACKGROUND-IMAGE: url(../Images/UnderLine.JPG); BACKGROUND-REPEAT: repeat-x" colSpan=4><TABLE><TR><TD vAlign=baseline align=left colSpan=2><asp:Label id="Label46" runat="server" SkinID="LabelLeft" Width="140px" Text="Attachment"></asp:Label> </TD><TD style="WIDTH: 100%" vAlign=baseline align=right colSpan=2>&nbsp; </TD></TR></TABLE></TD></TR></TABLE>
    <TABLE><TR><TD align=right><asp:Label id="Label32" runat="server" Width="95px" Text="Ticket Number:"></asp:Label> </TD><TD align=left><asp:TextBox id="txtAttachmentTicketNo" runat="server" Width="75px" BorderWidth="0px" ReadOnly="True">
</asp:TextBox> </TD></TR></TABLE><TABLE><TR><TD></TD></TR><TR><TD align=right><asp:Label 
        ID="Label37" runat="server" Text="* Attachment File:"></asp:Label> </TD><TD><asp:FileUpload 
        ID="FileUpload1" runat="server"></asp:FileUpload> &#160; </TD><TD align="right"><asp:Label 
        ID="Label34" runat="server" Text="Description:" Width="90px">
</asp:Label> </TD><TD><asp:TextBox ID="txtAttachmentDescription" runat="server" 
        SkinID="Desc Box" TextMode="MultiLine">
</asp:TextBox> </TD></TR>
    <TR><TD align=right></TD><TD><asp:Label ID="lbnote" runat="server" Text="Note: Max File Upload is 5 MB"></asp:Label> </TD></TR>
    <TR><TD align=right></TD><TD><asp:Button ID="btnUpload" 
        runat="server" CausesValidation="False" onclick="btnUpload_Click" Text="Upload">
</asp:Button> &#160; </TD><TD></TD><TD></TD></TR></TABLE>
    <BR /><TABLE width="100%"><TR><TD align=center><asp:GridView id="dgvAttachments" runat="server" Width="100%" AutoGenerateColumns="False" OnRowCommand="dgvAttachments_RowCommand" OnRowCreated="dgvAttachments_RowCreated"><Columns>
<asp:TemplateField HeaderText="FILE NAME"><ItemTemplate>
<asp:LinkButton ID="lbtnFileName" runat="server"  Text='<%#Bind("FileName")%>' CommandName="FileName" CausesValidation="false"></asp:LinkButton>
                
                
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="Description" HeaderText="DESCRIPTION"></asp:BoundField>
<asp:BoundField DataField="ModifiedBy" HeaderText="MODIFIED BY"></asp:BoundField>
<asp:BoundField DataField="ModifiedOn" HeaderText="MODIFIED ON"></asp:BoundField>
<asp:TemplateField HeaderText="DELETE"><ItemTemplate>
                  <asp:CheckBox ID="CheckBoxDelete" runat="server" />
                
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField Visible="False"><ItemTemplate>
<asp:Label ID="lbtnHidden" runat="server" Text='<%#Bind("FileId")%>'></asp:Label>                    
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView> </TD></TR><TR><TD align=left><asp:Button id="btnDelete" onclick="btnDelete_Click" runat="server" CausesValidation="False" Visible="False" Text="Delete"></asp:Button> </TD></TR></TABLE></asp:Panel> 
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="btnUpload"></asp:PostBackTrigger>
<asp:PostBackTrigger ControlID="dgvAttachments"></asp:PostBackTrigger>
</Triggers>
</asp:UpdatePanel> 
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel runat="server" HeaderText="CustomField" ID="TabPanel2"><ContentTemplate>
<asp:Panel id="Panel2" runat="server"><TABLE width="100%"><TR style="WIDTH: 100%"><TD style="BACKGROUND-POSITION-Y: 78%; BACKGROUND-IMAGE: url(../Images/UnderLine.JPG); BACKGROUND-REPEAT: repeat-x" colSpan=4><TABLE><TR><TD vAlign=baseline align=left colSpan=2><asp:Label id="Label47" runat="server" SkinID="LabelLeft" Text="Custom Field" Width="140px"></asp:Label> </TD><TD style="WIDTH: 100%" vAlign=baseline align=right colSpan=2>&nbsp; </TD></TR></TABLE></TD></TR></TABLE>
    <asp:Label id="LblCustomValueErrorMsg" runat="server" SkinID="errorLabel" Visible="False"></asp:Label> 
    <TABLE><TR><TD align=right><asp:Label id="Label35" runat="server" Text="Ticket Number:"></asp:Label> </TD><TD align=left><asp:TextBox id="txtTicketNoCustom" runat="server" Width="75px" BorderWidth="0px" ReadOnly="True"></asp:TextBox> </TD></TR></TABLE>
    <TABLE><TR><TD><asp:GridView id="dgvCustomFields" runat="server" Width="500px" AutoGenerateColumns="False"><Columns>
<asp:BoundField DataField="FieldName" HeaderText="Custom Field"></asp:BoundField>
<asp:TemplateField HeaderText="Value"><ItemTemplate>
<asp:TextBox runat="server" ID="txtCustomFieldValue" Text='<%#Bind("Value")%>'></asp:TextBox>                    
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField Visible="False"><ItemTemplate>
<asp:Label ID="LblCustomFieldId" runat="server" Text='<%#Bind("ID")%>' Visible="false"></asp:Label>                    
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Data Type"><ItemTemplate>
<asp:Label ID="LblCustomFieldType" runat="server" Text='<%#Bind("Type")%>' Visible="true"></asp:Label>
                
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Is Active" Visible="False"><ItemTemplate>
<asp:Label ID="LblCustomFieldIsActive" runat="server" Text='<%#Bind("IsActive")%>' Visible="false"></asp:Label>                    
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Max Length" Visible="False"><ItemTemplate>
<asp:Label ID="LblCustomFieldMaxLength" runat="server" Text='<%#Bind("MaxLength")%>' Visible="false"></asp:Label>                    
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView> <asp:Button id="btnUpdateCustomValue" onclick="btnUpdateCustomValue_Click" runat="server" Text="Update" CausesValidation="False"></asp:Button> &nbsp;<asp:Button id="btnSaveCustomValue" onclick="btnSaveCustomValue_Click" runat="server" Text="Save" CausesValidation="False"></asp:Button> </TD><TD></TD></TR><TR><TD align=left></TD></TR></TABLE></asp:Panel> 
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel runat="server" HeaderText="Peer Review" ID="PeerReview"><ContentTemplate>
<asp:Panel id="plnReviewDetails" runat="server" Height="100%">
    <TABLE width="100%"><TBODY>
        <TR style="WIDTH: 100%"><TD align=center colSpan=4><asp:Label id="lblMsgUpdatePeerReview" runat="server" SkinID="errorLabel" Width="500px" Visible="False"></asp:Label>


 </TD></TR><TR style="WIDTH: 100%">
            <TD style="BACKGROUND-POSITION-Y: 78%; BACKGROUND-IMAGE: url(../Images/UnderLine.JPG); BACKGROUND-REPEAT: repeat-x" colSpan=4><TABLE>
                    <TBODY><TR><TD vAlign=baseline align=left colSpan=2><asp:Label id="lblPeerReviewHeading" runat="server" SkinID="LabelLeft" Width="140px" Text="Peer Review"></asp:Label>


 </TD><TD style="WIDTH: 100%" vAlign=baseline align=right colSpan=2>&nbsp; </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
    <TABLE><TBODY>
        <TR><TD align="right" style="WIDTH: 100px; HEIGHT: 36px"><asp:Label 
        ID="Label48" runat="server" Text="Review By:"></asp:Label>


 </TD><TD style="WIDTH: 96px; HEIGHT: 36px">
                <asp:DropDownList ID="drpReviewedBy" runat="server" Width="142px"></asp:DropDownList>


 </TD><td align="left" style="HEIGHT: 36px"> </td>
            <td style="WIDTH: 100px; HEIGHT: 36px">
                <asp:Label ID="Label49" runat="server" Text="Review Date:" Width="95px"></asp:Label>


 </td><td style="WIDTH: 100px; HEIGHT: 36px">
                <nobr><asp:TextBox ID="txtReviewDate" runat="server" 
            __designer:wfdid="w20" ReadOnly="True" Width="152px"></asp:TextBox>


 <a href="javascript:NewCal('<%=txtReviewDate.ClientID%>','mmddyyyy',true,12)">
     <img alt="Pick a date" border="0" height="16" src="../Images/cal.gif" width="16" /></a></nobr></td></TR>
        <TR><TD style="WIDTH: 100px; " align="right"><asp:Label ID="Label50" 
        runat="server" Text="Comments:"></asp:Label>


 </TD><TD colspan="4"><asp:TextBox ID="txtReviewComments" runat="server" 
        Height="72px" MaxLength="8000" TextMode="MultiLine" Width="438px"></asp:TextBox>


 <asp:RequiredFieldValidator ID="rfvReviewComments" runat="server" 
        ControlToValidate="txtReviewComments" Enabled="False">*</asp:RequiredFieldValidator>


 </TD></TR><TR><TD></TD><TD colSpan=4><asp:Button ID="btnUpdatePeerReview" 
        runat="server" OnClick="btnUpdatePeerReview_Click" Text="Update"></asp:Button>


 </TD></TR><TR><TD></TD><TD colSpan=4></TD></TR></TBODY></TABLE></asp:Panel> 
</ContentTemplate>
</ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer> 
</contenttemplate>
</asp:UpdatePanel>



</asp:Content>

 


Posted one year ago

There may be other PAID libraries but we don't have idea on that. You may google and research on it.