This is a migrated thread and some comments may be shown as answers.

while replaying,after setting value to an input, toolbar disappear

2 Answers 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Yan
Top achievements
Rank 1
Yan asked on 03 Feb 2012, 10:47 AM
i am working on the page which may be a little complex with nested panels.
the problem happens when i set value to an input.
after replaying this step, the toolbar disappears.

here's the code
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CITemplate.aspx.cs" MasterPageFile="~/MasterPage/TopBottom.master"
    Inherits="ITMS_ConfigurationItem_CITemplate" %>
  
<asp:Content ID="Content1" ContentPlaceHolderID="H1" runat="Server">
    <wisdom:WsdBasicToolBar ID="WsdToolbar1" runat="server" CopyButtonVisible="false"
        PrintButtonVisible="false" WorkFlowGroupButtonVisible="false" ViewWorkFlowButtonVisible="false">
 <wisdom:DynamicButtonDefine  ID="DynamicButtonDefine3" runat="server" BtnClientClick="ClickCopyAdd" Text="复制增加" ToolTip="复制增加" Value="_CopyAdd">
 </wisdom:DynamicButtonDefine
    </wisdom:WsdBasicToolBar>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="H2" runat="Server">
    <wisdom:WsdSplitter runat="server" ID="RadSplitter1" Orientation="Vertical" Width="100%"
        Height="100%" VisibleDuringInit="false">
        <wisdom:WsdPane runat="server" ID="WsdPane2" Scrolling="Both" Height="100%" Width="100%">
            <wisdom:WsdGrid ID="WgCITemplate" runat="server" AutoGenerateColumns="False" GridLines="None"
                Height="99%" Width="99%" AllowCustomPaging="true" AllowPaging="true" PageSize="15">
                <MasterTableView DataKeyNames="id" ClientDataKeyNames="id">
                    <Columns>
                        <wisdom:WsdGridBoundColumn DataField="ciTemplateCode" HeaderText="模版编号" UniqueName="ciTemplateCode" />
                        <wisdom:WsdGridBoundColumn DataField="ciTemplateName" HeaderText="模版名称" UniqueName="ciTemplateName" />
                        <wisdom:WsdGridBoundColumn DataField="ciClass_cnName" HeaderText="运维对象类别" UniqueName="ciClass_cnName" />
                        <wisdom:WsdGridBoundColumn DataField="ciType_cnName" HeaderText="运维对象类型" UniqueName="ciType_cnName" />
                        <wisdom:WsdGridBoundColumn DataField="status_cnName" HeaderText="数据状态" UniqueName="status_cnName" />
                    </Columns>
                </MasterTableView>
                <ClientSettings EnablePostBackOnRowClick="false">
                    <Selecting AllowRowSelect="True" />
                    <Scrolling AllowScroll="true" UseStaticHeaders="True" />
                </ClientSettings>
            </wisdom:WsdGrid>
        </wisdom:WsdPane>
    </wisdom:WsdSplitter>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="H3" runat="Server">
    <wisdom:WsdSplitter runat="server" ID="WsdSplitter1" Orientation="Horizontal" Width="100%"
        Height="100%" VisibleDuringInit="false">
        <wisdom:WsdPane runat="server" ID="EditDiv" Height="30%" Width="100%" Scrolling="None">
            <%--            <wisdom:WsdTabStrip ID="WsdTabStrip1" runat="server" SelectedIndex="0" Orientation="HorizontalTop"
                MultiPageID="RadMultiPage1" Height="25px">
                <Tabs>
                    <wisdom:WsdTab Selected="True" Text="模版基础信息">
                    </wisdom:WsdTab>
                </Tabs>
            </wisdom:WsdTabStrip>--%>
            <wisdom:WsdAspxPanel runat="server" ID="mainPanel">
                <table class="wt">
                    <tr>
                        <td>
                            <wisdom:WsdText Label="模版编号:" MaxLength="36" Colspan="Normal1" IsPrimary="true" IsRequire="true"
                                ID="WsdCiTemplateCode" runat="server" StrBindingField="ciTemplateCode">
                            </wisdom:WsdText>
                        </td>
                        <td>
                            <wisdom:WsdText Label="模版名称:" MaxLength="50" Colspan="Normal1" IsRequire="true" ID="WsdCiNciTemplateName"
                                runat="server" StrBindingField="ciTemplateName">
                            </wisdom:WsdText>
                        </td>
                        <td>
                            <wisdomBussinessControls:WsdTextSelectCodeInfo Label="运维对象类别:" OnClientSelectedIndexChanged="ClearCiTypeText"
                                IsRequire="true" CurrentCodeClass="ITSM_CI_CLASS" Colspan="Normal1" ID="WsdCiClass"
                                runat="server" StrBindingField="ciClass_cnName" StrValueBindingField="ciClass">
                            </wisdomBussinessControls:WsdTextSelectCodeInfo>
                        </td>
                        <td>
                            <wisdom:WsdText Label="运维对象类型:" Colspan="Normal1" ID="WsdCiType" IsRequire="true" runat="server"
                                StrBindingField="ciType_cnName" HasButton="true" ReadOnlyText="true" StrValueBindingField="ciType">
                                <AutoSearchDataProperty displayCodeProperty="cnName" logicCondiction="ITSM_CI_TYPE"
                                    treeFieldId="id" treeFieldParentId="parentCode_id" MulSelect="false" BeforeSearchClientScript="BeforeSelectCode"
                                    UrlKey="tree" beanId="CodeTree" providerType="BizSearchProvider" hiddenProperty="code"
                                    displayNameProperty="cnName" filedDataSourceCode="CodeDto" EmpMsg="没有相关数据,请维护数据">    
                                            <wisdom:AutoSearchDataAdvanceWherePropertyDefine  runat="server" ID="ddddd1" PropertyName="parentCode_code" QueryLogic="Equal" QueryValue="ciclasscode"  QueryValueType="JSVariable"  />  
                                </AutoSearchDataProperty>
                            </wisdom:WsdText>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            <wisdom:WsdText Label="说明:" MaxLength="500" Colspan="Normal4" Rows="3" TextMode="MultiLine"
                                ID="WsdCiDesc" runat="server" StrBindingField="ciDesc">
                            </wisdom:WsdText>
                        </td>
                    </tr>
                </table>
            </wisdom:WsdAspxPanel>
        </wisdom:WsdPane>
        <wisdom:WsdSplitBar ID="WsdSplitBar2" runat="server" CollapseMode="Forward">
        </wisdom:WsdSplitBar>
        <wisdom:WsdPane runat="server" Scrolling="None" ID="WsdPane3" Width="100%">
            <wisdom:WsdSplitter runat="server" ID="RadSplitter2" Orientation="Vertical" Width="100%"
                VisibleDuringInit="true" Height="100%">
                <wisdom:WsdPane runat="server" ID="BottomLeftDiv" Height="100%" Scrolling="None"
                    Width="20%">
                    <wisdom:WsdSplitter runat="server" ID="WsdSplitter3" Orientation="Horizontal" Width="100%"
                        VisibleDuringInit="true" Height="100%">
                        <wisdom:WsdPane runat="server" Height="26px">
                            <wisdom:WsdTabStrip ID="WsdTabStrip2" runat="server" SelectedIndex="0" Scrolling="None">
                                <Tabs>
                                    <wisdom:WsdTab Selected="True" Text="模版结构">
                                    </wisdom:WsdTab>
                                </Tabs>
                            </wisdom:WsdTabStrip>
                        </wisdom:WsdPane>
                        <wisdom:WsdPane ID="WsdPane4" runat="server" Scrolling="None">
                            <wisdom:WsdTreeView ID="WtvCITemplateOperate" DataTextField="ciTemplateDetailName"
                                Width="100%" Height="100%" DataValueField="id" DataFieldID="id" DataFieldParentID="parentID"
                                runat="server" AllowNodeEditing="false" EnableViewState="false" CommandItemDisplay="Top"
                                CheckChildNodes="True" CheckBoxes="false">
                                <WsdTreeCmdItemContext IsShowAddChild="false" IsShowAdd="false" IsShowClear="false"
                                    IsShowDelete="false">
                                    <WsdCmdItems>
                                        <wisdom:WsdCmdItem CmdItemID="cdConfigurationItem" CmdItemImgUrl="AddDetail.png"
                                            CmdItemJSFun="AddConfigurationItem" CmdItemText="配置节点" />
                                        <wisdom:WsdCmdItem CmdItemID="cdAddItem" CmdItemJSFun="AddChildrenItem" CmdItemImgUrl="AddDetail.png"
                                            CmdItemText="增加子节点" />
                                        <wisdom:WsdCmdItem CmdItemID="cdDeleteItem" CmdItemImgUrl="DeleteDetail.png" CmdItemText="删除节点"
                                            CmdItemJSFun="DeleteItems" />
                                        <wisdom:WsdCmdItem CmdItemID="cdClear" CmdItemImgUrl="ClearDetail.png" CmdItemText="清空"
                                            CmdItemJSFun="ClearTree" />
                                    </WsdCmdItems>
                                </WsdTreeCmdItemContext>
                            </wisdom:WsdTreeView>
                        </wisdom:WsdPane>
                    </wisdom:WsdSplitter>
                </wisdom:WsdPane>
                <wisdom:WsdSplitBar runat="server" ID="RadSplitBar3" />
                <wisdom:WsdPane runat="server" ID="BottomRightDiv" Scrolling="None" Height="100%"
                    Width="75%">
                    <%--<wisdom:WsdAspxPanel ID="citemplatePanel" runat="server">--%>
                    <wisdom:WsdSplitter runat="server" ID="WsdSplitter4" Orientation="Horizontal" Width="100%"
                        VisibleDuringInit="true" Height="100%">
                        <wisdom:WsdPane ID="WsdPane53" runat="server" Height="26px" Scrolling="None">
                            <wisdom:WsdTabStrip ID="ts" runat="server" MultiPageID="mp" SelectedIndex="1">
                                <Tabs>
                                    <wisdom:WsdTab runat="server" Selected="True" Text="配置项信息">
                                    </wisdom:WsdTab>
                                    <wisdom:WsdTab runat="server" Selected="true" Text="配置项属性信息">
                                    </wisdom:WsdTab>
                                </Tabs>
                            </wisdom:WsdTabStrip>
                        </wisdom:WsdPane>
                        <wisdom:WsdPane ID="WsdPane5" runat="server" Scrolling="None" Height="100%">
                            <wisdom:WsdMultiPage ID="mp" runat="server" SelectedIndex="0">
                                <wisdom:WsdPageView ID="pv1" runat="server">
                                    <wisdom:WsdAspxPanel ID="citemplatePanel" runat="server">
                                        <table class="wt">
                                            <tr>
                                                <%--                                                <td>
                                                    <wisdom:WsdText Label="配置项编号:" MaxLength="36" Colspan="Normal1" IsRequire="true"
                                                        ID="WsdDetailCiCode" runat="server" StrBindingField="ciTemplateDetailCode">
                                                    </wisdom:WsdText>
                                                </td>--%>
                                                <td colspan="2">
                                                    <wisdom:WsdText Label="配置项名称:" MaxLength="18" Colspan="Normal2" IsRequire="true"
                                                        ID="WsdDetailCiName" runat="server" StrBindingField="ciTemplateDetailName">
                                                    </wisdom:WsdText>
                                                </td>
                                                <td>
                                                    <wisdomBussinessControls:WsdTextSelectCodeInfo Label="审批方式:" IsRequire="true" CurrentCodeClass="ITSM_CI_APP_WAY"
                                                        Colspan="Normal1" ID="WsdDetailApproveWay" runat="server" StrBindingField="approveWay_cnName"
                                                        StrValueBindingField="approveWay">
                                                    </wisdomBussinessControls:WsdTextSelectCodeInfo>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <wisdom:WsdText Label="显示顺序号:" Colspan="Normal1" ID="WsdDisplaySrl"
                                                        runat="server" StrBindingField="displaySrl" MinValue="0" TextBoxType="NumericTextBox"
                                                        DecimalDigits="0">
                                                    </wisdom:WsdText>
                                                </td>
                                                <td>
                                                    <%--<wisdomBussinessControls:WsdTextSelectCodeInfo Label="配置项关系:"    CurrentCodeClass="ITSM_CI_REL"  Width="93%"  ID="WsdDetailCiRelationship" runat="server" StrBindingField="ciRelationship_cnName" StrValueBindingField="ciRelationship" >
                                    </wisdomBussinessControls:WsdTextSelectCodeInfo>--%>
                                                    <wisdom:WsdText Label="配置项关系:" Colspan="Normal1" ID="WsdDetailCiRelationship" runat="server"
                                                        StrBindingField="ciRelationship_cnName" HasButton="true" ReadOnlyText="true"
                                                        StrNameBindingField="ciRelationship" StrValueBindingField="ciRelationshipId">
                                                        <AutoSearchDataProperty displayCodeProperty="cnName" providerType="BizSearchProvider"
                                                            MulSelect="true" displayNameProperty="code" filedDataSourceCode="CodeDto" hiddenProperty="id"
                                                            EmpMsg="没有相关数据,请维护数据">    
                                            <wisdom:AutoSearchDataAdvanceWherePropertyDefine  PropertyName="status" runat="server" ID="AutoSearchDataAdvanceWherePropertyDefine1" RightBracket="blank" LeftBracket="blank" QueryValueType="Constant" ConditionLogic="Blank" QueryLogic="Equal" QueryValue="20">
                                            </wisdom:AutoSearchDataAdvanceWherePropertyDefine>   
                                            <wisdom:AutoSearchDataAdvanceWherePropertyDefine  PropertyName="codeClass_classCode" runat="server" ID="AutoSearchDataAdvanceWherePropertyDefine2" RightBracket="blank" LeftBracket="blank" QueryValueType="Constant" ConditionLogic="Blank" QueryLogic="Equal" QueryValue="ITSM_CI_REL">
                                            </wisdom:AutoSearchDataAdvanceWherePropertyDefine>   
                                                        </AutoSearchDataProperty>
                                                    </wisdom:WsdText>
                                                </td>
                                                <td>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <wisdom:WsdText Label="配置项类别:" MaxLength="36" Colspan="Normal1" ID="WsdDetailCiClass"
                                                        runat="server" StrBindingField="ciClass_cnName">
                                                    </wisdom:WsdText>
                                                </td>
                                                <td>
                                                    <wisdom:WsdText Label="配置项类型:" MaxLength="36" Colspan="Normal1" ID="WsdDetailCiType"
                                                        runat="server" StrBindingField="ciType_cnName">
                                                    </wisdom:WsdText>
                                                </td>
                                                <td>
                                                    <wisdom:WsdText Label="数据类型:" MaxLength="36" Colspan="Normal1" ID="WsdciDataType_cnName"
                                                        runat="server" StrBindingField="ciDataType_cnName">
                                                    </wisdom:WsdText>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="3">
                                                    <wisdom:WsdText Label="说明:" MaxLength="500" Colspan="Normal3" Rows="3" TextMode="MultiLine"
                                                        ID="WsdDetailCiDesc" runat="server" StrBindingField="ciDesc">
                                                    </wisdom:WsdText>
                                                </td>
                                            </tr>
                                        </table>
                                        <br />
                                    </wisdom:WsdAspxPanel>
                                </wisdom:WsdPageView>
                                <wisdom:WsdPageView ID="pv2" runat="server">
                                    <wisdom:WsdSplitter runat="server" ID="WsdSplitter2" VisibleDuringInit="false" Orientation="Vertical"
                                        Width="100%" Height="100%">
                                        <wisdom:WsdPane runat="server" ID="editHeader" Height="100%" Width="35%" Scrolling="None">
                                            <wisdom:WsdGrid ID="WgCitemplateDetail" runat="server" IsEditInControlOnClient="true"
                                                AutoGenerateColumns="False" GridLines="None" AllowMultiRowSelection="true" Width="100%"
                                                Height="100%">
                                                <MasterTableView DataKeyNames="id" ClientDataKeyNames="id">
                                                    <Columns>
                                                        <wisdom:WsdGridBoundColumn DataField="ciTemplateDetailCode" HeaderText="属性编号" UniqueName="ciTemplateDetailCode" />
                                                        <wisdom:WsdGridBoundColumn DataField="ciTemplateDetailName" HeaderText="属性名称" UniqueName="ciTemplateDetailName" />
                                                        <%--   <wisdom:WsdGridBoundColumn DataField="ciDataType_cnName" HeaderText="数据类型" UniqueName="ciDataType_cnName" />--%>
                                                        <wisdom:WsdGridBoundColumn DataField="treePathName" HeaderText="所属配置项" UniqueName="treePathName" />
                                                    </Columns>
                                                </MasterTableView><%--StrClientGetNewObj="GetNewObj"--%>
                                                <wsdGridCmdItemContext IsShowAddAndDelete="true" StrCheckBeforeAdd="AddCitemplateGridDatailDto"
                                                    CurrentGridOperateMode="ShowModalWindow">
                                                    <WsdGridOperateShowModalWindowInfo StrWinCloseCallback="SelectedConfigurationItemDtoCallback">
                                                        <AutoSearchDataProperty displayCodeProperty="ciCode" providerType="BizSearchProvider"
                                                            displayNameProperty="ciCode" MulSelect="true" filedDataSourceCode="ConfigurationItemDto"
                                                            EmpMsg="没有相关数据,请维护数据">    
                                <wisdom:AutoSearchDataAdvanceWherePropertyDefine  PropertyName="status" runat="server" ID="AutoSearchDataAdvanceWherePropertyDefine4" RightBracket="blank" LeftBracket="blank" QueryValueType="Constant" ConditionLogic="Blank" QueryLogic="Equal" QueryValue="20">
                                </wisdom:AutoSearchDataAdvanceWherePropertyDefine>   
                                                        </AutoSearchDataProperty>
                                                    </WsdGridOperateShowModalWindowInfo>
                                                </wsdGridCmdItemContext>
                                                <ClientSettings EnablePostBackOnRowClick="false">
                                                    <Selecting AllowRowSelect="True" />
                                                    <Scrolling AllowScroll="true" UseStaticHeaders="True" />
                                                </ClientSettings>
                                            </wisdom:WsdGrid>
                                        </wisdom:WsdPane>
                                        <wisdom:WsdPane runat="server" ID="WsdPane1" Height="100%" Scrolling="None">
                                            <wisdom:WsdAspxPanel runat="server" ID="citemplateDatailPanel">
                                                <table class="wt">
                                                    <tr>
                                                        <td>
                                                            <%--                                                            <wisdom:WsdText Label="属性编号:" Colspan="Normal1" IsPrimary="true" IsRequire="true"
                                                                ID="WsdItemCiValueCode" runat="server" StrBindingField="ciTemplateDetailCode"
                                                                ReadOnlyText="true">
                                                            </wisdom:WsdText>--%>
                                                            <wisdom:WsdText Label="属性名称:" MaxLength="18" Colspan="Normal1" IsRequire="true" ID="WsdItemCiValue"
                                                                runat="server" StrBindingField="ciTemplateDetailName">
                                                            </wisdom:WsdText>
                                                        </td>
                                                        <td>
                                                            <wisdomBussinessControls:WsdTextSelectCodeInfo Label="审批方式:" IsRequire="true" CurrentCodeClass="ITSM_CI_APP_WAY"
                                                                Colspan="Normal1" ID="WsdItemApproveWay" runat="server" StrBindingField="approveWay_cnName"
                                                                StrValueBindingField="approveWay">
                                                            </wisdomBussinessControls:WsdTextSelectCodeInfo>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <wisdomBussinessControls:WsdTextSelectCodeInfo Label="是否必填:" Colspan="Normal1" IsRequire="true"
                                                                CurrentCodeClass="BAS_YESNO" ID="WsdItemRequired" runat="server" StrBindingField="required_cnName"
                                                                StrValueBindingField="required">
                                                            </wisdomBussinessControls:WsdTextSelectCodeInfo>
                                                        </td>
                                                        <td>
                                                            <wisdom:WsdText Label="显示顺序号:" Colspan="Normal1" ID="WsdDisplaySrl1"
                                                                runat="server" StrBindingField="displaySrl" MinValue="0" TextBoxType="NumericTextBox"
                                                                DecimalDigits="0">
                                                            </wisdom:WsdText>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                        <wisdom:WsdText Label="数据类型:" MaxLength="36" Colspan="Normal1" ID="WsdciDataType"
                                                        runat="server" StrBindingField="ciDataType_cnName">
                                                    </wisdom:WsdText>
                                                        </td>
                                                        <td>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <wisdom:WsdText Label="所属配置项:" MaxLength="36" Colspan="Normal2" ID="WsdItemTreePathName"
                                                                runat="server" StrBindingField="treePathName">
                                                            </wisdom:WsdText>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <wisdom:WsdText Label="说明:" MaxLength="500" Colspan="Normal2" Rows="3" TextMode="MultiLine"
                                                                ID="WsdItemCiDesc" runat="server" StrBindingField="ciDesc">
                                                            </wisdom:WsdText>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </wisdom:WsdAspxPanel>
                                        </wisdom:WsdPane>
                                    </wisdom:WsdSplitter>
                                </wisdom:WsdPageView>
                            </wisdom:WsdMultiPage>
                        </wisdom:WsdPane>
                    </wisdom:WsdSplitter>
                    <%--  </wisdom:WsdAspxPanel> --%>
                </wisdom:WsdPane>
            </wisdom:WsdSplitter>
        </wisdom:WsdPane>
    </wisdom:WsdSplitter>
    <wisdom:WsdScriptBlock ID="RadScriptBlock1" runat="server">

other simple page,it will not happen.

2 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 06 Feb 2012, 09:37 PM
Hello Yan,

I can see the difference between the two screen shots regarding the toolbar, however I'm afraid that's not enough to troubleshoot the issue. Since this appears to be specific to your application, we'd like to experience the behavior first-hand. See here for how to provide that information.

If you consider that info to be sensitive, you can attach it to a new support ticket, which unlike this forum is confidential.


Kind regards,
Anthony
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Yan
Top achievements
Rank 1
answered on 07 Feb 2012, 03:07 AM
i tried it again, and i found the replay had problem, but the final result was correct.
(though toolbar disappears,the following steps can do well,like saving.)
so i think i will move on, cos it does not make big trouble for us.
if i have time, i will send a support ticket to solve that problem.
thanks for your help.
Tags
General Discussions
Asked by
Yan
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Yan
Top achievements
Rank 1
Share this question
or