web-development

Iframe is not working in Firefox and IE

I am developing a application in grails which uses lot of ajax.In one part I used the following code : <iframe id="hidden-upload-frame" style="border:none;height:25px;width:100%;" onload="${remoteFunction(action: 'list', controller: 'file', update: [success: 'fileDomain', failure: 'fileDomain'])}"> </iframe> <div id="fileDomain"> </di...

Really good PHP Video Tutorials

Are there video tutorials for PHP with the same caliber as asp.net and windowsclient.net Learn section? ...

Website Spiders / Robots removing spaces in filenames

Do certain spiders/robots remove spaces from filenames and hence should spaces in filenames be avoided in websites? ...

When adding CSS to a CMS dynamically should I write it to the DB or to file

I a working on a CMS and I want to be able to add CSS via the administrative control panel. When I add css should I just append it to the bottom of the stylesheet I have or is it best to add the data to a DB and then get it using a handler. The way I see it they both seem to have advantages. writing to file: It is simple and requires ...

Colorjack - how do you use it?

Anyone using colorjack? Someone here on SO mentioned it the other day, so I checked it out. It is a really slick tool, but I am having a hard time figuring out how it is used? http://www.colorjack.com/sphere/ I do all web development using asp.net, and my strength is in back-end programming but I'd love to beef up my design skills, an...

Can't establish connection on local ASP.NET development web server?

I am using Visual Studio 2008, and I had an ASP.NET dev configuration working fine, but today when I try to launch any ASP.NET project within the development web server, the browser opens, but I get an error Can't establish a connection to localhost:64428 (port varying at each attempt). The problem is happening even with a newly created...

Web vs Desktop Development (Online vs. Smart-Client)

Hi Everyone, I work at a company with a large SAP investment, and we also have dozens of large .Net systems (mostly internally for engineering systems), and Java platforms (mostly for external web applications). As such, we have large development shops on ABAP, C#, and JEE. We have decent standards for which platform to use in which do...

Used Web Platform installer to install the MVC Framework but the MVC template isn't available

I just installed Visual Web Developer and the MVC Framework using the Web Platform installer, I used the ASP.NET option and it says that MVC is installed, but it doen's show up in the templates list when I open a new project. I installed in Windows XP with a limited user (typed the Administrator password to allow the install) I guess th...

iPhone-like (slot machine) 'picker' select box for the web?

I'm looking for a iPhone-like "picker" control that I'm able to use on the web. Accessibility is not a concern. JavaScript will be available on all clients and the web app will be run on an environment provided to the user. If the solution could gracefully degrade to a select box though, that would be great. Flash & Silverlight are not...

When should <%# ... %> and <%= ... %> be used?

I have been doing some work lately with a Pre-compiled .NET3.5 app so i have had to write alot of inline code and i was just wondering about the usage of the # and = and niether when doing inline code? ...

How to do with pointing the target html when doing xml transformation?

Hello everyone. I want to generate a treeview from xml by xsl. In the output html, there are 2 frames: treeframe for the treeview and contentframe for displaying the content of the nodes when I click on the tree. I wrote a tree.xsl to generate the tree from the xml, a result.html who constructs the frameset and has js function, popul...

ItemDataBound event of an Sharepoint Task List

Is it possible to access ItemDataBound event of a Sharepoint custom Task List, similar like using event handler to catch Deleting/Editing Events of each ListItem in the List. Please advice. (We need to create a Task List with a set of custom context menu's (this can be done with feature). And we need to change the text/hide these con...

Hiding Custom Context Menus in a List Item

Hi, I have created some custom context menus (using features) for the List Items in a List which is created from Tasks template. Now I need to hide these context menus based on user group. i.e., a particular context menu will be only visible to all users in a specific User group and for others that particular menu will be hidden. ho...

Is it possible to have a personalized ASP.NET web app with only some SSL pages?

I have a web application that once signed in, personalizes almost all pages. I want to be able to have some very specific pages locked down with SSL that may have sensitive information. From what I have been able to find, once you sign in via an SSL sign in page (area of the web site), the session information which I use to store a lot...

Is Root domain CNAME to other domain allowed by DNS RFC?

We are hosting the page of many of our customers. We want to be able to provide our customers with a subdomain of our own domain like customerpages.ourdomain.com so they can create a CNAME to this subdomain. www.customer1.com CNAME customerpages.ourdomain.com. {This will work just fine.} But the situation is I don't know if all our ...

Does desktop development matter?

In some downtime at work that's coming up, I plan to sharpen and round out my development skills a bit. I've been pretty heavily into web development for the past few years, right out of college, and I've learned a lot. I was going to focus on WinForms WPF for a bit, but I've been reconsidering it. Given the current trend toward 'clou...

High level explanation of Similarity Class for Lucene?

Do you know where I can find a high level explanation of Lucene Similarity Class algorithm. I will like to understand it without having to decipher all the math and terms involved with searching and indexing. ...

When redirecting users from a legacy website to the new one, what is the best way to detect whether or not to show them a custom welcome message?

Say you have a legacy website running on an old code-base that offers certain functionality. The successor website is up and running, providing all the old functionality and more. For some time, there has been an HTML link on the old site pointing to the new one, for those users that care to click over. Now, the legacy site is reachin...

How to overcome root domain CNAME restrictions?

We are hosting many web applications for our customers. As is obvious they want to use their own domains to refer to those applications, usually they want that any user that either type http://www.customer1.com or http://customer1.com goes to their web application. The situation we are facing is that we need to have the flexibility to ...

What are some good patterns for performing initial configuration of a web application?

I have a Java web application designed to be deployed on the internet. It needs a database connection. Depending upon hosting environments it may not be possible for the deployers of the web application to configure appropriate data sources so the application needs to store it's database connection information somewhere to be reloaded if...