Click here to Skip to main content
15,892,927 members
Everything / Programming Languages / JScript .NET

JScript .NET

JScript.NET

Great Reads

by Sebastiaan Meijerink
Object constructor with another object instead of named variables.
by Gerardo Recinto
Virtualization of RAM & Disk for high-speed, low-footprint & scalable data caching
by Hamid Mosalla
Dynamically building JSON tree for use In JavaScript components using C#
by Abhishek Nandy
Analysis Of World Climatic Condition

Latest Articles

by maayanwis
easy way to implement a webview in unity editor with tabbed window and callbacks from the html
by Vishal_Kumar
Call server side code using ASP.NET AJAX and jQuery AJAX
by Rajesh Pillai
Learning jQuery the fun and easy way (hopefully).
by Vitalii Novotarskyi
To simplify working with jQuery Datatables.

All Articles

Sort by Title

JScript .NET 

6 Aug 2015 by Sujith Karivelil
Am creating a popup with Dynamic textbox and make it to select date by assigning Datepicket to it by using jquery as follows: Dim htmlString As string= "" & _ "$.noConflict();" & _ ...
1 Jun 2010 by Sandeep Mewara
Why repost it multiple times?Follow it at one place: http://www.codeproject.com/Questions/85070/reading-excel-sheet-via-javascript.aspx[^]
22 Aug 2014 by Gurdeep Singh Toor
A Complete Guide to develop aplication using MyGeneration code genration framework. We will develop a Meeting Room Booking web application in this Article.
18 Nov 2010 by Erich Ledesma
Bases to create your own JavaScript shell for your application
27 Sep 2011 by rajjosh
function closeMe() { window.open('','_parent',''); window.close(); }i have above js function for close window but it will not work in fire fox but after use of following about:config address bar of fire fox and set...
2 Oct 2011 by kiran dangar
If you want to call from asp.net code behind then You can register client script as below:Page.ClientScript.RegisterClientScriptBlock(this,"key","closeMe();");
7 Feb 2012 by behrad110
i use extended javascipt for asp.net ajax programing.i want to add a namespace to my javascipt code and i use Type.registerNamespace("myspace"); but during complie i get this error:type is undefined; what is the problem?thanks a lot
7 Feb 2012 by manognya kota
Hi,This link might be helpful.http://stackoverflow.com/questions/1722117/type-is-not-defined-when-using-asp-net-ajaxs-type-registernamespace[^]
5 Apr 2018 by Deekshaa Singh Chauhan
when i click on in my admin panel logo the use logs out ,user redirect to the login page.I dont know why and how to solve this. AdmintTheme (Here in anchor tag given href="/" i dont know why we use /(slash) what is the meaning of this here) What I have tried: AdmintTheme (Here in...
30 Nov 2012 by Michal Kozel
Good day all,I encountered were strange problem during my work.When I call stored procedure from JScript (Jscript code is compiled by 3rd party desktop application that uses windows script 5.6) and give it data through parameters it ends up that data stored in database are different based...
10 Dec 2012 by Michal Kozel
in the end i was able to solve this problem.All was caused by ADO and its behavior when it encoded binary data from Local system language codepage to unicode.in this example it was on French system from codepage 1252 to unicode and on Czech from codepage 1250 to unicode.So I needed...
16 May 2008 by Mohit Soam
A compact virtual In-Script keyboard to input Hindi (the official language of India) characters in a text box.
13 Jul 2005 by Enrico Elizar Samuel
Custom DropdownList that utilizes AJAX to populate its content and implements Observer pattern to participate in dependent dropdownlist chains.
15 Jun 2012 by myansweris
I am new to Ajax control toolkit , i just installed it in VS2010. I want to use this to implement collapsible panel,Can anybody Guide initial steps.Here is the info i want to implementStored procedure ---> EXEC report.usp_GetboardParameter---> 111Output---> two different data sets
22 May 2012 by bbirajdar
This is all you needhttp://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CollapsiblePanel/CollapsiblePanel.aspx[^]
25 Nov 2015 by Mukesh Ghosh
Dear All,currently i am working with Angular JS.Now, i have 2 multiple selection list. Now my requirement is when i select any (or Multiple) row or record from first list then 2nd list will be populate based on first list selected rows. I have fire even on ng-blur for first list , now...
14 Oct 2014 by Rajendra Kumar Sahu
The article is about how to use AngularJS framework to write a MVC pattern client side application.
29 Sep 2010 by call to .net
Anybody Suggest book or site for Jscript for ASP.net
30 Sep 2010 by Not Active
JavaScript is independent from ASP.NET. Any JavaScript book will do.
30 Sep 2010 by Sandeep Mewara
Websites:Sit...
27 Oct 2004 by Chad Z. Hower aka Kudzu
In this article, I’ll explain how you can easily store and retrieve your application settings with just a few lines of code
4 May 2013 by sarsoraa
Dear allcould any one help me in this problemi use jspdf which in the following linkhttp://jspdf.com/but it not accepted any arabic alphabethow i solve this problem .if there is any alternative way to create jspdf thanks
18 Mar 2009 by Malik Hassan
ASP.NET - Upload File with Loading Image appears after Start Uploading
20 Jul 2012 by Sunasara Imdadhusen
File upload widget that will display real time file upload progressbar
16 Apr 2012 by cpsglauco
Little-Big bug from ScriptManager
31 Jan 2014 by kesavprakash
i'm a C# .Net Programmer, My company ask me to write a program for testing web application using "Selenium Tool". i am google through it. can any help me to create a sample applications by using this tool. Thanks in advance
31 Jan 2014 by Sampath Lokuge
Please check below mentioned links for more info. :)Writing integration tests for ASP .NET with Selenium 2.0 – Part 1Writing Integration Tests for ASP .NET with Selenium 2.0 – Part 2design-of-selenium-tests-for-asp-net
15 Dec 2011 by zubinrafi
i am doing a web project .. i am in need of displaying multiple forms in a panel ,,, i need to display the forms when i select my menu items ....when one menu item is selected then only one form corresponding to it should be displayed ...
16 Dec 2011 by Technoses
you can us multipal div and add style i.e. style="display:none"when you click on the menu then you can show only that div which you want to show. javascript on click:var oldDiv;function clk(dvNm){if(oldDiv!=null)oldDiv.style.display="none";var...
14 Oct 2013 by Member 10336305
Hi,I am trying to acheive Autocomplete text box in asp.net using jquary. i am getting a runtime error "Microsoft JScript runtime error: Object Expected"FronEndCode
16 Feb 2010 by dawright, ProtoBytes
A heurisitc graphing tool to help discover 'Big O Notation' function thru infinite asymptotic's and instrumentation.
27 Dec 2013 by Arjun Menon U.K
Hi,i am trying to learn MVC and in my page there are two actions1. Update2. DeleteI did update using submit and delete using AJAX. When delete is successful,i want to redirect to a page. I achieved it but the problem is the URL of browser. It still shows the edit page url. So is...
26 Oct 2009 by Amol M Vaidya
This is a web-based WhiteBoard. It uses C# and AJAX to communicate between the server and clients. Data sharing between different users is made possible using AJAX. Drawings can be shared in real time over multiple clients.
4 Sep 2013 by Krish from Hyderabad
I have one problem..I have two TextBoxs. 1 textbox for CalenderExtender and other textbox for displaying age from calenderextender.I display the from calenderextender but when i click a button(clientside code for navigation tabpanels in tabcontainer) it will be 0. please clear my...
20 Feb 2017 by Vishal_Kumar
Call server side code using ASP.NET AJAX and jQuery AJAX
13 Nov 2015 by Ashutosh kumar04
//More than 593 values it goes to error instead of successfunction getZipCodeListDefault() {var arrs=[]; var index = 0; try { $.ajax({ type: "POST", cache: false, async: false, contentType: "application/json;...
13 Nov 2015 by Krunal Rohit
Well, JSON has a default characters limit to 102400. See this[^].But you can specify the limit in web.config Rather return the split-ed list and combine them on client-side.-KR
25 Dec 2011 by tulasiram3975
hi alli have one jscript file like:saveSticky = function saveSticky() { $.ajax({ type: "POST", url: "Home.aspx/MethodSample", data: "{}", contentType: "application/json; charset=utf-8", dataType: "json", success: function...
25 Dec 2011 by bbirajdar
You need to add this code in web.config to enable calling WebMethods from javascript ...
16 Aug 2011 by H.Rajkumar Reddy
Dear All, I'm working on grid html report using code i able to print page in portrait orientation but client requirement is to print landscape orientation default without setting printer orientation how can i print page in landscape please help me,Advance thanks,
16 Aug 2011 by Herman<T>.Instance
see here: http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.defaultpagesettings.aspx[^]
8 Sep 2015 by Arasappan
$(window).load(function() { $('#slider').nivoSlider({directionNavHide:false}); }); ...
8 Sep 2015 by Sergey Alexandrovich Kryukov
Please see my comment to the question.Such problem simply does not exist. Developers can use any number of script files, related or unrelated, on the same page. Multiple inclusion of scripts, by URL or embedded on HTML page, is equivalent to having all JavaScript code in one script...
7 Jan 2013 by Member 7766180
I have a series of three List Boxes, The first box is loading properly, however; the second and the third are loading but not filtering based on the previous selection. The tables are as...
28 Sep 2010 by Adam R Harris
Hey All,Ok really simple question that i cant seem to find the answer to. I am currently doing some classic ASP development in JScript. I have my basic functions and whatnot in an include file but the include file has the @Page directive in it so if i put one in each page i get @Page...
1 Oct 2010 by William Jordan
Here is one thing to try:To edit your Classic ASP files and still utilize syntax highlighting and intellisense. You need to associate the .asp file extension with the Web Form Editor. When doing this you are telling the IDE to treat .asp files the same as .aspx files, in turn sort of...
7 Jun 2013 by Abhishek Nandy
Analysis Of World Climatic Condition
18 May 2015 by Andy Lanng
This solution uses jQuery. If you don't use jQuery, I suggest you include it.function fnchkFlow(this){ //first get the jQuery version of the listbox var listbox = $(this); //make sure we have something (basic error checking) if(listbox && listbox.length) { ...
19 May 2015 by Thomas Nielsen - getCore
One approach is to use the fontawesome to change the way the controls look, then ultimately use radio buttons and make them look like checkboxes, then you won't have to do anything but styling.Was looking for an article with examples and i think thisone is outlining the idea.Of cause...
7 Sep 2015 by itsathere
function fnchkFlow() {var items = $('# input:checkbox');for (var i = 0; i
8 Aug 2016 by Anil kumar 55
$('.other').on('click' , function() { $('.db1').each(function(){ $(this).removeAttr('checked'); })});$('.db1').on('click', function(){ $('.other').removeAttr('checked');});
3 Jan 2013 by Agrawal Ashok
Checkboxes working like radio buttons.
28 Aug 2020 by rajjosh
i have following js functionfunction closeMe(){ window.open('','_parent',''); window.close();}for closing window its working on IE,But it will not work on firefox any function for close button working on firefox please suggest me.
27 Sep 2011 by Mithun Thakur From NICE Computers
win.open return a reference to the open windowtry this codevar myWin = window.open('','_parent','');myWin.close();it will workmithun thakur
27 Sep 2011 by shakil0304003
you can see this linkClickHere, 3 solutions are given.
27 Sep 2011 by Orcun Iyigun
That might be what you are looking for:function closeWindow() { netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrite"); alert("This will close the window"); window.open('','_self'); window.close();}Good luck
28 Aug 2020 by Member 14925709
for mozila: about:config search dom.allow_scripts_to_close_windows and change false to true close the browser then window.close(); working perfectly for dynamically firefox and chrome in click event var browsernames = (function...
27 Sep 2011 by rajjosh
can we use this settings in java script function user_pref("dom.allow_scripts_to_close_windows", true);
28 Sep 2011 by E.F. Nijboer
No, because the setting would then be useless. This must be done manually using the about:config page. Good luck!
21 Nov 2013 by Rajnish D mishra
code to integrate google map in in home page
21 Nov 2013 by Tom Marvolo Riddle
Check these links:Google Maps in HTML, ASP.NET, PHP, JSP etc. with ease[^]https://developers.google.com/maps/tutorials/fundamentals/adding-a-google-map[^]
30 Sep 2015 by Isscander
Hi,I just bought the Hitachi Vinger Vein Reader and SDK. I thought the software delivered would be a standalone working program but I just found out it is a Software Development Kit. The problem is that I can’t program anything and I don’t have the sources to let some else do the...
30 Sep 2015 by Richard MacCutchan
If you want someone to write a program for you then you need to try one of the "rent-a-coder" type websites. You could also use Google tosearch for applications that can drive your device.
10 Apr 2015 by Member 11598299
A teacher play an interesting game in the class. he select some n students of the class and make a row of these n students. he makes the row randomly. he puts the very interesting question to the remaining question of the class he told them select some of the student out of the row such that...
10 Apr 2015 by OriginalGriff
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.Try it yourself, you may find it...
29 Apr 2003 by essence
Want to make it easy to make the jump to C#? Here's the answer.
19 Dec 2017 by Richard MacCutchan
Quote: Please suggest me some site where I can get knowledge www.google.com[^]
12 Jul 2023 by Dave Kreskowiak
Not going to happen. This isn't a "code for hire" or "code to order" site. The only code you get is the code YOU write.
25 Sep 2022 by Hemil Gandhi
I want to show database data in multiple text boxes using js I have tried the following but got no success pl help. In HTML Page
11 Sep 2014 by Rahul JR
Hello Everyone ,Please help me to find out days difference between two date.I have a following data var startDate = $("#ctl00_cntPlcHld_txtFrom").val(); var startDate = $("#ctl00_cntPlcHld_txtTo").val();i got following data from this 09-12-2014 (dd-mm-yyyy)09-01-2014...
11 Sep 2014 by Gihan Liyanage
function days_between(date1, date2) { // The number of milliseconds in one day var ONE_DAY = 1000 * 60 * 60 * 24 // Convert both dates to milliseconds var date1_ms = date1.getTime() var date2_ms = date2.getTime() // Calculate the difference in milliseconds...
31 Jan 2016 by Anil Sharma1983
You can try this wayvar startDate ="09-01-2014"; //$("#ctl00_cntPlcHld_txtFrom").val();var endDate = "09-12-2014"; //$("#ctl00_cntPlcHld_txtTo").val();var startDateFormated = startDate.split("-")[2] +'-'+startDate.split("-")[0]+'-'+startDate.split("-")[1];var...
17 Mar 2009 by Prakash Hirani
Article on how to display action messages after any action or event performs successfully or not like Gmail using JQuery and CSS
15 Nov 2010 by 10Tec, Sergey Gorbenko
Tool for creating MS Visual Studio documentation files - XML Summaries, HxS/MSHC help solutions and manuals.
25 Sep 2014 by Monika Rangta
http://couponhai.in/... check itCss is here:/* main-menu class has further sub class .has-sub for dropdown */.main-nav{ float: right;}#main-menu{}#main-menu > li{float: left;border-left: 2px solid rgb(225, 225, 225);padding: 2px 20px 3px;position:...
27 Sep 2014 by Akshay Raut
In one line : move to IE9 because you have to.
18 Jun 2012 by Sandeep Mewara
It does not work like this here.Here is what is expected of enquirers:1. TRY first what you want to do! You may find that it's not that hard.2. Formulate what was done by you that looks like an issue/not working. Try them and tell if you face issues.Members will be more than happy...
30 Sep 2014 by TheBigBearNow
hello alli have been researching and trying different ways to add a textbox and label by a button click but i have been having nothing but issues. I am currently working on a website where i can add a new text field with a label with a click.once i have this working i am going to have it so...
30 Sep 2014 by ChauhanAjay
To dynamically add controls to your form please have a look at Can I add a row 0f 6 textboxes dynamically using javascript? Please give me a code snippet[^]Hope it helps you achieve what you want.
19 Sep 2012 by sohaib patel
How to create a dynamic label editor web control on ASP.NET (textbox and label).
11 Nov 2014 by sameh obada
Jquery plugin to create dynamic css animations and transitions.
31 May 2016 by Hamid Mosalla
Dynamically building JSON tree for use In JavaScript components using C#
7 Jan 2014 by M@dHatter
Below is an easy way to create Templates in JavaScript without changing the code format.
2 Apr 2014 by Manish Kumar Namdev
Hi friends I am trying to run this cron for email functianlity. The same code is working with another system.var strURLs = new Array("http://localhost:51611/Cron/Email.aspx"); var webObj = WScript.CreateObject("MSXML2.ServerXMLHTTP"); var lResolve = 10 * 1000; var...
2 Apr 2014 by Manish Kumar Namdev
Hi friends,I got the solution for the issue and it is working fine properly.Well I am using Visual Studio 2010 Project for my web application. So when I create any new page it contains 3 files Default.aspx, Default.aspx.cs, Default.Designer.cs . But when I choose New Website then I...
23 Nov 2010 by Vinay Lakhanpal
This article explains how you can use PageRequestManager class to enqueue multiple requests.
9 Feb 2007 by Guy Laor
How to enhance and get the most of Google Analytics or any other web tracking tool. This is a good insight on how these applications work, for those who just want to understand more about it.
15 Feb 2016 by Member 12330364
Hi,I use eudock on a Joomla 1.5 website with no problemsI try to make it work on the new Joomla 3 version of the website : no way !Is there any incompatibility with the Joomla 3 versions ?I tried with 3 different templates including default oneslinks to js are well positionned just...
19 May 2015 by osamafadl
hello i have data like i posted bellow i need to convert it to excel file i tried most of online solutions but there is no result any help please ?json data : { "id": "0001", "type": "donut", "name": "Cake", "ppu": 0.55, "batters": { "batter": [ { "id":...
19 May 2015 by Kornfeld Eliyahu Peter
This is data that can not be displayed on an Excel sheet as Excel can only display simple table, where you have a multilevel data structure...If what you mean is to use the second-level values for validation, you have two options:1. Do it directly on the Excel sheet using the Validation...
3 Feb 2015 by er.prakash.bhatta
Hi, I get "No sufficient resource" error when try to export to excel my JQXTreeGrid data. Data has arounf 2158 rows and content of data is huge.Can any one help me with this issue. Thank You
16 Mar 2007 by alex turner
How to make a simple Excel database reporting engine with XML configuration.
16 Feb 2007 by alex turner
A JScript that is really used in business for cleaning up named ranges in Excel.
16 Sep 2015 by Member 11848394
Fcebook api 2.4 not returning the host name and other details it only returns the id, message, created date .how to access the all facebook api details from a json file. i am using the url https://graph.facebook.com/" + strUserId + "/feed?access_token=" + AccessToken for getting that json file
16 Sep 2015 by ZurdoDev
You'll need to refer to the Facebook documentation or contact them directly.
18 May 2007 by Jeff W Welch
Using JScript.NET to build your webservice means you can send business logic code across the wire. This article shows you how.
20 Sep 2013 by sankmahesh
hi,i have a problem in asp.net.i want to focus to datagrid when the cursur is focus in textbox using jscript in asp.net.anyone help me?
12 Jul 2015 by Sergey Alexandrovich Kryukov
This question makes no sense. To determine the "best", you need to defined the order predicate "better", which is hardly possible. Better for what? Try out all of them, to understand what better suites your needs, which you did not try to explain.—SA
2 Jan 2013 by ganusharma
Dear All, I am developing chart using google charp api.I am using asp.net 3.5 & google map api.how to format Y axis display unit (for eg display bugdet in amount or lac or millon)?My code is given below.