<script type="text/javascript">var uri = 'http://sampleurl/imp?type(img)g(111)a(222)' + new String(Math.random()).substring(2, 11);
document.write('<a id="a_manuallyadded" href="http://sampleurl/click?p=111&a=222&g=333"
target="_BLANK"><img id="i_manuallyadded" src="' + uri + '" border=0></a>'); </script><telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server" AllowAutomaticDeletes="True" FooterStyle-Width="100px" ShowFooter="true" OnNeedDataSource="RadGrid1_NeedDataSource" AllowAutomaticInserts="True" PageSize="10" AllowAutomaticUpdates="True" AllowPaging="True" AutoGenerateColumns="False" OnItemDataBound="RadGrid1_ItemDataBound" DataSourceID="SqlDataSource1" OnItemUpdated="RadGrid1_ItemUpdated" AllowFilteringByColumn="true" OnItemDeleted="RadGrid1_ItemDeleted" OnItemInserted="RadGrid1_ItemInserted" OnDataBound="RadGrid1_DataBound" ExportSettings-OpenInNewWindow="true" ExportSettings-Pdf-AllowPrinting="true" OnItemCreated="RadGrid1_ItemCreated" ExportSettings-Pdf-PageTitle="Financial Record" Skin="Hay"> <PagerStyle Mode="NextPrevAndNumeric" /> <ExportSettings OpenInNewWindow="True"> <Pdf PageTitle="Financial Record"></Pdf> </ExportSettings> <MasterTableView Width="950px" CommandItemDisplay="TopAndBottom" DataKeyNames="BudgetId" EditMode="EditForms" CommandItemSettings-AddNewRecordText="Add New Record" DataSourceID="SqlDataSource1" HorizontalAlign="NotSet" AutoGenerateColumns="False"> <CommandItemSettings AddNewRecordText="Add New Record"></CommandItemSettings> <Columns> <%--footer--%> <telerik:GridTemplateColumn UniqueName="footer1" DataField="footer1" ColumnEditorID="footerEditor" > <ItemTemplate> </ItemTemplate> <HeaderStyle Width="950px" /> <ItemStyle Width="950px" /> <FooterStyle Width="950px" /> <FooterTemplate> <h3><asp:Label runat="server" ID="lblBudgetSummary" >Budget Summary</asp:Label></h3> <table width="400px;"> <tr><td width="200px">Total</td><td width="200px"> <asp:Label ID="lblTotal" runat="server" Text='<%# Bind("Total2", "{0:F2}") %>'></asp:Label></td></tr> <tr><td>Food</td><td><asp:Label ID="lblFood" runat="server" Text='<%# Bind("Total2", "{0:F2}") %>'></asp:Label></td></tr> <tr><td>Transport</td><td> <asp:Label ID="lblTransport" runat="server"></asp:Label></td></tr> <tr><td>Communication</td><td><asp:Label ID="lblCommunication" runat="server"></asp:Label></td></tr> <tr><td>Residence</td><td><asp:Label ID="lblResidence" runat="server"></asp:Label></td></tr> <tr><td>Clothing</td><td><asp:Label ID="lblClothing" runat="server"></asp:Label></td></tr> <tr><td>Health</td><td><asp:Label ID="lblHealth" runat="server"></asp:Label></td></tr> <tr><td>Insurance</td><td> <asp:Label ID="lblInsurance" runat="server"></asp:Label></td></tr> <tr><td>Leisure</td><td><asp:Label ID="lblLeisure" runat="server"></asp:Label></td></tr> <tr><td>Education</td><td><asp:Label ID="lblEducation" runat="server"></asp:Label></td></tr> <tr><td>Other</td><td><asp:Label ID="lblOther" runat="server"></asp:Label></td></tr> </table> </FooterTemplate> </telerik:GridTemplateColumn> <%--edit button--%> <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" > </telerik:GridEditCommandColumn> <%--User ID (Visible)--%> <%-- <telerik:GridBoundColumn DataField="UserId" HeaderText="UserId" SortExpression="UserId" Visible="false" UniqueName="UserId" > </telerik:GridBoundColumn>--%> <%--Budget ID (visible) --%> <%-- <telerik:GridBoundColumn DataField="BudgetId" HeaderText="BudgetId" SortExpression="BudgetId" Visible="false" UniqueName="BudgetId" > </telerik:GridBoundColumn>--%> <%--Create Date --%> <telerik:GridDateTimeColumn DataField="CreateDate" HeaderText="Date Added" SortExpression="CreateDate" ColumnEditorID="dtCreateDate" MinDate="01/01/2011" HtmlEncode="false" UniqueName="CreateDate" DataType="System.DateTime" DataFormatString="{0:dd/MMM/ yyyy}"> <HeaderStyle Font-Size="12px" /> <ItemStyle Font-Size="11px" /> </telerik:GridDateTimeColumn> <%--category ID--%> <telerik:GridDropDownColumn DataField="CategoryId" DropDownControlType="RadComboBox" HeaderText="Category" ListTextField="CategoryType" ListValueField="CategoryId" UniqueName="CategoryId" DataSourceID="SqlDataSource2"> </telerik:GridDropDownColumn> <%--record title--%> <telerik:GridBoundColumn DataField="Description" HeaderText="Description" SortExpression="Description" UniqueName="Description" EditFormColumnIndex="1" ColumnEditorID="GridTextBoxColumnEditor1"> </telerik:GridBoundColumn> <%--Amount--%> <telerik:GridNumericColumn DataField="Amount" HeaderText="Amount" SortExpression="Amount" DataFormatString="{0:C}" UniqueName="Amount" EditFormColumnIndex="1" ColumnEditorID="GridTextBoxColumnEditor3"> </telerik:GridNumericColumn> <%--Carry forward--%> <telerik:GridCheckBoxColumn DataField="CarryForward" HeaderText="Carry Forward" SortExpression="CarryForward" ColumnEditorID="chkCarryForward" UniqueName="CarryForward" EditFormColumnIndex="1"> </telerik:GridCheckBoxColumn> <%--delete row data popup--%> <telerik:GridButtonColumn ConfirmText="Delete this account?" ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete" UniqueName="DeleteColumn"> <ItemStyle HorizontalAlign="Center" /> </telerik:GridButtonColumn> </Columns> <%--Account Name Edit Form Settings--%> <EditFormSettings ColumnNumber="1" CaptionDataField="RecordId" CaptionFormatString="Edit properties of Account {0}"> <FormTableItemStyle Wrap="False"></FormTableItemStyle> <FormCaptionStyle></FormCaptionStyle> <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" BackColor="White" Width="100%" /> <FormTableStyle CellSpacing="0" CellPadding="2" Height="110px" BackColor="White" /> <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle> <EditColumn ButtonType="ImageButton" InsertText="Insert Order" UpdateText="Update record" UniqueName="EditCommandColumn1" CancelText="Cancel edit"> </EditColumn> <FormTableButtonRowStyle HorizontalAlign="Right"></FormTableButtonRowStyle> </EditFormSettings> </MasterTableView> <ClientSettings> <ClientEvents OnRowDblClick="RowDblClick" /> </ClientSettings> </telerik:RadGrid>protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e) { if (e.Item is GridEditableItem && e.Item.IsInEditMode)//Check for Edit mode. Here its InPlace. { GridEditableItem editItem = (GridEditableItem)e.Item; RadComboBox combo = (RadComboBox)editItem["CategoryId"].Controls[0]; combo.AllowCustomText = true; combo.EmptyMessage = "=Select="; } if (e.Item is GridFooterItem) { GridFooterItem footer = ((GridFooterItem)e.Item); int index = RadGrid1.Columns.Count; footer["footer1"].ColumnSpan = 8; // footer["footer1"].Width = 10; } <div id="dvPopUp" title="PopUp" style="display:none;"> <asp:UpdatePanel runat="server" ID="upLetter" UpdateMode="Conditional"> <ContentTemplate> <User Control with Rad Editor/>
</ContentTemplate> </asp:UpdatePanel>
</div>
public void RadListBox1_Transferred(object sender, RadListBoxTransferredEventArgs e)
{
RadListBox1.Sort =
RadListBoxSort.Ascending;
RadListBox1.SortItems();
}
So, just an example...
I start with ListBox #1 having values: a, b, c, x, y, z
Then I drop value "m" from ListBox#2 onto ListBox #1 (location between "a" and "b")and I end up with this list: a, z, b, c, m, x, y
The location of "m" is fine (it got sorted). The new location of "z" is the problem.
Has anyone seen this behavior before?
Thanks,
Matt
When the user clicks on a treeview item checkbox, the following method is called. However, the page is refreshed and the treeview focus is lost. How can I stay with the currently selected item? Thx.
protected void rTree_NodeCheck(object sender, RadTreeNodeEventArgs e)
{
hdnCurrentNode.Value = e.Node.Text;
e.Node.ExpandChildNodes();
if (0 == e.Node.Level)
{
e.Node.Nodes[i].Checked = e.Node.Checked;
}
}
I tried this code as well:
//RadTreeNode rtn = this.rTree.FindNodeByText(hdnCurrentNode.Value, true);
//rtn.Selected = true;
//rtn.Focus();
//rtn.Visible = true;
<P><%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Talent.aspx.cs" Inherits="CreativeAffairsWebApp.Modules.Talent.Talent" %></P> <P><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><BR><%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %><BR><asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server"><BR></asp:Content><BR><asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"><BR> <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"><BR> <BR> </telerik:RadScriptBlock><BR> <BR> <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Skin="WebBlue" Width="100%"><BR> <Items><BR> <telerik:RadPanelItem runat="server" Expanded="false" Text="Talent Search Results"><BR> <ContentTemplate><BR> <table width="100%"><BR> <tr><BR> <td align="right" class="formLabel"><BR> <asp:CheckBox ID="ckHideSearchResultsFilter" AutoPostBack="true" runat="server" Text="Hide Filter Row"<BR> OnCheckedChanged="ckHideSearchResultsFilter_CheckChanged" /><BR> <asp:CheckBox ID="ckHideSearchResultsGroupPanel" AutoPostBack="true" runat="server"<BR> Text="Hide Grouping Row" OnCheckedChanged="ckHideSearchResultsGroupPanel_CheckChanged" /><BR> </td><BR> </tr><BR> </table><BR> <telerik:RadGrid ID="radgridSearchResults" runat="server" AllowFilteringByColumn="True"<BR> AllowPaging="True" PageSize="50" AllowSorting="True" AutoGenerateColumns="False"<BR> GridLines="None" ShowGroupPanel="True" Skin="WebBlue" Width="100%" EnableLinqExpressions="false"<BR> OnSelectedIndexChanged="radgridSearchResults_SelectedIndexChanged" OnPageIndexChanged="radgridSearchResults_PageIndexChanged"<BR> OnNeedDataSource="radgridSearchResults_NeedDataSource" CellSpacing="0"><BR> <ClientSettings AllowDragToGroup="True"><BR> <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="400" /><BR> </ClientSettings><BR> <MasterTableView><BR> <CommandItemSettings ExportToPdfText="Export to Pdf" /><BR> <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"><BR> <HeaderStyle Width="20px" /><BR> </RowIndicatorColumn><BR> <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"><BR> <HeaderStyle Width="20px" /><BR> </ExpandCollapseColumn><BR> <Columns><BR> <telerik:GridButtonColumn CommandName="Select" DataTextField="Name" FilterControlAltText="Filter TalentColumn column"<BR> SortExpression="Name" Text="Select" UniqueName="TalentColumn" HeaderText="Talent"><BR> <HeaderStyle Width="30%" /><BR> <ItemStyle Width="30%" VerticalAlign="Top" /><BR> </telerik:GridButtonColumn><BR> <telerik:GridBoundColumn DataField="Agency.name" FilterControlAltText="Filter column1 column"<BR> HeaderText="Agency" SortExpression="Agency.name" UniqueName="column1"><BR> <HeaderStyle Width="30%" /><BR> <ItemStyle Width="30%" /><BR> </telerik:GridBoundColumn><BR> <telerik:GridBoundColumn DataField="Agent.name" FilterControlAltText="Filter column2 column"<BR> HeaderText="Agent" SortExpression="Agent.name" UniqueName="column2"><BR> </telerik:GridBoundColumn><BR> </Columns><BR> <EditFormSettings><BR> <EditColumn FilterControlAltText="Filter EditCommandColumn column"><BR> </EditColumn><BR> </EditFormSettings><BR> </MasterTableView><BR> <FilterMenu EnableImageSprites="False"><BR> </FilterMenu><BR> <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"><BR> </HeaderContextMenu><BR> </telerik:RadGrid><BR> </ContentTemplate><BR> </telerik:RadPanelItem><BR> <telerik:RadPanelItem runat="server" Text="Talent Details" Expanded="true"><BR> <ContentTemplate><BR> <table width="100%" class="form" border="0"><BR> <tr><BR> <td width="350px"><BR> <table width="100%"><BR> <tr><BR> <td class="formLabel-RightAlign"><BR> Talent<BR> </td><BR> <td width="225px"><BR> <asp:TextBox ID="txtTalentName" runat="server" Width="200px" CssClass="textFields"></asp:TextBox><BR> <asp:RequiredFieldValidator ID="valTalentName" runat="server" ControlToValidate="txtTalentName"<BR> Display="None" ErrorMessage="Talent Name is a required field." ValidationGroup="valGroup1"></asp:RequiredFieldValidator><BR> <asp:ValidatorCalloutExtender ID="ValidatorCalloutExtender1" runat="server" Enabled="True"<BR> TargetControlID="valTalentName" /><BR> </td><BR> </tr><BR> <tr><BR> <td class="formLabel-RightAlign"><BR> Agent<BR> </td><BR> <td><BR> <telerik:RadComboBox ID="cboAgents" runat="server" EmptyMessage="Type to Search..."<BR> EnableAutomaticLoadOnDemand="true" EnableVirtualScrolling="true" ItemsPerRequest="100"<BR> MarkFirstMatch="True" Skin="WebBlue" Width="205px" AutoPostBack="true" OnSelectedIndexChanged="cboAgents_SelectedIndexChanged"><BR> <WebServiceSettings Method="GetAgents" Path="Talent.aspx" /><BR> </telerik:RadComboBox><BR> </td><BR> </tr><BR> <tr><BR> <td class="formLabel-RightAlign"><BR> Agency<BR> </td><BR> <td><BR> <telerik:RadComboBox ID="cboAgencies" runat="server" EmptyMessage="Type to Search..."<BR> EnableAutomaticLoadOnDemand="true" EnableVirtualScrolling="true" ItemsPerRequest="100"<BR> AutoPostBack="true" MarkFirstMatch="True" Skin="WebBlue" Width="205px" OnSelectedIndexChanged="cboAgencies_SelectedIndexChanged"><BR> <WebServiceSettings Method="GetAgencies" Path="Talent.aspx" /><BR> </telerik:RadComboBox><BR> </td><BR> </tr><BR> <tr><BR> <td class="formLabel-RightAlign"><BR> Agency Phone<BR> </td><BR> <td><BR> <asp:TextBox ID="txtAgencyPhone" ReadOnly="true" runat="server" Width="200px" CssClass="textFields"></asp:TextBox><BR> </td><BR> </tr><BR> <tr><BR> <td class="formLabel-RightAlign"><BR> Phone<BR> </td><BR> <td><BR> <asp:TextBox ID="txtPhone" runat="server" ReadOnly="true" Width="200px" CssClass="textFields"></asp:TextBox><BR> </td><BR> </tr><BR> <tr><BR> <td class="formLabel-RightAlign" valign="top"><BR> Comment<BR> </td><BR> <td><BR> <asp:TextBox ID="txtComment" runat="server" Rows="3" TextMode="MultiLine" CssClass="textFields"<BR> Width="200px"></asp:TextBox><BR> </td><BR> </tr><BR> <tr><BR> <td><BR> </td><BR> <td><BR> </td><BR> </tr><BR> </table><BR> </td><BR> <td width="350px" valign="top"><BR> <table width="100%" border="0"><BR> <tr><BR> <td align="left"><BR> <asp:Label ID="Label2" runat="server" CssClass="formLabel" Text="Specialty" Width="125px"></asp:Label><BR> </td><BR> <td><BR> <asp:Label ID="Label1" runat="server" CssClass="formLabel" Text="Target"></asp:Label><BR> </td><BR> <td><BR> <asp:Label runat="server" CssClass="formLabel-RightAlign" Text="Strengths"></asp:Label><BR> </td><BR> </tr><BR> <tr><BR> <td><BR> <asp:CheckBox ID="ckDirector" runat="server" CssClass="formLabel-RightAlign" Text="Director" /><BR> </td><BR> <td align="center"><BR> <asp:CheckBox ID="ckDirectorTarget" runat="server" CssClass="formLabel-RightAlign" /><BR> </td><BR> <td rowspan="5" valign="top"><BR> <telerik:RadListBox ID="lstTargetStrengths" runat="server" Height="125px" CssClass="textFields"<BR> SelectionMode="Multiple" Skin="WebBlue" Width="200px"><BR> </telerik:RadListBox><BR> </td><BR> </tr><BR> <tr><BR> <td><BR> <asp:CheckBox ID="ckProducer" runat="server" CssClass="formLabel-RightAlign" Text="Producer" /><BR> </td><BR> <td align="center"><BR> <asp:CheckBox ID="ckProducerTarget" runat="server" CssClass="formLabel-RightAlign" /><BR> </td><BR> <td><BR> </td><BR> </tr><BR> <tr><BR> <td><BR> <asp:CheckBox ID="ckWriter" runat="server" CssClass="formLabel-RightAlign" Text="Writer" /><BR> </td><BR> <td align="center"><BR> <asp:CheckBox ID="ckWriterTarget" runat="server" CssClass="formLabel-RightAlign" /><BR> </td><BR> <td><BR> </td><BR> </tr><BR> <tr><BR> <td><BR> <asp:CheckBox ID="ckTalentMale" runat="server" CssClass="formLabel-RightAlign" Text="Talent-Male" /><BR> </td><BR> <td align="center"><BR> <asp:CheckBox ID="ckTalentMaleTarget" runat="server" CssClass="formLabel-RightAlign" /><BR> </td><BR> <td><BR> </td><BR> </tr><BR> <tr><BR> <td><BR> <asp:CheckBox ID="ckTalentFemale" runat="server" CssClass="formLabel-RightAlign"<BR> Text="Talent-Female" /><BR> </td><BR> <td align="center"><BR> <asp:CheckBox ID="ckTalentFemaleTarget" runat="server" CssClass="formLabel-RightAlign" /><BR> </td><BR> <td><BR> </td><BR> </tr><BR> <tr><BR> <td><BR> </td><BR> <td><BR> </td><BR> </tr><BR> </table><BR> </td><BR> <td valign="top"><BR> <table width="100%" border="0"><BR> <tr><BR> <td class="formLabel" colspan="2"><BR> <table width="100%"><BR> <tr><BR> <td><BR> Male/Female Talent Attributes<BR> </td><BR> <td align="right"><BR> <telerik:RadButton ID="btnSave" runat="server" Text="Save" OnClick="btnSaveTalent_Click" Skin="WebBlue" ValidationGroup="valGroup1"> <BR> </telerik:RadButton><BR> <telerik:RadButton ID="btnDelete" runat="server" Text="Delete" OnClick="btnDeleteTalent_Click" Skin="WebBlue" ValidationGroup="valGroup1"> <BR> </telerik:RadButton><BR> <telerik:RadButton ID="btnResetTalent" runat="server" Text="Reset" OnClick="btnResetTalent_Click" Skin="WebBlue" ValidationGroup="valGroup1"> <BR> </telerik:RadButton><BR> <asp:ModalPopupExtender ID="ModalPopupExtender2" runat="server" BackgroundCssClass="modalBackground"<BR> CancelControlID="ButtonCancel" DynamicServicePath="" Enabled="True" OkControlID="ButtonOk"<BR> PopupControlID="panelDeleteTalentOuter" TargetControlID="btnDelete" /><BR> <asp:ConfirmButtonExtender ID="ConfirmButtonExtender2" runat="server" ConfirmText=""<BR> DisplayModalPopupID="ModalPopupExtender2" Enabled="True" TargetControlID="btnDelete" /><BR> </td><BR> </tr><BR> </table><BR> </td><BR> </tr><BR> <tr><BR> <td class="formLabel-RightAlign" width="75px"><BR> Age Range:<BR> </td><BR> <td><BR> <telerik:RadComboBox ID="cboAgeRanges" runat="server" EmptyMessage="Type to Search..."<BR> MarkFirstMatch="True" Skin="WebBlue" Width="175px" ZIndex="100"><BR> </telerik:RadComboBox><BR> </td><BR> </tr><BR> <tr><BR> <td class="formLabel-RightAlign"><BR> Race:<BR> </td><BR> <td><BR> <telerik:RadComboBox ID="cboRaces" runat="server" EmptyMessage="Type to Search..."<BR> MarkFirstMatch="True" Skin="WebBlue" Width="175px" ZIndex="100"><BR> </telerik:RadComboBox><BR> </td><BR> </tr><BR> <tr><BR> <td class="formLabel-RightAlign"><BR> Type<BR> </td><BR> <td><BR> <telerik:RadComboBox ID="cboTypes" runat="server" EmptyMessage="Type to Search..."<BR> MarkFirstMatch="True" Skin="WebBlue" Width="175px" ZIndex="100"><BR> </telerik:RadComboBox><BR> </td><BR> </tr><BR> <tr><BR> <td><BR> </td><BR> <td class="formLabel"><BR> <asp:CheckBox ID="ckIsAvailable" runat="server" Text="Available" /> <BR> <asp:CheckBox ID="ckInActive" runat="server" Text="Inactive" /><BR> </td><BR> </tr><BR> <tr><BR> <td><BR> </td><BR> <td><BR> </td><BR> </tr><BR> </table><BR> </td><BR> </tr><BR> </table><BR> <!--Credit Table--><BR> <table width="100%" class="form" border="0"><BR> <tr><BR> <td class="formLabel" align="left" valign="baseline" width="100px"><BR> Credits<BR> </td><BR> <td align="left"><BR> <telerik:RadButton ID="btnAddCreditForTalent" Enabled="false" OnClick="btnAddCreditForTalent_Click" runat="server" Text="Add" Skin="WebBlue"><BR> </telerik:RadButton><BR> </td><BR> <td align="right" class="formLabel" width="95%" valign="baseline"><BR> <asp:CheckBox ID="ckHideCreditsFilterRow" AutoPostBack="true" runat="server" Text="Hide Filter Row"<BR> OnCheckedChanged="ckHideCreditsFilter_CheckChanged" /><BR> <asp:CheckBox ID="ckHideCreditsGroupingRow" AutoPostBack="true" runat="server" Text="Hide Grouping Row"<BR> OnCheckedChanged="ckHideGroupingRow_CheckChanged" /><BR> </td><BR> </tr><BR> <tr><BR> <td colspan="3"><BR> <telerik:RadGrid ID="radgridCredits" runat="server" AllowFilteringByColumn="True"<BR> AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CellSpacing="0"<BR> GridLines="None" Height="280px" OnNeedDataSource="radgridCredits_NeedDataSource"<BR> OnSelectedIndexChanged="radgridCredits_SelectedIndexChanged" PageSize="50" ShowGroupPanel="True"<BR> Skin="WebBlue" Visible="False" Width="100%"><BR> <ClientSettings AllowDragToGroup="True"><BR> <Scrolling AllowScroll="True" ScrollHeight="375" UseStaticHeaders="True" /><BR> </ClientSettings><BR> <MasterTableView><BR> <CommandItemSettings ExportToPdfText="Export to Pdf" /><BR> <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"><BR> <HeaderStyle Width="20px" /><BR> </RowIndicatorColumn><BR> <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"><BR> <HeaderStyle Width="20px" /><BR> </ExpandCollapseColumn><BR> <Columns><BR> <telerik:GridButtonColumn CommandName="Select" DataTextField="Show.Title" FilterControlAltText="Filter column2 column"<BR> HeaderText="Show" SortExpression="Show.Title" UniqueName="column2"><BR> <HeaderStyle Width="20%" /><BR> <ItemStyle Width="20%" /><BR> </telerik:GridButtonColumn><BR> <telerik:GridBoundColumn DataField="Show.Medium.name" FilterControlAltText="Filter TalentColumn column"<BR> FilterControlWidth="50px" HeaderText="Media" SortExpression="Show.Medium.name"<BR> UniqueName="TalentColumn"><BR> <HeaderStyle Width="9%" /><BR> <ItemStyle VerticalAlign="Top" Width="9%" /><BR> </telerik:GridBoundColumn><BR> <telerik:GridBoundColumn DataField="Craft.name" FilterControlAltText="Filter column1 column"<BR> FilterControlWidth="75px" HeaderText="Craft" SortExpression="Craft.name" UniqueName="column1"><BR> <HeaderStyle Width="12%" /><BR> <ItemStyle Width="12%" /><BR> </telerik:GridBoundColumn><BR> <telerik:GridBoundColumn DataField="Show.us_bor" DataFormatString="${C:0}" FilterControlAltText="Box Office"<BR> FilterControlWidth="50px" HeaderText="US BO(US$)" SortExpression="Show.us_bor"<BR> UniqueName="colBoxOffice"><BR> <HeaderStyle Width="8%" /><BR> <ItemStyle Width="8%" /><BR> </telerik:GridBoundColumn><BR> <telerik:GridBoundColumn DataField="Show.ProdHouse.name" FilterControlAltText="Filter column3 column"<BR> HeaderText="Production House" SortExpression="Show.ProdHouse" UniqueName="column3"><BR> <HeaderStyle Width="15%" /><BR> <ItemStyle Width="15%" /><BR> </telerik:GridBoundColumn><BR> <telerik:GridBoundColumn DataField="comment" FilterControlAltText="Filter column4 column"<BR> HeaderText="Comment" SortExpression="comment" UniqueName="column4"><BR> <HeaderStyle Width="15%" /><BR> <ItemStyle Width="15%" /><BR> </telerik:GridBoundColumn><BR> <telerik:GridBoundColumn DataField="Show.year" FilterControlAltText="Filter column5 column"<BR> FilterControlWidth="40px" HeaderText="Year" SortExpression="Show.year" UniqueName="column5"><BR> </telerik:GridBoundColumn><BR> </Columns><BR> <EditFormSettings><BR> <EditColumn FilterControlAltText="Filter EditCommandColumn column"><BR> </EditColumn><BR> </EditFormSettings><BR> </MasterTableView><BR> <FilterMenu EnableImageSprites="False"><BR> </FilterMenu><BR> <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"><BR> </HeaderContextMenu><BR> </telerik:RadGrid><BR> </td><BR> </tr><BR> </table><BR> <BR> <asp:Panel ID="panelDeleteTalentOuter" runat="server" CssClass="DeleteConfirmationOuterWindow"<BR> Style="display: none;"><BR> <asp:Panel ID="panelDeleteTalent" runat="server" Width="200px" Height="75px" CssClass="DeleteConfirmWindow"><BR> <table width="100%"><BR> <tr><BR> <td align="center"><BR> Are you sure you want to Delete this Talent?<BR> </td><BR> </tr><BR> <tr><BR> <td align="center"><BR> <asp:Button ID="ButtonOk" runat="server" Text="Ok" /><BR> <asp:Button ID="ButtonCancel" runat="server" Text="Cancel" /><BR> </td><BR> </tr><BR> </table><BR> </asp:Panel><BR> </asp:Panel><BR> </ContentTemplate><BR> </telerik:RadPanelItem><BR> </Items><BR> </telerik:RadPanelBar><BR> </P> <P> <!--SEARCH PANEL--><BR> <div class="panel"><BR> <telerik:RadPanelBar ID="radSearchPanel" runat="server" Skin="WebBlue" Height="560px" Width="225px"><BR> <Items><BR> <telerik:RadPanelItem Text="Search" Expanded="true" PreventCollapse="true"><BR> <ContentTemplate><BR> <table class="searchForm" width="100%"><BR> <tr><BR> <td class="searchSectionLabel"><BR> Name<BR> </td><BR> </tr><BR> <tr><BR> <td><BR> <asp:TextBox ID="txtTalentSearch" CssClass="textFields" runat="server" TabIndex="0"<BR> Width="200px"></asp:TextBox><BR> </td><BR> </tr><BR> <tr><BR> <td class="searchSectionLabel"><BR> Agent<BR> </td><BR> </tr><BR> <tr><BR> <td><BR> <telerik:RadComboBox ID="cboAgentSearch" runat="server" EmptyMessage="Type to Search..."<BR> EnableAutomaticLoadOnDemand="true" EnableVirtualScrolling="true" ItemsPerRequest="100"<BR> MarkFirstMatch="True" Skin="WebBlue" Width="205px"><BR> <WebServiceSettings Method="GetAgents" Path="Talent.aspx" /><BR> </telerik:RadComboBox><BR> </td><BR> </tr><BR> <tr><BR> <td class="searchSectionLabel"><BR> Agency<BR> </td><BR> </tr><BR> <tr><BR> <td><BR> <telerik:RadComboBox ID="cboAgencySearch" runat="server" EmptyMessage="Type to Search..."<BR> EnableVirtualScrolling="true" ItemsPerRequest="100" EnableAutomaticLoadOnDemand="true"<BR> MarkFirstMatch="True" Skin="WebBlue" Width="205px"><BR> <WebServiceSettings Method="GetAgencies" Path="Talent.aspx" /><BR> </telerik:RadComboBox><BR> </td><BR> </tr><BR> <tr><BR> <td class="searchSectionLabel"><BR> Credit<BR> </td><BR> </tr><BR> <tr><BR> <td><BR> <asp:TextBox ID="txtCreditSearch" CssClass="textFields" runat="server" Width="200px"></asp:TextBox><BR> </td><BR> </tr><BR> <tr><BR> <td align="left" valign="top" class="searchSectionLabel"><BR> Genre<BR> </td><BR> </tr><BR> <tr><BR> <td><BR> <asp:ListBox ID="lstGenreSearch" CssClass="textFields" SelectionMode="Multiple" runat="server"<BR> Width="205px"></asp:ListBox><BR> </td><BR> </tr><BR> <tr><BR> <td align="left" valign="top" class="searchSectionLabel"><BR> Strength<BR> </td><BR> </tr><BR> <tr><BR> <td><BR> <asp:ListBox ID="lstStrengthSearch" CssClass="textFields" SelectionMode="Multiple"<BR> runat="server" Width="205px"></asp:ListBox><BR> </td><BR> </tr><BR> <tr><BR> <td align="left" valign="top" class="searchSectionLabel"><BR> Target<BR> </td><BR> </tr><BR> <tr><BR> <td><BR> <telerik:RadListBox ID="lstTargetSearch" SelectionMode="Multiple" Width="205px" Height="100px" runat="server"><BR> </telerik:RadListBox><BR> </td><BR> </tr><BR> <tr><BR> <td class="searchSectionLabel"><BR> Note<BR> </td><BR> </tr><BR> <tr><BR> <td><BR> <telerik:RadListBox ID="lstNoteSearch" runat="server" Width="205px"><BR> <Items><BR> <telerik:RadListBoxItem Value="0" Text="Select a Note" /><BR> <telerik:RadListBoxItem Value="1" Text="Private" /><BR> <telerik:RadListBoxItem Value="2" Text="Public" /><BR> <telerik:RadListBoxItem Value="3" Text="System Administrator" /><BR> <telerik:RadListBoxItem Value="4" Text="N/A" /><BR> </Items><BR> </telerik:RadListBox><BR> </td><BR> </tr><BR> <tr><BR> <td class="searchSectionLabel"><BR> <asp:CheckBox ID="ckAvailableOnlySearch" runat="server" Text="Available Only" /><BR> </td><BR> </tr><BR> <tr><BR> <td class="searchSectionLabel"><BR> <asp:CheckBox ID="ckIncludeInactiveSearch" runat="server" Text="Include Inactive" /><BR> </td><BR> </tr><BR> <tr><BR> <td align="right" class="searchSectionLabel"><BR> <telerik:RadButton ID="btnSearch" OnClick="btnSearch_Click" runat="server" Text="Search" Skin="WebBlue"><BR> </telerik:RadButton><BR> <telerik:RadButton ID="btnReset" OnClick="btnReset_Click" runat="server" Text="Reset" Skin="WebBlue"><BR> </telerik:RadButton><BR> </td><BR> </tr><BR> </table><BR> </ContentTemplate><BR> </telerik:RadPanelItem><BR> </Items><BR> </telerik:RadPanelBar><BR> </div><BR> <a class="trigger" href="#">Search</a><BR> <!--WINDOW for ADDING/Updating a CREDIT!!!--><BR> <telerik:RadWindowManager ID="RadWindowManager1" Behaviors="Close" runat="server"><BR> <Windows><BR> <telerik:RadWindow ID="radWinAddCredit" OpenerElementID="btnAddCreditForTalent" runat="server" Modal="true" AutoSize="true"<BR> Title="Add/Edit Credit" VisibleStatusbar="false" VisibleOnPageLoad="False" Skin="WebBlue"<BR> Height="300px" ShowContentDuringLoad="False" Width="350px" Behaviors="Close"><BR> <ContentTemplate><BR> <table class="form" width="100%"><BR> <tr><BR> <td class="formLabel-RightAlign" align="left"><BR> Craft<BR> </td><BR> <td><BR> <telerik:RadComboBox ID="cboCrafts" Skin="WebBlue" Width="205px" ZIndex="5000" MarkFirstMatch="true" EmptyMessage="Type to Select..." runat="server"><BR> </telerik:RadComboBox><BR> <asp:RequiredFieldValidator ID="valCreditCrafts" ControlToValidate="cboCrafts" runat="server" ErrorMessage="Required" InitialValue="Type to Select..." ValidationGroup="CreditGroup"></asp:RequiredFieldValidator><BR> </td><BR> </tr><BR> <tr><BR> <td class="formLabel-RightAlign"><BR> Title<BR> </td><BR> <td><BR> <telerik:RadComboBox ID="cboShowTitles" Skin="WebBlue" ZIndex="5000" Width="205px" EnableAutomaticLoadOnDemand="true"<BR> EmptyMessage="Type to Search..." MarkFirstMatch="true" runat="server" EnableLoadOnDemand="True"<BR> ItemsPerRequest="100"><BR> <WebServiceSettings Method="GetShowTitles" Path="../Admin/Controls/AdminService.asmx" /><BR> </telerik:RadComboBox><BR> <asp:RequiredFieldValidator ID="valCreditShows" ControlToValidate="cboShowTitles" runat="server" ErrorMessage="Required" InitialValue="Type to Search..." ValidationGroup="CreditGroup"></asp:RequiredFieldValidator><BR> </td><BR> </tr><BR> <tr><BR> <td class="formLabel-RightAlign"><BR> Comment<BR> </td><BR> <td><BR> <asp:TextBox ID="txtCreditComment" CssClass="textFields" runat="server" Width="200px"></asp:TextBox><BR> </td><BR> </tr><BR> <tr><BR> <td align="right" colspan="2"><BR> <telerik:RadButton ID="btnAddCredit" Skin="WebBlue" runat="server" Text="Save" ValidationGroup="CreditGroup" OnClick="btnAddCredit_Click" ><BR> </telerik:RadButton><BR> </td><BR> </tr><BR> </table><BR> </ContentTemplate><BR> </telerik:RadWindow><BR> </Windows><BR> </telerik:RadWindowManager><BR> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" <BR> Skin="WebBlue"><BR> </telerik:RadAjaxLoadingPanel><BR> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" <BR> DefaultLoadingPanelID="RadAjaxLoadingPanel1"><BR> <AjaxSettings><BR> <telerik:AjaxSetting AjaxControlID="RadPanelBar1"><BR> <UpdatedControls><BR> <telerik:AjaxUpdatedControl ControlID="RadPanelBar1" <BR> LoadingPanelID="RadAjaxLoadingPanel1" /><BR> </UpdatedControls><BR> </telerik:AjaxSetting><BR> <telerik:AjaxSetting AjaxControlID="radSearchPanel"><BR> <UpdatedControls><BR> <telerik:AjaxUpdatedControl ControlID="RadPanelBar1" <BR> LoadingPanelID="RadAjaxLoadingPanel1" /><BR> <telerik:AjaxUpdatedControl ControlID="radSearchPanel" <BR> LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelHeight="560px" /><BR> </UpdatedControls><BR> </telerik:AjaxSetting><BR> </AjaxSettings><BR> </telerik:RadAjaxManager><BR></asp:Content><BR></P>