client-side

Ajax Control Toolkit - Use client-side button to activate tab

I'm using the TabContainer/TabPanel components of the Ajax Control Toolkit. I'd like to hide the tabs themselves and use a button elsewhere on the page to activate (bring to the front) one of the tabs without posting back to the server. I can show and hide the tabs by grabbing their clientIDs and manually setting the visibility and ...

Parse page for checkboxes via javascript

I have a bunch of checkboxes that are created dynamically on page load and written like so: <input type='checkbox' name='quicklinkscb' id='quicklinkscb_XX'/> where XX represents the id of the item from the database. I want to be able to parse the page via javascript for all checkboxes and: find their id and strip the 'quicklinksscb_...

Matching form entries with javascript?

Hello, I have a form with markup like this.... Which voucher did you cut out <div class="answer item1"> <input type="checkbox" name="downloaded_vouchers[answer1]" id="answer1" value="1"/> <label for="answer1">Answer 1</label> </div> <div class="answer item1"> <input type="checkbox" name="downloaded_vouchers[answer1]" id="answ...

How can I rewrite the ErrorMessage for a CustomValidator control on the client?

I have a CustomValidator that is validating a telephone number for several different telephone numbering schemes. The client-side javascript looks like this: validatePhoneNumber(sender, args) { cleanNumber = args.Value.replace(/\D/, ""); country = $("#" + CountryID).get(0).value; switch (country) { case "North Americ...

What TCP protocols are usable for client to client communication?

Manytimes clients ask for features like instant messaging (IM) and other client-to-client (P2P) communication for their web apps. Typically how is this done in normal web browsers? For example I've seen demos of Google Wave (and Gmail) that are able to IM from a regular browser. Is this via HTTP? Or does XmlHttpRequest (AJAX) provide the...

Django web application -- how to access local harddrive?

I know how to access the local harddrive using a signed applet, but I am developing a new web application in Django that also needs this functionality. ...

document.getElementById not working

I have 2 chekboxes on a page. There are wrapped in a table cell each within their own row. Doing a document.getElementById('chk1_FEAS~1005') returns the element but document.getElementById('chk5_STG2~1005') is null. For what reasons could this be happening? (I'm testing in IE 8). <input id="chk1_FEAS~1005" value="JobStages###StageCode~J...

Prevent hyperlinks from being entered into a html form: client-side or server-side validation?

I'm still debating whether I want to do this or not but what I'm considering is preventing users from entering hyperlinks into a HTML form in my app. This is to avoid spammy links from showing up for other uses of the app since the app is based on user generated content. This is a Rails app, so I could do some backend validations on the...

Client-side technology for a web-based game

I am developing a web-based game (similar to the ESP game), I am done with the server side SOAP web service (built on ASP.NET), and now I am wondering if I should use Flash (swf) or AJAX for the client side layer of the game. Basically, the client side is a web service client making requests to the web server and receiving back instructi...

Asp.net client side cryptography

Hello! How can I sign data with standard .net crypto providers on client side? ...

Client side event handler on validation for asp.net validator controls

Hi, I have an asp.net form with bunch of sections that can be expanded/collapsed and are normally collapsed. Now, most controls on the form have RequiredFieldValidator or some other validators attached. If the user tries to submit the form with required fields not filled out, for m is not submitted but because most sections are normally...

How to determine if a IQueryable expression needs additional processing besides the standard LINQ to SQL translation to Transact SQL (and possible work arounds)

I’ve two issues that I was hoping for some insight on and/or some appropriate links or Google terms to use to find more information on as I’m not finding anything. It boils down to the fact that I would like to find out when/how an IQueryable expression that is going to be executed determines that some of the expression result needs to ...

Scriptaculous vs JQuery for rich client side effects

Scriptaculous vs JQuery for rich client side effects. What would you use and why? ...

Does it make security sense to hash password on client end

If you were to hash a user's password prior to sending it across the line and leaving it in plain-text in memory, would this improve the security of the application? I would assume this mitigates a small fraction of vulnerabilities by protecting the data stored in the clients memory. But really if we're worried about someone reading th...

ASP.NET WebForms - Keeping contextual focus on Button controls

Consider the following: <form runat="server"> <div> <asp:TextBox runat="server" ID="tb1" /> <asp:Button runat="server" ID="b1" OnClick="b1_Click" /> </div> <div> <asp:TextBox runat="server" ID="tb2" /> <asp:Button runat="server" ID="b2" OnClick="b2_Click" /> </div> <div> <asp...

Factors for Javascript performance

I understand that the browser does all the work in processing client side scripts (Javascript, JQuery etc), but wanted to know if anything else matters when it comes to performance (Network speed, Speed of the client computer, Server environment) If it's completely dependent on the browser (type and version), is it correct to say that t...

What are the main concerns when generating client-side JavaScript from the server?

This seems like a somewhat common issue and I'm wondering what the common pitfalls, best practices, best approach, security concerns, etc., are when creating javascript on the server to be later loaded client side. FWIW, I'm doing this in Ruby and I'm using JQuery as well. It's basically a form builder. Here's what I'm doing: I have an...

Store values in client computer permanently?

Is there a way to store values on client side permanently? I have a site, flash game (the game is not developed by me, of course), after you registered, it will recognize you even after u close browser, clear cache and cookies, and even restart computer and modem. Where do they store the values? Why the flash game can recognize me after...

Set ClientID in asp.net

Is is possible to set clientID of any asp.net server control? How can i do? Or any idea ? ...

Javascript client side login, how to authenticate server side?

I'm looking for the best practice to pass secure data from client side to server side. For example, I have a client side authentication and sometimes I need to call private apis on the server side from the client side, but I need to make sure that user is authenticated/authorized to perform those calls on the server side, and right now...