Archives
-
GridView RowDataBound Alternating Row RowState issue
This was pissing me off for a good hour: RowDataBound event after you call edit on a row, I was checking for this row's state like this:
-
A triangle in html
Guess how? No image involved, pure html!
-
your own custom event delegate
in MyControl:
-
string to enum
How do you convert a string into an enumeration?
-
When AJAX ScriptManager is on MasterPage
ScriptManager ScriptManager1 = (ScriptManager)Master.FindControl("ScriptManager1");
ScriptManager1.AsyncPostBackTimeout = 300; -
JavaScript img preload
Not sure if this is the best method, but this is the one I used to preload the image.
-
AJAX AutoComplete with DataSet
/// <summary>
-
Report in formatted Excel file
#region GenerateExcel
-
Sort a ListBox
I believe this method is available in .NET 3.5, but in earlier framework versions we have to implement this ourselves..
-
CSV to TextReader
/// <summary>
-
AJAX UpdatePanel triggers, Conditional update mode
First of all I'd like to thank kowalskec for pointing me out the CopySourceasHTML VS add-in that will help me copy the code snippets from Visual Studio here without losing any text formatting.
-
Add new Blog Post WYSIWYG horrors
First of all, I am not even talking about FireFox or Opera, it's IE6 what I try to use to make a new post. I copy-paste the code from Visual Studion or even do it through Word, but there's no way I can get the same look of code snippets:
-
.NET ArrayList of Objects
/// public class.