Wednesday, July 21, 2010
A Thought on Website Development Costs
How much should a website cost? It's a question I get asked almost every day. To put things into perspective, Amazon.com has spent billions, yes, that's billions with a "b" and an "s" on the end on theirs. Source: http://www.donloper.com/managing-an-agency/how-much-does-a-website-cost.html.
So, when you ask your local developer for a website like Amazon, be prepared to have some venture capital backing your project. :)
Just thought this was a good commentary on what web development CAN cost, keeping in mind that expectations should be kept in-line with budget. Hope this is helpful!
|
Friday, June 25, 2010
Infragistics Excel Export Tool and Email
Recently, I found myself wondering if the Infragistics Excel Export tool could be saved to the filesystem and/or sent as an email. Upon a little research, I discovered that both are true!
Check out this blog post on the Infragistics website and enjoy! http://community.infragistics.com/forums/t/8775.aspx
|
Tuesday, April 06, 2010
Get Flash to Display Behind Other Objects
Flash tends to float above other controls on a page, which might cause
you problems if you have drop-down menus and other dynamic elements that
are supposed to show up on top. Try using the WMode property in your
object declaration to fix the problem.
Here is a definition of WMode:
- WMODE - (window, opaque, transparent) Sets the Window Mode
property of the Flash movie for transparency, layering, and positioning
in the browser.
* Window - movie plays in its own rectangular window on a web page.
* Opaque - the movie hides everything on the page behind it
* Transparent - the background of the HTML page shows through all
transparent areas of the movie. This may slow animation performance.
Note, this property is not supported by all browsers and platforms.
Here's what it looks like:
<param name="wmode" value="transparent" />
|
Thursday, March 04, 2010
Add an AspDotNetStorefront Topic to ASPX or ASCX
|
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="PrivacySecurity.aspx.vb" Inherits="AspDotNetStorefront.PrivacySecurity" %>
<%@ Register TagPrefix="aspdnsf"
TagName="Topic"
src="TopicControl.ascx" %>
<div>
<aspdnsf:Topic runat="server" ID="HeaderMsg" TopicName="privacy"
/>
</div>
|
Wednesday, March 03, 2010
Referencing Items in an ASP.NET User Control from Another User Control
Recently had the need to do this, and saw lots of posts that almost get you there, like referencing a Label or a Textbox in another control through the Page property of the User Control. However, I had the need to actually reference a Method in the code-behind of another User Control to rebind some data after the other control updated it.
The first step was easy to do, make it a public method. Then, how to get to it? If you Cast the User Control using the Page.FindControl, you don't get the properties and methods of the other User Control, because the control doesn't know anything about the Type.
First, Reference the other control in this control like this: <%@ Reference Control="~/Controls/MyControl.ascx" %>
Then, in your code behind, you can talk to the public methods and properties of your control, because it now has the correct TYPE: Dim uc As Controls_MyControl = CType(Page.FindControl("MyControl1"), Controls_MyControl)
uc.BindMyData() 'this is the public method in mycontrol
|