client-side

Image resizing client-side with javascript before upload to the server

I would like to know if it is technically possible to resize an image at a client-side with javascript (really resize, not just change width and height). I know it's possible to do it in flash but I would like to avoid it if possible. Is there any open source algorithm somewhere on the web? ...

ScriptControlDescriptor.AddProperty & Read-Only Properties

I'm creating an ASP.NET Server Control with an associated client-side API. In my GetScriptDescriptors() method I'm associating a property called "rows"... descriptor.AddProperty("rows", this.IntRows); In my client-side API I want my "rows" property to be read-only... MyControl = function(element) { MyControl.initializeBase(this,...

Client-side user custom CSS single file for overriding multiple domains

This is for using in Safari, though it could probably be used on Firefox as well. In Chrome you have to add a plugin anyway (which generally allow for custom CSS per domain), and Opera already allows this to be done without needing any CSS. But while it's for customizing on the client-side, it's also a pure CSS question. So I'm using no ...

Pass array to client side for display

Hey, I have an array which contains around 50-200 hyperlinks. How can I pass this array to the client-side so that I can iterate through the array and display each hyperlinks as a list item? The array will be stored in 'Application' as it's system wide and rarely changes. Could there be a more efficient way of achieving the hyperlinks a...

DevExpress AspxGridView clientside SelectionChanged problem when using paged ObjectDataSource

The context is as follows: One DexExpress AspxGridView with a server-side paging/filtering/sorting mechanism (using ObjectDataSource). I've been having problems with the filter mechanism ( see this stack ). Now, the problem I'm having is this: the client-side events get mangled between DataSource events. :O . Let me explain what happ...

DHTML library for handling pictures and videos using AJAX

This is based on my full question. I decided to take it in parts and see if I still can't get any help. What are all the options we've got for client-side frameworks? I've heard mostly about prototype and jquery, but I know there are way too many options out there beyond those two, and I don't know if they handle async download. From ...

Client Side Includes on HTML pages

Previously I had thought that there were only ways to get content from external URLs into your page. These 2 ways are use an IFRAME or Javascript to include it into your pages. I've just learned of a new way using the tag. <object type="text/html" frameborder="0" data="http://Server/URL/"&gt;&lt;/object&gt; I have found some con...

OnSelectedIndexChange only fires on second click when using custom page validation script

Okay.. this is hard to explain, so here it goes. I have an update panel which contains a number of controls. The update panel is triggered by the OnSelectedIndexChanged event of a dropdownlist called: ddlUSCitizenshipStatus. It works as expected when I selected a new item. However, if I leave ddlUSCitizenshipStatus with the default v...

Determine IP# of domain from client browser

Greetings all, I would very much like to determine the IP# of a domain from client script. It's for use in a testing application to determine whether or not a certain domain is set to a QA address as opposed to the address live on the . The testing machine will have it's host file set to resolve a domain to the QA address. Pinging fr...

How can I log and retrieve error messages from a client-side desktop app?

Update: The service-based answers below are most likely the way to go, I am also curious to see if there are any out-the-box solutions anyone has tried in the field. Our system uses a client-server architecture, and with more clients using it I'm thinking of better ways to log client application errors, and get them sent to us. Curr...

Can I open an HTML5 client-side database via an iPhone App (objective-C)?

I am using UIWebView in a regular Objective-C iPhone App. Web pages displayed in the UIWebView are writing to a HTML5 client-side SQL database via javascript. I would like to open this database for reading and writing from the iPhone App. Is this possible? and if so, how do I find the database and can I use the SQLite framework to ope...

How to disable TextBox on client-side click on CheckBox

How to disable asp:TextBox on client-side click on HTML checkbox or server-side asp:CheckBox using JavaScript? <script type="text/javascript" language="javascript"> function enableTextbox() { // ? } </script> <table> <tr> <td> <input id="checkTake" onclick="enableTextbox" title="Take?" /> ...

Change save to file name but from the client

This question asks about file name the servers sends and the fix was quite simply a content-disposition header in the http response. What I interested in is does anyone know of any way to do this from the client side if the file name is already known? Is there any special javascript to do this for example? A site I have to use but not ...

jquery serial format

I have a website that prompt the users to enter serial number for a product. I have one text box and the user needs to enter the serial in this format: xx:xx:xx:xx:xx:xx Is there any component that will enter a : after every two characters? Or maybe I should split the text box to 6 text boxes? Alternatively are there any other tech...

What is the difference between client side testing versus server side testing when we are execute various tests such as white box or black box testing?

hi all, as per my question, i am wondering what differences are there when we are performing tests for the client side , as compared to performing tests on the client side? For example, testing javascript on the client side versus testing server side code? Best Regards. ...

ASP.Net MVC + Live validation - how come the flagged text are all over the place?

hi guys, this is an asp.net mvc project and <% using (Html.BeginForm("ProductAdded", "Home")) { %> <!--form id="frmProductReg" runat="" class="frmProductReg"--> <div id="BreadCrumbPanel" class="breadcrumbCentered"> Register Your Product</div> <div id="MainContentPanel" class="headerCentered"> <!-- Grab the country name via the g...

Pass client side js variable into server side jscript

How can I get the query string from the browser url using client side js and set it as a variable to use in some server side scripting? Client side script: var project = getQueryString("P"); function getQueryString(param) { var queryString = window.location.search.substring(1); splitQueryString = queryString.split("&"); f...

Asp.Net MVC2 Clientside Validation and duplicate ID's problem

I'm using MVC2 with VS2010 I have a view that has two partial views in it: "Login" and "Register" both partial views contains the Email address field i use the following in both partial views: <%: Html.TextBoxFor(model => model.EmailAddress ) %><br /><%: Html.ValidationMessageFor(model => model.EmailAddress) %> if i use both partial...

ASP RadioButton Client Event Not Triggering

Hey, I'm dynamically generating radio buttons in my code behind and assigning javascript to them as they are created. This javascript will change the value in a hidden field for when a postback is eventually triggered (autopostback on the buttons is disabled). I am using the exact same method with ASP ImageButtons and it works fine bu...

Apply server side CSS to client.

So I'm trying to figure out how to store a CSS in a client side cache and set the alternating stylesheet from the data in the cache. I'm developing a site that allows a user to customize the site. And I think the best route might be to save their changes in a css. But before it's saved I would like to allow them to preview it througho...