<telerik:RadGrid ID="myGridPositions" runat="server" BorderWidth="1px" CellPadding="6" GridLines="None" BorderColor="#404040" Skin="Web20"> <MasterTableView Name="myRGDDMain" AutoGenerateColumns="false" DataKeyNames="intPositionId, intSpecialFill" Font-Names="Veranda,arial,sans-serif" HeaderStyle-HorizontalAlign="Center" BorderWidth="1px" Width="100%" ItemStyle-HorizontalAlign="Center"> <HeaderStyle Font-Bold="true" /> <AlternatingItemStyle BackColor="#B0C4DE" /> <Columns> <telerik:GridTemplateColumn HeaderText="TITLE" ItemStyle-HorizontalAlign="Left"> <ItemTemplate> <asp:LinkButton ID="lnkPassback" runat="server" CommandArgument='<%# bind("intPositionId") %>' CommandName="Passback" text='<%# bind("strPosnTitle") %>' ToolTip="Click to passback position to higher level"></asp:LinkButton> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn DataField="strpara" HeaderText="PARA" ItemStyle-HorizontalAlign="Center" /> <telerik:GridBoundColumn DataField="strLine" HeaderText="LINE" ItemStyle-HorizontalAlign="Center" /> <telerik:GridBoundColumn DataField="intPositionNum" HeaderText="POS" ItemStyle-HorizontalAlign="Center" /> <telerik:GridBoundColumn DataField="strGrade" HeaderText="GR" ItemStyle-HorizontalAlign="Center" /> <telerik:GridBoundColumn DataField="strMos" HeaderText="MOS" ItemStyle-HorizontalAlign="Center" /> <telerik:GridBoundColumn DataField="strFullName" HeaderText="Filled By" ItemStyle-HorizontalAlign="Left" /> <telerik:GridtemplateColumn HeaderText="LT_MOB" ItemStyle-HorizontalAlign="Center" UniqueName="Latemob"> <ItemTemplate> <asp:LinkButton ID="lnkLateMob" runat="server" CommandArgument='<%# bind("intPositionId") %>' CommandName="LateMob">LT_MOB</asp:LinkButton> </ItemTemplate> </telerik:GridtemplateColumn> <telerik:GridTemplateColumn HeaderText="Remove" ItemStyle-HorizontalAlign="Center" UniqueName="Remove"> <ItemTemplate> <asp:LinkButton ID="lnkDelete" runat="server" CommandArgument='<%# bind("intPositionId") %>' CommandName="Remove" OnClientClick="Are you sure">Remove</asp:LinkButton> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn HeaderText="Refrad" ItemStyle-HorizontalAlign="Center" UniqueName="Refrad"> <ItemTemplate> <asp:LinkButton ID="lnkRefrad" runat="server" CommandArgument='<%# bind("intPositionId") %>' CommandName="Refrad">Refrad</asp:LinkButton> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn DataField="intSpecialFill" UniqueName="Passback" /> </Columns>
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.
|
[SqlException (0x80131904): Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.] System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4849015 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2394 System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +35 System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +144 System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +342 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +221 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +4863459 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +433 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117 System.Data.SqlClient.SqlConnection.Open() +122 System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +31 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +112 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +287 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +92 System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1297 System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19 Telerik.Web.UI.RadComboBox.OnDataBinding(EventArgs e) +637 Telerik.Web.UI.RadComboBox.PerformSelect() +21 System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73 Telerik.Web.UI.RadComboBox.DataBind() +38 System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82 System.Web.UI.WebControls.BaseDataBoundControl.OnPreRender(EventArgs e) +22 Telerik.Web.UI.RadComboBox.OnPreRender(EventArgs e) +15 System.Web.UI.Control.PreRenderRecursiveInternal() +80 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842 |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DeploymentWizard.ascx.cs" Inherits="Horizons.SA.Presentation.UI.Web.Client.Admin.Controls.DeploymentWizard" %> <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> <style type="text/css"> </style> <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript"> function OpenDeploymentWizard() { var RadWindow = $find("<%=RadDeploymentWindow.ClientID%>"); RadWindow.show(); } function CloseDeploymentWizard() { var RadWindow = $find("<%=RadDeploymentWindow.ClientID%>"); RadWindow.Close(); } </script> </telerik:RadCodeBlock> <telerik:RadAjaxManager runat="server" ID="RadAjaxManager"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadDeploymentWindow"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadDeploymentWindow" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadWindow ID="RadDeploymentWindow" Title="<%$ Resources:Text, DeploymentWizard %>" runat="server" VisibleOnPageLoad="false" VisibleStatusbar="false" Width="535px" Modal="true" Height="430px" Behaviors="Close,Move" Skin="Windows7" ShowContentDuringLoad="false" EnableViewState="false" DestroyOnClose="true" ReloadOnShow="true"> <ContentTemplate> <%--Deployment Wizards--%> <asp:Wizard runat="server" ID="DeployWizards" Width="100%" DisplaySideBar="False" DisplayCancelButton="true" OnNextButtonClick="DeployWizards_NextButtonClick"> <HeaderTemplate> <table cellpadding="0" cellspacing="0" class="wizardHeader"> <tr> <td class="wizardTitle"> <%= DeployWizards.ActiveStep.Title%> </td> <td> <table style="width: 100%; border-collapse: collapse;"> <tr> <td class="wizardHeaderTableCell"> <span class="wizardProgress"> <%= Resources.Text.Steps%></span> </td> <asp:Repeater ID="SideBarList" runat="server"> <ItemTemplate> <td class="stepBreak"> </td> <td class="<%# GetClassForWizardStep(Container.DataItem) %>" title="<%# DataBinder.Eval(Container, "DataItem.Name")%>"> <%# DeployWizards.WizardSteps.IndexOf(Container.DataItem as TemplatedWizardStep ) + 1%> </td> </ItemTemplate> </asp:Repeater> </tr> </table> </td> </tr> </table> </HeaderTemplate> <StartNavigationTemplate> <asp:Panel ID="panStart" runat="server" CssClass="wizardNavContent"> <telerik:RadButton ID="NextButtonValidationStep" CssClass="wizardNavButton" runat="server" Text="<%$ Resources:Text, Next %>" CommandName="MoveNext" AlternateText="Next"> </telerik:RadButton> <telerik:RadButton ID="CancelButtonValidationStep" CssClass="wizardNavButton" runat="server" Text="<%$ Resources:Text, Cancel %>" AlternateText="Cancel" OnClientClicked="CloseDeploymentWizard"> </telerik:RadButton> </asp:Panel> </StartNavigationTemplate> <StepNavigationTemplate> <asp:Panel ID="panStep" runat="server" CssClass="wizardNavContent"> <telerik:RadButton ID="PrevButtonDeployment" CssClass="wizardNavButton" runat="server" Text="<%$ Resources:Text, Previous %>" CommandName="MovePrevious" AlternateText="Previous"> </telerik:RadButton> <telerik:RadButton ID="NextButtonDeploymentStep" CssClass="wizardNavButton" runat="server" Text="<%$ Resources:Text, Next %>" CommandName="MoveNext" AlternateText="Next"> </telerik:RadButton> <telerik:RadButton ID="CancelButtonDeploymentStep" CssClass="wizardNavButton" runat="server" Text="<%$ Resources:Text, Cancel %>" AlternateText="Cancel" OnClientClicked="CloseDeploymentWizard"> </telerik:RadButton> </asp:Panel> </StepNavigationTemplate> <FinishNavigationTemplate> <asp:Panel ID="panFinish" runat="server" CssClass="wizardNavContent"> <telerik:RadButton ID="FinishButton" CssClass="wizardNavButton" runat="server" CommandName="MoveComplete" OnClientClicked="CloseDeploymentWizard" Text="<%$ Resources:Text, Finish %>" AlternateText="Finish"> </telerik:RadButton> </asp:Panel> </FinishNavigationTemplate> <WizardSteps> <asp:TemplatedWizardStep ID="DeploymentConfigurationStep" runat="server" Title="<%$ Resources:Text, DeploymentConfiguration %>"> <ContentTemplate> <div class="WizardContent"> <div> <fieldset class="DeploymentFieldset"> <legend class="Deploymentlegend"> <%= Resources.Text.DeploymentConfiguration%></legend> <table cellpadding="0" cellspacing="0" style="width: 100%;"> <tr> <td> <div style="width: 100%;"> <fieldset style="margin-right: 5px;" class="DeploymentFieldset"> <legend class="Deploymentlegend"> <%= Resources.Text.UnityWeightSum%></legend> <SA:RadioButton ID="RadioButtonEnforce" runat="server" GroupName="UnityWeightSum" Checked="true" Text="Enforce" /> <SA:RadioButton ID="RadioButtonRelax" CssClass="RadioButtonImportContinue" runat="server" GroupName="UnityWeightSum" Text="Relax" /> </fieldset> </div> </td> <td> <div style="width: 100%;"> <fieldset class="DeploymentFieldset"> <legend class="Deploymentlegend"> <%= Resources.Text.WeightOption%></legend> <SA:RadioButton ID="RadioButtonModel" runat="server" GroupName="WeightOption" Checked="true" Text="Model" /> <SA:RadioButton ID="RadioButtonCalculation" CssClass="RadioButtonImportContinue" runat="server" GroupName="WeightOption" Text="Calculation" /> </fieldset> </div> </td> </tr> <tr> <td colspan="2"> <div style="width: 100%;"> <fieldset class="DeploymentFieldset"> <legend class="Deploymentlegend"> <%= Resources.Text.DatabaseOptions%></legend> <SA:CheckBox Checked="false" CssClass="DeploymentDatabaseOption" Text="<%$ Resources:Text, ClearActualValues %>" ID="CheckBoxRunInBackground" runat="server" /> <SA:CheckBox Checked="false" CssClass="DeploymentDatabaseOption" Text="<%$ Resources:Text, ClearReferenceValues %>" ID="CheckBox1" runat="server" /> <SA:CheckBox Checked="false" CssClass="DeploymentDatabaseOption" Text="<%$ Resources:Text, ClearInitiativesValues %>" ID="CheckBox2" runat="server" /> <SA:CheckBox Checked="false" CssClass="DeploymentDatabaseOption" Text="<%$ Resources:Text, CleanDatabase %>" ID="CheckBox3" runat="server" /> </fieldset> </div> </td> </tr> </table> </fieldset> </div> <div class="DeploymentFile"> <fieldset class="DeploymentFieldset"> <legend class="Deploymentlegend"> <%= Resources.Text.DeploymentFile%></legend> <table style="width: 100%; border-collapse: collapse;"> <tr> <td> <SA:Label ID="Label1" runat="server" Text="<%$ Resources:Text, SelectMapFile %>"></SA:Label> </td> <td> <telerik:RadAsyncUpload Width="100%" runat="server" ID="DeploymentFileUpload" ControlObjectsVisibility="None" OnFileUploaded="FileUploaded" InitialFileInputsCount="1" MaxFileInputsCount="1"> <%-- <FileFilters> <telerik:FileFilter Description="<%$ Resources:Text, SelectMapFile %>" Extensions="xmp" /> </FileFilters> --%> </telerik:RadAsyncUpload> </td> </tr> <tr> <td> <%= Resources.Text.DeploymentDate%> </td> <td> <telerik:RadDatePicker Width="100%" runat="server" ID="DeploymentDatePicker"> </telerik:RadDatePicker> </td> </tr> </table> </fieldset> </div> </div> </ContentTemplate> </asp:TemplatedWizardStep> <asp:TemplatedWizardStep ID="DeploymentValidationStep" runat="server" Title="<%$ Resources:Text, DeploymentValidation %>"> <ContentTemplate> <div style="height: 320px; overflow: auto;"> <telerik:RadGrid ID="DeploymentGrid" Skin="Office2007" runat="server" AutoGenerateColumns="False" AllowSorting="True" PageSize="10" ShowStatusBar="True" CellSpacing="0" GridLines="Both" AllowPaging="True" OnNeedDataSource="RadGrid_NeedDataSource"> <MasterTableView DataKeyNames="ObjectID" AutoGenerateColumns="false"> <ItemStyle Wrap="false" /> <Columns> <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="ObjectID" HeaderText="ID"> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="ObjectType" HeaderText="Type"> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="Name" HeaderText="Name"> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="Attribute" HeaderText="Attribute"> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="Error" HeaderText="Description"> </telerik:GridBoundColumn> <%-- <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="ProposedSolution" HeaderText="Proposed Solution"> </telerik:GridBoundColumn>--%> <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="Severity" HeaderText="Severity"> </telerik:GridBoundColumn> </Columns> </MasterTableView> <ClientSettings> <Resizing AllowColumnResize="True"></Resizing> </ClientSettings> </telerik:RadGrid> </div> </ContentTemplate> </asp:TemplatedWizardStep> <asp:TemplatedWizardStep ID="DeploymentExcutionStep" runat="server" Title="<%$ Resources:Text, DeploymentExecution %>"> <ContentTemplate> <div style="font-size: 15px; font-weight: bold; height: 250px; border: 1px solid; margin-top: 40px; margin-bottom: 10px;"> <SA:Panel runat="server" ID="ExecutionPanel"> <SA:Label ID="lblStatus" runat="server" /> </SA:Panel> </div> </ContentTemplate> </asp:TemplatedWizardStep> </WizardSteps> </asp:Wizard> </ContentTemplate> </telerik:RadWindow> <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DeploymentWizard.ascx.cs" Inherits="Horizons.SA.Presentation.UI.Web.Client.Admin.Controls.DeploymentWizard" %> <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> <style type="text/css"> </style> <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript"> function OpenDeploymentWizard() { var RadWindow = $find("<%=RadDeploymentWindow.ClientID%>"); RadWindow.show(); } function CloseDeploymentWizard() { var RadWindow = $find("<%=RadDeploymentWindow.ClientID%>"); RadWindow.Close(); } </script> </telerik:RadCodeBlock> <telerik:RadAjaxManager runat="server" ID="RadAjaxManager"> </telerik:RadAjaxManager> <telerik:RadWindow ID="RadDeploymentWindow" Title="<%$ Resources:Text, DeploymentWizard %>" runat="server" VisibleOnPageLoad="false" VisibleStatusbar="false" Width="535px" Modal="true" Height="430px" Behaviors="Close,Move" Skin="Windows7" ShowContentDuringLoad="false" EnableViewState="false" DestroyOnClose="true" ReloadOnShow="true"> <ContentTemplate> <%--Deployment Wizards--%> <asp:Wizard runat="server" ID="DeployWizards" Width="100%" DisplaySideBar="False" DisplayCancelButton="true" OnNextButtonClick="DeployWizards_NextButtonClick"> <HeaderTemplate> <table cellpadding="0" cellspacing="0" class="wizardHeader"> <tr> <td class="wizardTitle"> <%= DeployWizards.ActiveStep.Title%> </td> <td> <table style="width: 100%; border-collapse: collapse;"> <tr> <td class="wizardHeaderTableCell"> <span class="wizardProgress"> <%= Resources.Text.Steps%></span> </td> <asp:Repeater ID="SideBarList" runat="server"> <ItemTemplate> <td class="stepBreak"> </td> <td class="<%# GetClassForWizardStep(Container.DataItem) %>" title="<%# DataBinder.Eval(Container, "DataItem.Name")%>"> <%# DeployWizards.WizardSteps.IndexOf(Container.DataItem as TemplatedWizardStep ) + 1%> </td> </ItemTemplate> </asp:Repeater> </tr> </table> </td> </tr> </table> </HeaderTemplate> <StartNavigationTemplate> <asp:Panel ID="panStart" runat="server" CssClass="wizardNavContent"> <telerik:RadButton ID="NextButtonValidationStep" CssClass="wizardNavButton" runat="server" Text="<%$ Resources:Text, Next %>" CommandName="MoveNext" AlternateText="Next"> </telerik:RadButton> <telerik:RadButton ID="CancelButtonValidationStep" CssClass="wizardNavButton" runat="server" Text="<%$ Resources:Text, Cancel %>" AlternateText="Cancel" OnClientClicked="CloseDeploymentWizard"> </telerik:RadButton> </asp:Panel> </StartNavigationTemplate> <StepNavigationTemplate> <asp:Panel ID="panStep" runat="server" CssClass="wizardNavContent"> <telerik:RadButton ID="PrevButtonDeployment" CssClass="wizardNavButton" runat="server" Text="<%$ Resources:Text, Previous %>" CommandName="MovePrevious" AlternateText="Previous"> </telerik:RadButton> <telerik:RadButton ID="NextButtonDeploymentStep" CssClass="wizardNavButton" runat="server" Text="<%$ Resources:Text, Next %>" CommandName="MoveNext" AlternateText="Next"> </telerik:RadButton> <telerik:RadButton ID="CancelButtonDeploymentStep" CssClass="wizardNavButton" runat="server" Text="<%$ Resources:Text, Cancel %>" AlternateText="Cancel" OnClientClicked="CloseDeploymentWizard"> </telerik:RadButton> </asp:Panel> </StepNavigationTemplate> <FinishNavigationTemplate> <asp:Panel ID="panFinish" runat="server" CssClass="wizardNavContent"> <telerik:RadButton ID="FinishButton" CssClass="wizardNavButton" runat="server" CommandName="MoveComplete" OnClientClicked="CloseDeploymentWizard" Text="<%$ Resources:Text, Finish %>" AlternateText="Finish"> </telerik:RadButton> </asp:Panel> </FinishNavigationTemplate> <WizardSteps> <asp:TemplatedWizardStep ID="DeploymentConfigurationStep" runat="server" Title="<%$ Resources:Text, DeploymentConfiguration %>"> <ContentTemplate> <div class="WizardContent"> <div> <fieldset class="DeploymentFieldset"> <legend class="Deploymentlegend"> <%= Resources.Text.DeploymentConfiguration%></legend> <table cellpadding="0" cellspacing="0" style="width: 100%;"> <tr> <td> <div style="width: 100%;"> <fieldset style="margin-right: 5px;" class="DeploymentFieldset"> <legend class="Deploymentlegend"> <%= Resources.Text.UnityWeightSum%></legend> <SA:RadioButton ID="RadioButtonEnforce" runat="server" GroupName="UnityWeightSum" Checked="true" Text="Enforce" /> <SA:RadioButton ID="RadioButtonRelax" CssClass="RadioButtonImportContinue" runat="server" GroupName="UnityWeightSum" Text="Relax" /> </fieldset> </div> </td> <td> <div style="width: 100%;"> <fieldset class="DeploymentFieldset"> <legend class="Deploymentlegend"> <%= Resources.Text.WeightOption%></legend> <SA:RadioButton ID="RadioButtonModel" runat="server" GroupName="WeightOption" Checked="true" Text="Model" /> <SA:RadioButton ID="RadioButtonCalculation" CssClass="RadioButtonImportContinue" runat="server" GroupName="WeightOption" Text="Calculation" /> </fieldset> </div> </td> </tr> <tr> <td colspan="2"> <div style="width: 100%;"> <fieldset class="DeploymentFieldset"> <legend class="Deploymentlegend"> <%= Resources.Text.DatabaseOptions%></legend> <SA:CheckBox Checked="false" CssClass="DeploymentDatabaseOption" Text="<%$ Resources:Text, ClearActualValues %>" ID="CheckBoxRunInBackground" runat="server" /> <SA:CheckBox Checked="false" CssClass="DeploymentDatabaseOption" Text="<%$ Resources:Text, ClearReferenceValues %>" ID="CheckBox1" runat="server" /> <SA:CheckBox Checked="false" CssClass="DeploymentDatabaseOption" Text="<%$ Resources:Text, ClearInitiativesValues %>" ID="CheckBox2" runat="server" /> <SA:CheckBox Checked="false" CssClass="DeploymentDatabaseOption" Text="<%$ Resources:Text, CleanDatabase %>" ID="CheckBox3" runat="server" /> </fieldset> </div> </td> </tr> </table> </fieldset> </div> <div class="DeploymentFile"> <fieldset class="DeploymentFieldset"> <legend class="Deploymentlegend"> <%= Resources.Text.DeploymentFile%></legend> <table style="width: 100%; border-collapse: collapse;"> <tr> <td> <SA:Label ID="Label1" runat="server" Text="<%$ Resources:Text, SelectMapFile %>"></SA:Label> </td> <td> <telerik:RadAsyncUpload Width="100%" runat="server" ID="DeploymentFileUpload" ControlObjectsVisibility="None" OnFileUploaded="FileUploaded" InitialFileInputsCount="1" MaxFileInputsCount="1"> <%-- <FileFilters> <telerik:FileFilter Description="<%$ Resources:Text, SelectMapFile %>" Extensions="xmp" /> </FileFilters> --%> </telerik:RadAsyncUpload> </td> </tr> <tr> <td> <%= Resources.Text.DeploymentDate%> </td> <td> <telerik:RadDatePicker Width="100%" runat="server" ID="DeploymentDatePicker"> </telerik:RadDatePicker> </td> </tr> </table> </fieldset> </div> </div> </ContentTemplate> </asp:TemplatedWizardStep> <asp:TemplatedWizardStep ID="DeploymentValidationStep" runat="server" Title="<%$ Resources:Text, DeploymentValidation %>"> <ContentTemplate> <div style="height: 320px; overflow: auto;"> <telerik:RadGrid ID="DeploymentGrid" Skin="Office2007" runat="server" AutoGenerateColumns="False" AllowSorting="True" PageSize="10" ShowStatusBar="True" CellSpacing="0" GridLines="Both" AllowPaging="True" OnNeedDataSource="RadGrid_NeedDataSource"> <MasterTableView DataKeyNames="ObjectID" AutoGenerateColumns="false"> <ItemStyle Wrap="false" /> <Columns> <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="ObjectID" HeaderText="ID"> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="ObjectType" HeaderText="Type"> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="Name" HeaderText="Name"> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="Attribute" HeaderText="Attribute"> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="Error" HeaderText="Description"> </telerik:GridBoundColumn> <%-- <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="ProposedSolution" HeaderText="Proposed Solution"> </telerik:GridBoundColumn>--%> <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="Severity" HeaderText="Severity"> </telerik:GridBoundColumn> </Columns> </MasterTableView> <ClientSettings> <Resizing AllowColumnResize="True"></Resizing> </ClientSettings> </telerik:RadGrid> </div> </ContentTemplate> </asp:TemplatedWizardStep> <asp:TemplatedWizardStep ID="DeploymentExcutionStep" runat="server" Title="<%$ Resources:Text, DeploymentExecution %>"> <ContentTemplate> <div style="font-size: 15px; font-weight: bold; height: 250px; border: 1px solid; margin-top: 40px; margin-bottom: 10px;"> <SA:Panel runat="server" ID="ExecutionPanel"> <SA:Label ID="lblStatus" runat="server" /> </SA:Panel> </div> </ContentTemplate> </asp:TemplatedWizardStep> </WizardSteps> </asp:Wizard> </ContentTemplate> </telerik:RadWindow> public override IDictionary<ResourceType, IEnumerable<Resource>> GetResources(ISchedulerInfo schedulerInfo){ IDictionary<ResourceType, IEnumerable<Resource>> recursos = new Dictionary<ResourceType, IEnumerable<Resource>>(); recursos.Add(new ResourceType("Teacher", true), Teachers.Values); recursos.Add(new ResourceType("Student", true), Students.Values); return recursos;}Hi:
I have a RadListView with some items. When one of the item is clicked a tooltip will appear corresponding to the item's position with detail info from an usercontrol (the tooltip's content is an usercontrol). This requires setting the "TargetControlID" when the listview item is clicked. Because the listview item is in a template, to distinquish each item when many items show at the same time can be done by including the item inside a div html element. And the selected item div can be obtained by onmouseDown event target. Since the content of tooltip is an usercontrol, and is a update target of ajaxmanager triggered by listview, I have to load it from server side. It ends up with setting TargetControlID on client side with set_targetControlID and show Tooltip on server side as demonstrated in the attached program fragment. I checked value of TargetControlID from client side in debug, value set accordingly, but tooltip displayed in wrong position. I checked TargetControlID from server side right before SHOW(), found out the value has not changed. I made sure set_targetControlID() happend before SHOW(). I even try to use set_title("test title") just for testing purpose, not thing happened on the server side. Some one please help. Thanks.
This is the RadToolTip declaration:
<telerik:RadToolTip ID="RadToolTip1" runat="server" Animation="FlyIn"
EnableShadow="True" HideEvent="ManualClose"
ManualCloseButtonText="å…³é—" ShowEvent="FromCode" Width="268px" IsClientID="True">
<asp:PlaceHolder ID="PlaceHolder1" runat="server" />
<br />
</telerik:RadToolTip>
This is the client script:
function SetTooltipControlID() {
var radToolTip = $find("<%= RadToolTip1.ClientID %>");
radToolTip.set_targetControlID("");
radToolTip.set_targetControlID(curItem.id);
radToolTip.set_title("this is a title"); //for testing purpose
}
This is the server code:
protected void lvwItemPictures_SelectedIndexChanged(object sender, EventArgs e)
{
string item = lvwItemPictures.SelectedItems[0].GetDataKeyValue("PLUCODE").ToString();
string title = lvwItemPictures.SelectedItems[0].GetDataKeyValue("TITLE").ToString();
CurrentItemCode = item;
this.RadToolTip1.Show(); // checked RadToolTip1 properties here. Any change made in client code is not reflected.
LoadUserControl(PlaceHolder1, CurrentControl, true);
}