Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8078607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:50:50+00:00 2026-06-05T15:50:50+00:00

sb.Append(<script language=’javascript’>) sb.Append(window.open(‘updateRT.aspx?batchno= + batchno + &prodcode= + prodcode + &maxrunningtime= + temprunningtime +

  • 0
    sb.Append("<script language='javascript'>")
    sb.Append("window.open('updateRT.aspx?batchno=" + batchno + "&prodcode=" + prodcode + "&maxrunningtime=" + temprunningtime + ",")
    sb.Append("top=0, left=0, width=500, height=500, menubar=yes,toolbar=yes,status=1,resizable=yes');")
    sb.Append("</script>")
    ClientScript.RegisterStartupScript(Me.GetType(), "abc", sb.ToString())

hi everyone …above is my vb.net code that i am trying to pass the value to other page and at the same time resize the window that will appear …

i am not sure why and which error that i encounter and the size od windows still remain the same which is full screen rather than with width = 500 and height=500

can anyone help me out here?

thank you so much and have a nice day …

😀

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T15:50:53+00:00Added an answer on June 5, 2026 at 3:50 pm

    Whoops, had misread your code.

    You’re supposed to pass in the window specification as the third parameter to window.open – check out http://www.w3schools.com/jsref/met_win_open.asp. Right now, you’re passing everything in one parameter, since the comma which is intended to close the first parameter is actually part of a string. Try

    sb.Append("window.open('updateRT.aspx?batchno=" + batchno + "&prodcode=" + prodcode + "&maxrunningtime=" + temprunningtime + "', '_blank',")
    sb.Append("'top=0, left=0, width=500, height=500, menubar=yes,toolbar=yes,status=1,resizable=yes');")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

here is my html output: <script language=javascript> function append_suggestion() { $('input[name=cn]').append($('#rand-character').val()); } </script> <form
StringBuilder scriptFunction = new StringBuilder(); scriptFunction.Append(<script language='javascript'>); scriptFunction.Append(alert('de')); scriptFunction.Append(</script>); ClientScript.RegisterStartupScript(GetType(), alert, scriptFunction.ToString()); This is
<head> <script language=javascript type=text/javascript src=http://code.jquery.com/jquery-1.4.1.min.js></script> <script language=javascript type=text/javascript> $(function() { $(#MoveRight,#MoveLeft).click(function(event) { var id
<script language=javascript type=text/javascript> $('#leftDiv').ready(function(){ $(form).submit(function () { //data structure var radios = []; //for
<SCRIPT Language = JavaScript> function calculate() { a = 12 b = eval(document.form.number.value) c
I have the following code: <script language=javascript> function add(idautomobile,marque,model,couleur,type,puissance,GPS){ $(#notification).ajaxStart(function(){ $(this).empty().append(<center><br/><img src='img/ajax-loader.gif'></center>); }); $.ajax({
I have this script $('head').append('<link rel=stylesheet href=css/file1.css type=text/css />'); $('head').append('<link rel=stylesheet href=css/jquery.jscrollpane.css type=text/css />');
in the following script I clone a new row form tfoot and append it
I'm currently building my own login script and have noticed that most append the
$.post('includes/script.php', $(this).serialize(), function(data) { $('body').append(data); }); alert ($('#new').length) php script is <php echo <div

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.