示例#1
0
 private global::System.Web.UI.WebControls.Image @__BuildControl__control2()
 {
     global::System.Web.UI.WebControls.Image @__ctrl;
     @__ctrl = new global::System.Web.UI.WebControls.Image();
     @__ctrl.ApplyStyleSheetSkin(this.Page);
     @__ctrl.CssClass = "ImageActualImage";
     return(@__ctrl);
 }
 private global::System.Web.UI.WebControls.Image @__BuildControlimgNoticia()
 {
     global::System.Web.UI.WebControls.Image @__ctrl;
     @__ctrl         = new global::System.Web.UI.WebControls.Image();
     this.imgNoticia = @__ctrl;
     @__ctrl.ApplyStyleSheetSkin(this.Page);
     @__ctrl.ID = "imgNoticia";
     return(@__ctrl);
 }
示例#3
0
 private global::System.Web.UI.WebControls.Image @__BuildControlBigImg()
 {
     global::System.Web.UI.WebControls.Image @__ctrl;
     @__ctrl     = new global::System.Web.UI.WebControls.Image();
     this.BigImg = @__ctrl;
     @__ctrl.ApplyStyleSheetSkin(this.Page);
     @__ctrl.ID       = "BigImg";
     @__ctrl.CssClass = "Image";
     return(@__ctrl);
 }
示例#4
0
 private global::System.Web.UI.WebControls.Image @__BuildControl__control6()
 {
     global::System.Web.UI.WebControls.Image @__ctrl;
     @__ctrl = new global::System.Web.UI.WebControls.Image();
     @__ctrl.TemplateControl = this;
     @__ctrl.ApplyStyleSheetSkin(this.Page);
     @__ctrl.ID           = "ImageNews";
     @__ctrl.DataBinding += new System.EventHandler(this.@__DataBinding__control6);
     return(@__ctrl);
 }
 private global::System.Web.UI.WebControls.Image @__BuildControlimgLoading()
 {
     global::System.Web.UI.WebControls.Image @__ctrl;
     @__ctrl         = new global::System.Web.UI.WebControls.Image();
     this.imgLoading = @__ctrl;
     @__ctrl.ApplyStyleSheetSkin(this.Page);
     @__ctrl.ID       = "imgLoading";
     @__ctrl.ImageUrl = "/_layouts/Images/gears_anv4.gif";
     return(@__ctrl);
 }
示例#6
0
 private global::System.Web.UI.WebControls.Image @__BuildControlimgAttachment()
 {
     global::System.Web.UI.WebControls.Image @__ctrl;
     @__ctrl            = new global::System.Web.UI.WebControls.Image();
     this.imgAttachment = @__ctrl;
     @__ctrl.ApplyStyleSheetSkin(this.Page);
     @__ctrl.ID       = "imgAttachment";
     @__ctrl.ImageUrl = "../Style Library/Images/img5.jpg";
     @__ctrl.CssClass = "img-responsive";
     return(@__ctrl);
 }
 private global::System.Web.UI.WebControls.Image @__BuildControl__control3()
 {
     global::System.Web.UI.WebControls.Image @__ctrl;
     @__ctrl = new global::System.Web.UI.WebControls.Image();
     @__ctrl.TemplateControl = this;
     @__ctrl.ApplyStyleSheetSkin(this.Page);
     @__ctrl.ID           = "imgMain";
     @__ctrl.Width        = new System.Web.UI.WebControls.Unit(100, System.Web.UI.WebControls.UnitType.Pixel);
     @__ctrl.Height       = new System.Web.UI.WebControls.Unit(130, System.Web.UI.WebControls.UnitType.Pixel);
     @__ctrl.DataBinding += new System.EventHandler(this.@__DataBinding__control3);
     return(@__ctrl);
 }
示例#8
0
 private global::System.Web.UI.WebControls.Image @__BuildControlimgCalander5() {
     global::System.Web.UI.WebControls.Image @__ctrl;
     
     #line 114 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\DeviceCheck_Q.aspx"
     @__ctrl = new global::System.Web.UI.WebControls.Image();
     
     #line default
     #line hidden
     this.imgCalander5 = @__ctrl;
     @__ctrl.TemplateControl = this;
     @__ctrl.ApplyStyleSheetSkin(this);
     
     #line 114 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\DeviceCheck_Q.aspx"
     @__ctrl.ID = "imgCalander5";
     
     #line default
     #line hidden
     
     #line 114 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\DeviceCheck_Q.aspx"
     @__ctrl.Visible = false;
     
     #line default
     #line hidden
     
     #line 114 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\DeviceCheck_Q.aspx"
     @__ctrl.ImageUrl = "../images/calendar.png";
     
     #line default
     #line hidden
     return @__ctrl;
 }
示例#9
0
 private global::System.Web.UI.WebControls.Image @__BuildControlImage2() {
     global::System.Web.UI.WebControls.Image @__ctrl;
     
     #line 169 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\mapViewer.aspx"
     @__ctrl = new global::System.Web.UI.WebControls.Image();
     
     #line default
     #line hidden
     this.Image2 = @__ctrl;
     @__ctrl.ApplyStyleSheetSkin(this);
     
     #line 169 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\mapViewer.aspx"
     @__ctrl.ID = "Image2";
     
     #line default
     #line hidden
     
     #line 169 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\mapViewer.aspx"
     @__ctrl.ImageUrl = "../images/calendar.png";
     
     #line default
     #line hidden
     this.@__PageInspector_SetTraceData(new object[] {
                 @__ctrl,
                 null,
                 7441,
                 74,
                 false});
     return @__ctrl;
 }
示例#10
0
 private global::System.Web.UI.WebControls.Image @__BuildControlimgCalander4() {
     global::System.Web.UI.WebControls.Image @__ctrl;
     
     #line 130 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\ContractManage.aspx"
     @__ctrl = new global::System.Web.UI.WebControls.Image();
     
     #line default
     #line hidden
     this.imgCalander4 = @__ctrl;
     @__ctrl.TemplateControl = this;
     @__ctrl.ApplyStyleSheetSkin(this);
     
     #line 130 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\ContractManage.aspx"
     @__ctrl.ID = "imgCalander4";
     
     #line default
     #line hidden
     
     #line 130 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\ContractManage.aspx"
     @__ctrl.ImageUrl = "../images/calendar.png";
     
     #line default
     #line hidden
     return @__ctrl;
 }
 private global::System.Web.UI.WebControls.Image @__BuildControl__control7() {
     global::System.Web.UI.WebControls.Image @__ctrl;
     @__ctrl = new global::System.Web.UI.WebControls.Image();
     @__ctrl.TemplateControl = this;
     @__ctrl.ApplyStyleSheetSkin(this.Page);
     @__ctrl.DataBinding += new System.EventHandler(this.@__DataBinding__control7);
     return @__ctrl;
 }
示例#12
0
 private global::System.Web.UI.WebControls.Image @__BuildControlimgCalander3() {
     global::System.Web.UI.WebControls.Image @__ctrl;
     
     #line 204 "D:\Source\DotNet\ParkingRepairSystemKAO\Report\NotificationConfirmWork.aspx"
     @__ctrl = new global::System.Web.UI.WebControls.Image();
     
     #line default
     #line hidden
     this.imgCalander3 = @__ctrl;
     @__ctrl.TemplateControl = this;
     @__ctrl.ApplyStyleSheetSkin(this);
     
     #line 204 "D:\Source\DotNet\ParkingRepairSystemKAO\Report\NotificationConfirmWork.aspx"
     @__ctrl.ID = "imgCalander3";
     
     #line default
     #line hidden
     
     #line 204 "D:\Source\DotNet\ParkingRepairSystemKAO\Report\NotificationConfirmWork.aspx"
     @__ctrl.ImageUrl = "../images/calendar.png";
     
     #line default
     #line hidden
     return @__ctrl;
 }
示例#13
0
 private global::System.Web.UI.WebControls.Image @__BuildControlimgCalander2() {
     global::System.Web.UI.WebControls.Image @__ctrl;
     
     #line 182 "D:\Source\DotNet\ParkingRepairSystemKAO\Report\WarrantyNotifyList.aspx"
     @__ctrl = new global::System.Web.UI.WebControls.Image();
     
     #line default
     #line hidden
     this.imgCalander2 = @__ctrl;
     @__ctrl.TemplateControl = this;
     @__ctrl.ApplyStyleSheetSkin(this);
     
     #line 182 "D:\Source\DotNet\ParkingRepairSystemKAO\Report\WarrantyNotifyList.aspx"
     @__ctrl.ID = "imgCalander2";
     
     #line default
     #line hidden
     
     #line 182 "D:\Source\DotNet\ParkingRepairSystemKAO\Report\WarrantyNotifyList.aspx"
     @__ctrl.ImageUrl = "../images/calendar.png";
     
     #line default
     #line hidden
     
     #line 182 "D:\Source\DotNet\ParkingRepairSystemKAO\Report\WarrantyNotifyList.aspx"
     @__ctrl.Visible = false;
     
     #line default
     #line hidden
     return @__ctrl;
 }
示例#14
0
        /// <summary>
        /// Handles the Row Data bound event of the searchResults control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="GridViewRowEventArgs" /> instance containing the event data.</param>
        protected void searchResults_RowDatabound(object sender, GridViewRowEventArgs e)
        {
            DataControlRowType rowType = e.Row.RowType;

            if (rowType == DataControlRowType.DataRow)
            {
                String mDeleteData = "{";
                mDeleteData += string.Format(
                    "\"FileName\" : \"{0}\",\"FileType\" : \"{1}\",\"CurrentDirectory\" : \"{2}\",\"FunctionSeqId\" : \"{3}\"",
                    Server.UrlEncode(DataBinder.Eval(e.Row.DataItem, "Name").ToString()),
                    DataBinder.Eval(e.Row.DataItem, "Type").ToString(),
                    Server.UrlEncode(m_CurrentDirectory),
                    m_DirectoryProfile.FunctionSeqId.ToString()).ToString();
                mDeleteData += "}";

                HtmlInputCheckBox chkDelete = (HtmlInputCheckBox)(e.Row.FindControl("DeleteCheckBox"));
                //' Add confirmation to delete button
                if (chkDelete != null)
                {
                    chkDelete.Attributes.Add("Data", mDeleteData);
                }

                global::System.Web.UI.WebControls.Image imgType = (global::System.Web.UI.WebControls.Image)e.Row.FindControl("imgType");
                string type = string.Empty;
                type = DataBinder.Eval(e.Row.DataItem, "type", "");
                if ((imgType != null))
                {
                    string mFileName = DataBinder.Eval(e.Row.DataItem, "Name").ToString();
                    switch (type.ToLower())
                    {
                    case "folder":
                        imgType.ImageUrl = "Content/GrowthWare/Images/Folder.gif";
                        HtmlAnchor changeDirectoryLink = ((HtmlAnchor)e.Row.FindControl("lnkName"));
                        if (changeDirectoryLink != null)
                        {
                            string mCurrentDirectory = m_CurrentDirectory;

                            string mPath = mCurrentDirectory + "/" + mFileName;
                            changeDirectoryLink.InnerText = mFileName + "\\";
                            changeDirectoryLink.HRef      = string.Format("javascript:GW.FileManager.changeDirectory('{0}','{1}')", mPath, m_DirectoryProfile.FunctionSeqId.ToString());
                        }

                        break;

                    case "file":
                        imgType.ImageUrl = "Content/GrowthWare/Images/File.gif";
                        HtmlAnchor downloadLink = ((HtmlAnchor)e.Row.FindControl("lnkName"));
                        if (downloadLink != null)
                        {
                            string mCurrentDirectory = m_CurrentDirectory;
                            downloadLink.InnerText = mFileName;
                            downloadLink.HRef      = string.Format("javascript:GW.FileManager.downLoad('{0}','{1}','{2}')", mCurrentDirectory, mFileName, m_DirectoryProfile.FunctionSeqId.ToString());
                        }

                        break;

                    default:
                        imgType.Visible = false;
                        break;
                    }
                }


                //' add the hover behavior
                if (e.Row.RowState == DataControlRowState.Normal)
                {
                    e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='Beige'");
                    e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor='" + ClientChoicesState[MClientChoices.RowBackColor] + "'");
                }
                else // the alternate row.
                {
                    e.Row.Attributes.Add("onmouseover", "this.style.backgroundColor='Beige'");
                    e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor='" + ClientChoicesState[MClientChoices.AlternatingRowBackColor] + "'");
                }
            }
        }
示例#15
0
 private global::System.Web.UI.WebControls.Image @__BuildControlimage() {
     global::System.Web.UI.WebControls.Image @__ctrl;
     
     #line 82 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\KindsOfEquipmentManage.aspx"
     @__ctrl = new global::System.Web.UI.WebControls.Image();
     
     #line default
     #line hidden
     this.image = @__ctrl;
     @__ctrl.ApplyStyleSheetSkin(this);
     
     #line 82 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\KindsOfEquipmentManage.aspx"
     @__ctrl.ID = "image";
     
     #line default
     #line hidden
     
     #line 82 "D:\Source\DotNet\ParkingRepairSystemKAO\MIS\KindsOfEquipmentManage.aspx"
     ((System.Web.UI.IAttributeAccessor)(@__ctrl)).SetAttribute("style", "max-width:400px;");
     
     #line default
     #line hidden
     return @__ctrl;
 }