jink


Member since 04/30/2009

20 snippets

69 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

jink's Recent Snippets



« Prev 1 Next »
I use this action code with http://valums.com/ajax-upload/ to handle the upload from any browser.
0 15 posted 9 years ago by jink
Changing the connection string in the web.config to allow zero date and converting it prevents this error.
0 25 posted 9 years ago by jink
Add the System.Data config settings for MySql. Update the version to number referenced.
0 8 posted 9 years ago by jink
Restores the 2D (tiger) dock.
0 15 posted 10 years ago by jink
Puts mouse highlighting behind stacks.
0 11 posted 10 years ago by jink
Etag Removal: http://developer.yahoo.com/performance/rules.html#etags Font Compression: http://www.phpied.com/gzip-your-font-face-files/ Compression: http://developer.yahoo.com/performance/rules.html#gzip
2 17 posted 10 years ago by jink
Use this rewrite rule to enable permalinks on a host. Used when Wordpress doesn't write the conditions correctly (like on a host I am testing with).
0 15 posted 10 years ago by jink
Placed in the functions.php file.
1 16 posted 10 years ago by jink
Load this Javascript after the MS AJAX files have been loaded. In the example I am using jQuery to call the patchMicrosoftAjax() method, but you can use any method you desire.
0 27 posted 10 years ago by jink
Page_ClientValidate is a global function. When called this will return true/false if the validator group provided is valid or not.
0 10 posted 10 years ago by jink
Bind the DropDownList like normal (set DataSourceID, DataTextField, DataValueField), and <%BIND%> the SelectedValue field. AutoPostBack should be enabled. In the OnSelectedIndexChanged:
0 15 posted 10 years ago by jink
Use this code to pull a DotNetNuke URL from a tab name. We use this to replace "?tabname=blah" type URLs which do NOT transfer language info.
0 14 posted 10 years ago by jink
Call with the path of any javascript you want to load into the HEAD of the ASPX page.
1 21 posted 10 years ago by jink
Returns the postback sender ID. This is usually a button ID from a form that caused a post back.
0 15 posted 10 years ago by jink
Call AddKeepAlive() in Page_Load of the page that needs it. Change the path to the correct keep alive page. Page should disable caching, like in second code snippet.
2 18 posted 10 years ago by jink
Replace *SERVERNAME* with the name of the server name in the web.config
2 21 posted 10 years ago by jink
Code snippet prevents caching of the page by setting http header values and a LAST MODIFIED header to prevent google from caching too long. This should go into the page load event.
1 13 posted 10 years ago by jink
« Prev 1 Next »