TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sathya Sambath
NA
284
117.6k
modalpopupextender have an element style change .
Jun 12 2018 6:41 AM
I have created modal popup extender and it worked! but i cant change the style in it. this is the code for the ModalPopupExtender. As you can see, the style for the panel is none.
<asp:LinkButton ID="lnkDummy" runat="server"></asp:LinkButton>
<cc1:ModalPopupExtender ID="ModalPopupExtender1" BehaviorID="mpe"
runat="server" PopupControlID="pnlPopup" TargetControlID="lnkDummy" BackgroundCssClass="modalBackground" CancelControlID = "btnHide">
</cc1:ModalPopupExtender> <asp:Panel ClientIDMode="Static" ID="pnlPopup"
runat="server" CssClass="modalPopup" style="display:none"> <div class="header">
Modal Popup </div> <div class="body">
This is a Modal Popup.
<br /> <div class="modal-footer">
<asp:Button ID="btnHide" runat="server" Text="Hide Modal Popup" /> </div> </div> </asp:Panel>
but when I run it at browser, i got this. the style is there which is
<div id="pnlPopup" class="modalPopup" style="position: fixed; z-index: 10002; left: 810px; top: 248px;">
how to remove that style, or customize it? where is that style come from?
Reply
Answers (
1
)
I need to delete gridview row
Export To Word - Panel and placeholder - IMP