or
| <div> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| <asp:Button ID="Button1" runat="server" Text="Button" /> |
| </div> |
| <telerik:RadGrid ID="kraje" DataSourceID="eAPI_list_countries" runat="server" AutoGenerateColumns="False" |
| AllowSorting="True" AllowPaging="True" PageSize="100" GridLines="None"> |
| <MasterTableView DataSourceID="eAPI_list_countries" DataKeyNames="country_id"> |
| <ExpandCollapseColumn Visible="True"> |
| </ExpandCollapseColumn> |
| <Columns> |
| <telerik:GridTemplateColumn DataField="name" DataType="System.String" HeaderText="Kraj" |
| ReadOnly="True" SortExpression="name" UniqueName="name"> |
| <ItemTemplate> |
| <a href='<%#"http://www.erepublik.com/en/country/" & Eval("permalink") %>' target="_blank"> |
| <%#Eval("name")%></a> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| <telerik:GridBoundColumn DataField="total_citizens" DataType="System.Int64" HeaderText="Populacja" |
| ReadOnly="True" SortExpression="total_citizens" UniqueName="total_citizens"> |
| </telerik:GridBoundColumn> |
| <telerik:GridTemplateColumn DataField="citizen_fee" DataType="System.Decimal" HeaderText="Becikowe" |
| ReadOnly="True" SortExpression="citizen_fee" UniqueName="citizen_fee"> |
| <ItemTemplate> |
| <%# Eval("citizen_fee") %> |
| <%#Eval("currency")%> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| <telerik:GridBoundColumn DataField="continent" DataType="System.String" HeaderText="Kontynent" |
| ReadOnly="True" SortExpression="continent" UniqueName="continent"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="new_citizens_today" DataType="System.Int64" HeaderText="Niemowlaków dzisiaj" |
| ReadOnly="True" SortExpression="new_citizens_today" UniqueName="new_citizens_today"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="average_citizen_level" DataType="System.Int64" |
| HeaderText="Średnie EXP" ReadOnly="True" SortExpression="average_citizen_level" |
| UniqueName="average_citizen_level"> |
| </telerik:GridBoundColumn> |
| </Columns> |
| <NestedViewSettings DataSourceID="eAPI_list_regions"> |
| <ParentTableRelation> |
| <telerik:GridRelationFields DetailKeyField="country_id" MasterKeyField="country_id" /> |
| </ParentTableRelation> |
| </NestedViewSettings> |
| <NestedViewTemplate> |
| <telerik:RadGrid ID="regiony" runat="server" DataSourceID="eAPI_list_regions"> |
| <MasterTableView DataSourceID="eAPI_list_regions" DataKeyNames="region_id" AutoGenerateColumns="false"> |
| <Columns> |
| <telerik:GridTemplateColumn DataField="region_name" DataType="System.String" HeaderText="Region" |
| ReadOnly="True" SortExpression="region_name" UniqueName="region_name"> |
| <ItemTemplate> |
| <a href='<%#"http://www.erepublik.com/en/region/" & Eval("permalink") %>' target="_blank"> |
| <%#Eval("region_name")%></a> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| <telerik:GridBoundColumn DataField="population" DataType="System.Int64" HeaderText="Populacja" |
| ReadOnly="True" SortExpression="population" UniqueName="population"> |
| </telerik:GridBoundColumn> |
| </Columns> |
| <NestedViewSettings DataSourceID="eAPI_list_constructions"> |
| <ParentTableRelation> |
| <telerik:GridRelationFields DetailKeyField="region_id" MasterKeyField="region_id" /> |
| </ParentTableRelation> |
| </NestedViewSettings> |
| <NestedViewTemplate> |
| <fieldset style="padding: 10px; width: 300px;"> |
| <legend style="padding: 5px;"><b>Konstrukcje: </a></b></legend> |
| <asp:Repeater ID="regions_repeater" runat="server" DataSourceID="eAPI_list_constructions"> |
| <ItemTemplate> |
| <div> |
| <table> |
| <tbody> |
| <tr> |
| <td> |
| <asp:Label ID="conId" Text='<%#Eval("construction_id") %>' runat="server"></asp:Label>: |
| <asp:Label ID="conQuality" Text='<%#Eval("construction_quality") %>' runat="server"></asp:Label> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </ItemTemplate> |
| </asp:Repeater> |
| </fieldset> |
| </NestedViewTemplate> |
| </MasterTableView> |
| </telerik:RadGrid> |
| </NestedViewTemplate> |
| </MasterTableView> |
| </telerik:RadGrid> |
| <asp:SqlDataSource ID="eAPI_list_countries" runat="server" ConnectionString="<%$ ConnectionStrings:DbSqlConnection %>" |
| SelectCommand="SELECT * FROM [erepublik_eAPI_Countries]"></asp:SqlDataSource> |
| <asp:SqlDataSource ID="eAPI_list_regions" runat="server" ConnectionString="<%$ ConnectionStrings:DbSqlConnection %>" |
| SelectCommand="SELECT * FROM [erepublik_eAPI_Regions] WHERE ([country_id] = @country_id)"> |
| <SelectParameters> |
| <asp:Parameter Name="country_id" /> |
| </SelectParameters> |
| </asp:SqlDataSource> |
| <asp:SqlDataSource ID="eAPI_list_constructions" runat="server" ConnectionString="<%$ ConnectionStrings:DbSqlConnection %>" |
| SelectCommand="SELECT id, region_id, construction_id, construction_quality FROM dbo.erepublik_eAPI_Regions_Constructions WHERE (region_id = @region_id)"> |
| <SelectParameters> |
| <asp:Parameter Name="region_id" Type="Int32" /> |
| </SelectParameters> |
| </asp:SqlDataSource> |
| <asp:SqlDataSource ID="eAPI_list_raws" runat="server" ConnectionString="<%$ ConnectionStrings:DbSqlConnection %>" |
| SelectCommand="SELECT * FROM [erepublik_eAPI_Regions_Raw_Materials] WHERE ([region_id] = @region_id)"> |
| <SelectParameters> |
| <asp:Parameter Name="region_id" Type="Int32" /> |
| </SelectParameters> |
| </asp:SqlDataSource> |
| <%@ Page language="c#" CodeFile="Testing.aspx.cs" AutoEventWireup="true" Inherits="Telerik.Web.Examples.Upload.CustomProgress.Testing" %> |
| <%@ register tagprefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" %> |
| <%@ register tagprefix="qsf" namespace="Telerik.QuickStart" %> |
| <%@ register tagprefix="qsf" tagname="Header" src="~/Common/Header.ascx" %> |
| <%@ register tagprefix="qsf" tagname="HeadTag" src="~/Common/HeadTag.ascx" %> |
| <%@ register tagprefix="qsf" tagname="Footer" src="~/Common/Footer.ascx" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <qsf:headtag runat="server" /> |
| <telerik:RadScriptBlock ID="rcbExport" runat="server"> |
| <script language="javascript" type="text/javascript"> |
| function showProgressArea() { |
| getRadProgressManager().startProgressPolling(); |
| } |
| </script> |
| </telerik:RadScriptBlock> |
| </head> |
| <body class="BODY"> |
| <form runat="server" id="mainForm" method="post"> |
| <telerik:RadScriptManager id="ScriptManager1" runat="server" /> |
| <qsf:Header runat="server" NavigationLanguage="C#" /> |
| <!-- Start UpdatePanel 1 --> |
| <telerik:RadAjaxPanel runat="server" ID="UpdatePanel1" LoadingPanelID="RadAjaxLoadingPanel1"> |
| Click this button first: |
| <asp:Button ID="btnPostBack" runat="server" Text="Cause Postback" /><br /> |
| Click this button to show Progress Area: |
| <asp:button ID="buttonSubmit" runat="server" Text="Show Progress Area" OnClientClick="showProgressArea();" OnClick="buttonSubmit_Click" CssClass="RadUploadButton" /> |
| <telerik:RadProgressManager id="Radprogressmanager1" runat="server" RegisterForSubmit="false" /> |
| <telerik:RadProgressArea id="RadProgressArea1" runat="server" /> |
| <br /><br /><br /><br /><br /><br /> |
| <div class="bigModule"> |
| <div class="bigModuleBottom"> |
| <b>Note:</b> The largest allowed combined file size for upload in this example is 100MB. This is specified by the |
| maxRequestLength="102400" set in Web.config file. If you attempt to upload files with total size greater that 100MB |
| you will get "Page Not Found" error. For more information about uploading large files visit the help article |
| <a href="http://www.telerik.com/help/aspnet-ajax/upload_uploadinglargefiles.html" >Uploading Large Files</a> |
| </div> |
| </div> |
| </telerik:RadAjaxPanel> |
| <!-- End Update Panel 2--> |
| <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"> |
| </telerik:RadAjaxLoadingPanel> |
| <qsf:Footer runat="server" /> |
| </form> |
| </body> |
| </html> |
| using System; |
| using System.Collections; |
| using System.ComponentModel; |
| using System.Data; |
| using System.Drawing; |
| using System.Web; |
| using System.Web.SessionState; |
| using System.Web.UI; |
| using System.Web.UI.WebControls; |
| using System.Web.UI.HtmlControls; |
| using Telerik.Web.UI; |
| using Telerik.Web.UI.Upload; |
| namespace Telerik.Web.Examples.Upload.CustomProgress |
| { |
| public partial class Testing : System.Web.UI.Page |
| { |
| protected void Page_Load(object sender, System.EventArgs e) |
| { |
| if (!IsPostBack) |
| { |
| //Do not display SelectedFilesCount progress indicator. |
| //RadProgressArea1.ProgressIndicators &= ~ProgressIndicators.SelectedFilesCount; |
| } |
| } |
| protected void buttonSubmit_Click(object sender, System.EventArgs e) |
| { |
| LooongMethodWhichUpdatesTheProgressContext(); |
| } |
| private void LooongMethodWhichUpdatesTheProgressContext() |
| { |
| const int total = 100; |
| RadProgressContext progress = RadProgressContext.Current; |
| for (int i = 0; i < total; i++) |
| { |
| progress.PrimaryTotal = 1; |
| progress.PrimaryValue = 1; |
| progress.PrimaryPercent = 100; |
| progress.SecondaryTotal = total; |
| progress.SecondaryValue = i; |
| progress.SecondaryPercent = i; |
| progress.CurrentOperationText = "Processing..."; |
| if (!Response.IsClientConnected) |
| { |
| //Cancel button was clicked or the browser was closed, so stop processing |
| break; |
| } |
| //Stall the current thread for 0.1 seconds |
| System.Threading.Thread.Sleep(100); |
| } |
| progress.OperationComplete = true; |
| } |
| } |
| } |
| System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo("fa-IR"); |
| System.Globalization.GregorianCalendar |
| System.Globalization.DateTimeFormatInfo info = culture.DateTimeFormat; |
| info.AbbreviatedDayNames = new string[] { "ی", "د", "س", "چ", "پ", "ج", "ش" }; |
| info.DayNames = new string[] { "یکشنبه", "دوشنبه", "ﺳﻪشنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه" }; |
| info.AbbreviatedMonthNames = new string[] { "فروردین", "اردیبهشت", "خرداد", "تیر", "مرداد", "شهریور", "مهر", "آبان", "آذر", "دی", "بهمن", "اسفند", "" }; |
| info.MonthNames = new string[] { "فروردین", "اردیبهشت", "خرداد", "تیر", "مرداد", "شهریور", "مهر", "آبان", "آذر", "دی", "بهمن", "اسفند", "" }; |
| info.AMDesignator = "ق.ظ"; |
| info.PMDesignator = "ب.ظ"; |
| info.ShortDatePattern = "yyyy/MM/dd"; |
| info.FirstDayOfWeek = DayOfWeek.Saturday; |
| System.Globalization.PersianCalendar cal = new System.Globalization.PersianCalendar(); |
| typeof(System.Globalization.DateTimeFormatInfo).GetField( |
| "calendar", System.Reflection.BindingFlags.Public | |
| System.Reflection.BindingFlags.Instance | |
| System.Reflection.BindingFlags.NonPublic).SetValue(info, cal); |
| object obj = typeof(System.Globalization.DateTimeFormatInfo).GetField( |
| "m_cultureTableRecord", System.Reflection.BindingFlags.Public | |
| System.Reflection.BindingFlags.Instance | |
| System.Reflection.BindingFlags.NonPublic).GetValue(info); |
| obj.GetType().GetMethod("UseCurrentCalendar", |
| System.Reflection.BindingFlags.NonPublic | |
| System.Reflection.BindingFlags.Instance).Invoke(obj, |
| new object[] { cal.GetType().GetProperty("ID", |
| System.Reflection.BindingFlags.Instance | |
| System.Reflection.BindingFlags.NonPublic).GetValue(cal, null) }); |
| typeof(System.Globalization.CultureInfo).GetField("calendar", |
| System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.Instance | |
| System.Reflection.BindingFlags.NonPublic).SetValue(culture, cal); |
| System.Threading.Thread.CurrentThread.CurrentCulture = culture; |
| RadDatePicker1.Culture = culture; |
| RadDatePicker1.SelectedDate = DateTime.Now.Date; |
| TimeSpan ts = new TimeSpan(3, 30, 00); |
| RadDatePicker1.Calendar.FastNavigationSettings.CancelButtonCaption = "انصراف"; |
| RadDatePicker1.Calendar.FastNavigationSettings.OkButtonCaption = "تایید"; |
| RadDatePicker1.Calendar.FastNavigationSettings.TodayButtonCaption = "امروز"; |
| Script controls may not be registered before PreRender. |
| Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. |
| Exception Details: System.InvalidOperationException: Script controls may not be registered before PreRender. |
| Source Error: |
| An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
| Stack Trace: |
| [InvalidOperationException: Script controls may not be registered before PreRender.] |
| System.Web.UI.ScriptControlManager.RegisterScriptControl(TScriptControl scriptControl) +236 |
| System.Web.UI.ScriptManager.RegisterScriptControl(TScriptControl scriptControl) +99 |
| Telerik.Web.UI.RadAjaxManager.OnPreRender(EventArgs e) +97 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +86 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +170 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +170 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +170 |
| System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041 |
| -------------------------------------------------------------------------------- |
| Version Information: Microsoft .NET Framework Version:2.0.50727.1873; ASP.NET Version:2.0.50727.1433 |
| <div> |
| <h2>General Interview Tips</h2> |
| <br> |
| <strong>Interview Grooming Tips:</strong><br> |
| <ul> |
| <li>Overdressed is always better than underdressed even if you feel uncomfortable.</li> |
| <li>Find out how the current employees normally dress for work and, as a rule of thumb, dress at least one step above the that level.</li> |
| <li>You want to look respectful of their time.</li> |
| <li>Make sure your hair is neatly styled and conservative. Do not wear excessive hair gel or go to an interview with wet hair.</li> |
| <li>Make sure your face is shaved and trimmed and nose and ear hairs are clipped.</li> |
| <li>Be freshly showered and do not wear perfume or aftershave, just deodorant. Remember some people have allergic reactions to perfume.</li> |
| </ul> |
| Wear simple jewelry; remove body piercings, extra rings, etc. Cover any tattoos if possible.<br> |
| <ul> |
| <li>Clean and polish your shoes.</li> |
| <li>Do not wear flip flops, sandals or open toed shoes. This is a dress code violation for many companies.</li> |
| <li>Wear clean, dark colored matching socks. Dress socks are preferred over athletic socks.</li> |
| <li>For men, match your belt color with your shoe color.</li> |
| <li>For women, always wear nylons or tights with skirts.</li> |
| </ul> |
| <strong>Before You Go:</strong><br> |
| <ul> |
| <li>Avoid mealtime interviews, or if unavoidable, order something simple to eat in small bites. Avoid handheld food like pizza or messy dishes like pasta or soup. Do not consume alcohol prior to or during the interview.</li> |
| <li>Be sure you know how to pronounce your interviewer’s name.</li> |
| <li>Leave for the interview in plenty of time to arrive 10-15 minutes early.</li> |
| </ul> |
| <strong>When You Arrive:</strong><br> |
| <ul> |
| <li>Do not chew gum, smoke, swear, or use slang (even if they do).</li> |
| <li>Turn off your cell phone.</li> |
| <li>Be aware of how people react through their body language. Use your instincts to keep things on course.</li> |
| <li>Be polite to everyone you meet; they all count.</li> |
| <li>Be personable and professional.</li> |
| </ul> |
| <br> |
| <strong>During the Interview – General:</strong><br> |
| <ul> |
| <li>Look the interviewer in the eye.</li> |
| <li>Sit comfortably.</li> |
| <li>Don’t slouch and avoid fidgeting. <br> |
| </li> |
| <li>Have fun with the interview and the people you meet.</li> |
| <li>Smile. People like to have happy people around them and it is a factor in their decision to make a hire.</li> |
| <li>Remember that listening is power…listening gives you a plan to move forward.</li> |
| <li>Take notes about the interview and the interviewers.</li> |
| <li>Pay attention to the interview momentum and keep it moving forward on a positive note.</li> |
| </ul> |
| <br> |
| <strong>During the Interview <strong>– </strong>Answering Questions:</strong><br> |
| <ul> |
| <li>Answer each question directly and with a smile where appropriate.</li> |
| <li>Assume all questions are asked for a good reason and answer accordingly.</li> |
| <li>Do not assume that your interviewer knows how to ask for the information he/she is looking for.</li> |
| <li>Take some time to formulate your answers before you speak.</li> |
| <li>Answer all questions honestly and in the best, most positive light.</li> |
| </ul> |
| <strong><br> |
| When You Leave:</strong><br> |
| <ul> |
| <li>Thank the interviewer for their time and ask what the next step is in the interview process.</li> |
| <li>Give a nice firm handshake.</li> |
| <li>Be polite to the receptionist and others on your way out.</li> |
| </ul> |
| </div> |
| <br> |
| <div> |
| <h2>General Interview Tips</h2> |
| <br> |
| <strong>Interview Grooming Tips:</strong><br> |
| <ul> |
| <li>Overdressed is always better than underdressed even if you feel uncomfortable.</li> |
| <li>Find out how the current employees normally dress for work and, as a rule of thumb, dress at least one step above the that level.</li> |
| <li>You want to look respectful of their time.</li> |
| <li>Make sure your hair is neatly styled and conservative. Do not wear excessive hair gel or go to an interview with wet hair.</li> |
| <li>Make sure your face is shaved and trimmed and nose and ear hairs are clipped.</li> |
| <li>Be freshly showered and do not wear perfume or aftershave, just deodorant. Remember some people have allergic reactions to perfume.</li> |
| </ul> |
| Wear simple jewelry; remove body piercings, extra rings, etc. Cover any tattoos if possible.<br> |
| <ul> |
| <li>Clean and polish your shoes.</li> |
| <li>Do not wear flip flops, sandals or open toed shoes. This is a dress code violation for many companies.</li> |
| <li>Wear clean, dark colored matching socks. Dress socks are preferred over athletic socks.</li> |
| <li>For men, match your belt color with your shoe color.</li> |
| <li>For women, always wear nylons or tights with skirts.</li> |
| </ul> |
| <strong>Before You Go:</strong><br> |
| <ul> |
| <li>Avoid mealtime interviews, or if unavoidable, order something simple to eat in small bites. Avoid handheld food like pizza or messy dishes like pasta or soup. Do not consume alcohol prior to or during the interview.</li> |
| <li>Be sure you know how to pronounce your interviewer’s name.</li> |
| <li>Leave for the interview in plenty of time to arrive 10-15 minutes early.</li> |
| </ul> |
| <strong>When You Arrive:</strong><br> |
| <ul> |
| <li>Do not chew gum, smoke, swear, or use slang (even if they do).</li> |
| <li>Turn off your cell phone.</li> |
| <li>Be aware of how people react through their body language. Use your instincts to keep things on course.</li> |
| <li>Be polite to everyone you meet; they all count.</li> |
| <li>Be personable and professional.</li> |
| </ul> |
| <br> |
| <strong>During the Interview – General:</strong><br> |
| <ul> |
| <li>Look the interviewer in the eye.</li> |
| <li>Sit comfortably.</li> |
| <li>Don’t slouch and avoid fidgeting. <br> |
| </li> |
| <li>Have fun with the interview and the people you meet.</li> |
| <li>Smile. People like to have happy people around them and it is a factor in their decision to make a hire.</li> |
| <li>Remember that listening is power…listening gives you a plan to move forward.</li> |
| <li>Take notes about the interview and the interviewers.</li> |
| <li>Pay attention to the interview momentum and keep it moving forward on a positive note.</li> |
| </ul> |
| <br> |
| <strong>During the Interview <strong>– </strong>Answering Questions:</strong><br> |
| <ul> |
| <li>Answer each question directly and with a smile where appropriate.</li> |
| <li>Assume all questions are asked for a good reason and answer accordingly.</li> |
| <li>Do not assume that your interviewer knows how to ask for the information he/she is looking for.</li> |
| <li>Take some time to formulate your answers before you speak.</li> |
| <li>Answer all questions honestly and in the best, most positive light.</li> |
| </ul> |
| <strong><br> |
| When You Leave:</strong><br> |
| <ul> |
| <li>Thank the interviewer for their time and ask what the next step is in the interview process.</li> |
| <li>Give a nice firm handshake.</li> |
| <li>Be polite to the receptionist and others on your way out.</li> |
| </ul> |
| </div> |
| <br> |

| <%@ Control Language="C#" AutoEventWireup="true" CodeFile="uclTaskGrid.ascx.cs" Inherits="uclTaskGrid" %> |
| <%@ Register assembly="msgBox" namespace="BunnyBear" tagprefix="cc2" %> |
| <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> |
| <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> |
| <script language="javascript" type="text/javascript"> |
| function FireMyIASGroupPrint(myURL){ |
| if(myURL) |
| { |
| window.open("RejectTaskStatus.aspx?querystring=" + myURL, '_blank', 'left = 300, top=150, width=600, height=200,menubar=no , scrollbars=no, resizable=no'); |
| } |
| } |
| function FireMyIASGroupPrint1(myURL) { |
| if (myURL) { |
| alert(myURL); |
| return; |
| } |
| } |
| function ValidateForm(){ |
| } |
| </script> |
| <asp:Timer ID="Timer1" runat="server" ontick="Timer1_Tick" Interval="120000"> |
| </asp:Timer> |
| <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0"> |
| <tr> |
| <td valign="top" height="6" colspan="2"> |
| <table width="1000" border="0" cellpadding="0" cellspacing="0"> |
| <tr> |
| <td class="heading" width="90"> <asp:Label ID="lblProject" runat="server" Text="Project name"></asp:Label></td> |
| <td width="114"> |
| <asp:UpdatePanel ID="UpdatePanel14" runat="server"> |
| <ContentTemplate> |
| <telerik:RadComboBox ID="ddlProjects" runat="server" AutoPostBack="True" onselectedindexchanged="ddlProjects_SelectedIndexChanged" |
| Height="175px" Width="150px" DropDownWidth="175px" Skin="WebBlue"> |
| </telerik:RadComboBox> |
| <%--<asp:DropDownList ID="ddlProjects" Width="145" CssClass="text" runat="server" AutoPostBack="True" |
| onselectedindexchanged="ddlProjects_SelectedIndexChanged"> |
| </asp:DropDownList>--%> |
| </ContentTemplate> |
| </asp:UpdatePanel> |
| </td> |
| <td width="700" align="left"> |
| <table width="700" border="0" cellpadding="0" cellspacing="0"> |
| <tr> |
| <td class="heading"><asp:Label ID="lblResource" runat="server" Text="Resource Name"></asp:Label> </td> |
| <td> |
| <asp:UpdatePanel ID="UpdatePanel13" runat="server"> |
| <ContentTemplate> |
| <telerik:RadComboBox ID="ddlResource" runat="server" AutoPostBack="True" onselectedindexchanged="ddlResource_SelectedIndexChanged" |
| Height="175px" Width="150px" DropDownWidth="175px" Skin="WebBlue"> |
| </telerik:RadComboBox> |
| </ContentTemplate> |
| </asp:UpdatePanel> |
| </td> |
| <td width="16"> |
| <asp:UpdatePanel ID="UpdatePanel16" runat="server"> |
| <ContentTemplate> |
| <asp:CheckBox ID="ChkBFromDate" Width="90%" runat="server" Enabled="False"/> |
| </ContentTemplate> |
| </asp:UpdatePanel> |
| </td> |
| <td class="heading">From </td> |
| <td> |
| <table width="75" border="0" cellspacing="0" cellpadding="0"> |
| <tr> |
| <td width="110"> |
| <telerik:RadDatePicker ID="textFromDate" Runat="server" |
| Culture="English (United States)"> |
| <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"> |
| <FastNavigationSettings EnableTodayButtonSelection="True"> |
| </FastNavigationSettings> |
| </Calendar> |
| <DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton> |
| <DateInput DisplayDateFormat="M/d/yyyy" DateFormat="M/d/yyyy"></DateInput> |
| </telerik:RadDatePicker> |
| </td> |
| <%--<td width="22" height="25" valign="middle"> </td>--%> |
| </tr> |
| </table> |
| </td> |
| <td> |
| <asp:UpdatePanel ID="UpdatePanel17" runat="server"> |
| <ContentTemplate> |
| <asp:CheckBox ID="ChkBToDate" runat="server" Enabled="False"/> |
| </ContentTemplate> |
| </asp:UpdatePanel> |
| </td> |
| <td class="heading">To </td> |
| <td><table width="75" border="0" cellspacing="0" cellpadding="0"> |
| <tr> |
| <td width="101"> |
| <telerik:RadDatePicker ID="textToDate" Runat="server" |
| Culture="English (United States)"> |
| <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"> |
| <FastNavigationSettings EnableTodayButtonSelection="True"> |
| </FastNavigationSettings> |
| </Calendar> |
| <DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton> |
| <DateInput DisplayDateFormat="M/d/yyyy" DateFormat="M/d/yyyy"></DateInput> |
| </telerik:RadDatePicker> |
| </td> |
| <%--<td width="22" height="25" valign="middle"> </td>--%> |
| </tr> |
| </table></td> |
| <td class="heading"> |
| <asp:UpdatePanel ID="UpdatePanel15" runat="server"> |
| <ContentTemplate> |
| <asp:CheckBox ID="chkbTwodays" Text="2 days" runat="server" AutoPostBack="True" |
| oncheckedchanged="chkbTwodays_CheckedChanged" Checked="True" /> |
| </ContentTemplate> |
| </asp:UpdatePanel> |
| </td> |
| <td> </td> |
| <td><asp:UpdatePanel ID="UpdatePanel12" runat="server"> |
| <ContentTemplate> |
| <asp:Button ID="btnGo_ViewEvents" CssClass="go" runat="server" Text="Go" |
| onclick="btnGo_ViewEvents_Click" /> </ContentTemplate> |
| </asp:UpdatePanel></td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td height="10" align="left" colspan="2"></td> |
| </tr> |
| <tr> |
| <td valign="top" align="center" colspan="2"> |
| <table cellpadding="0" cellspacing="0" border="0" width="98%"> |
| <tr> |
| <td align="right"> |
| <table width="130" border="0" cellspacing="0" cellpadding="0"> |
| <tr> |
| <td align="left"> |
| <%-- <asp:UpdatePanel ID="UpdatePanel2" runat="server"> |
| <ContentTemplate>--%> |
| <asp:Label ID="lblRecCount" runat="server" Visible="False"></asp:Label> |
| <%-- </ContentTemplate> |
| </asp:UpdatePanel>--%> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <tr> |
| <td height="15" align="left" colspan="2"></td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> |
| <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1"> |
| <asp:UpdatePanel ID="UpdatePanel1" runat="server"> |
| <Triggers> |
| <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" /> |
| </Triggers> |
| <ContentTemplate> |
| <telerik:RadGrid ID="gviewTasks" runat="server" |
| AllowPaging="True" AllowScroll="True" AllowSorting="True" GridLines="None" |
| AutoGenerateColumns="False" Skin="Vista" |
| EnableLinqExpressions="False" |
| Font-Bold="False" Font-Italic="False" Font-Overline="False" |
| Font-Underline="False" PageSize="7" |
| onitemcommand="gviewTasks_ItemCommand" |
| onitemdatabound="gviewTasks_ItemDataBound" |
| onitemcreated="gviewTasks_ItemCreated" onpageindexchanged="gviewTasks_PageIndexChanged" |
| > |
| <MasterTableView TableLayout="Fixed" Font-Bold="False" Font-Italic="False" Font-Overline="False" |
| Font-Strikeout="False" Font-Underline="False"> |
| <columns> |
| <telerik:GridBoundColumn DataField="TaskID" HeaderText="ID" Visible="false" /> |
| <telerik:GridBoundColumn DataField="Resource Name" HeaderText="Resource Name" |
| HeaderStyle-Width="70px" > |
| <HeaderStyle Width="70px" Font-Bold="True" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridTemplateColumn HeaderText="Task Name" AllowFiltering="false" Groupable="false" HeaderStyle-Width="50px" > |
| <ItemTemplate> |
| <asp:LinkButton ID="lnkTask" runat="server" CommandName="select" Text='<%#DataBinder.Eval(Container.DataItem,"Task Name")%>'></asp:LinkButton> |
| </ItemTemplate> |
| <HeaderStyle Width="70px" Font-Bold="True" Font-Italic="False" |
| Font-Overline="False" Font-Strikeout="False" Font-Underline="False" |
| Wrap="True" /> |
| </telerik:GridTemplateColumn> |
| <telerik:GridBoundColumn DataField="Task Name" HeaderText="TaskName" /> |
| <telerik:GridBoundColumn DataField="Description" HeaderText="TaskDescription" |
| HeaderStyle-Width="70px" > |
| <HeaderStyle Width="80px" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridTemplateColumn HeaderText="Phase" HeaderStyle-Width="65px" AllowFiltering="false" Groupable="false" > |
| <ItemTemplate> |
| <asp:Label ID="lblphase" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"Phase") %>'></asp:Label> |
| |
| </ItemTemplate> |
| <HeaderStyle Width="65px" /> |
| </telerik:GridTemplateColumn> |
| <telerik:GridBoundColumn DataField="Project Name" HeaderText="Project" |
| HeaderStyle-Width="60px" FilterControlWidth="50px" > |
| <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" |
| Font-Strikeout="False" Font-Underline="False" Width="60px" Wrap="True" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="AssignedBy" HeaderText="Assigned By" |
| HeaderStyle-Width="60px" FilterControlWidth="50px" > |
| <HeaderStyle Width="60px" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridNumericColumn DataField="Estimated Hours" HeaderText="ETA [Hrs]" |
| HeaderStyle-Width="70px" FilterControlWidth="50px" > |
| <HeaderStyle Width="70px" /> |
| </telerik:GridNumericColumn> |
| <telerik:GridBoundColumn DataField="Date" HeaderText="Date" AllowFiltering="false" HeaderStyle-Width="60px" > |
| <HeaderStyle Width="60px" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="Status" HeaderText="Status" HeaderStyle-Width="60px" FilterControlWidth="50px" > |
| <HeaderStyle Width="60px" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="Approve Status" HeaderText="Approval Status" |
| HeaderStyle-Width="60px" FilterControlWidth="50px" > |
| <HeaderStyle Width="60px" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridTemplateColumn HeaderText="Approve" AllowFiltering="false" Groupable="false" HeaderStyle-Width="40px" UniqueName="Approve" > |
| <ItemTemplate> |
| <asp:ImageButton ID="imgbtnactivate" runat="server" ImageUrl="~/images/activate.gif" CommandName="Approve" ToolTip="Approve" OnClientClick="return confirm('Are you sure you want to approve this task?');"></asp:ImageButton> |
| </ItemTemplate> |
| <HeaderStyle Width="40px" /> |
| </telerik:GridTemplateColumn> |
| <telerik:GridTemplateColumn HeaderText="Reject" AllowFiltering="false" Groupable="false" HeaderStyle-Width="30px" UniqueName="Reject" > |
| <ItemTemplate> |
| <asp:ImageButton ID="imgbtndeactivate" runat="server" CausesValidation="false" ImageUrl="~/images/de-activate.gif" CommandName="Reject" ToolTip="Reject" OnClientClick="return confirm('Are you sure you want to reject this task?');"></asp:ImageButton> |
| </ItemTemplate> |
| <HeaderStyle Width="30px" /> |
| </telerik:GridTemplateColumn> |
| <telerik:GridTemplateColumn HeaderText="Forward" AllowFiltering="false" Groupable="false" HeaderStyle-Width="40px" UniqueName="Forward" > |
| <ItemTemplate> |
| <asp:ImageButton ID="imgforward" runat="server" ImageUrl="~/images/forward.gif" CausesValidation="false" CommandName="Select1" ToolTip="Forward" OnClick="forwardLeave"></asp:ImageButton> |
| </ItemTemplate> |
| <HeaderStyle Width="40px" /> |
| </telerik:GridTemplateColumn> |
| <telerik:GridBoundColumn DataField="ResourceID" Visible="false"/> |
| <telerik:GridTemplateColumn HeaderText="Delete" AllowFiltering="false" Groupable="false" HeaderStyle-Width="30px" UniqueName="Delete" > |
| <ItemTemplate> |
| <asp:ImageButton ID="imgdelete" runat="server" ImageUrl="~/images/delete-icon.gif" CommandName="deleteTask" ToolTip="Delete" OnClientClick="return confirm('Are you sure you want to delete the task?');"></asp:ImageButton> |
| </ItemTemplate> |
| <HeaderStyle Width="30px" /> |
| </telerik:GridTemplateColumn> |
| <telerik:GridBoundColumn DataField="DocumentID" HeaderText="DocID" Visible="false" ></telerik:GridBoundColumn> |
| </columns> |
| <PagerStyle Height="30px" HorizontalAlign="Center" Font-Bold="True" |
| Font-Names="Arial" Font-Size="Smaller" /> |
| <HeaderStyle BorderStyle="None" Font-Bold="True" |
| Height="30px" /> |
| <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="Blue" /> |
| </MasterTableView> |
| <ClientSettings EnableRowHoverStyle="true"> |
| <Selecting AllowRowSelect="true" /> |
| <Resizing AllowColumnResize="True" ClipCellContentOnResize="false" ResizeGridOnColumnResize="true" /> |
| </ClientSettings> |
| <PagerStyle Mode="NumericPages" /> |
| </telerik:RadGrid> |
| <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" |
| AutoTooltipify="True" RelativeTo="Element" Skin="Forest" > |
| </telerik:RadToolTipManager> |
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="true" DefaultLoadingPanelID="RadAjaxLoadingPanel1"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="ddlProjects"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="gviewTasks" LoadingPanelID="AjaxLoadingPanel1" /> |
| <telerik:AjaxUpdatedControl ControlID="ddlProjects" /> |
| <telerik:AjaxUpdatedControl ControlID="ddlResource" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| </ContentTemplate> |
| </asp:UpdatePanel> |
| </telerik:RadAjaxPanel> |
| <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" |
| Skin="Forest" > |
| </telerik:RadAjaxLoadingPanel> |
| </td></tr> |
| </table> |
| </td> |
| </tr></table> |