本文介绍了Ajax模式弹出扩展器BackgroundCssClass不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,程序员,这里有个小问题.

Hello programmers, got a small problem here. The

<cc1:PopupControlExtender ID="Popup" runat="server" TargetControlID="Button1" PopupControlID="popUpPanel" BackgroundCssClass="" >
</cc1:PopupControlExtender>


无法正常工作,类型"AjaxContolToolkit.PopupcontrolExtender"没有公共属性名称"BackgroundCssClass"
那是什么意思?

谢谢,还有更多力量


is not working saying type ''AjaxContolToolkit.PopupcontrolExtender'' does not have a public property name ''BackgroundCssClass''
Whats the meaning of that?

Thanks and more power

<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<asp:Button ID="Button1" runat="server" Text="Button" />

    <cc1:ToolkitScriptManager ID="ToolkitScriptManager1"  runat="server">

<br />
<cc1:PopupControlExtender ID="Popup"  runat="server" TargetControlID="Button1" PopupControlID="popUpPanel" BackgroundCssClass="" >

<asp:Panel ID="popUpPanel" runat="server"
      CssClass="modalPopup"  Style="display: none;"   >
<div>
<h2>
Thanks For Visiting This Site</h2>
<div>
<asp:Button ID="btnOk" runat="server" Text="Ok"/>
</div></div>


    <cc1:DropShadowExtender ID="popUpPanel_DropShadowExtender"  runat="server"
        Enabled="True" TargetControlID="popUpPanel">

推荐答案


这篇关于Ajax模式弹出扩展器BackgroundCssClass不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 03:38