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

source code , javascript , vb.net , .net , programming Kuala Lumpur, Malaysia
  • 8 years 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)

  • 8 years 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)

  • 8 years 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)

  • 8 years 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)

    ]]>

  • 8 years 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)

  • 8 years 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)

  • 8 years 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).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” - Tom Cargill