CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets for: andreabalducci
C#
// controller
public ActionResult Index([DefaultValue(1)] int page)
{
   if (Request.IsAjaxRequest())
      return PartialView("PagedDataControl", model.Data);
 
   return View(model);
}
 
// .aspx
by andreabalducci   March 30, 2010 @ 10:19am
377 Views
no comments
 
C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate;
 
namespace Lucilla.Framework.Core.Data
{
    public static class QueryExtensions
    {
by andreabalducci   March 30, 2010 @ 9:24am
370 Views
no comments
 
C#
// Controller Action
        public JsonResult SearchItem(string nature, string term)
        {
            IEnumerable<Item> list = null;
 
            Transactional(() =>
                              {
                                  switch (nature.ToLowerInvariant())
                                  {
                                      case "ricambi":
by andreabalducci   March 29, 2010 @ 2:42am
502 Views
no comments
 
C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Lucilla.Framework.Web.Mvc;
using DemoApp.Services.Model;
 
namespace DemoApp.WebSite.Controllers
{
by andreabalducci   March 26, 2010 @ 4:31am
526 Views
no comments
 
C#
<div id="toolbar-pane">
    <% 
        Toolbar
            .Create()
            .SetCorners(Corners.CornersType.top)
            .AddSet()
                .AddIconButton("btnOpen", "Open", "folder-open")
                .AddIconButton("btnSave", "Save", "disk")
                .AddIconButton("btnDelete", "Delete", "trash")
            .EndSet()
by andreabalducci   February 24, 2010 @ 2:22am
278 Views
no comments
 
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link runat="server" href="~/style/my.css" rel="stylesheet" type="text/css" />
</head>
<body>
by andreabalducci   January 11, 2010 @ 3:55pm
Tags: asp.net
266 Views
no comments
 
C#
using System;
using Castle.Components.Scheduler;
using Dexter.Core.UI.Framework.Extensibility;
using Dexter.Shared.Framework;
 
namespace Dexter.Core.NHibernate.Extensibility
{
    public class SchedulerExtension : IExtensionPoint
    {
        public void OnApplicationStartup()
by andreabalducci   January 11, 2010 @ 3:23pm
229 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate