| Neil's profileMSN Meets BlogPhotosBlogLists | Help |
|
MSN Meets BlogSeptember 01 Haribo ExperimentMay 17 Nice solution to input type="file"http://www.quirksmode.org/dom/inputfile.html
This guy has written a nice solution to styling the input type="file". Check it out, worth a read just to be aware of the problem. April 28 Font FinderRocking little site that finds the type of font used in an image.
http://www.myfonts.com/WhatTheFont/
Really useful for amending existing images. April 22 Don't talk rubbishMore pearls of wisdom, before you go slagging a class of in .net try to make sure you know what your talking about first. In my previous post i was discussing the threadpool class and about long running tasks. Turns out that was complete rubbish and the threadpool class is great in everyway. Just don’t send the threads into an infinite loop *grin* April 21 Threading TipThreadPool.QueueUserWorkItem(AddressOf Method) is great for having some free thread handling. It will queue up the method to be executed on any spare system thread lying around. One small note however is do not put anything that might take more than a second or two onto that system. I used the ThreadPool class to do some WebRequest work and after 3-4 requests, my whole machine came to a grinding halt. April 20 Jumping to bookmarksAn annoyance with ASP.NET is that most of the server controls use PostBack to submit data. This causes the browser to jump back to the top of the page on each click. Easiest way to solve this is to use bookmarks. They however are a bit of a pain to implement in ASP.NET pages. This little function will help implement bookmarks. Allowing you to reduce / stop the browser jumping on postback. Public Shared Sub JumpToBookmark(ByVal Page As Page, ByVal BookMark As String) Dim script As String = "<SCRIPT language='javascript'>location.href='#" & BookMark & "'</SCRIPT>"Page.RegisterStartupScript("startupscript", script) End SubApril 19 Something GreatI was going to put something great in here... Now im just gonna put a lame plug for my site. Go be happy. |
|
||||
|
|