日期:2014-05-18  浏览次数:20587 次

100分求教,无刷新webpart实现。恭请老孟出马
刚才发错区了。重发一个。呵呵。
曾经觉得.net   2005   中得webparts比较好用,但是后来发现   问题
1.有刷新
2   放入firefox   不好使。

后来出了   asp.net   ajax,满心欢喜的把webpartzone放入upgradepanel,发现根本不好使。
再后来上网查,说要用ajax的CTP组件中的webpartzone。     我就装了CTP,使用CTP中的webpartzone,但是发现拖动还是不好使,IE上只能成功拖动一下就报错“_whidbeyZone.webpartTable   为空或不是对象”
麻烦各位分析一下到底是微软还没解决这个问题还是程序问题:
aspx:
  <asp:UpdatePanel   ID= "UpdatePanel1 "   runat= "server ">
                        <ContentTemplate>
                                <cc1:webpartmanager   id= "WebPartManager1 "   runat= "server "> </cc1:webpartmanager>
                                <cc1:webpartzone   id= "WebPartZone1 "   runat= "server "   bordercolor= "#CCCCCC "   font-names= "Verdana "
                                        height= "80px "   padding= "6 "   webpartverbrendermode= "TitleBar "   width= "368px ">
<PartChromeStyle   BackColor= "#F7F6F3 "   ForeColor= "White "   BorderColor= "#E2DED6 "   Font-Names= "Verdana "> </PartChromeStyle>

<MenuLabelHoverStyle   ForeColor= "#E2DED6 "> </MenuLabelHoverStyle>

<EmptyZoneTextStyle   Font-Size= "0.8em "> </EmptyZoneTextStyle>

<MenuLabelStyle   ForeColor= "White "> </MenuLabelStyle>

<MenuVerbHoverStyle   BackColor= "#F7F6F3 "   BorderStyle= "Solid "   ForeColor= "#333333 "   BorderWidth= "1px "   BorderColor= "#CCCCCC "> </MenuVerbHoverStyle>

<HeaderStyle   ForeColor= "#CCCCCC "   HorizontalAlign= "Center "   Font-Size= "0.7em "> </HeaderStyle>
<ZoneTemplate>
<asp:Label   runat= "server "   Text= "Label "   ID= "Label1 "> </asp:Label>
<asp:TextBox   runat= "server "   ID= "TextBox1 "> </asp:TextBox>
</ZoneTemplate>

<MenuVerbStyle   BorderStyle= "Solid "   ForeColor= "White "   BorderWidth= "1px "   BorderColor= "#5D7B9D "> </MenuVerbStyle>

<PartStyle   ForeColor= "#333333 "   Font-Size= "0.8em "> </PartStyle>

<TitleBarVerbStyle   ForeColor= "White "   Font-Size= "0.6em "   Font-Underline= "False "> </TitleBarVerbStyle>

<MenuPopupStyle   BackColor= "#5D7B9D "   BorderWidth= "1px "   BorderColor= "#CCCCCC "   Font-Size= "0.6em "   Font-Names= "Verdana "> </MenuPopupStyle>

<PartTitleStyle   BackColor= "#5D7B9D "   ForeColor= "White "   Font-Size= "0.8em "   Font-Bold= "True "> </PartTitleStyle>
</cc1:webpartzone>