Friday, December 5, 2008

Ajax Moderator pop control

using ajax-----------Moderator Control--------


Take ajax enabled script manager, one link button and one panel

-------------------------in source file--------------------------------------

cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="LinkButton1" PopupControlID="Panel1" BackgroundCssClass="modalbackground" DropShadow="true" OkControlID="okbutton" OnOkScript="onOk()" CancelControlID="CancelButton" PopupDragHandleControlID="Panel3">

Note: Please keep above code in tag format

---------------In css file----------
Create any simple code and save tht file with the name modalbackground.css

body
{
background color:red
}





Then execute and enjoy!!!!!!!!!!


No comments: