client-side

Brain storm for an idea to build in client support function

I am developing an information management system in C# Winforms. Of course, I need to support my clients. Traditionally or popularly web sites are used to do client support. I am thinking why I don't build it in my application. And then I have some related questions: Is it a good idea to do so? Is it better to use other software or w...

ASP.Net MVC 2.0 Client-Side Validation Posting Back

Hi All I have been trying this based on Scott Gu's blog: http://weblogs.asp.net/scottgu/archive/2010/01/15/asp-net-mvc-2-model-validation.aspx My problem is that although my scripts are running (checked in firebug) and I don't get any errors. My page is still going to the server. I have javascript enabled too ;) I have the following...

javascript and seo

I have a javascript snippet that clients can put on their webpages that loads some text associated with embedded flash objects (like Slideshare presentations) on that page. Does Google crawl this type of content? Will this provide any SEO benefit? If not, what else should I consider. I don't want to force people to embed the actual con...

Client Side CAPI Access

How can I access Microsoft's Crypto API from a client side Web application? More specifically, access user's Windows-MY certificates through a web browser and use them to encrypt data. I've looked at CAPICOM but it is no longer supported by Microsoft. I've also looked into Java's Cryptographic Excention and MSCAPI provider but it does no...

How should I capture clickstream data?

I'd like to start using clickstream analysis to improve a dynamic site's user experience. I'd like to rule out two options: parameterizing URLs (index.php?src=http://www.example.com) and immediate database logging. The former makes pretty ugly URLs and isn't great for SEO and the latter might slow down page render when there are lots of ...

Writing asp.net code to run on client side

Hi! Is there a way (except for using JS on the html view) to tell asp.net to run a certain code on client side (instead of server side)? ...

Telerik RadCombobox not keeping state when using client side requestItems() to load

Hi, I'm using the Telerik RadComboBox control. I have two related combos and when the user selects a value in the first one I filter the second one. I use the code below to achieve this: localeCombo = $find("<%= ddlLocale.ClientID %>"); localeCombo.requestItems(item.get_value(), false); This works totally fine, but when I do a postb...

Page_ClientValidate is not defined

I am using ASP.NET 2.0 and I'm using IE8 as my default browser but no matter how many times I try, Page_ClientValidate keeps giving me this error that it is not defined. How can I solve this problem? Please help. ...

jQuery AJAX POST not working

I am trying to post some data from one local asp.net mvc site to another but am unable to do so. I execute the following post on site A // tried this and it didn't work //$.post("http://localhost/PlatformPortal/Buyers/Account/SignIn", //{sign:authHeader}) // Currently trying this $.ajax({ url: "...

jQuery AJAX POST variables not accessible on server

I am using jQuery to post some data to an asp.net mvc site. The post takes place successfully and the target controller action is hit when I debug it in Visual Studio, however it seems that the data I am passing is not getting carried over. I can't see it either in Request.Params or Request.Headers My post is as follows: $.ajax({ ...

Pass request headers in a jquery AJAX GET call

I am trying to pass request headers in an AJAX GET using jQuery. In the following block, "data" automatically passes the values in the querystring. Is there a way to pass that data in the request header instead ? $.ajax({ url: "http://localhost/PlatformPortal/Buyers/Account/SignIn", data: { signature: authHeader }, ...

Uploading large files with ASP.NET: what are the best practices?

What are, nowadays, the best practices for uploading a large file (which may cause a timeout) with ASP.NET Web Forms and/or MVC? Increase Server.ScriptTimeout (only for the specific POST request); Use some flash client-side uploader like swfupload ( http://swfupload.org ) or plupload ( http://www.plupload.com/ ), but Flash uploads have...

Measuring HTTP response time/ping accurately through client-side Javascript

I'm attempting to estimate the round-trip time from the client to some web server (not the same domain the initial page was from) using Javascript running in the browser on the client side. Essentially, I'm looking to collect ping estimates to a variety of servers not under my control from the perspective of a number of clients, without...

How to read from Serial port in a webpage

I want to design a webform that user should fill some fields. The value of one field should be read from Serial port (COM1) of client computer which a special hardware is connected to it and the user presses the Send to PC key of the hardware when filling the form. How i can listen to COM1 port in my webpage and get the value of COM1 a...

Ideas on Protecting Web App data sources

I'm working on a new web app where a large amount of content (text, images, meta-data) is requested via an Ajax request. No auth or login required for a user to access this. My concern is that you could easily lookup the data source URL and hit it directly outside the app to get large data. In some ways, if you can do this you could p...

Handling Custom Exceptions in GWT client side..

We're trying to throw our own custom exception on the server side and handle it on the client to show specific error messages. Currently all we get is InvocationException & StatusCodeException on the client. Is there a better way to get our own custom exceptions propagated to the client side. Also, we do not want to declare "throws" de...

How Can I load multiple Page (like browser tab) in ASP.NET C#?

Hello, I am developing a web application in ASP.NET3.5 with C#. I also using Telerik RadAjax Control. When user click the menu then open the page with a new tab(Like web Browser).I want to create, when user back any previous tab(page) the will be show the previous data without loading 2nd time( like browser tab). Is it Possible ? plz hel...

Page validation takes only validation results from one TabControl

I have a page containing a SaveControl control, which in turn eventually link up with two TabControls, both containing TextBox fields and validators to go with them. When saving changes, the containing control cycles through each TabControl to get data. When I attempt to save the form via postback, it seems that only validators in the f...

balancing Server side and Client side code on a large website

Let's suppose I am programming Facebook (which i'm not), or some other site that involves heavy traffic. Our general Layout is: All CSS is in external files 99% of JS is in external files the back bone of the websites HTML is generated by a PHP/MySQL backend, then we have JS functions to generate the DOM of parts that commonly change. O...

Client Side Encryption - Any recommendations / best practices - Point me in the right direction?

We have a requirement to encrypt data client side to ensure a 'secure' channel exists between our client's browser and a vendor. Basic premise is: Vendor generates a public / private keypair: VendorPub and VendorPriv Our clients enter sensitive data. On submit the javascript on the form encrypts the sensitive portions of the data, wh...