困扰几天的问题,为什么我的treeview控件在服务器上运行正常,但是+-图标就不能显示?服务器版本系统windows2003 enterprise edition service pack 2, 已经安装了VS2005.网站发布后上传到服务器上,用VS2005打开上传的网站+-图标可以显示,一切正常.放到虚拟机中显示也是正常的(系统win2003),但是放到虚拟目录中浏览就不能显示了,是不是权限问题?,请问应该是什么问题?请大虾帮忙指点一下.测试地址http://61.152.239.49/manager/manager_index.aspx
 

解决方案 »

  1.   

    想看你treeview图像的定义代码
    再右键看web页面你图标的属性,看路径是否对!
      

  2.   

    <asp:TreeView ID="TreeView1" runat="server" ShowLines="True" ImageSet="Arrows" DataSourceID="menuXmlDataSource" >
                        <ParentNodeStyle Font-Bold="False" />
                        <HoverNodeStyle Font-Underline="True" ForeColor="#5555DD" />
                        <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px"
                            VerticalPadding="0px" />
                        <NodeStyle Font-Names="Tahoma" Font-Size="10pt" ForeColor="Black" HorizontalPadding="5px"
                            NodeSpacing="0px" VerticalPadding="0px" />
                             <DataBindings>
                                                        <asp:TreeNodeBinding DataMember="TREENODES" NavigateUrlField="value" TextField="text" TargetField="tag" />
                                                        <asp:TreeNodeBinding DataMember="treenode" TextField="text" SelectAction="Expand" />
                                                        <asp:TreeNodeBinding DataMember="childnode" NavigateUrlField="value" TargetField="tag"
                                                            TextField="text" />
                                                    </DataBindings>
                        </asp:TreeView>
    web页面你图标的属性 http://61.152.239.49/WebResource.axd?d=Qo5hfoWD_3Z3eO2rlTfLzjiGZ69cZYAKYbZSb6bPyJqR8BDU3bbp42pdd0uDBrQ10&t=633329389347126250
    打开这个页面找不到,用VS在服务器上打开时图标都能显示一切正常,WebResource.axd页面可以访问,是不是服务器上哪个地方没配置好?
      

  3.   

    刚开始时Win2003自带的有个Framework1.1的版本,我刚在服务器上安装个Vs2005现在就,用Vs浏览项目一切正常,就是放到虚拟目录中就是图片不显示,图片不显示肯定是路径不对,路径我已经试着改了还是不行.
    <configSections>
        <section name="MicrosoftWebControls" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
      </configSections>  <MicrosoftWebControls>
        <add key="CommonFiles" value="/webctrl_client/1_0/TreeImages"></add>
      </MicrosoftWebControls>
    Webconfig中也将此添加了,webctrl_client这个放到到虚拟目录中了,图片还是不显示,郁闷死了,请大虾指点