Click here to Skip to main content
15,884,628 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 Score

Client side 

4 Jun 2014 by Paulo Augusto Kunzel
Using CSS to animate a Solar System
27 Jun 2014 by Super Lloyd
A fully featured yet short (only 436 lines) replacement for datatables
30 Jul 2014 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
We will explore the technique in jQuery to validate the ASP.NET GridView.
12 Jun 2014 by ZurdoDev
You can't use C# as a scripting language. C# runs server side and JavaScript is what executes on the client side.
13 Aug 2014 by Sergey Alexandrovich Kryukov
Your dad needs to install the SQL server, period. Moreover, even though deployment of database service with the application is the acceptable practice, it all heavily depends on licensing models, actually available licenses and maybe business setting. Therefore, the choice #1 is still just...
12 Jun 2014 by Thanks7872
See this : http://programmers.stackexchange.com/questions/171203/what-are-the-difference-between-server-side-and-client-side-programming[^]javascript is Client side while C# is Server Side.Regards..
10 Jul 2014 by DiponRoy
How to change the functionality or behavior of a function in JavaScript
13 Aug 2014 by Jitendra Satpathy
I'm new to windows form development. So i have developed a windows form application for my dad.It uses a small portion of data base i have used sql server 2008 for designing the data base. Now i want to deploy the app so that it may run on my dad's pc without any need of installation of...
6 Mar 2015 by Ankur .K. Vishwakarma
Calling server-side code from client-side using JavaScript and TextBox's onblur event
17 Feb 2017 by sameh obada
Implementation of mouse capturing for HTML5 Broswsers
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 2014 by Member 10809884
I have a game which was writen in Html and JS. I want the user can play it only on my website and prevent him to download the code and use it in their local computer. I saw that I can't prevent downloading the code, but can encrypt it. But it dosen't good enough for me, because the encrypted...
10 May 2014 by Manas Bhardwaj
Don't waste your time. It's not possible with the today's set of standards and technologies defined for HTML5 and JavaScript to work on browsers.Both JavaScript and HTML5 run on client browser which means that the browser is already downloading it to make it work.You can add fancy things...
12 Jun 2014 by Peter Leow
You are comparing apple and orange, and that does not make sense. JavaScript is client-side scripting that adds programming capability to the otherwise static HTML page and is executed by browsers and is visible in the html page. On the other hand, C# is a server-side language that preforms...
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...
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 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
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...
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...
27 Apr 2015 by Gilly Barr
Reviewing Kibana 4's client side code
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[^]
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 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.
17 Feb 2014 by JB0301
How will I able to notify users that there are new records inserted in the database? can someone teach me how to, and by using ip messenger? thanks for reply
17 Feb 2014 by Krunal Rohit
Send Email Alert on Database Schema Change in SQL...
17 Apr 2014 by shyamsundar singh
Hello All,I need your help here. I am developing an MVC4 application using unobtrusive.min.js and validate.min.js, but this is not working at all.I have already tried all options1. 2. Here is my .cshtml page @model CodeSutra.HireMe.Web.ViewModel.UserProfileVM
15 May 2014 by BELGIUMsky
Hi i made a WCF service that uses windows credentials to authenticate the user.client side i have code like this.using (var serviceClient = new ServiceClient()) { var credentials = new NetworkCredential(username, password); ...
15 May 2014 by Kornfeld Eliyahu Peter
Windows credential - as Windows credentials - can only be used if WCF service can identify the client's current Windows credential (means can access the client's domain somehow). In that case client have not pass any credentials implicitly, but the configuration of the server is enough (read...
20 May 2014 by m_sajid
create a static class with static block which runs only once . create an instance of the wcf client object within that static block and keep using that instance.
31 May 2014 by Member 10856181
HiIn my current project in MVC3, I am building a page having bunch of textbox, the requirement is to enable the validation on the controls only if the user enters value in any one of the field. If there is a value in one text box then the user should enter value in every text box. In MVC3,...
31 May 2014 by Vi(ky
You can do such thing$("#btnSaveData").click(function (event) { if ($('#name').val().length > 0) { if ($('address').val().length == 0) { alert('Address is required.'); } }});
11 Jun 2014 by Yalcin Doksanbir
Dim rawData = System.Text.Encoding.UTF8.GetBytes("hello") Dim frameCount = 0 Dim frame(10) As Byte frame(0) = CByte(129) If rawData.Length
21 Jul 2014 by CHACAMAN
hi, guys thanks for time and help i have a client/server app for send XML file over the network my problem is when i have a big XML data have to up the buffers byte from 4096 to 524288if the buffer is on 4096 some times fine others time incompletethis my server code:Imports...
14 Aug 2014 by RAHUL(10217975)
I am working on website, I am new to JQuery and Now I am stuck in jquery..I want to bind all country names in my content page dropdownlist My Content Page code ,I removed opening and closing tags as it was not displaying correct in Preview
14 Aug 2014 by Thanks7872
Add ClientIDMode="Static" to your dropdown list Definition. So it looks likeRegards..
28 Aug 2014 by Suvabrata Roy
Hi,You are sending a blank message so your are getting a blank message.// Your Code$('#msg').val('')Should be $('#msg').val()
1 Sep 2014 by RAHUL(10217975)
Hey all,My design page code is$(document).ready(function () { $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "ClientSales.aspx/BindDatatoDropdown", data: "{}", dataType: "json", success: function (data) { ...
1 Sep 2014 by RMBHATTI
your code is working in html control only
1 Sep 2014 by David Lee 145
First, make another js file. ex)common.js var util = util || {};util.ajax = function (url, data, done, fail) { $.ajax({ url: url, type: 'POST', contentType: "application/json; charset=utf-8", dataType: 'json', data: data, ...
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...
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...
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
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", ...
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...
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...
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...
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....
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...
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...
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
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:...
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...
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...
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...
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...
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);
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...
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,...
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.
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...
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();
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[^]
13 May 2015 by kubibay
Embedded server and http://chimera.labs.oreilly.com/books/1230000000545/ch15.html#DOWNLOADING_DATA_WITH_XHR[^]is the solution
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...
29 Jul 2015 by Animesh Datta
Hello ,You have to add ValidationGroup="A" in TextBox also .thanks
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...
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.
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...
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...
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/...
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...
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...
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...
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...
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...
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...
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...
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. ...
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 =...
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...
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...
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. ...
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
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...
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); });
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.
15 Nov 2019 by MadMyche
Have you read the Guide? It seems to be pretty straightforward: Moment.js | Guides | Known Date Formats[^]
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
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...
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...
7 Nov 2014 by Adriaan Booysen
An example of a nearly complete unknown type being used accross EF, WCF and consumed client side
11 Mar 2014 by mbarbac
Implementing the Repository and Unit of Work Patterns dynamically using Kerosene ORM
25 Feb 2014 by JatinKhimani
Nested GridView With Editing Facility of both gridview.