Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. open window not work properly

open window not work properly

Scheduled Pinned Locked Moved ASP.NET
javascripttoolshelp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    lrsalunkhe
    wrote on last edited by
    #1

    Respected, Below is my code : If Session("DataTableForPrint") IsNot Nothing Then Dim st As String = "<script language='javascript'>" & _ "window.open(Report_fees_Collection.aspx)" & _ "</script>" Page.ClientScript.RegisterStartupScript(Me.GetType(), "MyScript", st, True) It not work please help me . thanks

    S S 2 Replies Last reply
    0
    • L lrsalunkhe

      Respected, Below is my code : If Session("DataTableForPrint") IsNot Nothing Then Dim st As String = "<script language='javascript'>" & _ "window.open(Report_fees_Collection.aspx)" & _ "</script>" Page.ClientScript.RegisterStartupScript(Me.GetType(), "MyScript", st, True) It not work please help me . thanks

      S Offline
      S Offline
      sashidhar
      wrote on last edited by
      #2

      Check this below links it may help..! How To Open a Web Page In a New Browser ASP.NET?[^] ASP.NET Popup Control[^] http://www.developerfusion.com/code/4505/add-a-javascript-popup-to-an-aspnet-button/[^]

      LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

      L 1 Reply Last reply
      0
      • L lrsalunkhe

        Respected, Below is my code : If Session("DataTableForPrint") IsNot Nothing Then Dim st As String = "<script language='javascript'>" & _ "window.open(Report_fees_Collection.aspx)" & _ "</script>" Page.ClientScript.RegisterStartupScript(Me.GetType(), "MyScript", st, True) It not work please help me . thanks

        S Offline
        S Offline
        shankul
        wrote on last edited by
        #3

        if you want to give true means no need to add script tag in string

        1 Reply Last reply
        0
        • S sashidhar

          Check this below links it may help..! How To Open a Web Page In a New Browser ASP.NET?[^] ASP.NET Popup Control[^] http://www.developerfusion.com/code/4505/add-a-javascript-popup-to-an-aspnet-button/[^]

          LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

          L Offline
          L Offline
          lrsalunkhe
          wrote on last edited by
          #4

          Thanks allot....

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups