如题所述
<ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server"
TargetControlID="LinkButton1"
PopupControlID="Panel1"
BackgroundCssClass="modalBackground"
DropShadow="true"
OkControlID="OkButton"
OnOkScript="onOk()"
CancelControlID="CancelButton"/>
</div>
</form>
</body>
</html>
css:
.watermark {
background: #FFAAFF;
TargetControlID="LinkButton1"
PopupControlID="Panel1"
BackgroundCssClass="modalBackground"
DropShadow="true"
OkControlID="OkButton"
OnOkScript="onOk()"
CancelControlID="CancelButton"/>
</div>
</form>
</body>
</html>
css:
.watermark {
background: #FFAAFF;
温馨提示:答案为网友推荐,仅供参考