jQuery, HTML5, Google Maps API
Ruslan's coding weblog
- 
jQuery Store Locator with Google Maps API, Google Distance Matrix API, HTML5 GeoLocation & Google Maps KML file as data source· I didn’t want to create a data file with a custom format, nor did I want to have a database to store my locations. I’ve created my own Google map and let the business guy collaborate – i.e. he added all of the stores. J So, I simply went to this map on maps.google.com and clicked on “KML” link. This let me download a file, which was basically an XML file containing all the information I needed – store information and geographical coordinates. I saved this file as stores.xml 
- 
GridView RowDataBound Alternating Row RowState issueThis 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 htmlGuess how? No image involved, pure html! 
- 
your own custom event delegatein MyControl: 
- 
string to enumHow do you convert a string into an enumeration? 
- 
When AJAX ScriptManager is on MasterPageScriptManager ScriptManager1 = (ScriptManager)Master.FindControl("ScriptManager1"); 
 ScriptManager1.AsyncPostBackTimeout = 300;
- 
JavaScript img preloadNot 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 ListBoxI believe this method is available in .NET 3.5, but in earlier framework versions we have to implement this ourselves..