ajax modal popup extender : how to hide on page load

Last post 07-27-2009 7:59 AM by lavanya.janapati. 5 replies.

Sort Posts:

  • ajax modal popup extender : how to hide on page load

    07-03-2009, 7:34 AM
    • Member
      10 point Member
    • anamika12
    • Member since 03-19-2009, 8:17 AM
    • pune
    • Posts 36

    HI

    I AM HAVING MODAL POP UP IN MY WEB PAGE.

    I AM SHOWING GRID IN MODAL POP UP . BUT ON PAGE LOAD THE PANEL GET DISPLAYED AND SOON GET INVISIBLE..

    IS THERE ANY WAY TO HIDE MODAL POP UP PANEL AT PAGE LOAD

    anamika
  • Re: ajax modal popup extender : how to hide on page load

    07-03-2009, 8:09 AM
    Answer
    • Member
      561 point Member
    • harieis
    • Member since 04-23-2009, 12:11 PM
    • Trivandrum
    • Posts 150

     Hello

    Plese set the div hieght as 0 px. It wil work

    please click this 

    http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_22647390.html

    Please, Mark as Answer if this reply helped you
    ==============================================

    Harikrishnan.S
    Trivandrum,Technopark,
    Kerala,
    India
    harikrishnans82@gmail.com
    ==================================================
  • Re: ajax modal popup extender : how to hide on page load

    07-03-2009, 8:36 AM
    Answer
    • Member
      10 point Member
    • anamika12
    • Member since 03-19-2009, 8:17 AM
    • pune
    • Posts 36

    hey thanx a lot..

    it workedSmile

    anamika
  • Re: ajax modal popup extender : how to hide on page load

    07-27-2009, 7:45 AM

    Hi,

    As I am displaying gridview in Modal Popup with one button and dropdown list.

    I want to hide modal popup when there is no data in gridview.


    Thanks,

    Lavanya Janapati.


  • Re: ajax modal popup extender : how to hide on page load

    07-27-2009, 7:48 AM
    • Contributor
      6,528 point Contributor
    • manoj0682
    • Member since 10-22-2007, 11:16 AM
    • Bangalore,India
    • Posts 1,176

    you can check your gridView row count, if its not there then you can hide for model pop up

    eg :-

    if gv1.row.count=0

    {

    mdlPopup.Hide()

    }

    just check the syntax 

    should work :)


    Manoj Karkera
    Zenith Software LTD 



    Please remember to click “Mark as Answer” on the post that helps you, it will help other(s) to get there answer.
  • Re: ajax modal popup extender : how to hide on page load

    07-27-2009, 7:59 AM

    Thanks for reply,

     I have done that all,then also I am unable to hide.


Page 1 of 1 (6 items)