日期:2014-05-17  浏览次数:20495 次

打酱油的也有分数!AjaxControlToolkit.ModalPopupExtender.Drag”已过时
警告 17 “AjaxControlToolkit.ModalPopupExtender.Drag”已过时:“The drag feature on modal popup will be automatically turned on if you specify the PopupDragHandleControlID property. Setting the Drag property is a noop” F:\王璐璐个人资料\画之家本机项目\画之家主网\2010-5-11\ArthomePro\ArthomePro\Photo.aspx 514




我点击一下警告!就跑到页面这样了! 提示这个控制过时! 我如果打开设计页面 就会看到!这个控件提示创建控件时出错!

  <asp:UpdatePanel ID="UpdatePanel4" runat="server">
  <ContentTemplate>
  <input id="Hidden4" type="hidden" runat="server" />
  <input id="Hidden8" type="hidden" runat="server" />
  <input id="Hidden9" type="hidden" runat="server" />
  <asp:ImageButton ID="imgUp" runat="server" AlternateText="批量上传" Width="138" class="img1"
  Height="43" ImageUrl="images/xph_07-pl.gif" OnClick="imgUp_Click" OnClientClick="clearImage()" />
  <cc1:ModalPopupExtender ID="ModalPopupExtender2" runat="server" TargetControlID="Hidden4"
  PopupControlID="Panel2" BackgroundCssClass="modalBackground" Drag="true" DropShadow="false"
  PopupDragHandleControlID="photo_pls" CancelControlID="ibClose" BehaviorID="Panel2">
  </cc1:ModalPopupExtender>
  <cc1:ModalPopupExtender ID="ModalPopupExtender3" runat="server" TargetControlID="Hidden9"
  PopupControlID="Panel1" BackgroundCssClass="modalBackground" Drag="true" DropShadow="false"
  PopupDragHandleControlID="photo_scs" CancelControlID="Img12" BehaviorID="Panel1">
  </cc1:ModalPopupExtender>
  <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="Hidden8"
  PopupControlID="Panel3" BackgroundCssClass="modalBackground" Drag="true" DropShadow="false"
  PopupDragHandleControlID="photo2" CancelControlID="c" BehaviorID="Panel3">
  </cc1:ModalPopupExtender>
  </ContentTemplate>
  </asp:UpdatePanel>



下面还有一个问题!解决我 我多给他点分! 就是服务器上发布的项目 页面

<%@ master language="C#" autoeventwireup="true" inherits="MasterPage, App_Web_wwmgnpvz" %>


而我本机上发布的是<%@ master language="C#" autoeventwireup="true" inherits="MasterPage, App_Web_xyadf2" %>


2个不一样怎么办呢! 我改了就报无法加载MasterPage!


还有我修改本机上的BLL DLL 的代码 ! 那么服务器上以前发布编译过的文件 怎么修改啊~ 2个不一样 页面生成类不一样! 

如上! inherits="MasterPage, App_Web_wwmgnpvz  
  inherits="MasterPage, App_Web_xyadf2

这个另送分!

---