Popup in codebehind

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ingeborg

    #1

    Popup in codebehind

    Hi.

    Is it possible to create a popup window (or something
    similar) from codebehind?

    Like after pressing a button and if som conditions is true?

    Thanks in advance.

    Ingeborg

  • Showjumper

    #2
    Re: Popup in codebehind

    You could do something like:
    If MyCondition = True then
    Page.RegisterCl ientScriptBlock ("script", MyScript)
    End If

    MyScript is a string that contains your javascript to open the window


    Comment

    • Saravana

      #3
      Re: Popup in codebehind

      check out my article, which will help you
      http://www.microsoft.com/india/msdn/...ndarinASP.aspx

      --
      Saravana
      Microsoft India Community Star,
      MCAD,SE,SD,DBA.


      "Ingeborg" <nobody@nowhere .net> wrote in message
      news:07ae01c346 7a$5e323910$a30 1280a@phx.gbl.. .[color=blue]
      > Hi.
      >
      > Is it possible to create a popup window (or something
      > similar) from codebehind?
      >
      > Like after pressing a button and if som conditions is true?
      >
      > Thanks in advance.
      >
      > Ingeborg
      >[/color]


      Comment

      Working...