web-development

Partial rendering of an ASP.NET site.

I have an ASP.NET application which calls aspx-pages in other ASP.NET applications (all on the same server and the same solution). This aspx-pages should be shown in a (fixed) region on the main-site in that way that that only the embedded pages is renewed, during user interactions there. Is an IFRAME the only way to achieve this goal, o...

Login to gmail account

Hi, folks, I need to be able to login to my gmail account, then i get cookies and will have access to other google services. But i can't login to my gmail(or any goolgle) account. I found some posts on this site how to do it, but none works for me. i do : string formUrl = "https://www.google.com/accounts/ServiceLoginAuth"; ...

How to handle Non English Characters in web.config?

I have some non English characters being stored in my web.config file. I am able to save, close and reopen the file in notepad and everything looks good. When I try run the app, I get this error: Configuration file is not well-formed XML. How can I store non English characters in web.config? ...

How to make permanent 301 redirect work when there are parameters in the query string?

Hello I moved some of my old asp pages to new aspx website. In all of the old pages i used (for file example.asp): Response.Status = "301 Moved Permanently"; Response.AddHeader("Location","http://www.domain.com/example.aspx"); The problem is that when the page domain.com/example.asp?param=value&param2=value2 is requested - the redi...

HTML 1 click delete from MySQL database

Hey Guys, how would I create a link that would when clicked erase a record from a MySQL database based on the id of that item? using php if possible. edit// The link will require authentication in order to view Thanks ...

IE8 vertical scrollbar problem

i have a problem in ie8, my site is http://www.2sinfotech.com/demo/guitar// when i click on join now or other link like faq. i didn't get vertical scrollbar in my site. some time i get scroll or some time not. ...

ASP.Net: Literal vs Label

Apologies for the incredible newbish question, but I just wanted to hear some authorities on when and where you should use a LITERAL control over a LABEL. As I understand it, the difference is this: A LABEL can be styled via the <SPAN> tags that are added. I personally find the addition of <SPAN> tags in my HTML to be very annoying an...

Programming a Dreamweaver extension

Hi. I'm writing a Dreamweaver CS4/CS5 extension to allow users to insert HTML5 video tags but with a dialog box that allows them to customize it. It also inserts a JavaScript library in the head of the page along with a CSS stylesheet link. Here's what the user needs to be able to do: See a dialog box that allows the setting of any nu...

Having multiple buttons in a page

Hi, I am having many submit buttons one for each row in a table. Whenever I click on that button, an Ajax call should be triggered. Right now I am wrapping each button inside a form tag. Is this a good approach? If not, what is a better way to do this. Moreover, I will be replacing the button eventually by an image. Please advise on ...

Automatically refresh browser in response to file system changes?

When doing web development, you frequently make changes and then refresh the browser. Is there an easy way to have a daemon listening for changes in the filesystem, and when there is one, to send a refresh message to Firefox or Safari? This would really improve your workflow and focus. You could keep your browser running in a separate s...

best practice to integrate web parters html header and footer

Hello, Let's say you want to work with a lot of parters and customize your website for them. The constraints are they want to have their own HEAD-information (javascript, css, sometimes title & meta) body header body columns (right or left) body footer they want to be able to modify header/footer often iframe is not an option what...

implement a button to send information to another php file?

Hey guys, I've got the following php code printing out the contents of a SQL table. $query="select * from TABLE"; $rt=mysql_query($query); echo mysql_error(); mysql_close(); ?> <i>Name, Message, Type, Lat, Lng, File </i><br/><br/> <?php while($nt=mysql_fetch_array($...

Emails sent from PHP not arriving to non-gmail.com addresses

I have a problem sending HTML emails from a PHP form. My goal is to send an email in HTML format with a picture embedded in it. It works perfectly if the destination address is a gmail.com email, but it doesn't seem to arrive to any other address. What am I doing wrong? $header = "From: Private PictureBank MDC <[email protected]>\n"; $h...

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...

HTML form auto fill values?

Hey guys, if I had a HTML form like so... <form> First name: <input type="text" name="firstname" /><br /> Last name: <input type="text" name="lastname" /> </form> How would I auto fill both First name and Last Name with a default value? e.g "joe". Thanks. ...

Web development questions!

1) What kinda projects do web dev's work on? 2) What languages should you know? (in order of learning first) 3) Whats the field like? How much money would you make versus just securing websites (web security only)? ...

Set dropdownlist selected value on initial page load

I posted a similar question previously, but none of the answers worked and I've been scouring all over the web trying to find a solution. My situation, I have a Edit Window webform with a dropdownlist (Note: to avoid confusion, I'm using Telerik extensions only to decorate the webform): <%@ Page Language="VB" CodeFile="EditFormVB.aspx....

function sending a null value to php file

Hey guys, I've got a function which sends the "id" value to a php file but all it's send is null.. can anyone spot why? (the value of id is not null) function send(point, name, message, type, file, id, lat, lng) { var html = "<b>" + name + "</b> <br/>" + message + '<IMG SRC=\"'+file+'\">' + ' <br> id = ' + id + "<a href=delete.php?id...

display unknown number of elements

I need to show "x" number of cateogories in a menu (basically a hidden div that pop up when someone clicks on a nav menu called "Category"). No problem with the div, but I am struggling with arranging the categories in any form of order inside the div. I don't want it to be a single column list an stretch all the way down to the page, so...

How can mathematical concepts help me In web development?

I have seen programmers "battling" it out with really complex mathematical problems in their codes, particularly in the fields of game programming, physics programming, graphics programming, etc. I am a web developer, and I wonder if there are math concepts out there that I can use for web programming. I started web programming a year an...