web

How do I embed a flash video on a web page?

I'm a fairly experienced web developer, but I've never needed to work with video or audio on the web, so I'm a complete noob when it comes to flash and stuff like this. I'm creating a project in ASP.Net MVC and I don't have any Flash MX studio or anything like that. Given an AVI that I am going to convert to .flv (or something else if yo...

Changing ResultHandler of WebService Operation in Flex

How does one change / modify the Result property of a web service operation? For example, I have declared my WebService as follows: <mx:WebService id="ws"> <mx:operation name="Call_One" result="Call_OneRH(event)" fault="Call_OneFH(event)" /> <mx:operation name="Call_Two" result="Call_TwoRH(event)" fault="Call_TwoFH(event)" /> </mx:...

How to get rid of 'System.Web.DynamicData.DynamicValidator' is not defined error during web application conversion

I am trying to convert a web project to Web Application. After conversion I am getting 'System.Web.DynamicData.DynamicValidator' is not defined error. Any idea how to solve this. Three references needed for dynamic data are in the bin but still giving this error on designer files. ...

How to test a webform?

I'm building a website and would like to do some input testing on it. What are the worst things you can throw at your webform to test if it breaks or handles the failures correct? Are there values that can cause errors, what should not be entered into the form? ...

Why would Google Search use client-side URL parameters?

Yesterday morning I noticed Google Search was using hash parameters: http://www.google.com/#q=Client-side+URL+parameters which seems to be the same as the more usual search (with search?q=Client-side+URL+parameters). (It seems they are no longer using it by default when doing a search using their form.) Why would they do that? Mor...

How To download web page using java as well preserve image files

How to download the page and the images given the url using java. A similar question was avaialble already, which when tried just saves the page and not the images. ...

Create navigation menu dynamicly based on deployed jars.

Hi, I am just investigating the idea of this so have no example code. I've been digging around on the web but I'm not really sure what I should actually be looking for so I'm not finding much. So I thought I'd ask and see if anyone knew if a) This is possible. b) How I should do it. (Or at least what I should be looking to learn about t...

How can I respond to the StatusCode of WebClient before it throws an exception.

We are writing a REST like set of services and we are returning errors as different StatusCodes. In our client application we we prefer if our work flow did not require us to catch and cast an exception to discover the error code. Is there a way to tell the WebClient or HttpWebRequest to stop throwing exceptions when it encounters a S...

Use me.com "find my iPhone" programmatically.

Greetings! My wife, my 9 year old, and myself all have iPhones with me.com subscriptions. One of the "killer features" (at least for me) in the 3.0 firmware was the "find my iPhone" functionality. I would like to build some sort of tool that would poll the "find my iPhone" service every once in a while, and I could build some sort of da...

Should web pages look same in different browsers?

There is a common fetish in web designer world that all pages should look pixel by pixel same in all browsers. I doubt if there is any good in this practice. People are different and they have different needs. There is no single the best font rendering and there is no ideal one size fit all font size. So I believe that web should be writ...

How can improve myself in web development?

I am not fully experienced web developer.I am more likely stand alone application guy experienced lots of languages like c,c++,java,c#.I have lots of ideas for web projects wtih knowladge of php and mysql but when i start to develop i give up when i come to design stage.ıt really frustrating , do you have any suggestion for that? ...

Refreshing/Reloading side effect with ASP.net?

I'm relatively new at web & ASP.Net development, so bear with me. In the course of testing our web pages, I noticed that if a user were to click "Refresh/Reload", and clicks "Retry" when prompted on the "Resend Info" dialog box, whatever last event that was fired before the user chose to "Refresh", will subsequently be fired again. As an...

How to embed flash video in a web app for mobile devices?

I have a web app with flash video on it (using FlowPlayer) and it doesn't work on mobile phones. What do I need to do to play video on mobile phones? What player can do that? Or what video format? The phone I tried it on is my fiance's Moto Q. I'm guessing some phones can play Flash, but what will work for most phones? ...

How does the Back button in a web browser work?

Hello, I searched the Web about this question but I found nothing: What is the logic of the back button? What is happening when we hit the back button on a Web browser? I really would like to understand more about that. Thank you. ...

how to call web form in vb.net using (asp.net)

I am beginer to ASP.Net. Can u tell how to call new page from the existing page. In VB.net by executing the statement "Form2.show()", New page will be loaded. In the same way how to load new page in ASP.Net ? ...

Is there a ready utility for web sites to collect user information?

The basic requirement is in look and feel. It should look professional,have an good user interface. I don't know if someone has already developed such a tool especially for doing this kind of job. ...

Sending an E-mail from a website without Server-Side scripting.

I'm trying to send a simple email from my website using a HTML form. I am not allowed to use any server-side scripting. I'm wondering if it's possible to send a simple message from a HTML form using maybe Jscript or Javascript or DHTML or VBscript or something else? Thanks all :) P.S. It can't be mailto: either. I'm not expecting a mira...

Visual Studio: Create a web application from existing code

I have an existing directory structure that is all nicely checked into SVN, so I don't really want to mess with it. The website code lives in a folder called C:\Projects\TheProject\Website. I want to bring the website files into a new Web Application Project without changing the directory structure. Ideally the resulting file structure...

How to make window.print pop up a print dialog with Preview?

I tried to create a simple HTML page as below <html> <a href="javascript:window.print();">Print this page</a> <div> something something </div> </html> After clicking the "Print this page", the pop-up print dialog is quite simple. There is no preview in the dialog. In Google Calendar, user can print calendar. In...

HttpWebRequest: how get the session id

Hi, we are using a web service for a web site to communicate with an external server. External server ask for a session id. Our following code ask external server: HttpWebRequest webRequest = WebRequest.Create(ExtUrl) as HttpWebRequest; webRequest.Credentials = new NetworkCredential(ExtAccountToUse, ExtPassword); HttpWebResponse webRe...