client-side

GridView: Can I implement client-side paging?

Regarding ASP.NET's GridView server control: Can I bind to a datasource in the code-behind, load the entire resultset, and then implement client-side paging without postbacks? If this isn't possible with GridView, I'm willing to implement a custom solution. EDIT: My GridView instance sits inside of a nyroModal (jQuery) pop-up div,...

How to rotate an image using client side solution

I am wondering if there is any way to dynamically rotate an image or invert an image using a client side solution? I don't care if it is plain old javascript, jquery plugin, css. I just wondered if there was some way to do this dynamically on the client side rather than having to write server side code to do for each image which I can do...

Message Box in C#

Using C# How to display a message box in C# I cannot find the message box in the dropdownlist.... How to display a message box in webpages... ...

Creating a connection between multiple browsers entirely client-side

I recently wrote a small AJAX-based chat program. The clients ping the server occasionally for new messages and update the view if a change has occurred. Simple. Is it possible to do this entirely client-side? Could a set of loaded pages identify themselves to other users and send out updates to the other clients? How would this be acco...

How to re-skin a website at the client end?

Any ways to re-skin a website (at the client end) where the format and layout of the page is mostly known and constant? For example, changing the language of a certain form on eBay to Japanese. I know that with Opera and Firefox a website's CSS can be overridden. Are there any ways in any browsers or browser plugins to override text an...

Is it possible to detect whether text has been cut and pasted into a textbox on a webpage?

Is it possible using some sort of client side code to detect cut and paste? The only solution I can think of is to constantly get the text length and if it changes drastically over a certain period, then assume text was pasted. ...

How to detect file drag on HTML page

I can detect if a file is being dragged on a div by listening to 'dragover' event. But how can I detect if a file is being dragged over the whole HTML page? document.body does not seem to raise the 'dragover' event. What I intend to do is as soon as a file is dragged over a page, I'll show a hidden div to drop the file on. Just like Gma...

ASPxTextbox - masking, prompt always at last or first character

Hi, I have an aspxtextbox e.g <dxe:ASPxTextBox ID="txtZip" runat="server" Width="150"> <MaskSettings Mask="00000" ErrorText="Please input missing symbols" /> <ValidationSettings ErrorDisplayMode="ImageWithTooltip" /> </dxe:ASPxTextBox> How can I modif...

How To Get Client IP Address

I've tried to get the IP address of client browsing the site using $_SERVER['REMOTE_ADDR'], but I'm not getting the exact IP of the client please help me... Thanks ...

How to get client MAC address by a access on a website?

I have my website, and it records the number of visitors, IP and time of access... I want to identify each visitor... I think that this was possible recording IP Address... but when the IP is dynamic, my system fails. So I think that I can solve it recording MAC address... is possible? What language should use? PHP, ASP, Javascript? Th...

How to trace the sql queries that my windows app generates?

I want to do sql client-side tracing to see the scope of databases and queries that my local Windows application is generating. Everyone on the Web talks about server-side tracing but my app talks to at least five different servers, so that's pretty hard to do effectively. Any recommendations? ...

Implementing a client-side image editor - what's the best way?

We want a web app that allows a user to edit images on the browser and we're trying to decide which technology to use. We want to support simple image customization, such as high-quality resizing, cropping, image merging, and color transformations, as well as the addition of text elements with different fonts and colors. The current opt...

Can anyone suggest a good client-side architecture and structure for large scale web applications?

I'm building a large scale web application. It will grow in the future so I need a good back-end and front-end architecture for my application. at the back of the site, I use Zend Framework so the architecture is OK for me. But at the front, working with javascript and ajax without having a good architecture makes later changes hard and ...

Ajax Server Side and Client Side confusion clarification needed

Hello all, Let's imagine an autocomplete widget scenario that grabs it's data from a database. Let's assume that we have to: Grab the contents from DB1 to be displayed once the user clicks the input field. Then, After the user makes it's choice, we need to: Query the database DB1 for additional data concerning that selection made by...

How do I vertically center the modal in an iframe?

I have a web application that: 1. Is an iframe (it appears in multiple places, e.g facebook). 2. Has modals in it (I'm using jqmodal). 3. Has a vertical scrollbar. The problem is that when a modal is opened from a link at the bottom of my page, the modal appears at the top of my page, so the user has to scroll upwards in order to see th...

Asp.Net Validation - Clientside And/Or Serverside?

The validator controls that can be used for asp.net input validation... requiredfieldvalidator regularexpressionvalidator etc Do they perfrom validation on the client side AND server side or do I need to have seperate validation in my codebehind to validate on postback (ie to prevent POST injection)? ...

Difference between client (java standalone client)application authentication and user authentication

Hi, In case of webapplicaiton I can understand that there is no difference between the client authentication and user authenticaiton; Ignoring XSS and other exploits the web client is generated by the server/servlet. But suppose you have a Java client application talking to the Java Server application; The server has a certificate assoc...

ASP.NET / C# - How to pop up a page with a listbox / multi-select control and send the selected IDs back to the parent page

Hello, I want to make a pop-up page that contains a listbox-type (multiselect) control which will return the selected IDs to the page that initiated the pop-up. This is an ASP.NET web application / C# 3.5 / Latest jQuery. I understand how to make the pop-up page with the corresponding controls, but I am unsure about the best way to ap...

Display multiple validation summaries at one time

How can I display multiple validation summaries at one time? I currently have three different validation groups on a page for different sections of the page. Basically, the first section should be validated by one validation group, the second section should validate both the the first and section section and the third should validate all...

How to detect inactive tab and fill it with color

How can I fill my website with color if tab is inactive? I would like to give screensaver like effect to my site if user move to another window. Can I do that with jQuery? ...