ModalPopupExtender properties ignored when .Show is called instead of using the TargetControlId

Last post 08-01-2009 4:27 AM by rashmika. 1 replies.

Sort Posts:

  • ModalPopupExtender properties ignored when .Show is called instead of using the TargetControlId

    07-31-2009, 4:16 PM
    • Member
      97 point Member
    • xaeryan
    • Member since 06-18-2008, 8:18 PM
    • Posts 288

    My ModalPopupExtender has two appearance properties set; BackgroundCssClass="myClass" and DropShadow="true".  

    If I make the target control ID of the Modal a button, and click it, the background class is correct and I see a dropshadow.  

    However, if I progmatically call MyModalPopup.Show() from server code, I get my modal popup, but neither of these properties seem to work.

    Am I doing something wrong? 

  • Re: ModalPopupExtender properties ignored when .Show is called instead of using the TargetControlId

    08-01-2009, 4:27 AM
    Answer
    • Participant
      936 point Participant
    • rashmika
    • Member since 07-15-2009, 8:50 AM
    • India
    • Posts 148

    see this link, it will help you..

    http://forums.asp.net/p/1022545/1386346.aspx#1386346 

    Regards
    Rashmika

    If it helps u then "Mark As Answer".
Page 1 of 1 (2 items)