Click here to Skip to main content
15,892,005 members
Everything / Client side

Client side

client-side

Great Reads

by Paulo Augusto Kunzel
Using CSS to animate a Solar System
by Super Lloyd
A fully featured yet short (only 436 lines) replacement for datatables
by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
We will explore the technique in jQuery to validate the ASP.NET GridView.
by DiponRoy
How to change the functionality or behavior of a function in JavaScript

Latest Articles

by Ahmad F Hassan
Using SPLoader.js to create UI components that read its content from Lists and Libraries in minutes using only HTML
by Tushar_Gupta
Quick Start tutorial for creating AngularJS applications
by NavnathKale
Part 2 – Extending AngularJS to make it more simple and dynamic
by sameh obada
Implementation of mouse capturing for HTML5 Broswsers

All Articles

Sort by Updated

Client side 

19 Aug 2023 by Muhammed Muflih
I'm working on a React project where I need to store logged-in user information, such as their name, avatar, user_id, and more, on the client side. I'm looking for advice on the best practices and techniques for achieving this securely and...
17 Aug 2023 by OriginalGriff
Storing anything like that client side means cookies - and that means two things: 1) you need to get permission first, just like every other site that won't shut up until you let them store cookies on your machine. 2) It's not particularly...
9 Feb 2022 by Mr.M codes
Im having an Requirement to change a Sub font in Service catalog check box variable If "Adode Acrobat" is Check box variable i had brought the colour for full TEXT I need only for "Acrobat" for that variable Any thoughtful ideas What I...
25 Sep 2020 by Member 14908411
I am using Expressive annotations to handle RequiredIf conndition My Model [RequiredIf("IsSellable == false", ErrorMessage ="Offer code is required!")] public string Code { get; set; } public bool IsSellable { get; set; } whenever I click...
25 Sep 2020 by BillWoodruff
From the Expressive Annotations GitHub : [^]Quote: RequiredIf attribute is not working, what is wrong? Make sure RequiredIf is applied to a field which accepts null values. In the other words, it is redundant to apply this attribute to a field...
10 Dec 2019 by Ashutosh Gpta
my first impression is that your JSON contains nested array and you are looping only the first array where as name and order is part of your second array. check this. for (var i = 0; i
10 Dec 2019 by MichaelChad
So I've got this JSON file (attached). I cannot get it to display in HTML when I call the function in JavaScript. Any help? `const data = { "layers": [{ "order": 0, "items": [{ "order": 2, "name": "Randomly Generous Red", "imgSrc": "jeb.png" }, { "order": 1, ...
15 Nov 2019 by MadMyche
Have you read the Guide? It seems to be pretty straightforward: Moment.js | Guides | Known Date Formats[^]
15 Nov 2019 by abdulla_nafiz
Hi, I am trying to display all dates formatted in my local language [locale'dv'] on my blog: hosted with Blogger using moment.js. Any help will be much appreciated how this could be achieved. Thank you, nafix What I have tried: Tried various methods described on other websites.
30 Jul 2019 by MadMyche
Well for starters there is a typo in your codefetch('url') .then(function (response) { return response.json(); }) .then(fucntion(data) { // function ( not fucntion ) appendData(data); }) .catch(function (err) { console.log(err); });
7 Mar 2019 by Bohdan Stupak
There is a claim that Google is perfectly fine with JS and there is even a PoC that tests it. Still, server-side rendering is believed to be standard of the industry solution. However, if you can prerender your web page and pass it to the crawler. This Go project should provide you with the...
7 Mar 2019 by Member 11026054
I have a web application (an Online store) where it is implemented as an SPA. We have used VUE js in Front-End and now our concerns is about SEO. As I studied the web, CSR (as is used in SPAs) is not SEO friendly but there are two solutions for SPAs: Prerendering and SSR. Is these two approaches...
31 Dec 2018 by Ahmad F Hassan
Using SPLoader.js to create UI components that read its content from Lists and Libraries in minutes using only HTML
12 Nov 2018 by Tushar_Gupta
Quick Start tutorial for creating AngularJS applications
4 Oct 2018 by F-ES Sitecore
Your "return false" is making the function inside your "each" method return false, it isn't making the ValidateFields function return false. In the update below I set an isValid variable that is updated by the inner function in "each" and that variable is then returned from ValidateFields. ...
30 Sep 2018 by Madhukar Krishna
Dear friends, I have the following JQuery code in asp.net web form:- function ValidateFields(id) { $("#Rpt1").find("input[type=text]").each(function () { if ($.trim($(this).val()) == '') { alert("At least one...
14 Sep 2018 by Member 13958466
i want to save the order of the list when user change the order of the list, when that user again log in to the site, site must show the order that user had change previous time. What I have tried: private SaveSortModuleIndustry = (): void => { var moduleObject =...
20 Apr 2018 by NavnathKale
Part 2 – Extending AngularJS to make it more simple and dynamic
13 Mar 2018 by F-ES Sitecore
You can't encrypt the file at the client. Well, you probably could but it's worthless as you'd need to expose your "secrets" allowing anyone to decrypt your data. If you want to avoid man in the middle attacks then use https, that's what it's there for.
13 Mar 2018 by Member 12666574
I have asp.net code to encrypt and decrypt files using Cryptography and Steganography to upload it to a server and return download it with the same manner. but asp.net code is run at server. how to make the encryption and decryption process executed at client side to avoid man in middle attack. ...
28 Oct 2017 by Member 10871138
Hi everybody I save the text of the description.txt into document.cookie I want to save the user's text as a draft. The problems are: When the user closes the browser, the cookie is deleted If the enter is in the text, the enter is not saved in the cookie Do you have a better solution...
28 Oct 2017 by OriginalGriff
Cookies are normally deleted when the browser closes - if you don;t want that, you need to set the expiry date to a more reasonable value: HTML DOM cookie Property[^] - but a whole document will tend to get qute large, and that may impact the site's apparent speed. You might want to consider...
13 Jul 2017 by Member 12741312
From last couple of days , I was searching for printing pdf document at client side . Some what I tried some codes given online ,but yielded no result . On further search ,some says adobe doesn't allow such method , or can't be done because of security issues , etc ... I have following queries...
13 Jul 2017 by OriginalGriff
You can't do it. You do not have access to the client printer (or other hardware) from your server: you cannot even force the user to open the PDF file when you send it to him, much less install a PDF reader and tell it to print - which is what you would need. This is why you find results like...
10 May 2017 by Member 1097736
I have a scenario where my apigateway is going to be made secure, which is the entry to access all micro services. Right now we use these APIs for web based apps by making server side calls(using C#). we are going to make the APIs public, where mobile apps, other web apps or other services can...
10 May 2017 by Jim Strawn
Have you looked at using JSON Web Tokens? (JWT, also pronounced "JOT".) These are sort of an industry standard for securing API calls. Here's a good short intro: The Anatomy of a JSON Web Token ― Scotch[^]
7 Mar 2017 by Member 12999575
// In my home controller [HttpGet] public JsonResult IsUserNameExist(string Name) { using (CobraDBEntities db = new CobraDBEntities()) { var check = !db.Person.Any(x => x.Name == Name);// if we use Person per then per.Name, and so...
17 Feb 2017 by sameh obada
Implementation of mouse capturing for HTML5 Broswsers
16 Feb 2017 by Afreen F
This article explains basic concepts of AngularJS like Modules, Controllers, Expressions, Directives, Scope and Scope Inheritance.
7 Dec 2016 by Afzaal Ahmad Zeeshan
You cannot save data if you are not going to upload it — if data needs to be saved on server, then you need to upload it using an endpoint provided by the server or host. Otherwise have a look at, localStorage[^] API, it will keep data on client's machine only. Even Ajax request requires to...
26 Aug 2016 by Awesome Dev
Interview question: how do you reverse a number using JavaScript?
18 Aug 2016 by Trimantra Software Solution
I am running into a very strange issue.I am working with SharePoint 2010 Site using Client Side Object Model(C#). I am not having SharePoint Server so I have created an windows application using c# CSOM to deal with SharePoint.In my application I am dealing with creating so many document...
5 Apr 2016 by debashishPaul
A discussion on TypeScript's type system in detail
5 Apr 2016 by debashishPaul
A deeper dive in TypeScript with the discussion around functions and how to work with them
27 Mar 2016 by mohamadMahmodi
I want set CSS style attributes of some controls (like input text) just by Request.Form["x"] method in aspx page .cs code ,runat="server" is set for that controls and them is known in intellisense of .cs and them didn't find byform1.FindControl("x")and convert them to HtmlInputText for some my...
27 Mar 2016 by Karthik_Mahalingam
Add the controls in an asp panel find the control and cast it var txt1 = panel1.FindControl("txt1") as TextBox; // asp textbox...
26 Mar 2016 by mohamadMahmodi
hi allmy web page has an optional contact that user can add input text for any contact like cellphone or email,when user click create contact button, it make a input box with attributes like unique id(for example "txtrelat1") or runat="server"(in client-side but web page has an input box with...
26 Mar 2016 by F-ES Sitecore
The runat tag is processed by .net when the page is generated, it has no meaning client-side and adding an element with a runat tag from javascript doesn't make that a server-side control, it simply creates an element with an attribute that is ignored.What you have to do is ensure the input...
3 Mar 2016 by dumsky
Getting it all together - Controller, Service, $http, caching and more
24 Feb 2016 by dumsky
Demonstrate how to write a simplified AngularJS Loader and Error handling infrastructure
28 Jan 2016 by Member 1097736
I have two sub-sites in my sharepoint site,SampleSite1 and SampleSite2.Each of the Sites have two groups superUser and NormalUser. I have given my sharepoint context credentials in appsettings of config file along with SiteUrlhttp://LeslieJames.sharepoint.com/sites/MainSite/...
19 Jan 2016 by Avron Polakow
This article presents a client-side, JavaScript Relational Database Simulator in the browser, using SQL commands to Create, Read, Insert, Update and Delete in-browser table data, as well as formatting the output as HTML objects in a Webpage.
7 Jan 2016 by Snx.sahay
This is a single page application. Technologies and version used for these articles are MVC 5.0 and Durandal 2.1( client side framework)
4 Jan 2016 by Solai Raja
You just have to call like this$(".date-picker").datepicker({ changeMonth: true, changeYear: true, showButtonPanel: true, dateFormat: 'MM yy', onClose: function(dateText, inst) { var...
3 Jan 2016 by Pravin.Bhosale01
Hi,I am developing a view to display generic meetings of every-month. I am using "FullCalendar" a jQuery plugin.Here my requirement is, I need to display a calendar view where a month-view will be displayed with NO DATES on calendar.Is there any property to set or jQuery code to hide...
26 Oct 2015 by Andy Feng
This article introduces multiple approaches to implement a Javascript maxlength check in browsers
15 Sep 2015 by F-ES Sitecore
You should be able to add them to the layout, just make sure they appear after the reference to jquery. If it's still not working you'll need to post the script references in context.
15 Sep 2015 by Member 11247784
I try to use model base clientSide validation in MVC 5 on my partial view and i add references on my layout page but that is not able to work.but when i add...
4 Sep 2015 by Palash Mondal_
How to get the IDs of multiple elements with less code using the power of jQuery
25 Aug 2015 by praveen thumma
I have requirement like, i want to download the file(excel) from share point document library and convert it in to text file with specific file format. I have searched in google, found many articles but my client does not support binary conversions. I tried with binary file format, but it did...
29 Jul 2015 by Raul Iloc
1.Yes it is possible, and the best solution that I see in .NET is by using WCF.So your server will implement a WCF service and will provide this interface for communication with its clients and also will could be client by communicating with other server/ servers that are exposing their WCF...
29 Jul 2015 by Member 11543226
I want to know Is it possible to create a application which acts as a server for multiple clients as well as acts as a client for host server?In my scenario I want to receive request from multiple clients and send this request to another host server machine which has database access and this...
29 Jul 2015 by Animesh Datta
Hello ,You have to add ValidationGroup="A" in TextBox also .thanks
29 Jul 2015 by Fabiyi Michael Ibukun
Hello guys, I really need your help. All Validation controls on every page in my project don't work in client-side. the button_Click event fires immediately the button is clicked even when the validation isn't true. I put the code below in my project and in a new project, it works perfectly in...
13 May 2015 by kubibay
Embedded server and http://chimera.labs.oreilly.com/books/1230000000545/ch15.html#DOWNLOADING_DATA_WITH_XHR[^]is the solution
13 May 2015 by kubibay
I found the way to do that,Embedded server and http://chimera.labs.oreilly.com/books/1230000000545/ch15.html#DOWNLOADING_DATA_WITH_XHR[^]
28 Apr 2015 by kubibay
Hi,I have a difficult issue to solve. I have to download the videos which are located under server to client's pc's target path. I have a web application running on virtual pc and I have an embedded server running on my pc. I need to download the video which is located under server partially...
27 Apr 2015 by Gilly Barr
Reviewing Kibana 4's client side code
27 Apr 2015 by Joan Magnet
Use Response.Set the ContentType to "video/mp4" and use BinaryWrite to send the content.Response.ContentType = "video/mp4";Response.Clear();Response.BufferOutput = true; // use a reader to load the video contentResponse.BinaryWrite(reader.Value); Response.Flush();
27 Apr 2015 by kubibay
Hi,I need to download videos which are located under server to user's specified local path.I have a web server application and an embedded server application for client side.Somehow I need to get byte buffer from code behind webmethod then I need to send the byte buffer to my embedded...
18 Apr 2015 by Member 11428137
The XmlSerializer won't serialize interfaces.Your method is returning an interface, so this is what it's complaining about.Try returning a List instead.
17 Apr 2015 by Lalyka
HiI am trying to send a query to my local server and the server return xml fromat to the clientwhen I tryto run the server side I get this error Quote:Cannot serialize interface System.Collections.Generic.IEnumerable`1[[WebApplication1.ReturnValues, WebApplication1, Version=1.0.0.0,...
7 Apr 2015 by Sergey Alexandrovich Kryukov
First of all, you don't reference DLL's, you only reference assemblies. Do you think there is no difference? There is… An assembly usually has one module, which can be .DLL, .EXE (you can freely reference an assembly by an .EXE module — did you know that? in some cases, rather exotic...
7 Apr 2015 by stixoffire
I have a 3rd party client library which encompasses 2 DLL's.I have two applications that I am creating , with a business object library.One application is a service which communicates with a specific industrial device requiring the 3rd party libraries. My service and my application will...
20 Mar 2015 by Nishant_Chaturvedi
This article helps you get started with TypeScript in AngularJS application.
17 Mar 2015 by Nishant_Chaturvedi
This article explains how the inheritance chain works in JavaScript using prototypes and how to implement custom inheritance similar to classical programming model.
10 Mar 2015 by Karthik_Mahalingam
I got itCamlQuery camlquery = new CamlQuery(); camlquery.ViewXml = " ";We need to add the custom fields name in the caml query and just execute this clientContext.Web.SiteUserInfoList.GetItems(camlquery);
9 Mar 2015 by KaushalJB
Here you go with this code snippetpublic void GetSPUsersOfGroup(string webURL, int groupId){ List listSPUsers = new List(); Web currentWeb = ClientContext.Site.OpenWeb(webURL); UserCollection userCollection = currentWeb.SiteGroups.GetById(groupId).Users; //For...
9 Mar 2015 by Karthik_Mahalingam
HI FolksI have created an user group in SP 2013 and i have added one custom column to it, from the list settings,How to get the custom column value using Client side object model.I need to fetch all the users of that group at once.Peoplemanager will consume more time as it has to...
6 Mar 2015 by Ankur .K. Vishwakarma
Calling server-side code from client-side using JavaScript and TextBox's onblur event
23 Feb 2015 by Tushar_Gupta
A custom security architecture for role based access to components in a page
17 Feb 2015 by cybersa
I don't know whether it is possible or not.Can i get a full duplex connection between two clients with server as intermediary?For Example:Client 1 connect its socket to Client 2's Socket through internet for transmission of data in a single connection.I want client application to be...
17 Feb 2015 by Afzaal Ahmad Zeeshan
You gave the answer yourself, the WebSocket is the API that you would be using to allow the server to communicate to the client without having the client to send a new request to the server. It would be a full-duplex communication mode because server and client both can communicate without...
5 Feb 2015 by Afzaal Ahmad Zeeshan
You actually didn't really need to create a WebService to perform an action to just let the client download the file. What you would do, is to create a hyperlink for the file link (generally to the page) from where the user would download the file. DownloadNow once the user has...
5 Feb 2015 by Member 10475792
I need to download an excel from clientside. Unfortunately none of the jquery plugins or methods allow you to download file by passing Headers in the request. I definitely have to pass headers in request and there is not question about it. So what i did was, i created a web service method and...
30 Dec 2014 by Kornfeld Eliyahu Peter
There is no API to get a nice list of installed software, so you have two ways to find it out1. Check for certain folder/executable that come with the application2. Read the registry of the machine for uninstall entries to find if software is there:...
30 Dec 2014 by Ravi Kanasagra
Hi All,I am planning to write a logic in my application where I want to check for some software installed on client windows machine. If it is not installed then this web application will ask end user to download from web site.Kindly suggest some logic.-Ravi
28 Dec 2014 by SRS(The Coder)
This article tries to create a clear understanding on making synchronous and asynchronous Ajax calls through jQuery Ajax method. After going through it, you can have a clear idea on how and when to do asynchronous Ajax calls.
27 Nov 2014 by TheBigBearNow
Hello everybody,I am currently working on a shopping website for online ordering at a restaurant. I have many features working as they should.But now I am looking into some extra detail. I want to add something like Bootstrap or Foundation, but I have never done this before.Is adding it...
26 Nov 2014 by TheBigBearNow
Hello all, I am currently working on some Javascript to make a shopping cart so you will soon be able to order food online from this sub sandwich restaurant online. I have many of the main features working that I have been wanting to accomplish. First I was doing validation of...
26 Nov 2014 by TheBigBearNow
this solved my question$('#order-message').html(breadMessage + '');
26 Nov 2014 by TheBigBearNow
Hello everybody,I am currently working on a shopping website for online ordering at a restaurant. I have many features working as they should.But now I am looking into some extra detail. I want to add something like Bootstrap or Foundation, but I have never done this before.Is adding it...
17 Nov 2014 by TheBigBearNow
Hello all, I am currently working on a website from scratch so you can place a order online for example like ordering a pizza online from dominoes or some other restaurant or food place but I am doing it for this special restaurant. Right now I am setting up the online ordering of a sub.I...
11 Nov 2014 by Member 11224019
Hello together,I have got a question about OneDrive's LiveSDK.I want to find a way how to sign in a user without using login informations (e-mail and password), and nothing to accept, because my service should automatically sign in the user in the background, so that he can't see anything....
7 Nov 2014 by Adriaan Booysen
An example of a nearly complete unknown type being used accross EF, WCF and consumed client side
29 Oct 2014 by Mohammad Reza Valadkhani
Honestly i didn't review your code completely. But there is strong reason for your problem. CheckForIllegalCrossThreadCalls = false;so you bypass threading issue with your forms and socket by changing the CheckForIllegalCrossThreadCalls to false, and you didn't handle new thread for your...
24 Oct 2014 by Ali Al-Masry
Hello guys i have a server / client applications ...everything working as well but i got a problem here and i will explainmy client is a Form1 , Form2 and Form3Form1 is the main form it's starts the socket and handling everything ...when the server send a [Start Session] Packet...
21 Oct 2014 by Member 4424949
Dear All, I have a client which used to call a web-service that was supporting all SSL version. Due to the POODLE issue, the web service providers have switched off the support SSL V3 and now our client fails to retrieve any results. Our client is written in dot net 2005 and I am not...
13 Oct 2014 by Satya Ranjan Sahoo
In the above code you are assigning the value to the global variable inside a ajax call success function. If you look into the steps of execution in $(doument).ready function it first calls the "BindNewSalesAttribute()" function which is asynchronous in nature. Then it executes the...
13 Oct 2014 by Sergey Alexandrovich Kryukov
This is just the sequence of asynchronous operations. You don't update your variable in your function BindNewSalesAttribute; you do it in the function success. When your function BindNewSalesAttribute returns, the function object success is created, but not yet called, so the variable...
13 Oct 2014 by RAHUL(10217975)
I am working in asp.net development, I have Two files i.e. i) UserControlii).js (javascript)In .js File following is codevar varBindNewSalesTranGrid = '';function BindNewSalesAttribute() { $.ajax({ type: "POST", url: "/url of Webmthod returns string", ...
13 Oct 2014 by RAHUL(10217975)
I am working in asp.net development, I have Two files i.e. i) UserControlii).js (javascript) In .js File following is code var varBindNewSalesTranGrid = '';function BindNewSalesAttribute() { $.ajax({ type: "POST", url: "/url of Webmthod returns string", ...
17 Sep 2014 by Sergey Alexandrovich Kryukov
If a user can see your page, its source is already on the client side. Too late to try to hide anything.Face it: if a browser can interpret/render some your resource from the source data, the user can do it, too.—SA
17 Sep 2014 by Dennis E White
Not really an answer but more so an explanation. You can do all sorts of tricks to make it hard for someone to view the page source but the bottom line is that because this information is coming across as plain text there is nothing you can do. Anybody determined enough to view the source on...
17 Sep 2014 by Kishore Pogaru
you can't do this but one option could be keeping your java script in a .js page and include that page in your page. You can hide your code from view source option
17 Sep 2014 by RAHUL(10217975)
Hi all,I am developing a website . I am using JQuery, I am binding dropdown through Jquery Ajax webmethod in all pages. But now,when I right click my page and click view source I see everything i.e. my webmethod name and webservice name. Right now, I am preventing user from right click but...
4 Sep 2014 by Sergey Alexandrovich Kryukov
Even in pure (and poor, very limiting :-)) client-server model, server nearly always sends data to client: client sends request and then the server sends response. This pair, client + server, is absolutely symmetrical in terms of direction of the data flow. It is asymmetrical in terms of...
4 Sep 2014 by hansoctantan
Used Tutorial[^]I have successfully create a program that the Client Send Data to server.Can someone show me a sample that the Server will send data to ClientThanks..I've search it in Google but result is same as sending data from Client to Server
4 Sep 2014 by OriginalGriff
Well yes - it will do.ReadLine is what is called a "blocking" operation: it does not return until the stream provides a complete line of data (terminated by a newline) or it reaches the end of the stream.If ReadLine hangs, then it is waiting for the other end of the TCP connection to send a...
4 Sep 2014 by hansoctantan
Hello I'm starting to learn Server Client Application in VB.NET. This tutorial is what I have searched https://www.youtube.com/watch?v=MSiBbtxWpI8[^]But my ReadLine is paused when opening the client application Private Sub Listening() Do Until Not IsListening If...