Community discussion forum

popup window in vb.net... how it's work?..

  • 6 months ago

    hello... can anyone help me.. I would like to know how I can pass a TextBox.Text to a javascript function but doesn't work here the example of source code(vb.net):

    CJavaScript.OpenPopUp(BtnPapar, " FormLampiran1.aspx?txtKelompokDari=" + TextKelompokDari.Text + " & txtKelompokHingga = " + TextKelompokHingga.Text, "", 800, 700)

    Post was edited on 18/05/2009 03:29:16 Report abuse
  • 6 months ago

    hello... can anyone help me.. I would like to know how I can pass a TextBox.Text to a javascript function but doesn't work here the example of source code(vb.net):

    CJavaScript.OpenPopUp(BtnPapar, " FormLampiran1.aspx?txtKelompokDari=" + TextKelompokDari.Text + " & txtKelompokHingga = " + TextKelompokHingga.Text, "", 800, 700)

  • 6 months ago

    Hi, would like know whether there is problem in windows pop up or getting the text data from the textbox? You may try the below code in button (BtnPapar) click function to popup windows after clicked on the button:

    Dim popupScript As String = ""

    Page.RegisterStartupScript("PopupScript", popupScript)

  • 6 months ago

    Hi, there is problem in display of script that I posted. Below is the script that I try to post again:

    Dim popupScript As String = ""

    Page.RegisterStartupScript("PopupScript", popupScript)

    ]]>

  • 6 months ago

    Hi, there is problem in display of script that I posted. Below is the script that I try to post again:

    Dim popupScript As String = ""

    Page.RegisterStartupScript("PopupScript", popupScript)

  • 6 months ago

    Hi, there is problem in display of script that I posted. Below is the script that I try to post again:

    Dim popupScript As String = ""

    Page.RegisterStartupScript("PopupScript", popupScript)

  • 6 months ago

    Hi, I tried to post the script several times, but, with no success. The value for popupScript is discarded. Sorry for inconvenient caused. The below link may helpful

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

Post a reply

Enter your message below

Sign in or Join us (it's free).

We'd love to hear what you think! Submit ideas or give us feedback