<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.9.2" -->
<rss version="0.92">
<channel>
	<title>Figer&#039;s Technology Consulting</title>
	<link>http://www.figers.com/Blog</link>
	<description>A tech firm spawned for the upwardly mobile</description>
	<lastBuildDate>Thu, 17 May 2012 04:35:48 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>dynamic ascx user control button event handler not firing &#8211; fix</title>
		<description><![CDATA[
Remember to assign the control and ID and in the controls  Page_Load re-assign that ID
Dim ClinControl As OOClinicianRecord = Page.LoadControl(&#8220;~/OO/CareTeam/OOClinicianRecord.ascx&#8221;)
ClinControl.ID = &#8220;OOClinRecord&#8221;
newItemPanel.Controls.Add(ClinControl)
then in OOClinicianRecord.ascx.vb

Private Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
Me.ID = &#8220;OOClinRecord&#8221;
End Sub

]]></description>
		<link>http://www.figers.com/Blog/2012/05/17/dynamic-ascx-user-control-button-event-handler-not-firing-fix/</link>
			</item>
	<item>
		<title>Creating a JQuery CSS imageless button and calling it from .NET code behind</title>
		<description><![CDATA[
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
Add this style to the page
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
&#60;style&#62;
.myButton {
-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
box-shadow:inset 0px 1px 0px 0px #ffffff;
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=&#8217;#ededed&#8217;, endColorstr=&#8217;#dfdfdf&#8217;);
background-color:#ededed;
-moz-border-radius:6px;
-webkit-border-radius:6px;
border-radius:6px;
border:1px solid #dcdcdc;
display:inline-block;
color:#777777;
font-family:arial;
font-size:15px;
font-weight:bold;
padding:6px 24px;
text-decoration:none;
text-shadow:1px 1px 0px #ffffff;
}.myButton:hover {
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, [...]]]></description>
		<link>http://www.figers.com/Blog/2012/02/23/creating-a-jquery-css-imageless-button-and-calling-it-from-net-code-behind/</link>
			</item>
	<item>
		<title>How to use ASP.NET AjaxControlToolkit</title>
		<description><![CDATA[
Follow these steps to install the AjaxControlToolkit into your Visual Studio enviroment: http://www.asp.net/ajaxlibrary/act.ashx
Here is an example of the PopupExtender control
 
Include:
&#60;%@ Register Assembly=&#8221;AjaxControlToolkit&#8221; Namespace=&#8221;AjaxControlToolkit&#8221; TagPrefix=&#8221;asp&#8221; %&#62;
Javascript function to close the pop-up:
function hideajaxpop() {
var bh = $find(&#8220;PopEx&#8221;);
bh.hidePopup();
}
ASP.NET controls to make the pop-up work:
&#60;asp:HyperLink ID=&#8221;HyperLink1&#8243; runat=&#8221;server&#8221; Font-Underline=&#8221;True&#8221;&#62;Add Patient&#60;/asp:HyperLink&#62;
&#60;asp:Panel ID=&#8221;pnlPatientSignup&#8221; runat=&#8221;server&#8221; Style=&#8221;display: none&#8221;&#62;
&#60;div&#62;
&#60;a onclick=&#8221;hideajaxpop(); return false;&#8221; title=&#8221;Close&#8221;&#62;X&#60;/a&#62;
&#60;/div&#62;
&#60;uc3:ClinSignUpPatient ID=&#8221;ClinSignUpPatient1&#8243; runat=&#8221;server&#8221; [...]]]></description>
		<link>http://www.figers.com/Blog/2011/12/18/how-to-use-asp-net-ajaxcontroltoolkit/</link>
			</item>
	<item>
		<title>Determine what part of your site is actually used</title>
		<description><![CDATA[
Why put your development effort / dollars into areas of the site / web application no one is using. Or use this to question areas you are developing and verbally ask clients why they don&#8217;t use a certain portion of your site, you might find out only a small change makes all the difference in [...]]]></description>
		<link>http://www.figers.com/Blog/2011/10/26/determine-what-part-of-your-site-is-actually-used/</link>
			</item>
	<item>
		<title>PHP / MySQL &#8211; Upload a file to access later</title>
		<description><![CDATA[In this example I am uploading to the file system, but saving the location in mySQL to reference later.

&#60;form action=&#8221;insert.php&#8221; enctype=&#8221;multipart/form-data&#8221; method=&#8221;post&#8221;&#62;
&#60;input name=&#8221;MAX_FILE_SIZE&#8221; type=&#8221;hidden&#8221; value=&#8221;20000000&#8243; /&#62;
&#60;input name=&#8221;fileupload&#8221; type=&#8221;file&#8221; /&#62;
&#60;input alt=&#8221;Submit Form&#8221;/&#62;
&#60;/form&#62;
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
 
//Database variables are located with-in hereinclude(&#8220;dataconnection.php&#8221;);
$con = mysql_connect($hostname, $username, $password);if (!$con){ die(&#8216;Could not connect: &#8216;); }
$selected = mysql_select_db($dbname);
//Generate Random Number &#38; date to add [...]]]></description>
		<link>http://www.figers.com/Blog/2011/06/01/php-mysql-upload-a-file-to-access-later/</link>
			</item>
	<item>
		<title>PHP &#8211; handling apostrophes</title>
		<description><![CDATA[
Here is the code you&#8217;ll need to use to handle apostrophes, this just adds a backslash in front of the apostrophes
$myvariable = str_replace(&#8220;&#8216;&#8221;,&#8221;\&#8217;&#8221;,$myvariable);
]]></description>
		<link>http://www.figers.com/Blog/2011/06/01/php-handling-apostrophes/</link>
			</item>
	<item>
		<title>Emailing from PHP</title>
		<description><![CDATA[
about 98% of the time your web host will already have the php.ini file set up correctly so literally all it takes to email is this (if that&#8217;s not the case look here: http://www.php.net/manual/en/ref.mail.php#77499)
//Send Emails
$emailmessage = &#8220;Body of your message goes here, I put it in a variable because it&#8217;s usually very long.&#8221;;
 
mail($_POST[email], &#8220;Email Subject&#8221;, [...]]]></description>
		<link>http://www.figers.com/Blog/2011/06/01/emailing-from-php/</link>
			</item>
	<item>
		<title>Good looking dynamic buttons using vb.net</title>
		<description><![CDATA[
There will be no grey border, that&#8217;s just a Wordpress thing&#8230;
button.aspx
&#8212;&#8212;&#8212;&#8212;&#8212;-
&#60;%@ Page Language=&#8221;vb&#8221; AutoEventWireup=&#8221;true&#8221; CodeBehind=&#8221;button.aspx.vb&#8221; Inherits=&#8221;dcsui.Dynamicbutton&#8221; %&#62;
&#60;%@ OutputCache VaryByParam=&#8221;m;t&#8221; Duration=&#8221;9123123&#8243; %&#62;
&#60;%@ Page Language=&#8221;vb&#8221; AutoEventWireup=&#8221;true&#8221; CodeBehind=&#8221;button.aspx.vb&#8221; Inherits=&#8221;dcsui.Dynamicbutton&#8221; %&#62;&#60;%@ OutputCache VaryByParam=&#8221;m;t&#8221; Duration=&#8221;9123123&#8243; %&#62;
button.aspx.vb
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
Partial Public Class Dynamicbutton
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
Dim text As String = Me.Request.QueryString(&#8220;t&#8221;)
If String.IsNullOrEmpty(text) Then
Throw New ApplicationException(&#8220;The text url [...]]]></description>
		<link>http://www.figers.com/Blog/2011/02/15/good-looking-dynamic-buttons/</link>
			</item>
	<item>
		<title>Search Engine Optimization</title>
		<description><![CDATA[
Rather than re-write the topic I wanted to pass on this link which is a great beginners guide to SEO.
http://guides.seomoz.org/beginners-guide-to-search-engine-optimization
]]></description>
		<link>http://www.figers.com/Blog/2011/01/19/search-engine-optimization/</link>
			</item>
	<item>
		<title>SQL findtext &#8211; create a stored proc to find text in other stored procs</title>
		<description><![CDATA[

This stored proc has come in handy many times, great to use it to find text in other stored procedures
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
CREATE   PROCEDURE [dbo].[findText] (
@text VARCHAR(50)
) AS
&#8211;Declare @text varchar(50)
&#8211;set @text  = &#8216;SmIepHeader&#8217;
&#8211; Adjust search text to find all contains.
SET @text = &#8216;%&#8217; + @text + &#8216;%&#8217;
&#8211; Declare general purpose variables.
DECLARE @line VARCHAR(300)
DECLARE [...]]]></description>
		<link>http://www.figers.com/Blog/2011/01/19/sql-findtext-create-a-stored-proc-to-find-text-in-other-stored-procs/</link>
			</item>
</channel>
</rss>

