I hereby claim:
- I am jaydouglass on github.
- I am jaydouglass (https://keybase.io/jaydouglass) on keybase.
- I have a public key ASDJwUuI2vO5CBrW_vPpKzpU40_vcLrj0WG3uKCpkDvYmwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| Public Module WebControlExtensions | |
| <Extension> | |
| Public Function AddClass(control As WebControl, cssClass As String) As WebControl | |
| Dim cssClasses = control.CssClass.Split(New Char() {" "c}, StringSplitOptions.RemoveEmptyEntries).ToList() | |
| If Not cssClasses.Contains(cssClass) Then cssClasses.Add(cssClass) | |
| control.CssClass = String.Join(" ", cssClasses.ToArray()) | |
| Return control | |
| End Function | |
| <Extension> |
| namespace CallMethod | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) { | |
| Console.WriteLine("Type: {0}, Method: {1}", args[0], args[1]); | |
| var type = Type.GetType(args[0]); | |
| if(type == null) throw new InvalidOperationException("type not found"); | |
| var method = type.GetMethod(args[1]); | |
| if (method == null) throw new InvalidOperationException("method not found"); |
| Sub BindGrid(pageIndex As Integer) | |
| gvSchoolDistricts.PageIndex = pageIndex | |
| ValidateForm() | |
| If FormState.IsValid Then | |
| Dim pagedDataTable = schoolDistrictDataAccess.Query(pageIndex + 1, gvSchoolDistricts.PageSize, txtLEA.Text.NullIfEmpty(), txtFiscalYear.Text.Parse(Of Int16?), txtDistrictName.Text.NullIfEmpty()) | |
| 'gvSchoolDistricts.VirtualItemCount = CInt(pagedDataTable.TotalItems) | |
| 'gvSchoolDistricts.DataSource = pagedDataTable.Table | |
| gvSchoolDistricts.DataSource = pagedDataTable.ToPagedDataSource() | |
| gvSchoolDistricts.DataBind() |
| Imports ChildNutrition.Web.Common.Validation | |
| Imports ChildNutrition.Web.Common | |
| Imports ChildNutrition.Web.Extensions | |
| Imports ChildNutrition.Web.DataAccess | |
| Namespace MonthlyClaims.Maintenance.SchoolDistrict | |
| Public Class Search | |
| Inherits BasePage |
| Namespace Controls.Bootstrap | |
| Public Class GridView | |
| Inherits WebControls.GridView | |
| Public Sub New() | |
| UseAccessibleHeader = True | |
| AddHandler DataBound, AddressOf UseTableHeaderTag | |
| End Sub |
| String.prototype.endsWith = function(str) { | |
| return (this.match(str + '$') == str) | |
| } | |
| jQuery.expr[":"].asp = function(a, i, m) { | |
| return jQuery(a).attr('id') && jQuery(a).attr('id').endsWith(m[3]); |
| <input type="reset" value="Reset" class="button" /> |
| Regex.Replace("(501) 612-7315", @"\W", "") |