diff --git a/IISExpress/AppServer/applicationhost.config b/IISExpress/AppServer/applicationhost.config index 93879e48b..90fe09269 100644 --- a/IISExpress/AppServer/applicationhost.config +++ b/IISExpress/AppServer/applicationhost.config @@ -125,8 +125,8 @@ - - + + @@ -698,8 +698,8 @@ - - + + diff --git a/NzbDrone.Common/NzbDrone.Common.csproj b/NzbDrone.Common/NzbDrone.Common.csproj index 4430e01bf..a45da81fd 100644 --- a/NzbDrone.Common/NzbDrone.Common.csproj +++ b/NzbDrone.Common/NzbDrone.Common.csproj @@ -38,8 +38,9 @@ ..\Libraries\Exceptioneer.WindowsFormsClient.dll - - ..\packages\Exceptron.Driver.0.1.0.17\lib\net20\Exceptron.Driver.dll + + False + ..\packages\Exceptron.Driver.0.1.0.30\lib\net20\Exceptron.Driver.dll ..\packages\Newtonsoft.Json.4.5.4\lib\net40\Newtonsoft.Json.dll diff --git a/NzbDrone.Common/ReportingService.cs b/NzbDrone.Common/ReportingService.cs index 5133a717a..3dda58536 100644 --- a/NzbDrone.Common/ReportingService.cs +++ b/NzbDrone.Common/ReportingService.cs @@ -69,7 +69,24 @@ namespace NzbDrone.Common exceptionData.Message = logEvent.FormattedMessage; exceptionData.UserId = EnvironmentProvider.UGuid.ToString().Replace("-", string.Empty); - return ExceptronDriver.SubmitException(exceptionData); + if (logEvent.Level <= LogLevel.Info) + { + exceptionData.Severity = ExceptionSeverity.None; + } + else if (logEvent.Level <= LogLevel.Warn) + { + exceptionData.Severity = ExceptionSeverity.Warning; + } + else if (logEvent.Level <= LogLevel.Error) + { + exceptionData.Severity = ExceptionSeverity.Error; + } + else if (logEvent.Level <= LogLevel.Fatal) + { + exceptionData.Severity = ExceptionSeverity.Fatal; + } + + return ExceptronDriver.SubmitException(exceptionData).RefId; } catch (Exception e) { diff --git a/NzbDrone.Common/packages.config b/NzbDrone.Common/packages.config index 6ced963bd..c309ac792 100644 --- a/NzbDrone.Common/packages.config +++ b/NzbDrone.Common/packages.config @@ -1,6 +1,6 @@  - + \ No newline at end of file diff --git a/packages/DataTables.Mvc.0.1.0.54/Content/App_Start/DataTablesMvc.cs.pp b/packages/DataTables.Mvc.0.1.0.54/Content/App_Start/DataTablesMvc.cs.pp deleted file mode 100644 index abaaa76f4..000000000 --- a/packages/DataTables.Mvc.0.1.0.54/Content/App_Start/DataTablesMvc.cs.pp +++ /dev/null @@ -1,17 +0,0 @@ -using DataTables.Mvc.Core.Helpers; -using DataTables.Mvc.Core.Models; -using System.Web.Mvc; - -[assembly: WebActivator.PreApplicationStartMethod(typeof($rootnamespace$.App_Start.DataTablesModelBinderActivator), "Start")] - -namespace $rootnamespace$.App_Start -{ - public static class DataTablesModelBinderActivator - { - public static void Start() - { - if (!ModelBinders.Binders.ContainsKey(typeof(DataTablesParams))) - ModelBinders.Binders.Add(typeof(DataTablesParams), new DataTablesModelBinder()); - } - } -} \ No newline at end of file diff --git a/packages/DataTables.Mvc.0.1.0.54/tools/install.ps1 b/packages/DataTables.Mvc.0.1.0.54/tools/install.ps1 deleted file mode 100644 index 7e1f5357f..000000000 --- a/packages/DataTables.Mvc.0.1.0.54/tools/install.ps1 +++ /dev/null @@ -1,5 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -$path = [System.IO.Path] -$appstart = $path::Combine($path::GetDirectoryName($project.FileName), "App_Start\DataTablesMvc.cs") -$DTE.ItemOperations.OpenFile($appstart) \ No newline at end of file diff --git a/packages/DataTables.Mvc.0.1.0.67/Content/App_Start/DataTablesMvc.cs.pp b/packages/DataTables.Mvc.0.1.0.67/Content/App_Start/DataTablesMvc.cs.pp deleted file mode 100644 index abaaa76f4..000000000 --- a/packages/DataTables.Mvc.0.1.0.67/Content/App_Start/DataTablesMvc.cs.pp +++ /dev/null @@ -1,17 +0,0 @@ -using DataTables.Mvc.Core.Helpers; -using DataTables.Mvc.Core.Models; -using System.Web.Mvc; - -[assembly: WebActivator.PreApplicationStartMethod(typeof($rootnamespace$.App_Start.DataTablesModelBinderActivator), "Start")] - -namespace $rootnamespace$.App_Start -{ - public static class DataTablesModelBinderActivator - { - public static void Start() - { - if (!ModelBinders.Binders.ContainsKey(typeof(DataTablesParams))) - ModelBinders.Binders.Add(typeof(DataTablesParams), new DataTablesModelBinder()); - } - } -} \ No newline at end of file diff --git a/packages/DataTables.Mvc.0.1.0.67/tools/install.ps1 b/packages/DataTables.Mvc.0.1.0.67/tools/install.ps1 deleted file mode 100644 index 7e1f5357f..000000000 --- a/packages/DataTables.Mvc.0.1.0.67/tools/install.ps1 +++ /dev/null @@ -1,5 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -$path = [System.IO.Path] -$appstart = $path::Combine($path::GetDirectoryName($project.FileName), "App_Start\DataTablesMvc.cs") -$DTE.ItemOperations.OpenFile($appstart) \ No newline at end of file diff --git a/packages/DataTables.Mvc.0.1.0.68/Content/App_Start/DataTablesMvc.cs.pp b/packages/DataTables.Mvc.0.1.0.68/Content/App_Start/DataTablesMvc.cs.pp deleted file mode 100644 index abaaa76f4..000000000 --- a/packages/DataTables.Mvc.0.1.0.68/Content/App_Start/DataTablesMvc.cs.pp +++ /dev/null @@ -1,17 +0,0 @@ -using DataTables.Mvc.Core.Helpers; -using DataTables.Mvc.Core.Models; -using System.Web.Mvc; - -[assembly: WebActivator.PreApplicationStartMethod(typeof($rootnamespace$.App_Start.DataTablesModelBinderActivator), "Start")] - -namespace $rootnamespace$.App_Start -{ - public static class DataTablesModelBinderActivator - { - public static void Start() - { - if (!ModelBinders.Binders.ContainsKey(typeof(DataTablesParams))) - ModelBinders.Binders.Add(typeof(DataTablesParams), new DataTablesModelBinder()); - } - } -} \ No newline at end of file diff --git a/packages/DataTables.Mvc.0.1.0.68/tools/install.ps1 b/packages/DataTables.Mvc.0.1.0.68/tools/install.ps1 deleted file mode 100644 index 7e1f5357f..000000000 --- a/packages/DataTables.Mvc.0.1.0.68/tools/install.ps1 +++ /dev/null @@ -1,5 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -$path = [System.IO.Path] -$appstart = $path::Combine($path::GetDirectoryName($project.FileName), "App_Start\DataTablesMvc.cs") -$DTE.ItemOperations.OpenFile($appstart) \ No newline at end of file diff --git a/packages/Exceptron.Driver.0.1.0.17/Exceptron.Driver.0.1.0.17.nupkg b/packages/Exceptron.Driver.0.1.0.17/Exceptron.Driver.0.1.0.17.nupkg deleted file mode 100644 index 26443ec54..000000000 Binary files a/packages/Exceptron.Driver.0.1.0.17/Exceptron.Driver.0.1.0.17.nupkg and /dev/null differ diff --git a/packages/Exceptron.Driver.0.1.0.17/lib/net20/Exceptron.Driver.dll b/packages/Exceptron.Driver.0.1.0.17/lib/net20/Exceptron.Driver.dll deleted file mode 100644 index ec717c985..000000000 Binary files a/packages/Exceptron.Driver.0.1.0.17/lib/net20/Exceptron.Driver.dll and /dev/null differ diff --git a/packages/Exceptron.Driver.0.1.0.17/lib/net20/Exceptron.Driver.pdb b/packages/Exceptron.Driver.0.1.0.17/lib/net20/Exceptron.Driver.pdb deleted file mode 100644 index cacf3703c..000000000 Binary files a/packages/Exceptron.Driver.0.1.0.17/lib/net20/Exceptron.Driver.pdb and /dev/null differ diff --git a/packages/Exceptron.Driver.0.1.0.17/src/ExceptionClient.cs b/packages/Exceptron.Driver.0.1.0.17/src/ExceptionClient.cs deleted file mode 100644 index b13f173fe..000000000 --- a/packages/Exceptron.Driver.0.1.0.17/src/ExceptionClient.cs +++ /dev/null @@ -1,125 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Reflection; -using System.Threading; -using Exceptron.Driver.Message; -using Exceptron.Driver.fastJSON; - -namespace Exceptron.Driver -{ - public class ExceptionClient - { - public readonly string DriverVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString(); - public readonly string DriverName = "Official .NET"; - - private readonly string _appId; - - public bool ThrowsExceptions { get; set; } - public string Enviroment { get; set; } - public string ApplicationVersion { get; set; } - - internal RestClient RestClient { get; set; } - internal string ServerUrl { get; set; } - - - public ExceptionClient(string appId) - { - _appId = appId; - - ServerUrl = "http://api.exceptron.com/v1a/"; - - RestClient = new RestClient(); - } - - - internal static List ConvertToFrames(Exception exception) - { - if (exception == null) return null; - - var stackTrace = new StackTrace(exception, true); - - var frames = stackTrace.GetFrames(); - - if (frames == null) return null; - - var result = new List(); - - for (int index = 0; index < frames.Length; index++) - { - var frame = frames[index]; - var method = frame.GetMethod(); - var declaringType = method.DeclaringType; - - var currentFrame = new Frame - { - i = index, - fn = frame.GetFileName(), - ln = frame.GetFileLineNumber(), - m = method.ToString(), - }; - - - currentFrame.m = currentFrame.m.Substring(currentFrame.m.IndexOf(' ')).Trim(); - - - if (declaringType != null) - { - currentFrame.c = declaringType.FullName; - } - - result.Add(currentFrame); - } - - - return result; - } - - public string SubmitException(ExceptionData exceptionData) - { - try - { - VerifyErrorData(exceptionData); - - var report = new ExceptionReport(); - - report.ap = _appId; - report.dn = DriverName; - report.dv = DriverVersion; - report.aver = ApplicationVersion; - - report.ext = exceptionData.Exception.GetType().FullName; - report.exm = exceptionData.Exception.Message; - report.stk = ConvertToFrames(exceptionData.Exception); - - report.cmp = exceptionData.Component; - report.uid = exceptionData.UserId; - report.env = Enviroment; - report.msg = exceptionData.Message; - report.cul = Thread.CurrentThread.CurrentCulture.Name; - report.os = Environment.OSVersion.VersionString; - - var messageString = JSON.Instance.ToJSON(report); - var response = RestClient.Put(ServerUrl, messageString); - return response; - } - catch (Exception e) - { - Trace.WriteLine("Unable to submit exception to exceptron. ", e.ToString()); - - if (ThrowsExceptions) throw; - return null; - } - } - - private void VerifyErrorData(ExceptionData exceptionData) - { - if (exceptionData == null) - throw new ArgumentNullException("exceptionData"); - - if (exceptionData.Exception == null) - throw new ArgumentException("ExceptionData.Exception Cannot be null.", "exceptionData"); - } - - } -} diff --git a/packages/Exceptron.Driver.0.1.0.17/src/ExceptionData.cs b/packages/Exceptron.Driver.0.1.0.17/src/ExceptionData.cs deleted file mode 100644 index a627ea9ae..000000000 --- a/packages/Exceptron.Driver.0.1.0.17/src/ExceptionData.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace Exceptron.Driver -{ - public class ExceptionData - { - public Exception Exception { get; set; } - public string Component { get; set; } - public string UserId { get; set; } - public string Message { get; set; } - } -} \ No newline at end of file diff --git a/packages/Exceptron.Driver.0.1.0.17/src/Message/ExceptionReport.cs b/packages/Exceptron.Driver.0.1.0.17/src/Message/ExceptionReport.cs deleted file mode 100644 index a83675f64..000000000 --- a/packages/Exceptron.Driver.0.1.0.17/src/Message/ExceptionReport.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System.Collections.Generic; -using System.ComponentModel; - -namespace Exceptron.Driver.Message -{ - [EditorBrowsable(EditorBrowsableState.Never)] - internal class ExceptionReport - { - /// - /// API key - /// - public string ap { get; set; } - - /// - /// Application Version - /// - public string aver { get; set; } - - /// - /// User or Instance ID - /// - public string uid { get; set; } - - /// - /// Type of exception - /// - public string ext { get; set; } - - /// - /// Exception message - /// - public string exm { get; set; } - - /// - /// List of frames that make up the StackTrace of the exception - /// - public List stk { get; set; } - - /// - /// Component that experienced this exception - /// - public string cmp { get; set; } - - /// - /// Environment that this exception occurred in. - /// - /// Dev, Stage, Production - public string env { get; set; } - - /// - /// Message that was logged along with the exception. - /// - public string msg { get; set; } - - /// - /// User's culture in - /// - /// http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.name.aspx - public string cul { get; set; } - - /// - /// OS Version - /// - public string os { get; set; } - - /// - /// Name of the driver that generated and is sending this message - /// - public string dn { get; set; } - - /// - /// Version of the driver that generated and is sending this message - /// - public string dv { get; set; } - } -} \ No newline at end of file diff --git a/packages/Exceptron.Driver.0.1.0.17/src/Message/Frame.cs b/packages/Exceptron.Driver.0.1.0.17/src/Message/Frame.cs deleted file mode 100644 index 9d1bab7e4..000000000 --- a/packages/Exceptron.Driver.0.1.0.17/src/Message/Frame.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System.ComponentModel; - -namespace Exceptron.Driver.Message -{ - [EditorBrowsable(EditorBrowsableState.Never)] - internal class Frame - { - /// - /// Order of current frame - /// - public int i { get; set; } - - /// - /// Line number of the current frame - /// - public int ln { get; set; } - - /// - /// File name of the current frame - /// - public string fn { get; set; } - - /// - /// Method name for current frame - /// - public string m { get; set; } - - /// - /// Class name for current frame - /// - public string c { get; set; } - } -} \ No newline at end of file diff --git a/packages/Exceptron.Driver.0.1.0.17/src/Properties/AssemblyInfo.cs b/packages/Exceptron.Driver.0.1.0.17/src/Properties/AssemblyInfo.cs deleted file mode 100644 index c4773ddad..000000000 --- a/packages/Exceptron.Driver.0.1.0.17/src/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Exceptron.Driver")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Exceptron.Driver")] -[assembly: AssemblyCopyright("Copyright © 2012")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("a463887e-594f-4733-b227-a79f4ffb2158")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: InternalsVisibleTo("Exceptron.Driver.Tests")] -[assembly: InternalsVisibleTo("Exceptron.Api.v1a.Tests")] diff --git a/packages/Exceptron.Driver.0.1.0.17/src/RestClient.cs b/packages/Exceptron.Driver.0.1.0.17/src/RestClient.cs deleted file mode 100644 index 3d8fe436c..000000000 --- a/packages/Exceptron.Driver.0.1.0.17/src/RestClient.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.IO; -using System.Net; -using System.Text; - -namespace Exceptron.Driver -{ - internal class RestClient - { - internal virtual string Put(string url, string content) - { - byte[] bytes = Encoding.UTF8.GetBytes(content); - var request = (HttpWebRequest)WebRequest.Create(url); - request.Method = "PUT"; - request.ContentType = "application/json"; - request.ContentLength = bytes.Length; - request.Accept = "application/json"; - - var dataStream = request.GetRequestStream(); - dataStream.Write(bytes, 0, bytes.Length); - dataStream.Close(); - - WebResponse webResponse; - - try - { - webResponse = request.GetResponse(); - } - catch (WebException ex) - { - webResponse = ex.Response; - } - - var responseStream = new StreamReader(webResponse.GetResponseStream(), Encoding.GetEncoding(1252)); - - var responseString = responseStream.ReadToEnd(); - - return responseString; - } - } -} diff --git a/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/Getters.cs b/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/Getters.cs deleted file mode 100644 index 5263a13bc..000000000 --- a/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/Getters.cs +++ /dev/null @@ -1,21 +0,0 @@ -//http://fastjson.codeplex.com/ - -using System; -using System.Collections.Generic; -using Exceptron.Driver.fastJSON; - -namespace Exceptron.Driver.fastJSON -{ - internal class Getters - { - public string Name; - public JSON.GenericGetter Getter; - public Type propertyType; - } - - internal class DatasetSchema - { - public List Info { get; set; } - public string Name { get; set; } - } -} diff --git a/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/JSON.cs b/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/JSON.cs deleted file mode 100644 index 09a6b317e..000000000 --- a/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/JSON.cs +++ /dev/null @@ -1,910 +0,0 @@ -//http://fastjson.codeplex.com/ - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Data; -using System.Globalization; -using System.IO; -using System.Reflection; -using System.Reflection.Emit; -using Exceptron.Driver.fastJSON; - -namespace Exceptron.Driver.fastJSON -{ - internal delegate string Serialize(object data); - internal delegate object Deserialize(string data); - - internal class JSON - { - public readonly static JSON Instance = new JSON(); - - private JSON() - { - UseSerializerExtension = false; - SerializeNullValues = false; - UseOptimizedDatasetSchema = false; - UsingGlobalTypes = false; - } - public bool UseOptimizedDatasetSchema = true; - public bool UseFastGuid = true; - public bool UseSerializerExtension = true; - public bool IndentOutput = false; - public bool SerializeNullValues = true; - public bool UseUTCDateTime = false; - public bool ShowReadOnlyProperties = false; - public bool UsingGlobalTypes = true; - - public string ToJSON(object obj) - { - return ToJSON(obj, UseSerializerExtension, UseFastGuid, UseOptimizedDatasetSchema, SerializeNullValues); - } - - public string ToJSON(object obj, - bool enableSerializerExtensions) - { - return ToJSON(obj, enableSerializerExtensions, UseFastGuid, UseOptimizedDatasetSchema, SerializeNullValues); - } - - public string ToJSON(object obj, - bool enableSerializerExtensions, - bool enableFastGuid) - { - return ToJSON(obj, enableSerializerExtensions, enableFastGuid, UseOptimizedDatasetSchema, SerializeNullValues); - } - - public string ToJSON(object obj, - bool enableSerializerExtensions, - bool enableFastGuid, - bool enableOptimizedDatasetSchema, - bool serializeNullValues) - { - return new JSONSerializer(enableOptimizedDatasetSchema, enableFastGuid, enableSerializerExtensions, serializeNullValues, IndentOutput).ConvertToJSON(obj); - } - - public object Parse(string json) - { - return new JsonParser(json).Decode(); - } - - public T ToObject(string json) - { - return (T)ToObject(json, typeof(T)); - } - - public object ToObject(string json) - { - return ToObject(json, null); - } - - public object ToObject(string json, Type type) - { - Dictionary ht = new JsonParser(json).Decode() as Dictionary; - if (ht == null) return null; - return ParseDictionary(ht, null, type); - } - -#if CUSTOMTYPE - internal SafeDictionary _customSerializer = new SafeDictionary(); - internal SafeDictionary _customDeserializer = new SafeDictionary(); - - public void RegisterCustomType(Type type, Serialize serializer, Deserialize deserializer) - { - if (type != null && serializer != null && deserializer != null) - { - _customSerializer.Add(type, serializer); - _customDeserializer.Add(type, deserializer); - // reset property cache - _propertycache = new SafeDictionary>(); - } - } - - internal bool IsTypeRegistered(Type t) - { - Serialize s; - return _customSerializer.TryGetValue(t, out s); - } -#endif - - #region [ PROPERTY GET SET CACHE ] - SafeDictionary _tyname = new SafeDictionary(); - internal string GetTypeAssemblyName(Type t) - { - string val = ""; - if (_tyname.TryGetValue(t, out val)) - return val; - else - { - string s = t.AssemblyQualifiedName; - _tyname.Add(t, s); - return s; - } - } - - SafeDictionary _typecache = new SafeDictionary(); - private Type GetTypeFromCache(string typename) - { - Type val = null; - if (_typecache.TryGetValue(typename, out val)) - return val; - else - { - Type t = Type.GetType(typename); - _typecache.Add(typename, t); - return t; - } - } - - SafeDictionary _constrcache = new SafeDictionary(); - private delegate object CreateObject(); - private object FastCreateInstance(Type objtype) - { - try - { - CreateObject c = null; - if (_constrcache.TryGetValue(objtype, out c)) - { - return c(); - } - else - { - DynamicMethod dynMethod = new DynamicMethod("_", objtype, null, true); - ILGenerator ilGen = dynMethod.GetILGenerator(); - - ilGen.Emit(OpCodes.Newobj, objtype.GetConstructor(Type.EmptyTypes)); - ilGen.Emit(OpCodes.Ret); - c = (CreateObject)dynMethod.CreateDelegate(typeof(CreateObject)); - _constrcache.Add(objtype, c); - return c(); - } - } - catch (Exception exc) - { - throw new Exception(string.Format("Failed to fast create instance for type '{0}' from assemebly '{1}'", - objtype.FullName, objtype.AssemblyQualifiedName), exc); - } - } - - private struct myPropInfo - { - public bool filled; - public Type pt; - public Type bt; - public Type changeType; - public bool isDictionary; - public bool isValueType; - public bool isGenericType; - public bool isArray; - public bool isByteArray; - public bool isGuid; -#if !SILVERLIGHT - public bool isDataSet; - public bool isDataTable; - public bool isHashtable; -#endif - public GenericSetter setter; - public bool isEnum; - public bool isDateTime; - public Type[] GenericTypes; - public bool isInt; - public bool isLong; - public bool isString; - public bool isBool; - public bool isClass; - public GenericGetter getter; - public bool isStringDictionary; - public string Name; -#if CUSTOMTYPE - public bool isCustomType; -#endif - public bool CanWrite; - } - - SafeDictionary> _propertycache = new SafeDictionary>(); - private SafeDictionary Getproperties(Type type, string typename) - { - SafeDictionary sd = null; - if (_propertycache.TryGetValue(typename, out sd)) - { - return sd; - } - else - { - sd = new SafeDictionary(); - PropertyInfo[] pr = type.GetProperties(BindingFlags.Public | BindingFlags.Instance); - foreach (PropertyInfo p in pr) - { - myPropInfo d = CreateMyProp(p.PropertyType, p.Name); - d.CanWrite = p.CanWrite; - d.setter = CreateSetMethod(p); - d.getter = CreateGetMethod(p); - sd.Add(p.Name, d); - } - FieldInfo[] fi = type.GetFields(BindingFlags.Public | BindingFlags.Instance); - foreach (FieldInfo f in fi) - { - myPropInfo d = CreateMyProp(f.FieldType, f.Name); - d.setter = CreateSetField(type, f); - d.getter = CreateGetField(type, f); - sd.Add(f.Name, d); - } - - _propertycache.Add(typename, sd); - return sd; - } - } - - private myPropInfo CreateMyProp(Type t, string name) - { - myPropInfo d = new myPropInfo(); - d.filled = true; - d.CanWrite = true; - d.pt = t; - d.Name = name; - d.isDictionary = t.Name.Contains("Dictionary"); - if (d.isDictionary) - d.GenericTypes = t.GetGenericArguments(); - d.isValueType = t.IsValueType; - d.isGenericType = t.IsGenericType; - d.isArray = t.IsArray; - if (d.isArray) - d.bt = t.GetElementType(); - if (d.isGenericType) - d.bt = t.GetGenericArguments()[0]; - d.isByteArray = t == typeof(byte[]); - d.isGuid = (t == typeof(Guid) || t == typeof(Guid?)); -#if !SILVERLIGHT - d.isHashtable = t == typeof(Hashtable); - d.isDataSet = t == typeof(DataSet); - d.isDataTable = t == typeof(DataTable); -#endif - - d.changeType = GetChangeType(t); - d.isEnum = t.IsEnum; - d.isDateTime = t == typeof(DateTime) || t == typeof(DateTime?); - d.isInt = t == typeof(int) || t == typeof(int?); - d.isLong = t == typeof(long) || t == typeof(long?); - d.isString = t == typeof(string); - d.isBool = t == typeof(bool) || t == typeof(bool?); - d.isClass = t.IsClass; - - if (d.isDictionary && d.GenericTypes.Length > 0 && d.GenericTypes[0] == typeof(string)) - d.isStringDictionary = true; - -#if CUSTOMTYPE - if (IsTypeRegistered(t)) - d.isCustomType = true; -#endif - return d; - } - - private delegate void GenericSetter(object target, object value); - - private static GenericSetter CreateSetMethod(PropertyInfo propertyInfo) - { - MethodInfo setMethod = propertyInfo.GetSetMethod(); - if (setMethod == null) - return null; - - Type[] arguments = new Type[2]; - arguments[0] = arguments[1] = typeof(object); - - DynamicMethod setter = new DynamicMethod("_", typeof(void), arguments, true); - ILGenerator il = setter.GetILGenerator(); - il.Emit(OpCodes.Ldarg_0); - il.Emit(OpCodes.Castclass, propertyInfo.DeclaringType); - il.Emit(OpCodes.Ldarg_1); - - if (propertyInfo.PropertyType.IsClass) - il.Emit(OpCodes.Castclass, propertyInfo.PropertyType); - else - il.Emit(OpCodes.Unbox_Any, propertyInfo.PropertyType); - - il.EmitCall(OpCodes.Callvirt, setMethod, null); - il.Emit(OpCodes.Ret); - - return (GenericSetter)setter.CreateDelegate(typeof(GenericSetter)); - } - - internal delegate object GenericGetter(object obj); - - private static GenericGetter CreateGetField(Type type, FieldInfo fieldInfo) - { - DynamicMethod dynamicGet = new DynamicMethod("_", typeof(object), new Type[] { typeof(object) }, type, true); - ILGenerator il = dynamicGet.GetILGenerator(); - - il.Emit(OpCodes.Ldarg_0); - il.Emit(OpCodes.Ldfld, fieldInfo); - if (fieldInfo.FieldType.IsValueType) - il.Emit(OpCodes.Box, fieldInfo.FieldType); - il.Emit(OpCodes.Ret); - - return (GenericGetter)dynamicGet.CreateDelegate(typeof(GenericGetter)); - } - - private static GenericSetter CreateSetField(Type type, FieldInfo fieldInfo) - { - Type[] arguments = new Type[2]; - arguments[0] = arguments[1] = typeof(object); - - DynamicMethod dynamicSet = new DynamicMethod("_", typeof(void), arguments, type, true); - ILGenerator il = dynamicSet.GetILGenerator(); - - il.Emit(OpCodes.Ldarg_0); - il.Emit(OpCodes.Ldarg_1); - if (fieldInfo.FieldType.IsValueType) - il.Emit(OpCodes.Unbox_Any, fieldInfo.FieldType); - il.Emit(OpCodes.Stfld, fieldInfo); - il.Emit(OpCodes.Ret); - - return (GenericSetter)dynamicSet.CreateDelegate(typeof(GenericSetter)); - } - - private GenericGetter CreateGetMethod(PropertyInfo propertyInfo) - { - MethodInfo getMethod = propertyInfo.GetGetMethod(); - if (getMethod == null) - return null; - - Type[] arguments = new Type[1]; - arguments[0] = typeof(object); - - DynamicMethod getter = new DynamicMethod("_", typeof(object), arguments, true); - ILGenerator il = getter.GetILGenerator(); - il.Emit(OpCodes.Ldarg_0); - il.Emit(OpCodes.Castclass, propertyInfo.DeclaringType); - il.EmitCall(OpCodes.Callvirt, getMethod, null); - - if (!propertyInfo.PropertyType.IsClass) - il.Emit(OpCodes.Box, propertyInfo.PropertyType); - - il.Emit(OpCodes.Ret); - - return (GenericGetter)getter.CreateDelegate(typeof(GenericGetter)); - } - - readonly SafeDictionary> _getterscache = new SafeDictionary>(); - internal List GetGetters(Type type) - { - List val = null; - if (_getterscache.TryGetValue(type, out val)) - return val; - - PropertyInfo[] props = type.GetProperties(BindingFlags.Public | BindingFlags.Instance); - List getters = new List(); - foreach (PropertyInfo p in props) - { - if (!p.CanWrite && ShowReadOnlyProperties == false) continue; - - object[] att = p.GetCustomAttributes(typeof(System.Xml.Serialization.XmlIgnoreAttribute), false); - if (att != null && att.Length > 0) - continue; - - JSON.GenericGetter g = CreateGetMethod(p); - if (g != null) - { - Getters gg = new Getters(); - gg.Name = p.Name; - gg.Getter = g; - gg.propertyType = p.PropertyType; - getters.Add(gg); - } - } - - FieldInfo[] fi = type.GetFields(BindingFlags.Instance | BindingFlags.Public); - foreach (var f in fi) - { - object[] att = f.GetCustomAttributes(typeof(System.Xml.Serialization.XmlIgnoreAttribute), false); - if (att != null && att.Length > 0) - continue; - - JSON.GenericGetter g = CreateGetField(type, f); - if (g != null) - { - Getters gg = new Getters(); - gg.Name = f.Name; - gg.Getter = g; - gg.propertyType = f.FieldType; - getters.Add(gg); - } - } - - _getterscache.Add(type, getters); - return getters; - } - - private object ChangeType(object value, Type conversionType) - { - if (conversionType == typeof(int)) - return (int)CreateLong((string)value); - - else if (conversionType == typeof(long)) - return CreateLong((string)value); - - else if (conversionType == typeof(string)) - return (string)value; - - else if (conversionType == typeof(Guid)) - return CreateGuid((string)value); - - else if (conversionType.IsEnum) - return CreateEnum(conversionType, (string)value); - - return Convert.ChangeType(value, conversionType, CultureInfo.InvariantCulture); - } - #endregion - - - private object ParseDictionary(Dictionary d, Dictionary globaltypes, Type type) - { - object tn = ""; - if (d.TryGetValue("$types", out tn)) - { - UsingGlobalTypes = true; - globaltypes = new Dictionary(); - foreach (var kv in (Dictionary)tn) - { - globaltypes.Add((string)kv.Value, kv.Key); - } - } - - bool found = d.TryGetValue("$type", out tn); -#if !SILVERLIGHT - if (found == false && type == typeof(System.Object)) - { - return CreateDataset(d, globaltypes); - } -#endif - if (found) - { - if (UsingGlobalTypes) - { - object tname = ""; - if (globaltypes.TryGetValue((string)tn, out tname)) - tn = tname; - } - type = GetTypeFromCache((string)tn); - } - - if (type == null) - throw new Exception("Cannot determine type"); - - string typename = type.FullName; - object o = FastCreateInstance(type); - SafeDictionary props = Getproperties(type, typename); - foreach (string name in d.Keys) - { - if (name == "$map") - { - ProcessMap(o, props, (Dictionary)d[name]); - continue; - } - myPropInfo pi; - if (props.TryGetValue(name, out pi) == false) - continue; - if (pi.filled == true) - { - object v = d[name]; - - if (v != null) - { - object oset = null; - - if (pi.isInt) - oset = (int)CreateLong((string)v); -#if CUSTOMTYPE - else if (pi.isCustomType) - oset = CreateCustom((string)v, pi.pt); -#endif - else if (pi.isLong) - oset = CreateLong((string)v); - - else if (pi.isString) - oset = (string)v; - - else if (pi.isBool) - oset = (bool)v; - - else if (pi.isGenericType && pi.isValueType == false && pi.isDictionary == false) -#if SILVERLIGHT - oset = CreateGenericList((List)v, pi.pt, pi.bt, globaltypes); -#else - oset = CreateGenericList((ArrayList)v, pi.pt, pi.bt, globaltypes); -#endif - else if (pi.isByteArray) - oset = Convert.FromBase64String((string)v); - - else if (pi.isArray && pi.isValueType == false) -#if SILVERLIGHT - oset = CreateArray((List)v, pi.pt, pi.bt, globaltypes); -#else - oset = CreateArray((ArrayList)v, pi.pt, pi.bt, globaltypes); -#endif - else if (pi.isGuid) - oset = CreateGuid((string)v); -#if !SILVERLIGHT - else if (pi.isDataSet) - oset = CreateDataset((Dictionary)v, globaltypes); - - else if (pi.isDataTable) - oset = this.CreateDataTable((Dictionary)v, globaltypes); -#endif - - else if (pi.isStringDictionary) - oset = CreateStringKeyDictionary((Dictionary)v, pi.pt, pi.GenericTypes, globaltypes); - -#if !SILVERLIGHT - else if (pi.isDictionary || pi.isHashtable) - oset = CreateDictionary((ArrayList)v, pi.pt, pi.GenericTypes, globaltypes); -#else - else if (pi.isDictionary) - oset = CreateDictionary((List)v, pi.pt, pi.GenericTypes, globaltypes); -#endif - - else if (pi.isEnum) - oset = CreateEnum(pi.pt, (string)v); - - else if (pi.isDateTime) - oset = CreateDateTime((string)v); - - else if (pi.isClass && v is Dictionary) - oset = ParseDictionary((Dictionary)v, globaltypes, pi.pt); - - else if (pi.isValueType) - oset = ChangeType(v, pi.changeType); - -#if SILVERLIGHT - else if (v is List) - oset = CreateArray((List)v, pi.pt, typeof(object), globaltypes); -#else - else if (v is ArrayList) - oset = CreateArray((ArrayList)v, pi.pt, typeof(object), globaltypes); -#endif - else - oset = v; - - if (pi.CanWrite) - pi.setter(o, oset); - } - } - } - return o; - } - -#if CUSTOMTYPE - private object CreateCustom(string v, Type type) - { - Deserialize d; - _customDeserializer.TryGetValue(type, out d); - return d(v); - } -#endif - - private void ProcessMap(object obj, SafeDictionary props, Dictionary dic) - { - foreach (KeyValuePair kv in dic) - { - myPropInfo p = props[kv.Key]; - object o = p.getter(obj); - Type t = Type.GetType((string)kv.Value); - if (t == typeof(Guid)) - p.setter(obj, CreateGuid((string)o)); - } - } - - private long CreateLong(string s) - { - long num = 0; - bool neg = false; - foreach (char cc in s) - { - if (cc == '-') - neg = true; - else if (cc == '+') - neg = false; - else - { - num *= 10; - num += (int)(cc - '0'); - } - } - - return neg ? -num : num; - } - - private object CreateEnum(Type pt, string v) - { - // TODO : optimize create enum -#if !SILVERLIGHT - return Enum.Parse(pt, v); -#else - return Enum.Parse(pt, v, true); -#endif - } - - private Guid CreateGuid(string s) - { - if (s.Length > 30) - return new Guid(s); - else - return new Guid(Convert.FromBase64String(s)); - } - - private DateTime CreateDateTime(string value) - { - bool utc = false; - // 0123456789012345678 - // datetime format = yyyy-MM-dd HH:mm:ss - int year = (int)CreateLong(value.Substring(0, 4)); - int month = (int)CreateLong(value.Substring(5, 2)); - int day = (int)CreateLong(value.Substring(8, 2)); - int hour = (int)CreateLong(value.Substring(11, 2)); - int min = (int)CreateLong(value.Substring(14, 2)); - int sec = (int)CreateLong(value.Substring(17, 2)); - - if (value.EndsWith("Z")) - utc = true; - - if (UseUTCDateTime == false && utc == false) - return new DateTime(year, month, day, hour, min, sec); - else - return new DateTime(year, month, day, hour, min, sec, DateTimeKind.Utc).ToLocalTime(); - } - -#if SILVERLIGHT - private object CreateArray(List data, Type pt, Type bt, Dictionary globalTypes) - { - Array col = Array.CreateInstance(bt, data.Count); - // create an array of objects - for (int i = 0; i < data.Count; i++)// each (object ob in data) - { - object ob = data[i]; - if (ob is IDictionary) - col.SetValue(ParseDictionary((Dictionary)ob, globalTypes, bt), i); - else - col.SetValue(ChangeType(ob, bt), i); - } - - return col; - } -#else - private object CreateArray(ArrayList data, Type pt, Type bt, Dictionary globalTypes) - { - ArrayList col = new ArrayList(); - // create an array of objects - foreach (object ob in data) - { - if (ob is IDictionary) - col.Add(ParseDictionary((Dictionary)ob, globalTypes, bt)); - else - col.Add(ChangeType(ob, bt)); - } - return col.ToArray(bt); - } -#endif - - -#if SILVERLIGHT - private object CreateGenericList(List data, Type pt, Type bt, Dictionary globalTypes) -#else - private object CreateGenericList(ArrayList data, Type pt, Type bt, Dictionary globalTypes) -#endif - { - IList col = (IList)FastCreateInstance(pt); - // create an array of objects - foreach (object ob in data) - { - if (ob is IDictionary) - col.Add(ParseDictionary((Dictionary)ob, globalTypes, bt)); -#if SILVERLIGHT - else if (ob is List) - col.Add(((List)ob).ToArray()); -#else - else if (ob is ArrayList) - col.Add(((ArrayList)ob).ToArray()); -#endif - else - col.Add(ChangeType(ob, bt)); - } - return col; - } - - private object CreateStringKeyDictionary(Dictionary reader, Type pt, Type[] types, Dictionary globalTypes) - { - var col = (IDictionary)FastCreateInstance(pt); - Type t1 = null; - Type t2 = null; - if (types != null) - { - t1 = types[0]; - t2 = types[1]; - } - - foreach (KeyValuePair values in reader) - { - var key = values.Key;//ChangeType(values.Key, t1); - object val = null; - if (values.Value is Dictionary) - val = ParseDictionary((Dictionary)values.Value, globalTypes, t2); - else - val = ChangeType(values.Value, t2); - col.Add(key, val); - } - - return col; - } - -#if SILVERLIGHT - private object CreateDictionary(List reader, Type pt, Type[] types, Dictionary globalTypes) -#else - private object CreateDictionary(ArrayList reader, Type pt, Type[] types, Dictionary globalTypes) -#endif - { - IDictionary col = (IDictionary)FastCreateInstance(pt); - Type t1 = null; - Type t2 = null; - if (types != null) - { - t1 = types[0]; - t2 = types[1]; - } - - foreach (Dictionary values in reader) - { - object key = values["k"]; - object val = values["v"]; - - if (key is Dictionary) - key = ParseDictionary((Dictionary)key, globalTypes, t1); - else - key = ChangeType(key, t1); - - if (val is Dictionary) - val = ParseDictionary((Dictionary)val, globalTypes, t2); - else - val = ChangeType(val, t2); - - col.Add(key, val); - } - - return col; - } - - private Type GetChangeType(Type conversionType) - { - if (conversionType.IsGenericType && conversionType.GetGenericTypeDefinition().Equals(typeof(Nullable<>))) - return conversionType.GetGenericArguments()[0]; - - return conversionType; - } -#if !SILVERLIGHT - private DataSet CreateDataset(Dictionary reader, Dictionary globalTypes) - { - DataSet ds = new DataSet(); - ds.EnforceConstraints = false; - ds.BeginInit(); - - // read dataset schema here - ReadSchema(reader, ds, globalTypes); - - foreach (KeyValuePair pair in reader) - { - if (pair.Key == "$type" || pair.Key == "$schema") continue; - - ArrayList rows = (ArrayList)pair.Value; - if (rows == null) continue; - - DataTable dt = ds.Tables[pair.Key]; - ReadDataTable(rows, dt); - } - - ds.EndInit(); - - return ds; - } - - private void ReadSchema(Dictionary reader, DataSet ds, Dictionary globalTypes) - { - var schema = reader["$schema"]; - - if (schema is string) - { - TextReader tr = new StringReader((string)schema); - ds.ReadXmlSchema(tr); - } - else - { - DatasetSchema ms = (DatasetSchema)ParseDictionary((Dictionary)schema, globalTypes, typeof(DatasetSchema)); - ds.DataSetName = ms.Name; - for (int i = 0; i < ms.Info.Count; i += 3) - { - if (ds.Tables.Contains(ms.Info[i]) == false) - ds.Tables.Add(ms.Info[i]); - ds.Tables[ms.Info[i]].Columns.Add(ms.Info[i + 1], Type.GetType(ms.Info[i + 2])); - } - } - } - - private void ReadDataTable(ArrayList rows, DataTable dt) - { - dt.BeginInit(); - dt.BeginLoadData(); - List guidcols = new List(); - List datecol = new List(); - - foreach (DataColumn c in dt.Columns) - { - if (c.DataType == typeof(Guid) || c.DataType == typeof(Guid?)) - guidcols.Add(c.Ordinal); - if (UseUTCDateTime && (c.DataType == typeof(DateTime) || c.DataType == typeof(DateTime?))) - datecol.Add(c.Ordinal); - } - - foreach (ArrayList row in rows) - { - object[] v = new object[row.Count]; - row.CopyTo(v, 0); - foreach (int i in guidcols) - { - string s = (string)v[i]; - if (s != null && s.Length < 36) - v[i] = new Guid(Convert.FromBase64String(s)); - } - if (UseUTCDateTime) - { - foreach (int i in datecol) - { - string s = (string)v[i]; - if (s != null) - v[i] = CreateDateTime(s); - } - } - dt.Rows.Add(v); - } - - dt.EndLoadData(); - dt.EndInit(); - } - - DataTable CreateDataTable(Dictionary reader, Dictionary globalTypes) - { - var dt = new DataTable(); - - // read dataset schema here - var schema = reader["$schema"]; - - if (schema is string) - { - TextReader tr = new StringReader((string)schema); - dt.ReadXmlSchema(tr); - } - else - { - var ms = (DatasetSchema)this.ParseDictionary((Dictionary)schema, globalTypes, typeof(DatasetSchema)); - dt.TableName = ms.Info[0]; - for (int i = 0; i < ms.Info.Count; i += 3) - { - dt.Columns.Add(ms.Info[i + 1], Type.GetType(ms.Info[i + 2])); - } - } - - foreach (var pair in reader) - { - if (pair.Key == "$type" || pair.Key == "$schema") - continue; - - var rows = (ArrayList)pair.Value; - if (rows == null) - continue; - - if (!dt.TableName.Equals(pair.Key, StringComparison.InvariantCultureIgnoreCase)) - continue; - - ReadDataTable(rows, dt); - } - - return dt; - } -#endif - } -} \ No newline at end of file diff --git a/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/JsonParser.cs b/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/JsonParser.cs deleted file mode 100644 index 569ce1769..000000000 --- a/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/JsonParser.cs +++ /dev/null @@ -1,408 +0,0 @@ -//http://fastjson.codeplex.com/ - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Text; - -namespace Exceptron.Driver.fastJSON -{ - /// - /// This class encodes and decodes JSON strings. - /// Spec. details, see http://www.json.org/ - /// - /// JSON uses Arrays and Objects. These correspond here to the datatypes ArrayList and Hashtable. - /// All numbers are parsed to doubles. - /// - internal class JsonParser - { - enum Token - { - None = -1, // Used to denote no Lookahead available - Curly_Open, - Curly_Close, - Squared_Open, - Squared_Close, - Colon, - Comma, - String, - Number, - True, - False, - Null - } - - readonly char[] json; - readonly StringBuilder s = new StringBuilder(); - Token lookAheadToken = Token.None; - int index; - - internal JsonParser(string json) - { - this.json = json.ToCharArray(); - } - - public object Decode() - { - return ParseValue(); - } - - private Dictionary ParseObject() - { - Dictionary table = new Dictionary(); - - ConsumeToken(); // { - - while (true) - { - switch (LookAhead()) - { - - case Token.Comma: - ConsumeToken(); - break; - - case Token.Curly_Close: - ConsumeToken(); - return table; - - default: - { - - // name - string name = ParseString(); - - // : - if (NextToken() != Token.Colon) - { - throw new Exception("Expected colon at index " + index); - } - - // value - object value = ParseValue(); - - table[name] = value; - } - break; - } - } - } - -#if SILVERLIGHT - private List ParseArray() - { - List array = new List(); -#else - private ArrayList ParseArray() - { - ArrayList array = new ArrayList(); -#endif - ConsumeToken(); // [ - - while (true) - { - switch (LookAhead()) - { - - case Token.Comma: - ConsumeToken(); - break; - - case Token.Squared_Close: - ConsumeToken(); - return array; - - default: - { - array.Add(ParseValue()); - } - break; - } - } - } - - private object ParseValue() - { - switch (LookAhead()) - { - case Token.Number: - return ParseNumber(); - - case Token.String: - return ParseString(); - - case Token.Curly_Open: - return ParseObject(); - - case Token.Squared_Open: - return ParseArray(); - - case Token.True: - ConsumeToken(); - return true; - - case Token.False: - ConsumeToken(); - return false; - - case Token.Null: - ConsumeToken(); - return null; - } - - throw new Exception("Unrecognized token at index" + index); - } - - private string ParseString() - { - ConsumeToken(); // " - - s.Length = 0; - - int runIndex = -1; - - while (index < json.Length) - { - var c = json[index++]; - - if (c == '"') - { - if (runIndex != -1) - { - if (s.Length == 0) - return new string(json, runIndex, index - runIndex - 1); - - s.Append(json, runIndex, index - runIndex - 1); - } - return s.ToString(); - } - - if (c != '\\') - { - if (runIndex == -1) - runIndex = index - 1; - - continue; - } - - if (index == json.Length) break; - - if (runIndex != -1) - { - s.Append(json, runIndex, index - runIndex - 1); - runIndex = -1; - } - - switch (json[index++]) - { - case '"': - s.Append('"'); - break; - - case '\\': - s.Append('\\'); - break; - - case '/': - s.Append('/'); - break; - - case 'b': - s.Append('\b'); - break; - - case 'f': - s.Append('\f'); - break; - - case 'n': - s.Append('\n'); - break; - - case 'r': - s.Append('\r'); - break; - - case 't': - s.Append('\t'); - break; - - case 'u': - { - int remainingLength = json.Length - index; - if (remainingLength < 4) break; - - // parse the 32 bit hex into an integer codepoint - uint codePoint = ParseUnicode(json[index], json[index + 1], json[index + 2], json[index + 3]); - s.Append((char)codePoint); - - // skip 4 chars - index += 4; - } - break; - } - } - - throw new Exception("Unexpectedly reached end of string"); - } - - private uint ParseSingleChar(char c1, uint multipliyer) - { - uint p1 = 0; - if (c1 >= '0' && c1 <= '9') - p1 = (uint)(c1 - '0') * multipliyer; - else if (c1 >= 'A' && c1 <= 'F') - p1 = (uint)((c1 - 'A') + 10) * multipliyer; - else if (c1 >= 'a' && c1 <= 'f') - p1 = (uint)((c1 - 'a') + 10) * multipliyer; - return p1; - } - - private uint ParseUnicode(char c1, char c2, char c3, char c4) - { - uint p1 = ParseSingleChar(c1, 0x1000); - uint p2 = ParseSingleChar(c2, 0x100); - uint p3 = ParseSingleChar(c3, 0x10); - uint p4 = ParseSingleChar(c4, 1); - - return p1 + p2 + p3 + p4; - } - - private string ParseNumber() - { - ConsumeToken(); - - // Need to start back one place because the first digit is also a token and would have been consumed - var startIndex = index - 1; - - do - { - var c = json[index]; - - if ((c >= '0' && c <= '9') || c == '.' || c == '-' || c == '+' || c == 'e' || c == 'E') - { - if (++index == json.Length) throw new Exception("Unexpected end of string whilst parsing number"); - continue; - } - - break; - } while (true); - - return new string(json, startIndex, index - startIndex); - } - - private Token LookAhead() - { - if (lookAheadToken != Token.None) return lookAheadToken; - - return lookAheadToken = NextTokenCore(); - } - - private void ConsumeToken() - { - lookAheadToken = Token.None; - } - - private Token NextToken() - { - var result = lookAheadToken != Token.None ? lookAheadToken : NextTokenCore(); - - lookAheadToken = Token.None; - - return result; - } - - private Token NextTokenCore() - { - char c; - - // Skip past whitespace - do - { - c = json[index]; - - if (c > ' ') break; - if (c != ' ' && c != '\t' && c != '\n' && c != '\r') break; - - } while (++index < json.Length); - - if (index == json.Length) - { - throw new Exception("Reached end of string unexpectedly"); - } - - c = json[index]; - - index++; - - //if (c >= '0' && c <= '9') - // return Token.Number; - - switch (c) - { - case '{': - return Token.Curly_Open; - - case '}': - return Token.Curly_Close; - - case '[': - return Token.Squared_Open; - - case ']': - return Token.Squared_Close; - - case ',': - return Token.Comma; - - case '"': - return Token.String; - - case '0': case '1': case '2': case '3': case '4': - case '5': case '6': case '7': case '8': case '9': - case '-': case '+': case '.': - return Token.Number; - - case ':': - return Token.Colon; - - case 'f': - if (json.Length - index >= 4 && - json[index + 0] == 'a' && - json[index + 1] == 'l' && - json[index + 2] == 's' && - json[index + 3] == 'e') - { - index += 4; - return Token.False; - } - break; - - case 't': - if (json.Length - index >= 3 && - json[index + 0] == 'r' && - json[index + 1] == 'u' && - json[index + 2] == 'e') - { - index += 3; - return Token.True; - } - break; - - case 'n': - if (json.Length - index >= 3 && - json[index + 0] == 'u' && - json[index + 1] == 'l' && - json[index + 2] == 'l') - { - index += 3; - return Token.Null; - } - break; - - } - - throw new Exception("Could not find token at index " + --index); - } - } -} diff --git a/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/JsonSerializer.cs b/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/JsonSerializer.cs deleted file mode 100644 index 439471fae..000000000 --- a/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/JsonSerializer.cs +++ /dev/null @@ -1,518 +0,0 @@ -//http://fastjson.codeplex.com/ - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Data; -using System.Globalization; -using System.IO; -using System.Text; - -namespace Exceptron.Driver.fastJSON -{ - internal class JSONSerializer - { - private readonly StringBuilder _output = new StringBuilder(); - readonly bool useMinimalDataSetSchema; - readonly bool fastguid = true; - readonly bool useExtension = true; - readonly bool serializeNulls = true; - readonly int _MAX_DEPTH = 10; - bool _Indent = false; - bool _useGlobalTypes = true; - int _current_depth = 0; - private Dictionary _globalTypes = new Dictionary(); - - internal JSONSerializer(bool UseMinimalDataSetSchema, bool UseFastGuid, bool UseExtensions, bool SerializeNulls, bool IndentOutput) - { - this.useMinimalDataSetSchema = UseMinimalDataSetSchema; - this.fastguid = UseFastGuid; - this.useExtension = UseExtensions; - _Indent = IndentOutput; - this.serializeNulls = SerializeNulls; - if (useExtension == false) - _useGlobalTypes = false; - } - - internal string ConvertToJSON(object obj) - { - WriteValue(obj); - - string str = ""; - if (_useGlobalTypes) - { - StringBuilder sb = new StringBuilder(); - sb.Append("{\"$types\":{"); - bool pendingSeparator = false; - foreach (var kv in _globalTypes) - { - if (pendingSeparator) sb.Append(','); - pendingSeparator = true; - sb.Append("\""); - sb.Append(kv.Key); - sb.Append("\":\""); - sb.Append(kv.Value); - sb.Append("\""); - } - sb.Append("},"); - str = sb.ToString() + _output.ToString(); - } - else - str = _output.ToString(); - - return str; - } - - private void WriteValue(object obj) - { - if (obj == null || obj is DBNull) - _output.Append("null"); - - else if (obj is string || obj is char) - WriteString((string)obj); - - else if (obj is Guid) - WriteGuid((Guid)obj); - - else if (obj is bool) - _output.Append(((bool)obj) ? "true" : "false"); // conform to standard - - else if ( - obj is int || obj is long || obj is double || - obj is decimal || obj is float || - obj is byte || obj is short || - obj is sbyte || obj is ushort || - obj is uint || obj is ulong - ) - _output.Append(((IConvertible)obj).ToString(NumberFormatInfo.InvariantInfo)); - - else if (obj is DateTime) - WriteDateTime((DateTime)obj); - - else if (obj is IDictionary && obj.GetType().IsGenericType && obj.GetType().GetGenericArguments()[0] == typeof(string)) - WriteStringDictionary((IDictionary)obj); - - else if (obj is IDictionary) - WriteDictionary((IDictionary)obj); -#if !SILVERLIGHT - else if (obj is DataSet) - WriteDataset((DataSet)obj); - - else if (obj is DataTable) - this.WriteDataTable((DataTable)obj); -#endif - else if (obj is byte[]) - WriteBytes((byte[])obj); - - else if (obj is Array || obj is IList || obj is ICollection) - WriteArray((IEnumerable)obj); - - else if (obj is Enum) - WriteEnum((Enum)obj); - -#if CUSTOMTYPE - else if (JSON.Instance.IsTypeRegistered(obj.GetType())) - WriteCustom(obj); -#endif - else - WriteObject(obj); - } - -#if CUSTOMTYPE - private void WriteCustom(object obj) - { - Serialize s; - JSON.Instance._customSerializer.TryGetValue(obj.GetType(), out s); - WriteStringFast(s(obj)); - } -#endif - - private void WriteEnum(Enum e) - { - // TODO : optimize enum write - WriteStringFast(e.ToString()); - } - - private void WriteGuid(Guid g) - { - if (fastguid == false) - WriteStringFast(g.ToString()); - else - WriteBytes(g.ToByteArray()); - } - - private void WriteBytes(byte[] bytes) - { -#if !SILVERLIGHT - WriteStringFast(Convert.ToBase64String(bytes, 0, bytes.Length, Base64FormattingOptions.None)); -#else - WriteStringFast(Convert.ToBase64String(bytes, 0, bytes.Length)); -#endif - } - - private void WriteDateTime(DateTime dateTime) - { - // datetime format standard : yyyy-MM-dd HH:mm:ss - DateTime dt = dateTime; - if (JSON.Instance.UseUTCDateTime) - dt = dateTime.ToUniversalTime(); - - _output.Append("\""); - _output.Append(dt.Year.ToString("0000", NumberFormatInfo.InvariantInfo)); - _output.Append("-"); - _output.Append(dt.Month.ToString("00", NumberFormatInfo.InvariantInfo)); - _output.Append("-"); - _output.Append(dt.Day.ToString("00", NumberFormatInfo.InvariantInfo)); - _output.Append(" "); - _output.Append(dt.Hour.ToString("00", NumberFormatInfo.InvariantInfo)); - _output.Append(":"); - _output.Append(dt.Minute.ToString("00", NumberFormatInfo.InvariantInfo)); - _output.Append(":"); - _output.Append(dt.Second.ToString("00", NumberFormatInfo.InvariantInfo)); - - if (JSON.Instance.UseUTCDateTime) - _output.Append("Z"); - - _output.Append("\""); - } -#if !SILVERLIGHT - private DatasetSchema GetSchema(DataTable ds) - { - if (ds == null) return null; - - DatasetSchema m = new DatasetSchema(); - m.Info = new List(); - m.Name = ds.TableName; - - foreach (DataColumn c in ds.Columns) - { - m.Info.Add(ds.TableName); - m.Info.Add(c.ColumnName); - m.Info.Add(c.DataType.ToString()); - } - // TODO : serialize relations and constraints here - - return m; - } - - private DatasetSchema GetSchema(DataSet ds) - { - if (ds == null) return null; - - DatasetSchema m = new DatasetSchema(); - m.Info = new List(); - m.Name = ds.DataSetName; - - foreach (DataTable t in ds.Tables) - { - foreach (DataColumn c in t.Columns) - { - m.Info.Add(t.TableName); - m.Info.Add(c.ColumnName); - m.Info.Add(c.DataType.ToString()); - } - } - // TODO : serialize relations and constraints here - - return m; - } - - private string GetXmlSchema(DataTable dt) - { - using (var writer = new StringWriter()) - { - dt.WriteXmlSchema(writer); - return dt.ToString(); - } - } - - private void WriteDataset(DataSet ds) - { - _output.Append('{'); - if (useExtension) - { - WritePair("$schema", useMinimalDataSetSchema ? (object)GetSchema(ds) : ds.GetXmlSchema()); - _output.Append(','); - } - bool tablesep = false; - foreach (DataTable table in ds.Tables) - { - if (tablesep) _output.Append(","); - tablesep = true; - WriteDataTableData(table); - } - // end dataset - _output.Append('}'); - } - - private void WriteDataTableData(DataTable table) - { - _output.Append('\"'); - _output.Append(table.TableName); - _output.Append("\":["); - DataColumnCollection cols = table.Columns; - bool rowseparator = false; - foreach (DataRow row in table.Rows) - { - if (rowseparator) _output.Append(","); - rowseparator = true; - _output.Append('['); - - bool pendingSeperator = false; - foreach (DataColumn column in cols) - { - if (pendingSeperator) _output.Append(','); - WriteValue(row[column]); - pendingSeperator = true; - } - _output.Append(']'); - } - - _output.Append(']'); - } - - void WriteDataTable(DataTable dt) - { - this._output.Append('{'); - if (this.useExtension) - { - this.WritePair("$schema", this.useMinimalDataSetSchema ? (object)this.GetSchema(dt) : this.GetXmlSchema(dt)); - this._output.Append(','); - } - - WriteDataTableData(dt); - - // end datatable - this._output.Append('}'); - } -#endif - bool _firstWritten = false; - private void WriteObject(object obj) - { - Indent(); - if (_useGlobalTypes == false) - _output.Append('{'); - else - { - if (_firstWritten) - _output.Append("{"); - } - _firstWritten = true; - _current_depth++; - if (_current_depth > _MAX_DEPTH) - throw new Exception("Serializer encountered maximum depth of " + _MAX_DEPTH); - - - Dictionary map = new Dictionary(); - Type t = obj.GetType(); - bool append = false; - if (useExtension) - { - if (_useGlobalTypes == false) - WritePairFast("$type", JSON.Instance.GetTypeAssemblyName(t)); - else - { - int dt = 0; - string ct = JSON.Instance.GetTypeAssemblyName(t); - if (_globalTypes.TryGetValue(ct, out dt) == false) - { - dt = _globalTypes.Count + 1; - _globalTypes.Add(ct, dt); - } - WritePairFast("$type", dt.ToString()); - } - append = true; - } - - List g = JSON.Instance.GetGetters(t); - foreach (var p in g) - { - if (append) - _output.Append(','); - object o = p.Getter(obj); - if ((o == null || o is DBNull) && serializeNulls == false) - append = false; - else - { - WritePair(p.Name, o); - if (o != null && useExtension) - { - Type tt = o.GetType(); - if (tt == typeof(System.Object)) - map.Add(p.Name, tt.ToString()); - } - append = true; - } - } - if (map.Count > 0 && useExtension) - { - _output.Append(",\"$map\":"); - WriteStringDictionary(map); - } - _current_depth--; - Indent(); - _output.Append('}'); - _current_depth--; - - } - - private void Indent() - { - Indent(false); - } - - private void Indent(bool dec) - { - if (_Indent) - { - _output.Append("\r\n"); - for (int i = 0; i < _current_depth - (dec ? 1 : 0); i++) - _output.Append("\t"); - } - } - - private void WritePairFast(string name, string value) - { - if ((value == null) && serializeNulls == false) - return; - Indent(); - WriteStringFast(name); - - _output.Append(':'); - - WriteStringFast(value); - } - - private void WritePair(string name, object value) - { - if ((value == null || value is DBNull) && serializeNulls == false) - return; - Indent(); - WriteStringFast(name); - - _output.Append(':'); - - WriteValue(value); - } - - private void WriteArray(IEnumerable array) - { - Indent(); - _output.Append('['); - - bool pendingSeperator = false; - - foreach (object obj in array) - { - Indent(); - if (pendingSeperator) _output.Append(','); - - WriteValue(obj); - - pendingSeperator = true; - } - Indent(); - _output.Append(']'); - } - - private void WriteStringDictionary(IDictionary dic) - { - Indent(); - _output.Append('{'); - - bool pendingSeparator = false; - - foreach (DictionaryEntry entry in dic) - { - if (pendingSeparator) _output.Append(','); - - WritePair((string)entry.Key, entry.Value); - - pendingSeparator = true; - } - Indent(); - _output.Append('}'); - } - - private void WriteDictionary(IDictionary dic) - { - Indent(); - _output.Append('['); - - bool pendingSeparator = false; - - foreach (DictionaryEntry entry in dic) - { - if (pendingSeparator) _output.Append(','); - Indent(); - _output.Append('{'); - WritePair("k", entry.Key); - _output.Append(","); - WritePair("v", entry.Value); - Indent(); - _output.Append('}'); - - pendingSeparator = true; - } - Indent(); - _output.Append(']'); - } - - private void WriteStringFast(string s) - { - //Indent(); - _output.Append('\"'); - _output.Append(s); - _output.Append('\"'); - } - - private void WriteString(string s) - { - //Indent(); - _output.Append('\"'); - - int runIndex = -1; - - for (var index = 0; index < s.Length; ++index) - { - var c = s[index]; - - if (c >= ' ' && c < 128 && c != '\"' && c != '\\') - { - if (runIndex == -1) - { - runIndex = index; - } - - continue; - } - - if (runIndex != -1) - { - _output.Append(s, runIndex, index - runIndex); - runIndex = -1; - } - - switch (c) - { - case '\t': _output.Append("\\t"); break; - case '\r': _output.Append("\\r"); break; - case '\n': _output.Append("\\n"); break; - case '"': - case '\\': _output.Append('\\'); _output.Append(c); break; - default: - _output.Append("\\u"); - _output.Append(((int)c).ToString("X4", NumberFormatInfo.InvariantInfo)); - break; - } - } - - if (runIndex != -1) - { - _output.Append(s, runIndex, s.Length - runIndex); - } - - _output.Append('\"'); - } - } -} diff --git a/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/SafeDictionary.cs b/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/SafeDictionary.cs deleted file mode 100644 index 191975fb4..000000000 --- a/packages/Exceptron.Driver.0.1.0.17/src/fastJSON/SafeDictionary.cs +++ /dev/null @@ -1,39 +0,0 @@ -//http://fastjson.codeplex.com/ - -using System.Collections.Generic; - -namespace Exceptron.Driver.fastJSON -{ - internal class SafeDictionary - { - private readonly object _Padlock = new object(); - private readonly Dictionary _Dictionary = new Dictionary(); - - - public bool TryGetValue(TKey key, out TValue value) - { - return _Dictionary.TryGetValue(key, out value); - } - - public TValue this[TKey key] - { - get - { - return _Dictionary[key]; - } - } - public IEnumerator> GetEnumerator() - { - return ((ICollection>)_Dictionary).GetEnumerator(); - } - - public void Add(TKey key, TValue value) - { - lock (_Padlock) - { - if (_Dictionary.ContainsKey(key) == false) - _Dictionary.Add(key, value); - } - } - } -} diff --git a/packages/Exceptron.Driver.0.1.0.30/Exceptron.Driver.0.1.0.30.nupkg b/packages/Exceptron.Driver.0.1.0.30/Exceptron.Driver.0.1.0.30.nupkg new file mode 100644 index 000000000..445b8e732 Binary files /dev/null and b/packages/Exceptron.Driver.0.1.0.30/Exceptron.Driver.0.1.0.30.nupkg differ diff --git a/packages/Exceptron.Driver.0.1.0.30/lib/net20/Exceptron.Driver.dll b/packages/Exceptron.Driver.0.1.0.30/lib/net20/Exceptron.Driver.dll new file mode 100644 index 000000000..c9a96ac93 Binary files /dev/null and b/packages/Exceptron.Driver.0.1.0.30/lib/net20/Exceptron.Driver.dll differ diff --git a/packages/Exceptron.Driver.0.1.0.5/src/ExceptionClient.cs b/packages/Exceptron.Driver.0.1.0.5/src/ExceptionClient.cs deleted file mode 100644 index 34ae66647..000000000 --- a/packages/Exceptron.Driver.0.1.0.5/src/ExceptionClient.cs +++ /dev/null @@ -1,137 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Net; -using System.Reflection; -using System.Text; -using Exceptron.Driver.fastJSON; - -namespace Exceptron.Driver -{ - public class ExceptionClient - { - private const string DriverName = "Official .NET"; - - private static readonly string DriverVersion = Assembly.GetExecutingAssembly().GetName().Version.ToString(); - - private readonly string _serverUrl; - private readonly string _appId; - private readonly string _appVersion; - - public bool ThrowsExceptions { get; set; } - public string Enviroment { get; set; } - - public ExceptionClient(string appId, string appVersion, Uri serverUrl) - { - _appId = appId; - _appVersion = appVersion; - _serverUrl = serverUrl.ToString(); - } - - - internal static List ConvertToFrames(Exception exception) - { - if (exception == null) return null; - - var stackTrace = new StackTrace(exception, true); - - var frames = stackTrace.GetFrames(); - - if (frames == null) return null; - - var result = new List(); - - foreach (var frame in frames) - { - - var method = frame.GetMethod(); - var declaringType = method.DeclaringType; - - var currentFrame = new Frame - { - FileName = frame.GetFileName(), - LineNumber = frame.GetFileLineNumber(), - }; - - currentFrame.Method = method.ToString(); - - currentFrame.Method = currentFrame.Method.Substring(currentFrame.Method.IndexOf(' ')).Trim(); - - - - if (declaringType != null) - { - currentFrame.Class = declaringType.FullName; - } - - result.Add(currentFrame); - } - - - return result; - } - - public string SubmitException(ExceptionData exceptionData) - { - try - { - VerifyErrorData(exceptionData); - - var report = new ExceptionReport(); - - report.AppId = _appId; - report.DriverName = DriverName; - report.DriverVersion = DriverVersion; - report.AppVersion = _appVersion; - - report.ExceptionType = exceptionData.Exception.GetType().FullName; - report.ExceptionMessage = exceptionData.Exception.Message; - report.StackTrace = ConvertToFrames(exceptionData.Exception); - - report.Location = exceptionData.Location; - report.Uid = exceptionData.UserId; - report.Enviroment = Enviroment; - report.Message = exceptionData.Message; - - var response = PutObject(report); - return response; - } - catch (Exception) - { - if (ThrowsExceptions) throw; - return null; - } - } - - private void VerifyErrorData(ExceptionData exceptionData) - { - if (exceptionData == null) - throw new ArgumentNullException("exceptionData"); - - if (exceptionData.Exception == null) - throw new ArgumentException("ExceptionData.Exception Cannot be null.", "exceptionData"); - } - - private string PutObject(ExceptionReport exceptionReport) - { - string exceptionData = JSON.Instance.ToJSON(exceptionReport); - byte[] bytes = Encoding.UTF8.GetBytes(exceptionData); - var request = (HttpWebRequest)WebRequest.Create(_serverUrl); - request.Method = "PUT"; - request.ContentType = "application/json"; - request.ContentLength = bytes.Length; - request.Accept = "application/json"; - - var dataStream = request.GetRequestStream(); - dataStream.Write(bytes, 0, bytes.Length); - dataStream.Close(); - - var responseStream = new StreamReader(request.GetResponse().GetResponseStream(), Encoding.GetEncoding(1252)); - - string response = responseStream.ReadToEnd(); - - return response; - } - } -} diff --git a/packages/Exceptron.Driver.0.1.0.5/src/ExceptionData.cs b/packages/Exceptron.Driver.0.1.0.5/src/ExceptionData.cs deleted file mode 100644 index 20fda0172..000000000 --- a/packages/Exceptron.Driver.0.1.0.5/src/ExceptionData.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; - -namespace Exceptron.Driver -{ - public class ExceptionData - { - public Exception Exception { get; set; } - public string Location { get; set; } - public string UserId { get; set; } - public string Message { get; set; } - } -} \ No newline at end of file diff --git a/packages/Exceptron.Driver.0.1.0.5/src/ExceptionReport.cs b/packages/Exceptron.Driver.0.1.0.5/src/ExceptionReport.cs deleted file mode 100644 index a645a2941..000000000 --- a/packages/Exceptron.Driver.0.1.0.5/src/ExceptionReport.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System.Collections.Generic; -using System.ComponentModel; - -namespace Exceptron.Driver -{ - [EditorBrowsable(EditorBrowsableState.Never)] - public class ExceptionReport - { - public string AppId { get; set; } - public string AppVersion { get; set; } - public string Uid { get; set; } - public string ExceptionType { get; set; } - public string ExceptionMessage { get; set; } - public List StackTrace { get; set; } - public string Location { get; set; } - public string Enviroment { get; set; } - public string Message { get; set; } - - public string DriverName { get; set; } - public string DriverVersion { get; set; } - } -} \ No newline at end of file diff --git a/packages/Exceptron.Driver.0.1.0.5/src/Frame.cs b/packages/Exceptron.Driver.0.1.0.5/src/Frame.cs deleted file mode 100644 index d22f98b68..000000000 --- a/packages/Exceptron.Driver.0.1.0.5/src/Frame.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Exceptron.Driver -{ - public class Frame - { - public int LineNumber { get; set; } - public string FileName { get; set; } - public string Method { get; set; } - public string Class { get; set; } - } -} \ No newline at end of file diff --git a/packages/Exceptron.Driver.0.1.0.5/src/Properties/AssemblyInfo.cs b/packages/Exceptron.Driver.0.1.0.5/src/Properties/AssemblyInfo.cs deleted file mode 100644 index fc88669bc..000000000 --- a/packages/Exceptron.Driver.0.1.0.5/src/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("Exceptron.Driver")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Exceptron.Driver")] -[assembly: AssemblyCopyright("Copyright © 2012")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("a463887e-594f-4733-b227-a79f4ffb2158")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: InternalsVisibleTo("Exceptron.Driver.Tests")] diff --git a/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/Getters.cs b/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/Getters.cs deleted file mode 100644 index 5263a13bc..000000000 --- a/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/Getters.cs +++ /dev/null @@ -1,21 +0,0 @@ -//http://fastjson.codeplex.com/ - -using System; -using System.Collections.Generic; -using Exceptron.Driver.fastJSON; - -namespace Exceptron.Driver.fastJSON -{ - internal class Getters - { - public string Name; - public JSON.GenericGetter Getter; - public Type propertyType; - } - - internal class DatasetSchema - { - public List Info { get; set; } - public string Name { get; set; } - } -} diff --git a/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/JSON.cs b/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/JSON.cs deleted file mode 100644 index aae0142a8..000000000 --- a/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/JSON.cs +++ /dev/null @@ -1,906 +0,0 @@ -//http://fastjson.codeplex.com/ - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Data; -using System.Globalization; -using System.IO; -using System.Reflection; -using System.Reflection.Emit; -using Exceptron.Driver.fastJSON; - -namespace Exceptron.Driver.fastJSON -{ - internal delegate string Serialize(object data); - internal delegate object Deserialize(string data); - - internal class JSON - { - public readonly static JSON Instance = new JSON(); - - private JSON() - { - } - public bool UseOptimizedDatasetSchema = true; - public bool UseFastGuid = true; - public bool UseSerializerExtension = true; - public bool IndentOutput = false; - public bool SerializeNullValues = true; - public bool UseUTCDateTime = false; - public bool ShowReadOnlyProperties = false; - public bool UsingGlobalTypes = true; - - public string ToJSON(object obj) - { - return ToJSON(obj, UseSerializerExtension, UseFastGuid, UseOptimizedDatasetSchema, SerializeNullValues); - } - - public string ToJSON(object obj, - bool enableSerializerExtensions) - { - return ToJSON(obj, enableSerializerExtensions, UseFastGuid, UseOptimizedDatasetSchema, SerializeNullValues); - } - - public string ToJSON(object obj, - bool enableSerializerExtensions, - bool enableFastGuid) - { - return ToJSON(obj, enableSerializerExtensions, enableFastGuid, UseOptimizedDatasetSchema, SerializeNullValues); - } - - public string ToJSON(object obj, - bool enableSerializerExtensions, - bool enableFastGuid, - bool enableOptimizedDatasetSchema, - bool serializeNullValues) - { - return new JSONSerializer(enableOptimizedDatasetSchema, enableFastGuid, enableSerializerExtensions, serializeNullValues, IndentOutput).ConvertToJSON(obj); - } - - public object Parse(string json) - { - return new JsonParser(json).Decode(); - } - - public T ToObject(string json) - { - return (T)ToObject(json, typeof(T)); - } - - public object ToObject(string json) - { - return ToObject(json, null); - } - - public object ToObject(string json, Type type) - { - Dictionary ht = new JsonParser(json).Decode() as Dictionary; - if (ht == null) return null; - return ParseDictionary(ht, null, type); - } - -#if CUSTOMTYPE - internal SafeDictionary _customSerializer = new SafeDictionary(); - internal SafeDictionary _customDeserializer = new SafeDictionary(); - - public void RegisterCustomType(Type type, Serialize serializer, Deserialize deserializer) - { - if (type != null && serializer != null && deserializer != null) - { - _customSerializer.Add(type, serializer); - _customDeserializer.Add(type, deserializer); - // reset property cache - _propertycache = new SafeDictionary>(); - } - } - - internal bool IsTypeRegistered(Type t) - { - Serialize s; - return _customSerializer.TryGetValue(t, out s); - } -#endif - - #region [ PROPERTY GET SET CACHE ] - SafeDictionary _tyname = new SafeDictionary(); - internal string GetTypeAssemblyName(Type t) - { - string val = ""; - if (_tyname.TryGetValue(t, out val)) - return val; - else - { - string s = t.AssemblyQualifiedName; - _tyname.Add(t, s); - return s; - } - } - - SafeDictionary _typecache = new SafeDictionary(); - private Type GetTypeFromCache(string typename) - { - Type val = null; - if (_typecache.TryGetValue(typename, out val)) - return val; - else - { - Type t = Type.GetType(typename); - _typecache.Add(typename, t); - return t; - } - } - - SafeDictionary _constrcache = new SafeDictionary(); - private delegate object CreateObject(); - private object FastCreateInstance(Type objtype) - { - try - { - CreateObject c = null; - if (_constrcache.TryGetValue(objtype, out c)) - { - return c(); - } - else - { - DynamicMethod dynMethod = new DynamicMethod("_", objtype, null); - ILGenerator ilGen = dynMethod.GetILGenerator(); - - ilGen.Emit(OpCodes.Newobj, objtype.GetConstructor(Type.EmptyTypes)); - ilGen.Emit(OpCodes.Ret); - c = (CreateObject)dynMethod.CreateDelegate(typeof(CreateObject)); - _constrcache.Add(objtype, c); - return c(); - } - } - catch (Exception exc) - { - throw new Exception(string.Format("Failed to fast create instance for type '{0}' from assemebly '{1}'", - objtype.FullName, objtype.AssemblyQualifiedName), exc); - } - } - - private struct myPropInfo - { - public bool filled; - public Type pt; - public Type bt; - public Type changeType; - public bool isDictionary; - public bool isValueType; - public bool isGenericType; - public bool isArray; - public bool isByteArray; - public bool isGuid; -#if !SILVERLIGHT - public bool isDataSet; - public bool isDataTable; - public bool isHashtable; -#endif - public GenericSetter setter; - public bool isEnum; - public bool isDateTime; - public Type[] GenericTypes; - public bool isInt; - public bool isLong; - public bool isString; - public bool isBool; - public bool isClass; - public GenericGetter getter; - public bool isStringDictionary; - public string Name; -#if CUSTOMTYPE - public bool isCustomType; -#endif - public bool CanWrite; - } - - SafeDictionary> _propertycache = new SafeDictionary>(); - private SafeDictionary Getproperties(Type type, string typename) - { - SafeDictionary sd = null; - if (_propertycache.TryGetValue(typename, out sd)) - { - return sd; - } - else - { - sd = new SafeDictionary(); - PropertyInfo[] pr = type.GetProperties(BindingFlags.Public | BindingFlags.Instance); - foreach (PropertyInfo p in pr) - { - myPropInfo d = CreateMyProp(p.PropertyType, p.Name); - d.CanWrite = p.CanWrite; - d.setter = CreateSetMethod(p); - d.getter = CreateGetMethod(p); - sd.Add(p.Name, d); - } - FieldInfo[] fi = type.GetFields(BindingFlags.Public | BindingFlags.Instance); - foreach (FieldInfo f in fi) - { - myPropInfo d = CreateMyProp(f.FieldType, f.Name); - d.setter = CreateSetField(type, f); - d.getter = CreateGetField(type, f); - sd.Add(f.Name, d); - } - - _propertycache.Add(typename, sd); - return sd; - } - } - - private myPropInfo CreateMyProp(Type t, string name) - { - myPropInfo d = new myPropInfo(); - d.filled = true; - d.CanWrite = true; - d.pt = t; - d.Name = name; - d.isDictionary = t.Name.Contains("Dictionary"); - if (d.isDictionary) - d.GenericTypes = t.GetGenericArguments(); - d.isValueType = t.IsValueType; - d.isGenericType = t.IsGenericType; - d.isArray = t.IsArray; - if (d.isArray) - d.bt = t.GetElementType(); - if (d.isGenericType) - d.bt = t.GetGenericArguments()[0]; - d.isByteArray = t == typeof(byte[]); - d.isGuid = (t == typeof(Guid) || t == typeof(Guid?)); -#if !SILVERLIGHT - d.isHashtable = t == typeof(Hashtable); - d.isDataSet = t == typeof(DataSet); - d.isDataTable = t == typeof(DataTable); -#endif - - d.changeType = GetChangeType(t); - d.isEnum = t.IsEnum; - d.isDateTime = t == typeof(DateTime) || t == typeof(DateTime?); - d.isInt = t == typeof(int) || t == typeof(int?); - d.isLong = t == typeof(long) || t == typeof(long?); - d.isString = t == typeof(string); - d.isBool = t == typeof(bool) || t == typeof(bool?); - d.isClass = t.IsClass; - - if (d.isDictionary && d.GenericTypes.Length>0 && d.GenericTypes[0] == typeof(string)) - d.isStringDictionary = true; - -#if CUSTOMTYPE - if (IsTypeRegistered(t)) - d.isCustomType = true; -#endif - return d; - } - - private delegate void GenericSetter(object target, object value); - - private static GenericSetter CreateSetMethod(PropertyInfo propertyInfo) - { - MethodInfo setMethod = propertyInfo.GetSetMethod(); - if (setMethod == null) - return null; - - Type[] arguments = new Type[2]; - arguments[0] = arguments[1] = typeof(object); - - DynamicMethod setter = new DynamicMethod("_", typeof(void), arguments); - ILGenerator il = setter.GetILGenerator(); - il.Emit(OpCodes.Ldarg_0); - il.Emit(OpCodes.Castclass, propertyInfo.DeclaringType); - il.Emit(OpCodes.Ldarg_1); - - if (propertyInfo.PropertyType.IsClass) - il.Emit(OpCodes.Castclass, propertyInfo.PropertyType); - else - il.Emit(OpCodes.Unbox_Any, propertyInfo.PropertyType); - - il.EmitCall(OpCodes.Callvirt, setMethod, null); - il.Emit(OpCodes.Ret); - - return (GenericSetter)setter.CreateDelegate(typeof(GenericSetter)); - } - - internal delegate object GenericGetter(object obj); - - private static GenericGetter CreateGetField(Type type, FieldInfo fieldInfo) - { - DynamicMethod dynamicGet = new DynamicMethod("_", typeof(object), new Type[] { typeof(object) }, type, true); - ILGenerator il = dynamicGet.GetILGenerator(); - - il.Emit(OpCodes.Ldarg_0); - il.Emit(OpCodes.Ldfld, fieldInfo); - if (fieldInfo.FieldType.IsValueType) - il.Emit(OpCodes.Box, fieldInfo.FieldType); - il.Emit(OpCodes.Ret); - - return (GenericGetter)dynamicGet.CreateDelegate(typeof(GenericGetter)); - } - - private static GenericSetter CreateSetField(Type type, FieldInfo fieldInfo) - { - Type[] arguments = new Type[2]; - arguments[0] = arguments[1] = typeof(object); - - DynamicMethod dynamicSet = new DynamicMethod("_", typeof(void), arguments, type, true); - ILGenerator il = dynamicSet.GetILGenerator(); - - il.Emit(OpCodes.Ldarg_0); - il.Emit(OpCodes.Ldarg_1); - if (fieldInfo.FieldType.IsValueType) - il.Emit(OpCodes.Unbox_Any, fieldInfo.FieldType); - il.Emit(OpCodes.Stfld, fieldInfo); - il.Emit(OpCodes.Ret); - - return (GenericSetter)dynamicSet.CreateDelegate(typeof(GenericSetter)); - } - - private GenericGetter CreateGetMethod(PropertyInfo propertyInfo) - { - MethodInfo getMethod = propertyInfo.GetGetMethod(); - if (getMethod == null) - return null; - - Type[] arguments = new Type[1]; - arguments[0] = typeof(object); - - DynamicMethod getter = new DynamicMethod("_", typeof(object), arguments); - ILGenerator il = getter.GetILGenerator(); - il.Emit(OpCodes.Ldarg_0); - il.Emit(OpCodes.Castclass, propertyInfo.DeclaringType); - il.EmitCall(OpCodes.Callvirt, getMethod, null); - - if (!propertyInfo.PropertyType.IsClass) - il.Emit(OpCodes.Box, propertyInfo.PropertyType); - - il.Emit(OpCodes.Ret); - - return (GenericGetter)getter.CreateDelegate(typeof(GenericGetter)); - } - - readonly SafeDictionary> _getterscache = new SafeDictionary>(); - internal List GetGetters(Type type) - { - List val = null; - if (_getterscache.TryGetValue(type, out val)) - return val; - - PropertyInfo[] props = type.GetProperties(BindingFlags.Public | BindingFlags.Instance); - List getters = new List(); - foreach (PropertyInfo p in props) - { - if (!p.CanWrite && ShowReadOnlyProperties == false) continue; - - object[] att = p.GetCustomAttributes(typeof(System.Xml.Serialization.XmlIgnoreAttribute), false); - if (att != null && att.Length > 0) - continue; - - JSON.GenericGetter g = CreateGetMethod(p); - if (g != null) - { - Getters gg = new Getters(); - gg.Name = p.Name; - gg.Getter = g; - gg.propertyType = p.PropertyType; - getters.Add(gg); - } - } - - FieldInfo[] fi = type.GetFields(BindingFlags.Instance | BindingFlags.Public); - foreach (var f in fi) - { - object[] att = f.GetCustomAttributes(typeof(System.Xml.Serialization.XmlIgnoreAttribute), false); - if (att != null && att.Length > 0) - continue; - - JSON.GenericGetter g = CreateGetField(type, f); - if (g != null) - { - Getters gg = new Getters(); - gg.Name = f.Name; - gg.Getter = g; - gg.propertyType = f.FieldType; - getters.Add(gg); - } - } - - _getterscache.Add(type, getters); - return getters; - } - - private object ChangeType(object value, Type conversionType) - { - if (conversionType == typeof(int)) - return (int)CreateLong((string)value); - - else if (conversionType == typeof(long)) - return CreateLong((string)value); - - else if (conversionType == typeof(string)) - return (string)value; - - else if (conversionType == typeof(Guid)) - return CreateGuid((string)value); - - else if (conversionType.IsEnum) - return CreateEnum(conversionType, (string)value); - - return Convert.ChangeType(value, conversionType, CultureInfo.InvariantCulture); - } - #endregion - - - private object ParseDictionary(Dictionary d, Dictionary globaltypes, Type type) - { - object tn = ""; - if (d.TryGetValue("$types", out tn)) - { - UsingGlobalTypes = true; - globaltypes = new Dictionary(); - foreach (var kv in (Dictionary)tn) - { - globaltypes.Add((string)kv.Value, kv.Key); - } - } - - bool found = d.TryGetValue("$type", out tn); -#if !SILVERLIGHT - if (found == false && type == typeof(System.Object)) - { - return CreateDataset(d, globaltypes); - } -#endif - if (found) - { - if (UsingGlobalTypes) - { - object tname = ""; - if (globaltypes.TryGetValue((string)tn, out tname)) - tn = tname; - } - type = GetTypeFromCache((string)tn); - } - - if (type == null) - throw new Exception("Cannot determine type"); - - string typename = type.FullName; - object o = FastCreateInstance(type); - SafeDictionary props = Getproperties(type, typename); - foreach (string name in d.Keys) - { - if (name == "$map") - { - ProcessMap(o, props, (Dictionary)d[name]); - continue; - } - myPropInfo pi; - if (props.TryGetValue(name, out pi) == false) - continue; - if (pi.filled == true) - { - object v = d[name]; - - if (v != null) - { - object oset = null; - - if (pi.isInt) - oset = (int)CreateLong((string)v); -#if CUSTOMTYPE - else if (pi.isCustomType) - oset = CreateCustom((string)v, pi.pt); -#endif - else if (pi.isLong) - oset = CreateLong((string)v); - - else if (pi.isString) - oset = (string)v; - - else if (pi.isBool) - oset = (bool)v; - - else if (pi.isGenericType && pi.isValueType == false && pi.isDictionary == false) -#if SILVERLIGHT - oset = CreateGenericList((List)v, pi.pt, pi.bt, globaltypes); -#else - oset = CreateGenericList((ArrayList)v, pi.pt, pi.bt, globaltypes); -#endif - else if (pi.isByteArray) - oset = Convert.FromBase64String((string)v); - - else if (pi.isArray && pi.isValueType == false) -#if SILVERLIGHT - oset = CreateArray((List)v, pi.pt, pi.bt, globaltypes); -#else - oset = CreateArray((ArrayList)v, pi.pt, pi.bt, globaltypes); -#endif - else if (pi.isGuid) - oset = CreateGuid((string)v); -#if !SILVERLIGHT - else if (pi.isDataSet) - oset = CreateDataset((Dictionary)v, globaltypes); - - else if (pi.isDataTable) - oset = this.CreateDataTable((Dictionary)v, globaltypes); -#endif - - else if (pi.isStringDictionary) - oset = CreateStringKeyDictionary((Dictionary)v, pi.pt, pi.GenericTypes, globaltypes); - -#if !SILVERLIGHT - else if (pi.isDictionary || pi.isHashtable) - oset = CreateDictionary((ArrayList)v, pi.pt, pi.GenericTypes, globaltypes); -#else - else if (pi.isDictionary) - oset = CreateDictionary((List)v, pi.pt, pi.GenericTypes, globaltypes); -#endif - - else if (pi.isEnum) - oset = CreateEnum(pi.pt, (string)v); - - else if (pi.isDateTime) - oset = CreateDateTime((string)v); - - else if (pi.isClass && v is Dictionary) - oset = ParseDictionary((Dictionary)v, globaltypes, pi.pt); - - else if (pi.isValueType) - oset = ChangeType(v, pi.changeType); - -#if SILVERLIGHT - else if (v is List) - oset = CreateArray((List)v, pi.pt, typeof(object), globaltypes); -#else - else if (v is ArrayList) - oset = CreateArray((ArrayList)v, pi.pt, typeof(object), globaltypes); -#endif - else - oset = v; - - if (pi.CanWrite) - pi.setter(o, oset); - } - } - } - return o; - } - -#if CUSTOMTYPE - private object CreateCustom(string v, Type type) - { - Deserialize d; - _customDeserializer.TryGetValue(type, out d); - return d(v); - } -#endif - - private void ProcessMap(object obj, SafeDictionary props, Dictionary dic) - { - foreach (KeyValuePair kv in dic) - { - myPropInfo p = props[kv.Key]; - object o = p.getter(obj); - Type t = Type.GetType((string)kv.Value); - if (t == typeof(Guid)) - p.setter(obj, CreateGuid((string)o)); - } - } - - private long CreateLong(string s) - { - long num = 0; - bool neg = false; - foreach (char cc in s) - { - if (cc == '-') - neg = true; - else if (cc == '+') - neg = false; - else - { - num *= 10; - num += (int)(cc - '0'); - } - } - - return neg ? -num : num; - } - - private object CreateEnum(Type pt, string v) - { - // TODO : optimize create enum -#if !SILVERLIGHT - return Enum.Parse(pt, v); -#else - return Enum.Parse(pt, v, true); -#endif - } - - private Guid CreateGuid(string s) - { - if (s.Length > 30) - return new Guid(s); - else - return new Guid(Convert.FromBase64String(s)); - } - - private DateTime CreateDateTime(string value) - { - bool utc = false; - // 0123456789012345678 - // datetime format = yyyy-MM-dd HH:mm:ss - int year = (int)CreateLong(value.Substring(0, 4)); - int month = (int)CreateLong(value.Substring(5, 2)); - int day = (int)CreateLong(value.Substring(8, 2)); - int hour = (int)CreateLong(value.Substring(11, 2)); - int min = (int)CreateLong(value.Substring(14, 2)); - int sec = (int)CreateLong(value.Substring(17, 2)); - - if (value.EndsWith("Z")) - utc = true; - - if (UseUTCDateTime == false && utc == false) - return new DateTime(year, month, day, hour, min, sec); - else - return new DateTime(year, month, day, hour, min, sec, DateTimeKind.Utc).ToLocalTime(); - } - -#if SILVERLIGHT - private object CreateArray(List data, Type pt, Type bt, Dictionary globalTypes) - { - Array col = Array.CreateInstance(bt, data.Count); - // create an array of objects - for (int i = 0; i < data.Count; i++)// each (object ob in data) - { - object ob = data[i]; - if (ob is IDictionary) - col.SetValue(ParseDictionary((Dictionary)ob, globalTypes, bt), i); - else - col.SetValue(ChangeType(ob, bt), i); - } - - return col; - } -#else - private object CreateArray(ArrayList data, Type pt, Type bt, Dictionary globalTypes) - { - ArrayList col = new ArrayList(); - // create an array of objects - foreach (object ob in data) - { - if (ob is IDictionary) - col.Add(ParseDictionary((Dictionary)ob, globalTypes, bt)); - else - col.Add(ChangeType(ob, bt)); - } - return col.ToArray(bt); - } -#endif - - -#if SILVERLIGHT - private object CreateGenericList(List data, Type pt, Type bt, Dictionary globalTypes) -#else - private object CreateGenericList(ArrayList data, Type pt, Type bt, Dictionary globalTypes) -#endif - { - IList col = (IList)FastCreateInstance(pt); - // create an array of objects - foreach (object ob in data) - { - if (ob is IDictionary) - col.Add(ParseDictionary((Dictionary)ob, globalTypes, bt)); -#if SILVERLIGHT - else if (ob is List) - col.Add(((List)ob).ToArray()); -#else - else if (ob is ArrayList) - col.Add(((ArrayList)ob).ToArray()); -#endif - else - col.Add(ChangeType(ob, bt)); - } - return col; - } - - private object CreateStringKeyDictionary(Dictionary reader, Type pt, Type[] types, Dictionary globalTypes) - { - var col = (IDictionary)FastCreateInstance(pt); - Type t1 = null; - Type t2 = null; - if (types != null) - { - t1 = types[0]; - t2 = types[1]; - } - - foreach (KeyValuePair values in reader) - { - var key = values.Key;//ChangeType(values.Key, t1); - object val = null; - if (values.Value is Dictionary) - val = ParseDictionary((Dictionary)values.Value, globalTypes, t2); - else - val = ChangeType(values.Value, t2); - col.Add(key, val); - } - - return col; - } - -#if SILVERLIGHT - private object CreateDictionary(List reader, Type pt, Type[] types, Dictionary globalTypes) -#else - private object CreateDictionary(ArrayList reader, Type pt, Type[] types, Dictionary globalTypes) -#endif - { - IDictionary col = (IDictionary)FastCreateInstance(pt); - Type t1 = null; - Type t2 = null; - if (types != null) - { - t1 = types[0]; - t2 = types[1]; - } - - foreach (Dictionary values in reader) - { - object key = values["k"]; - object val = values["v"]; - - if (key is Dictionary) - key = ParseDictionary((Dictionary)key, globalTypes, t1); - else - key = ChangeType(key, t1); - - if (val is Dictionary) - val = ParseDictionary((Dictionary)val, globalTypes, t2); - else - val = ChangeType(val, t2); - - col.Add(key, val); - } - - return col; - } - - private Type GetChangeType(Type conversionType) - { - if (conversionType.IsGenericType && conversionType.GetGenericTypeDefinition().Equals(typeof(Nullable<>))) - return conversionType.GetGenericArguments()[0]; - - return conversionType; - } -#if !SILVERLIGHT - private DataSet CreateDataset(Dictionary reader, Dictionary globalTypes) - { - DataSet ds = new DataSet(); - ds.EnforceConstraints = false; - ds.BeginInit(); - - // read dataset schema here - ReadSchema(reader, ds, globalTypes); - - foreach (KeyValuePair pair in reader) - { - if (pair.Key == "$type" || pair.Key == "$schema") continue; - - ArrayList rows = (ArrayList)pair.Value; - if (rows == null) continue; - - DataTable dt = ds.Tables[pair.Key]; - ReadDataTable(rows, dt); - } - - ds.EndInit(); - - return ds; - } - - private void ReadSchema(Dictionary reader, DataSet ds, Dictionary globalTypes) - { - var schema = reader["$schema"]; - - if (schema is string) - { - TextReader tr = new StringReader((string)schema); - ds.ReadXmlSchema(tr); - } - else - { - DatasetSchema ms = (DatasetSchema)ParseDictionary((Dictionary)schema, globalTypes, typeof(DatasetSchema)); - ds.DataSetName = ms.Name; - for (int i = 0; i < ms.Info.Count; i += 3) - { - if (ds.Tables.Contains(ms.Info[i]) == false) - ds.Tables.Add(ms.Info[i]); - ds.Tables[ms.Info[i]].Columns.Add(ms.Info[i + 1], Type.GetType(ms.Info[i + 2])); - } - } - } - - private void ReadDataTable(ArrayList rows, DataTable dt) - { - dt.BeginInit(); - dt.BeginLoadData(); - List guidcols = new List(); - List datecol = new List(); - - foreach (DataColumn c in dt.Columns) - { - if (c.DataType == typeof(Guid) || c.DataType == typeof(Guid?)) - guidcols.Add(c.Ordinal); - if (UseUTCDateTime && (c.DataType == typeof(DateTime) || c.DataType == typeof(DateTime?))) - datecol.Add(c.Ordinal); - } - - foreach (ArrayList row in rows) - { - object[] v = new object[row.Count]; - row.CopyTo(v, 0); - foreach (int i in guidcols) - { - string s = (string)v[i]; - if (s != null && s.Length < 36) - v[i] = new Guid(Convert.FromBase64String(s)); - } - if (UseUTCDateTime) - { - foreach (int i in datecol) - { - string s = (string)v[i]; - if (s != null) - v[i] = CreateDateTime(s); - } - } - dt.Rows.Add(v); - } - - dt.EndLoadData(); - dt.EndInit(); - } - - DataTable CreateDataTable(Dictionary reader, Dictionary globalTypes) - { - var dt = new DataTable(); - - // read dataset schema here - var schema = reader["$schema"]; - - if (schema is string) - { - TextReader tr = new StringReader((string)schema); - dt.ReadXmlSchema(tr); - } - else - { - var ms = (DatasetSchema)this.ParseDictionary((Dictionary)schema, globalTypes, typeof(DatasetSchema)); - dt.TableName = ms.Info[0]; - for (int i = 0; i < ms.Info.Count; i += 3) - { - dt.Columns.Add(ms.Info[i + 1], Type.GetType(ms.Info[i + 2])); - } - } - - foreach (var pair in reader) - { - if (pair.Key == "$type" || pair.Key == "$schema") - continue; - - var rows = (ArrayList)pair.Value; - if (rows == null) - continue; - - if (!dt.TableName.Equals(pair.Key, StringComparison.InvariantCultureIgnoreCase)) - continue; - - ReadDataTable(rows, dt); - } - - return dt; - } -#endif - } -} \ No newline at end of file diff --git a/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/JsonParser.cs b/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/JsonParser.cs deleted file mode 100644 index 569ce1769..000000000 --- a/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/JsonParser.cs +++ /dev/null @@ -1,408 +0,0 @@ -//http://fastjson.codeplex.com/ - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Text; - -namespace Exceptron.Driver.fastJSON -{ - /// - /// This class encodes and decodes JSON strings. - /// Spec. details, see http://www.json.org/ - /// - /// JSON uses Arrays and Objects. These correspond here to the datatypes ArrayList and Hashtable. - /// All numbers are parsed to doubles. - /// - internal class JsonParser - { - enum Token - { - None = -1, // Used to denote no Lookahead available - Curly_Open, - Curly_Close, - Squared_Open, - Squared_Close, - Colon, - Comma, - String, - Number, - True, - False, - Null - } - - readonly char[] json; - readonly StringBuilder s = new StringBuilder(); - Token lookAheadToken = Token.None; - int index; - - internal JsonParser(string json) - { - this.json = json.ToCharArray(); - } - - public object Decode() - { - return ParseValue(); - } - - private Dictionary ParseObject() - { - Dictionary table = new Dictionary(); - - ConsumeToken(); // { - - while (true) - { - switch (LookAhead()) - { - - case Token.Comma: - ConsumeToken(); - break; - - case Token.Curly_Close: - ConsumeToken(); - return table; - - default: - { - - // name - string name = ParseString(); - - // : - if (NextToken() != Token.Colon) - { - throw new Exception("Expected colon at index " + index); - } - - // value - object value = ParseValue(); - - table[name] = value; - } - break; - } - } - } - -#if SILVERLIGHT - private List ParseArray() - { - List array = new List(); -#else - private ArrayList ParseArray() - { - ArrayList array = new ArrayList(); -#endif - ConsumeToken(); // [ - - while (true) - { - switch (LookAhead()) - { - - case Token.Comma: - ConsumeToken(); - break; - - case Token.Squared_Close: - ConsumeToken(); - return array; - - default: - { - array.Add(ParseValue()); - } - break; - } - } - } - - private object ParseValue() - { - switch (LookAhead()) - { - case Token.Number: - return ParseNumber(); - - case Token.String: - return ParseString(); - - case Token.Curly_Open: - return ParseObject(); - - case Token.Squared_Open: - return ParseArray(); - - case Token.True: - ConsumeToken(); - return true; - - case Token.False: - ConsumeToken(); - return false; - - case Token.Null: - ConsumeToken(); - return null; - } - - throw new Exception("Unrecognized token at index" + index); - } - - private string ParseString() - { - ConsumeToken(); // " - - s.Length = 0; - - int runIndex = -1; - - while (index < json.Length) - { - var c = json[index++]; - - if (c == '"') - { - if (runIndex != -1) - { - if (s.Length == 0) - return new string(json, runIndex, index - runIndex - 1); - - s.Append(json, runIndex, index - runIndex - 1); - } - return s.ToString(); - } - - if (c != '\\') - { - if (runIndex == -1) - runIndex = index - 1; - - continue; - } - - if (index == json.Length) break; - - if (runIndex != -1) - { - s.Append(json, runIndex, index - runIndex - 1); - runIndex = -1; - } - - switch (json[index++]) - { - case '"': - s.Append('"'); - break; - - case '\\': - s.Append('\\'); - break; - - case '/': - s.Append('/'); - break; - - case 'b': - s.Append('\b'); - break; - - case 'f': - s.Append('\f'); - break; - - case 'n': - s.Append('\n'); - break; - - case 'r': - s.Append('\r'); - break; - - case 't': - s.Append('\t'); - break; - - case 'u': - { - int remainingLength = json.Length - index; - if (remainingLength < 4) break; - - // parse the 32 bit hex into an integer codepoint - uint codePoint = ParseUnicode(json[index], json[index + 1], json[index + 2], json[index + 3]); - s.Append((char)codePoint); - - // skip 4 chars - index += 4; - } - break; - } - } - - throw new Exception("Unexpectedly reached end of string"); - } - - private uint ParseSingleChar(char c1, uint multipliyer) - { - uint p1 = 0; - if (c1 >= '0' && c1 <= '9') - p1 = (uint)(c1 - '0') * multipliyer; - else if (c1 >= 'A' && c1 <= 'F') - p1 = (uint)((c1 - 'A') + 10) * multipliyer; - else if (c1 >= 'a' && c1 <= 'f') - p1 = (uint)((c1 - 'a') + 10) * multipliyer; - return p1; - } - - private uint ParseUnicode(char c1, char c2, char c3, char c4) - { - uint p1 = ParseSingleChar(c1, 0x1000); - uint p2 = ParseSingleChar(c2, 0x100); - uint p3 = ParseSingleChar(c3, 0x10); - uint p4 = ParseSingleChar(c4, 1); - - return p1 + p2 + p3 + p4; - } - - private string ParseNumber() - { - ConsumeToken(); - - // Need to start back one place because the first digit is also a token and would have been consumed - var startIndex = index - 1; - - do - { - var c = json[index]; - - if ((c >= '0' && c <= '9') || c == '.' || c == '-' || c == '+' || c == 'e' || c == 'E') - { - if (++index == json.Length) throw new Exception("Unexpected end of string whilst parsing number"); - continue; - } - - break; - } while (true); - - return new string(json, startIndex, index - startIndex); - } - - private Token LookAhead() - { - if (lookAheadToken != Token.None) return lookAheadToken; - - return lookAheadToken = NextTokenCore(); - } - - private void ConsumeToken() - { - lookAheadToken = Token.None; - } - - private Token NextToken() - { - var result = lookAheadToken != Token.None ? lookAheadToken : NextTokenCore(); - - lookAheadToken = Token.None; - - return result; - } - - private Token NextTokenCore() - { - char c; - - // Skip past whitespace - do - { - c = json[index]; - - if (c > ' ') break; - if (c != ' ' && c != '\t' && c != '\n' && c != '\r') break; - - } while (++index < json.Length); - - if (index == json.Length) - { - throw new Exception("Reached end of string unexpectedly"); - } - - c = json[index]; - - index++; - - //if (c >= '0' && c <= '9') - // return Token.Number; - - switch (c) - { - case '{': - return Token.Curly_Open; - - case '}': - return Token.Curly_Close; - - case '[': - return Token.Squared_Open; - - case ']': - return Token.Squared_Close; - - case ',': - return Token.Comma; - - case '"': - return Token.String; - - case '0': case '1': case '2': case '3': case '4': - case '5': case '6': case '7': case '8': case '9': - case '-': case '+': case '.': - return Token.Number; - - case ':': - return Token.Colon; - - case 'f': - if (json.Length - index >= 4 && - json[index + 0] == 'a' && - json[index + 1] == 'l' && - json[index + 2] == 's' && - json[index + 3] == 'e') - { - index += 4; - return Token.False; - } - break; - - case 't': - if (json.Length - index >= 3 && - json[index + 0] == 'r' && - json[index + 1] == 'u' && - json[index + 2] == 'e') - { - index += 3; - return Token.True; - } - break; - - case 'n': - if (json.Length - index >= 3 && - json[index + 0] == 'u' && - json[index + 1] == 'l' && - json[index + 2] == 'l') - { - index += 3; - return Token.Null; - } - break; - - } - - throw new Exception("Could not find token at index " + --index); - } - } -} diff --git a/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/JsonSerializer.cs b/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/JsonSerializer.cs deleted file mode 100644 index 439471fae..000000000 --- a/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/JsonSerializer.cs +++ /dev/null @@ -1,518 +0,0 @@ -//http://fastjson.codeplex.com/ - -using System; -using System.Collections; -using System.Collections.Generic; -using System.Data; -using System.Globalization; -using System.IO; -using System.Text; - -namespace Exceptron.Driver.fastJSON -{ - internal class JSONSerializer - { - private readonly StringBuilder _output = new StringBuilder(); - readonly bool useMinimalDataSetSchema; - readonly bool fastguid = true; - readonly bool useExtension = true; - readonly bool serializeNulls = true; - readonly int _MAX_DEPTH = 10; - bool _Indent = false; - bool _useGlobalTypes = true; - int _current_depth = 0; - private Dictionary _globalTypes = new Dictionary(); - - internal JSONSerializer(bool UseMinimalDataSetSchema, bool UseFastGuid, bool UseExtensions, bool SerializeNulls, bool IndentOutput) - { - this.useMinimalDataSetSchema = UseMinimalDataSetSchema; - this.fastguid = UseFastGuid; - this.useExtension = UseExtensions; - _Indent = IndentOutput; - this.serializeNulls = SerializeNulls; - if (useExtension == false) - _useGlobalTypes = false; - } - - internal string ConvertToJSON(object obj) - { - WriteValue(obj); - - string str = ""; - if (_useGlobalTypes) - { - StringBuilder sb = new StringBuilder(); - sb.Append("{\"$types\":{"); - bool pendingSeparator = false; - foreach (var kv in _globalTypes) - { - if (pendingSeparator) sb.Append(','); - pendingSeparator = true; - sb.Append("\""); - sb.Append(kv.Key); - sb.Append("\":\""); - sb.Append(kv.Value); - sb.Append("\""); - } - sb.Append("},"); - str = sb.ToString() + _output.ToString(); - } - else - str = _output.ToString(); - - return str; - } - - private void WriteValue(object obj) - { - if (obj == null || obj is DBNull) - _output.Append("null"); - - else if (obj is string || obj is char) - WriteString((string)obj); - - else if (obj is Guid) - WriteGuid((Guid)obj); - - else if (obj is bool) - _output.Append(((bool)obj) ? "true" : "false"); // conform to standard - - else if ( - obj is int || obj is long || obj is double || - obj is decimal || obj is float || - obj is byte || obj is short || - obj is sbyte || obj is ushort || - obj is uint || obj is ulong - ) - _output.Append(((IConvertible)obj).ToString(NumberFormatInfo.InvariantInfo)); - - else if (obj is DateTime) - WriteDateTime((DateTime)obj); - - else if (obj is IDictionary && obj.GetType().IsGenericType && obj.GetType().GetGenericArguments()[0] == typeof(string)) - WriteStringDictionary((IDictionary)obj); - - else if (obj is IDictionary) - WriteDictionary((IDictionary)obj); -#if !SILVERLIGHT - else if (obj is DataSet) - WriteDataset((DataSet)obj); - - else if (obj is DataTable) - this.WriteDataTable((DataTable)obj); -#endif - else if (obj is byte[]) - WriteBytes((byte[])obj); - - else if (obj is Array || obj is IList || obj is ICollection) - WriteArray((IEnumerable)obj); - - else if (obj is Enum) - WriteEnum((Enum)obj); - -#if CUSTOMTYPE - else if (JSON.Instance.IsTypeRegistered(obj.GetType())) - WriteCustom(obj); -#endif - else - WriteObject(obj); - } - -#if CUSTOMTYPE - private void WriteCustom(object obj) - { - Serialize s; - JSON.Instance._customSerializer.TryGetValue(obj.GetType(), out s); - WriteStringFast(s(obj)); - } -#endif - - private void WriteEnum(Enum e) - { - // TODO : optimize enum write - WriteStringFast(e.ToString()); - } - - private void WriteGuid(Guid g) - { - if (fastguid == false) - WriteStringFast(g.ToString()); - else - WriteBytes(g.ToByteArray()); - } - - private void WriteBytes(byte[] bytes) - { -#if !SILVERLIGHT - WriteStringFast(Convert.ToBase64String(bytes, 0, bytes.Length, Base64FormattingOptions.None)); -#else - WriteStringFast(Convert.ToBase64String(bytes, 0, bytes.Length)); -#endif - } - - private void WriteDateTime(DateTime dateTime) - { - // datetime format standard : yyyy-MM-dd HH:mm:ss - DateTime dt = dateTime; - if (JSON.Instance.UseUTCDateTime) - dt = dateTime.ToUniversalTime(); - - _output.Append("\""); - _output.Append(dt.Year.ToString("0000", NumberFormatInfo.InvariantInfo)); - _output.Append("-"); - _output.Append(dt.Month.ToString("00", NumberFormatInfo.InvariantInfo)); - _output.Append("-"); - _output.Append(dt.Day.ToString("00", NumberFormatInfo.InvariantInfo)); - _output.Append(" "); - _output.Append(dt.Hour.ToString("00", NumberFormatInfo.InvariantInfo)); - _output.Append(":"); - _output.Append(dt.Minute.ToString("00", NumberFormatInfo.InvariantInfo)); - _output.Append(":"); - _output.Append(dt.Second.ToString("00", NumberFormatInfo.InvariantInfo)); - - if (JSON.Instance.UseUTCDateTime) - _output.Append("Z"); - - _output.Append("\""); - } -#if !SILVERLIGHT - private DatasetSchema GetSchema(DataTable ds) - { - if (ds == null) return null; - - DatasetSchema m = new DatasetSchema(); - m.Info = new List(); - m.Name = ds.TableName; - - foreach (DataColumn c in ds.Columns) - { - m.Info.Add(ds.TableName); - m.Info.Add(c.ColumnName); - m.Info.Add(c.DataType.ToString()); - } - // TODO : serialize relations and constraints here - - return m; - } - - private DatasetSchema GetSchema(DataSet ds) - { - if (ds == null) return null; - - DatasetSchema m = new DatasetSchema(); - m.Info = new List(); - m.Name = ds.DataSetName; - - foreach (DataTable t in ds.Tables) - { - foreach (DataColumn c in t.Columns) - { - m.Info.Add(t.TableName); - m.Info.Add(c.ColumnName); - m.Info.Add(c.DataType.ToString()); - } - } - // TODO : serialize relations and constraints here - - return m; - } - - private string GetXmlSchema(DataTable dt) - { - using (var writer = new StringWriter()) - { - dt.WriteXmlSchema(writer); - return dt.ToString(); - } - } - - private void WriteDataset(DataSet ds) - { - _output.Append('{'); - if (useExtension) - { - WritePair("$schema", useMinimalDataSetSchema ? (object)GetSchema(ds) : ds.GetXmlSchema()); - _output.Append(','); - } - bool tablesep = false; - foreach (DataTable table in ds.Tables) - { - if (tablesep) _output.Append(","); - tablesep = true; - WriteDataTableData(table); - } - // end dataset - _output.Append('}'); - } - - private void WriteDataTableData(DataTable table) - { - _output.Append('\"'); - _output.Append(table.TableName); - _output.Append("\":["); - DataColumnCollection cols = table.Columns; - bool rowseparator = false; - foreach (DataRow row in table.Rows) - { - if (rowseparator) _output.Append(","); - rowseparator = true; - _output.Append('['); - - bool pendingSeperator = false; - foreach (DataColumn column in cols) - { - if (pendingSeperator) _output.Append(','); - WriteValue(row[column]); - pendingSeperator = true; - } - _output.Append(']'); - } - - _output.Append(']'); - } - - void WriteDataTable(DataTable dt) - { - this._output.Append('{'); - if (this.useExtension) - { - this.WritePair("$schema", this.useMinimalDataSetSchema ? (object)this.GetSchema(dt) : this.GetXmlSchema(dt)); - this._output.Append(','); - } - - WriteDataTableData(dt); - - // end datatable - this._output.Append('}'); - } -#endif - bool _firstWritten = false; - private void WriteObject(object obj) - { - Indent(); - if (_useGlobalTypes == false) - _output.Append('{'); - else - { - if (_firstWritten) - _output.Append("{"); - } - _firstWritten = true; - _current_depth++; - if (_current_depth > _MAX_DEPTH) - throw new Exception("Serializer encountered maximum depth of " + _MAX_DEPTH); - - - Dictionary map = new Dictionary(); - Type t = obj.GetType(); - bool append = false; - if (useExtension) - { - if (_useGlobalTypes == false) - WritePairFast("$type", JSON.Instance.GetTypeAssemblyName(t)); - else - { - int dt = 0; - string ct = JSON.Instance.GetTypeAssemblyName(t); - if (_globalTypes.TryGetValue(ct, out dt) == false) - { - dt = _globalTypes.Count + 1; - _globalTypes.Add(ct, dt); - } - WritePairFast("$type", dt.ToString()); - } - append = true; - } - - List g = JSON.Instance.GetGetters(t); - foreach (var p in g) - { - if (append) - _output.Append(','); - object o = p.Getter(obj); - if ((o == null || o is DBNull) && serializeNulls == false) - append = false; - else - { - WritePair(p.Name, o); - if (o != null && useExtension) - { - Type tt = o.GetType(); - if (tt == typeof(System.Object)) - map.Add(p.Name, tt.ToString()); - } - append = true; - } - } - if (map.Count > 0 && useExtension) - { - _output.Append(",\"$map\":"); - WriteStringDictionary(map); - } - _current_depth--; - Indent(); - _output.Append('}'); - _current_depth--; - - } - - private void Indent() - { - Indent(false); - } - - private void Indent(bool dec) - { - if (_Indent) - { - _output.Append("\r\n"); - for (int i = 0; i < _current_depth - (dec ? 1 : 0); i++) - _output.Append("\t"); - } - } - - private void WritePairFast(string name, string value) - { - if ((value == null) && serializeNulls == false) - return; - Indent(); - WriteStringFast(name); - - _output.Append(':'); - - WriteStringFast(value); - } - - private void WritePair(string name, object value) - { - if ((value == null || value is DBNull) && serializeNulls == false) - return; - Indent(); - WriteStringFast(name); - - _output.Append(':'); - - WriteValue(value); - } - - private void WriteArray(IEnumerable array) - { - Indent(); - _output.Append('['); - - bool pendingSeperator = false; - - foreach (object obj in array) - { - Indent(); - if (pendingSeperator) _output.Append(','); - - WriteValue(obj); - - pendingSeperator = true; - } - Indent(); - _output.Append(']'); - } - - private void WriteStringDictionary(IDictionary dic) - { - Indent(); - _output.Append('{'); - - bool pendingSeparator = false; - - foreach (DictionaryEntry entry in dic) - { - if (pendingSeparator) _output.Append(','); - - WritePair((string)entry.Key, entry.Value); - - pendingSeparator = true; - } - Indent(); - _output.Append('}'); - } - - private void WriteDictionary(IDictionary dic) - { - Indent(); - _output.Append('['); - - bool pendingSeparator = false; - - foreach (DictionaryEntry entry in dic) - { - if (pendingSeparator) _output.Append(','); - Indent(); - _output.Append('{'); - WritePair("k", entry.Key); - _output.Append(","); - WritePair("v", entry.Value); - Indent(); - _output.Append('}'); - - pendingSeparator = true; - } - Indent(); - _output.Append(']'); - } - - private void WriteStringFast(string s) - { - //Indent(); - _output.Append('\"'); - _output.Append(s); - _output.Append('\"'); - } - - private void WriteString(string s) - { - //Indent(); - _output.Append('\"'); - - int runIndex = -1; - - for (var index = 0; index < s.Length; ++index) - { - var c = s[index]; - - if (c >= ' ' && c < 128 && c != '\"' && c != '\\') - { - if (runIndex == -1) - { - runIndex = index; - } - - continue; - } - - if (runIndex != -1) - { - _output.Append(s, runIndex, index - runIndex); - runIndex = -1; - } - - switch (c) - { - case '\t': _output.Append("\\t"); break; - case '\r': _output.Append("\\r"); break; - case '\n': _output.Append("\\n"); break; - case '"': - case '\\': _output.Append('\\'); _output.Append(c); break; - default: - _output.Append("\\u"); - _output.Append(((int)c).ToString("X4", NumberFormatInfo.InvariantInfo)); - break; - } - } - - if (runIndex != -1) - { - _output.Append(s, runIndex, s.Length - runIndex); - } - - _output.Append('\"'); - } - } -} diff --git a/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/SafeDictionary.cs b/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/SafeDictionary.cs deleted file mode 100644 index 191975fb4..000000000 --- a/packages/Exceptron.Driver.0.1.0.5/src/fastJSON/SafeDictionary.cs +++ /dev/null @@ -1,39 +0,0 @@ -//http://fastjson.codeplex.com/ - -using System.Collections.Generic; - -namespace Exceptron.Driver.fastJSON -{ - internal class SafeDictionary - { - private readonly object _Padlock = new object(); - private readonly Dictionary _Dictionary = new Dictionary(); - - - public bool TryGetValue(TKey key, out TValue value) - { - return _Dictionary.TryGetValue(key, out value); - } - - public TValue this[TKey key] - { - get - { - return _Dictionary[key]; - } - } - public IEnumerator> GetEnumerator() - { - return ((ICollection>)_Dictionary).GetEnumerator(); - } - - public void Add(TKey key, TValue value) - { - lock (_Padlock) - { - if (_Dictionary.ContainsKey(key) == false) - _Dictionary.Add(key, value); - } - } - } -} diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.black.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.black.min.css deleted file mode 100644 index 23742117e..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.black.min.css +++ /dev/null @@ -1,74 +0,0 @@ -/* Black theme*/.t-widget,.t-input{border-color:#080808;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#4f4f4f} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#080808;background:#050505 url('Black/sprite.png') repeat-x 0 -752px} -.t-icon{background-image:url('Black/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Black/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Black/loading.gif') no-repeat 0 0} -.t-widget,.t-link,.t-popup,.t-input{color:#fff} -.t-other-month .t-link{color:#6f6f6f} -.t-group,.t-content,.t-editable-area{border-color:#080808;background-color:#4f4f4f} -.t-colorpicker .t-arrow-down{border-color:#080808} -.t-separator{border-color:#323232;background-color:#080808} -.t-alt{background-color:#494949} -.t-state-default{border-color:#080808} -.t-active-filter{background-color:#363636} -.t-state-hover,.t-state-hover .t-link{color:#9eda29} -.t-state-hover,.t-state-hover:hover{background-color:#2c2c2c;border-color:#080808} -.t-state-active{background-color:#4f4f4f;border-color:#080808} -.t-state-selected{background:#1c1c1c;border-color:#000} -.t-state-focused{background-color:#2c2c2c} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{border-color:#080808;color:#fff} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#050505 url('Black/sprite.png') repeat-x 0 -560px} -.t-button:hover{background-position:0 -624px;background-color:#131313;color:#9eda29} -.t-state-disabled,.t-state-disabled:hover,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#787878} -.t-header .t-state-disabled{border-color:#4f4f4f} -.t-popup,.t-menu .t-group{-moz-box-shadow:2px 2px 2px #222;-webkit-box-shadow:2px 2px 2px #222;box-shadow:2px 2px 2px #222} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#080808;background-color:#2c2c2c} -.t-grid-header-wrap,.t-grid-footer-wrap{border-color:#080808} -.t-grid td{border-color:#454545} -.t-grouping-row td{background:#4f4f4f url('Black/sprite.png') repeat-x 0 -48px} -.t-footer-template td{background-color:#2e2e2e;border-color:#080808 #2e2e2e} -.t-group-footer td{background-color:#2e2e2e;border-color:#080808} -.t-grid-footer,.t-grid-footer-wrap table{background-color:#2e2e2e;border-color:#080808} -.t-grouping-header .t-group-indicator{color:#333;border-color:#666} -.t-grouping-dropclue{background:url('Black/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#4f4f4f} -.t-drag-clue{color:#fff} -.t-treeview .t-drop-clue{background-image:url('Black/sprite.png');background-position:0 -358px} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#000} -.t-calendar th{background-color:#383838;border-color:#202020} -.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-image:url('Black/treeview-nodes.png')} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{background-image:url('Black/treeview-nodes-rtl.png')} -.t-treeview-lines .t-item{background-image:url('Black/treeview-line.png')} -.t-treeview-lines .t-last{background-image:none} -div.t-window{-moz-box-shadow:0 0 5px 2px #222;-webkit-box-shadow:0 0 5px 2px #222;box-shadow:0 0 5px 2px #222} -.t-editor-button .t-state-hover{border-color:#565656 #111 #111 #565656;background-color:#232323} -.t-editor-button .t-state-active{border-color:#030303 #1f1f1f #1f1f1f #030303;background-color:#050505} -/*Slider*/.t-slider .t-draghandle{background-image:url('Black/sprite.png');color:#080808} -.t-slider-track{border-color:#4a4a4a} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Black/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Black/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Black/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Black/slider-v.gif')} -.t-state-disabled .t-slider-wrap .t-slider-items{color:#ccc} -/*Tooltip*/.t-tooltip{background:#050505 0 -560px repeat-x url('Black/sprite.png')} -.t-callout{background-image:url('Black/sprite.png')} -/* Splitter */.t-splitbar-vertical,.t-splitbar-horizontal{background-color:#262628} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Black/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Black/sprite-vertical.png')} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#080808} -.t-dropzone-hovered,.t-upload-files{background-color:#2c2c2c} -.t-dropzone em{color:#848484} -.t-progress,.t-progress-status{background-image:url('Black/sprite.png')} -.t-progress{background-position:0 -465px;border-color:#4a4a4a #474747} -.t-progress-status{background-position:0 -472px;border-color:#9eda29 transparent #456408} -/* ImageBrowser */.t-imagebrowser .t-content{background:#3d3d3d} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label,.t-tiles-arrange{color:#a1a1a1} -.t-toolbar .t-upload .t-button,.t-tiles-arrange a{color:#fff} -.t-tiles{border-color:#222;background:#4f4f4f} -.t-tile{border-color:#4f4f4f;background:0 100px repeat-x url('Black/imagebrowser.png')} -.t-tiles li.t-state-hover{border-color:#080808;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#080808;background-position:0 -100px} -.t-tile .t-folder{background-image:url('Black/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize,.t-tile-empty strong{color:#7d7d7d} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.common.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.common.min.css deleted file mode 100644 index e5178549e..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.common.min.css +++ /dev/null @@ -1,660 +0,0 @@ -/* base stylesheet */.t-reset{margin:0;padding:0;border:0;outline:0;text-decoration:none;font-size:100%;list-style:none} -.t-floatwrap:after{content:"";display:block;clear:both;visibility:hidden;height:0;overflow:hidden} -.t-floatwrap{display:inline-block} -.t-floatwrap{display:block} -.t-widget,.t-widget .t-input,.t-widget .text-box,.t-button{font-size:100%} -.t-widget,.t-input[type="text"]{border-width:1px;border-style:solid} -.t-widget,* html .t-input{border-width:1px;border-style:solid} -* html .t-checkbox .t-input{border-width:0} -.t-link{cursor:pointer;outline:0} -.t-grid-header span.t-link{cursor:default} -html body .t-button{text-decoration:none;/*Site.css*/} -.t-button{display:inline-block;margin:0;padding:2px 6px;border-width:1px;border-style:solid;font-family:inherit;font-size:100%;line-height:1.435;text-align:center;cursor:pointer;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px} -*+html .t-button{display:inline;zoom:1} -* html .t-button{display:inline;zoom:1} -*+html .t-button{overflow:visible;margin-right:4px} -* html .t-button{overflow:visible;margin-right:4px} -*+html a.t-button{line-height:1.6;padding-left:7px;padding-right:7px;/*+1*/} -* html a.t-button{line-height:1.6;padding-left:7px;padding-right:7px;/*+1*/} -.t-button-icontext{line-height:1.453} -button.t-button::-moz-focus-inner{padding:0;border:0} -input.t-button::-moz-focus-inner{padding:1px 0;border:0} -.t-button-expand{margin-left:0!important;margin-right:0!important} -a.t-button-expand{display:block} -button.t-button-expand{width:100%} -body .t-button-icon{padding-left:4px;padding-right:4px} -*+html a.t-button-icon{padding-left:5px;padding-right:5px} -* html a.t-button-icon{padding-left:5px;padding-right:5px} -.t-button-icontext{padding-right:8px;overflow:visible;/*IE9*/} -.t-button-icontext .t-icon{margin:0 3px 0 -3px;vertical-align:top} -*+html .t-button-icontext .t-icon{margin-right:4px} -* html .t-button-icontext .t-icon{margin-right:4px} -html body .t-button-bare{background:none!important;/*spares long selectors*/border-width:0} -.t-icon,.t-editor-button .t-tool-icon{background-color:transparent;background-repeat:no-repeat} -.t-header .t-link{text-decoration:none} -.t-state-disabled,.t-state-disabled .t-link{cursor:default;outline:0} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-style:ridge} -.t-icon,.t-sprite,.t-editor-button .t-tool-icon{display:inline-block;width:16px;height:16px;overflow:hidden;font-size:0;line-height:0;text-indent:-3333px;text-align:center;vertical-align:middle} -* html .t-icon,* html .t-sprite,* html .t-editor-button .t-tool-icon{display:inline;zoom:1} -* html .t-icon,.t-sprite{text-indent:0} -*+html .t-icon,.t-sprite{text-indent:0} -.t-image{border:0} -.t-state-empty{font-style:italic} -.t-popup,.t-menu .t-group{-moz-box-shadow:2px 2px 2px #aaa;-webkit-box-shadow:2px 2px 2px #aaa;box-shadow:2px 2px 2px #aaa} -.t-treeview,.t-grid,.t-splitter,.t-slider,.t-window{-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0)} -/* Icons */.t-expand{background-position:0 -160px} -.t-collapse{background-position:0 -176px} -.t-rtl .t-expand{background-position:-64px -160px} -.t-plus,.t-plus-disabled{background-position:0 -256px} -.t-minus,.t-minus-disabled{background-position:-16px -256px} -.t-rtl .t-plus,.t-rtl .t-plus-disabled{background-position:0 -272px} -.t-rtl .t-minus,.t-rtl .t-minus-disabled{background-position:-16px -272px} -.t-arrow-up{background-position:-16px -160px} -.t-arrow-down{background-position:-16px -176px} -.t-state-disabled .t-arrow-up{background-position:-32px -160px} -.t-state-disabled .t-arrow-down{background-position:-32px -176px} -.t-state-hover .t-arrow-up{background-position:-48px -160px} -.t-state-hover .t-arrow-down{background-position:-48px -176px} -.t-numerictextbox .t-arrow-up{background-position:-16px -162px} -.t-numerictextbox .t-arrow-down{background-position:-16px -178px} -.t-arrow-up-small{background-position:0 -304px} -.t-arrow-down-small{background-position:-16px -304px} -.t-arrow-first{background-position:0 -192px} -.t-arrow-prev{background-position:-16px -192px} -.t-arrow-next{background-position:-32px -192px} -.t-arrow-last{background-position:-48px -192px} -.t-state-disabled .t-arrow-first{background-position:0 -208px} -.t-state-disabled .t-arrow-prev{background-position:-16px -208px} -.t-state-disabled .t-arrow-next{background-position:-32px -208px} -.t-state-disabled .t-arrow-last{background-position:-48px -208px} -.t-state-hover .t-arrow-first{background-position:0 -224px} -.t-state-hover .t-arrow-prev{background-position:-16px -224px} -.t-state-hover .t-arrow-next{background-position:-32px -224px} -.t-state-hover .t-arrow-last{background-position:-48px -224px} -.t-filter{background-position:0 -240px} -.t-clear-filter{background-position:-16px -240px} -.t-refresh{background-position:-32px -240px} -.t-icon-calendar{background-position:-48px -240px} -.t-icon-clock{background-position:-64px -336px} -.t-edit{background-position:0 -336px} -.t-delete{background-position:-16px -336px} -.t-insert,.t-update{background-position:-32px -336px} -.t-cancel{background-position:-48px -336px} -.t-group-delete{background-position:0 -288px} -.t-maximize{background-position:-16px -288px} -.t-restore{background-position:-32px -288px} -.t-close{background-position:-64px -288px} -.t-insert-top{background-position:0 -320px} -.t-insert-middle{background-position:-16px -320px} -.t-insert-bottom{background-position:-32px -320px} -.t-add{background-position:-48px -320px} -.t-denied{background-position:-64px -320px} -.t-resize-se{background-position:-64px -272px} -/* Inputs */.t-autocomplete,.t-input[type="text"]{padding:2px 1px 3px} -* html .t-input{padding:2px 1px 3px} -/* Window */div.t-window{display:inline-block;*display:inline;zoom:1;z-index:10001;position:absolute;border-width:2px;/*ie8*/-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:0 0 5px 2px #aaa;-webkit-box-shadow:0 0 5px 2px #aaa;box-shadow:0 0 5px 2px #aaa} -div.t-window,:root .t-window{border-width:0} -* html div.t-window{border-width:2px} -*+html div.t-window{border-width:2px} -.t-window-titlebar{padding:.4em 0;font-size:1.2em;line-height:1.2em;white-space:nowrap;border-bottom-width:1px;border-bottom-style:solid;-moz-border-radius-topleft:5px;-moz-border-radius-topright:5px;-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;border-top-left-radius:5px;border-top-right-radius:5px} -.t-window-title{cursor:default;position:absolute;text-overflow:ellipsis;overflow:hidden;left:.5em;right:.5em} -.t-window-title .t-image{margin:0 5px 0 0;vertical-align:middle} -div.t-window-content{padding:.4em .5em;/*padding:0\9;margin:.4em .5em\9;border-width:0\9;*//*removed due to ImageBrowser issues,no side effects found*/overflow:auto;position:relative;-moz-border-radius-bottomleft:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-left-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-right-radius:4px} -.t-window-titlebar .t-window-actions{position:absolute;right:.5em;top:0;padding-top:.3em;white-space:nowrap} -.t-window-titlebar .t-link{width:16px;height:16px;padding:2px;text-decoration:none;vertical-align:middle;display:inline-block;*display:inline;zoom:1;opacity:.7;filter:alpha(opacity=70)} -.t-window-titlebar .t-state-hover{border-width:1px;border-style:solid;padding:1px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;opacity:1;filter:alpha(opacity=100)} -.t-window-actions .t-icon{margin:0;vertical-align:top} -.t-window .t-resize-handle{position:absolute;z-index:1;background-color:#fff;opacity:0;filter:alpha(opacity=0);zoom:1;line-height:6px;font-size:0} -.t-resize-n{top:-3px;left:0;width:100%;height:6px;cursor:n-resize} -.t-resize-e{top:0;right:-3px;width:6px;height:100%;cursor:e-resize} -.t-resize-s{bottom:-3px;left:0;width:100%;height:6px;cursor:s-resize} -.t-resize-w{top:0;left:-3px;width:6px;height:100%;cursor:w-resize} -.t-resize-se{bottom:-3px;right:-3px;width:16px;height:16px;cursor:se-resize} -.t-resize-sw{bottom:-3px;left:-3px;width:6px;height:6px;cursor:sw-resize} -.t-resize-ne{top:-3px;right:-3px;width:6px;height:6px;cursor:ne-resize} -.t-resize-nw{top:-3px;left:-3px;width:6px;height:6px;cursor:nw-resize} -.t-window .t-resize-se{opacity:1;filter:alpha(opacity=100);background-color:transparent} -.t-overlay{width:100%;height:100%;position:fixed;top:0;left:0;background-color:#000;filter:alpha(opacity=50);opacity:.5;z-index:10001} -.t-window .t-overlay{background-color:#fff;opacity:0;filter:alpha(opacity=0);position:absolute;width:100%;height:100%} -.t-window .t-widget{z-index:10002} -/* TabStrip */.t-tabstrip{margin:0;padding:0;zoom:1} -.t-tabstrip .t-tabstrip-items{padding:0 .3em} -.t-tabstrip-items .t-item,.t-panelbar .t-tabstrip-items .t-item{list-style-type:none;vertical-align:top;display:inline-block;*display:inline;zoom:1;border-width:1px 1px 0;border-style:solid;margin:.1em .3em 0 0;padding:0;position:relative;-moz-border-radius-topleft:5px;-moz-border-radius-topright:5px;-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;border-top-left-radius:5px;border-top-right-radius:5px} -.t-tabstrip-items .t-state-active,.t-panelbar .t-tabstrip-items .t-state-active{padding-bottom:1px;margin-bottom:-1px} -.t-tabstrip-items .t-link,.t-panelbar .t-tabstrip-items .t-link{padding:.3em .9em;display:inline-block;*display:inline;zoom:1;border-bottom-width:0;outline:0} -.t-tabstrip-items .t-icon,.t-panelbar .t-tabstrip-items .t-icon{margin:-1px 4px 0 -3px;vertical-align:top} -.t-tabstrip-items .t-item .t-image,.t-tabstrip-items .t-item .t-sprite,.t-panelbar .t-tabstrip-items .t-item .t-image,.t-panelbar .t-tabstrip-items .t-item .t-sprite{vertical-align:middle;margin:-3px 3px 0 -6px} -* html .t-tabstrip-items .t-item .t-image,* html .t-tabstrip-items .t-item .t-sprite{vertical-align:top;margin-top:-1px} -*+html .t-tabstrip-items .t-item .t-image,*+html .t-tabstrip-items .t-item .t-sprite{vertical-align:top;margin-top:-1px} -.t-tabstrip .t-content,.t-panelbar .t-tabstrip .t-content{border-width:1px;border-style:solid;margin:0 .3em .3em;padding:.3em 1em;position:static;zoom:1} -.t-tabstrip>.t-content,.t-panelbar .t-tabstrip>.t-content{display:none} -* html .t-tabstrip .t-content,* html .t-panelbar .t-tabstrip .t-content{display:none} -* html .t-tabstrip .t-content .t-content,* html .t-panelbar .t-tabstrip .t-content .t-content{display:block} -/* PanelBar */.t-panelbar{zoom:1} -.t-panelbar .t-item{list-style-type:none;display:block;zoom:1;margin:0;top:0;border-width:0;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0} -.t-panelbar .t-image,.t-panelbar .t-sprite{vertical-align:middle;margin-right:5px;margin-top:4px;float:left} -.t-panelbar .t-group .t-image,.t-panelbar .t-group .t-sprite{margin-top:1px} -.t-panelbar .t-link{line-height:2.05em;padding:0 1em;border-bottom:1px solid;display:block;position:relative;text-decoration:none;zoom:1} -.t-panelbar .t-state-hover{background-image:none} -.t-panelbar-expand,.t-panelbar-collapse{position:absolute;top:5px;right:2px} -.t-panelbar .t-group,.t-panelbar .t-content{position:relative;zoom:1;padding:0;margin:0;border-bottom-width:1px;border-bottom-style:solid} -.t-panelbar .t-group .t-link{line-height:1.7em;border-bottom:0;font-size:.95em} -.t-panelbar .t-group .t-arrow-up,.t-panelbar .t-group .t-arrow-down{top:2px} -.t-panelbar .t-group .t-group .t-link{padding-left:2em} -.t-panelbar .t-last .t-link{border-bottom:0} -.t-panelbar .t-group .t-group{border-bottom:0} -/* Menu */.t-menu{cursor:default} -.t-menu,.t-menu .t-group{list-style:none;padding:0;margin:0;zoom:1} -.t-menu .t-group .t-link{padding-right:2em} -.t-menu .t-item{position:relative;display:inline-block;*display:inline;zoom:1;border-width:0 1px 0 0;border-style:solid;vertical-align:top} -.t-menu-vertical .t-item{display:block;border-width:0} -.t-menu .t-image,.t-menu .t-sprite{margin:0 4px 0 -4px;vertical-align:top} -.t-menu .t-link{text-decoration:none;padding:.25em .97em;display:block} -.t-menu .t-group{display:none;white-space:nowrap;border-style:solid;border-width:1px;overflow:visible} -.t-menu .t-group .t-item{display:block;border-width:0} -.t-menu .t-group .t-link{zoom:1} -.t-menu .t-arrow-down{margin-left:2px;margin-right:-10px;vertical-align:top} -.t-menu .t-arrow-next{position:absolute;right:0;top:3px} -.t-menu .t-animation-container,.t-menu .t-group,.t-menu-context{left:-1px;position:absolute} -.t-menu-context .t-group{position:static;display:block} -.t-menu-context{z-index:11000} -.t-menu .t-animation-container .t-animation-container,.t-menu .t-group .t-group{left:100%;top:-1px} -.t-menu-vertical .t-animation-container,.t-menu-vertical .t-group{left:100%;top:-1px} -.t-menu .t-animation-container .t-group{left:auto;top:auto} -/* Grid */.t-grid{position:relative;zoom:1} -.t-grid table{width:100%;border-collapse:separate;empty-cells:show;border:0} -.t-grid-header .t-header{text-align:left} -.t-grid-header .t-header{padding:.3em .6em;border-width:0 0 1px 1px;border-style:solid;font-weight:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} -.t-grid-header .t-header .t-link{line-height:18px;/* due to sorting icons*/height:18px;display:block;margin:-.3em -.6em;padding:.3em 2.4em .3em .6em;border:0} -.t-grid-header .t-header .t-icon{position:static} -.t-grid .t-state-hover{cursor:pointer} -.t-grid td{padding:.25em .6em;border-style:solid;border-width:0;border-left-width:1px;vertical-align:middle;line-height:1.6em;overflow:hidden;text-overflow:ellipsis} -.t-grid .t-grouping-row td,.t-grid .t-hierarchy-cell{overflow:visible} -.t-grid-edit-row td{text-overflow:clip} -.t-grid-header-wrap,.t-grid-footer-wrap{position:relative;overflow:hidden;width:100%;zoom:1;border-style:solid;border-width:0 1px 0 0} -div.t-grid-header,div.t-grid-footer{padding-right:17px;/* width of scrollbar. may vary across operating systems. can be calculated. */zoom:1;border-bottom-width:1px;border-bottom-style:solid} -div.t-grid-header .t-header{border-bottom-width:0} -.t-grid-content{position:relative;overflow:auto;overflow-x:auto;overflow-y:scroll;width:100%;zoom:1} -.t-grid-header table,.t-grid-content table,.t-grid-footer table{table-layout:fixed} -* html .t-grid-header table,* html .t-grid-content table{width:auto} -*+html .t-grid-header table,*+html .t-grid-content table{width:auto} -.t-grid-toolbar{border-width:1px 0 0;border-style:solid} -.t-grid-header .t-header:first-child,.t-grid tbody td:first-child,.t-grid tfoot td:first-child{border-left-width:0} -/* Grid ::paging */.t-grid-pager{padding:.2em .6em;line-height:1.8em;overflow:auto;border-width:1px 0 0;border-style:solid} -.t-grid-pager:first-child,.t-grouping-header+.t-grid-pager,.t-grid-toolbar:first-child,.t-grouping-header+.t-grid-toolbar{border-width:0 0 1px} -* html .t-grid-pager input{vertical-align:middle} -*+html .t-grid-pager input{vertical-align:middle} -.t-grid .t-pager,.t-grid .t-status,.t-grid .t-status-text,.t-pager .t-numeric,.t-pager .t-page-i-of-n,.t-pager .t-link,.t-pager span,.t-pager input,.t-pager .t-page-size,.t-grouping-row p{display:inline-block;*display:inline;zoom:1;vertical-align:middle} -.t-pager .t-page-size{line-height:1.2em} -.t-footer-template td{border-width:1px 0 0 1px;border-style:solid} -.t-group-footer td{border-width:1px 0;border-style:solid} -.t-grid-footer{border-style:solid;border-width:1px 0 0} -.t-grid-footer td{border-top-width:0} -.t-grid .t-status{float:left;margin:-.2em .6em -.2em -.6em;padding:.2em .6em;height:1.85em;border-right-width:1px;border-right-style:solid} -.t-grid .t-pager{float:left;cursor:default} -.t-grid .t-status-text{float:right;margin-right:.2em} -.t-pager .t-link{text-decoration:none;padding:1px;margin-top:.2em;border-width:0;line-height:16px} -.t-pager .t-state-active,.t-pager .t-state-hover{padding:0;border-width:1px;border-style:solid;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px} -.t-pager span,.t-pager .t-link{vertical-align:top} -.t-pager .t-numeric,.t-pager .t-page-i-of-n{margin:0 7px;vertical-align:top} -.t-numeric .t-link,.t-numeric .t-state-active{margin-top:0;padding:0 5px;line-height:22px;vertical-align:top} -.t-numeric .t-state-active,.t-numeric .t-state-hover{padding:0 4px;line-height:20px} -.t-page-i-of-n input{width:2em;vertical-align:baseline;font-size:1em} -.t-grid-pager .t-status .t-icon{vertical-align:top;margin-top:3px} -/* Grid ::filtering */.t-grid-filter{float:right;height:18px;padding:.3em .2em;position:relative;display:inline-block;*display:inline;zoom:1;margin:-1.8em -.6em -.3em 3px} -.t-grid-filter .t-icon{vertical-align:top} -.t-grid .t-animation-container{position:absolute} -.t-grid .t-filter-options{position:absolute;border-width:1px;border-style:solid;padding:3px;width:148px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px} -.t-filter-options .t-filter-help-text,.t-filter-options select,.t-filter-options input,.t-filter-options .t-button,.t-filter-options .t-datepicker{display:block;margin-bottom:4px} -.t-filter-options select{width:148px} -.t-filter-options input{width:142px} -.t-filter-options .t-datepicker{width:100%} -.t-filter-options .t-filter-button{margin-bottom:0} -/* Grid ::grouping */.t-grouping-row .t-icon{margin:0 4px} -.t-grouping-row p{padding:0 .6em;margin-left:-.6em} -.t-grid .t-group-cell+td,.t-grid .t-hierarchy-cell+td{border-left-width:0} -.t-grid .t-group-col,.t-grid .t-hierarchy-col{width:30px} -.t-grouping-header{border-bottom-width:1px;border-bottom-style:solid} -.t-grouping-header,.t-grouping-dropclue{height:24px;line-height:24px} -.t-grouping-dropclue{position:absolute;width:6px} -.t-grouping-header .t-group-indicator{display:inline-block;*display:inline;zoom:1;border-width:1px;border-style:solid;line-height:1.5em;padding:.15em .15em .15em .4em;margin:0 3px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px} -.t-grouping-header .t-link{text-decoration:none;display:inline-block;*display:inline;zoom:1;line-height:normal;padding:0;border-style:none} -.t-grouping-header .t-button{padding:0;border:0;background:transparent;line-height:1} -.t-grouping-header .t-link .t-icon{margin:0 0 0 -3px} -.t-grouping-header .t-button .t-icon{margin:0 0 0 3px} -.t-grouping-header a,.t-grouping-header .t-button{display:inline-block;*display:inline;zoom:1;vertical-align:middle} -/* Grid ::editing */.t-dirty{width:0;height:0;vertical-align:top;position:absolute;padding:0;margin:-0.45em 0 0 -0.6em;overflow:hidden;border-width:3px;border-style:solid;border-color:#f00 transparent transparent #f00} -* html .t-dirty{border-color:#f00 pink pink #f00;filter:chroma(color=pink)} -.t-grouping-header,.t-grid-toolbar{cursor:default;margin:0;padding:.25em} -.t-grid .t-edit-container{padding:0} -.t-edit-form{padding:0;margin:0} -.t-grid-edit-row .t-edit-form td{border-bottom-width:0} -.t-grid-edit-row .text-box,.t-grid-edit-row .t-numerictextbox,.t-grid-edit-row .t-datepicker{vertical-align:middle;width:5em;max-width:90%;min-width:90%;/* IE8 calculates width:90% wrong,so we have to trick it */margin:-.4em -.3em -.15em} -.t-grid-edit-row .t-dropdown,.t-grid-edit-row .t-combobox{width:5em;max-width:90%;min-width:90%;/* IE8 calculates width:90% wrong,so we have to trick it */line-height:normal;margin:-.1em -.3em -.45em} -* html .t-grid .text-box{width:90%} -.t-edit-form-container{position:relative} -.t-grid .field-validation-error{display:block} -.t-grid .input-validation-error{border-style:ridge;border-color:#f00;background-color:#ffc0cb} -.t-grid-toolbar .t-button{vertical-align:middle} -.t-grid-actions{display:inline-block} -* html .t-grid-actions{display:inline;zoom:1;vertical-align:bottom} -*+html .t-grid-actions{display:inline;zoom:1;vertical-align:bottom} -.t-grid .t-button,.t-edit-form .t-button{margin:0 .2em} -.t-grid tbody .t-button{min-width:64px;/*main setting*/} -.t-grid tbody button.t-button,#ie8#skips{min-width:78px;/*+14 for buttons,except IE8*/} -*+html .t-grid tbody a.t-button{min-width:62px;/*-2 for links for IE7*/} -html body div.t-grid tbody .t-button-icon{min-width:0;width:auto} -.t-detail-row{position:relative} -.t-grid .t-detail-cell{overflow:visible} -/* Grid ::resizing */.t-grid-resize-indicator{position:absolute;width:2px;background-color:#aaa} -.t-grid .t-resize-handle{cursor:col-resize;position:absolute;height:25px} -/* ComboBox & Drop-down*/.t-combobox,.t-dropdown,.t-selectbox{display:inline-block;*display:inline;zoom:1;position:relative;overflow:hidden;white-space:nowrap;width:150px;border-width:0} -*+html .t-combobox{overflow:visible} -/*positions icon properly*/* html .t-combobox{overflow:visible} -.t-dropdown-wrap,.t-picker-wrap{position:relative;display:block;cursor:default} -.t-picker-wrap{padding:0 25px 0 0} -.t-dropdown-wrap{padding-right:16px;/* icon width*/border-width:1px;border-style:solid} -.t-combobox>.t-dropdown-wrap{padding-right:22px;/* icon width+input paddings,except IE6 */} -* html .t-combobox .t-dropdown-wrap{height:20px} -* html .t-picker-wrap{height:20px;padding-right:20px} -.t-picker-wrap .t-input,.t-combobox .t-input{vertical-align:top;width:100%} -.t-dropdown .t-input,.t-combobox .t-input,.t-selectbox .t-input{outline:0;border-width:0} -.t-dropdown .t-input,.t-selectbox .t-input{background:transparent} -/*removes excessive spacing in IE6-7*/*+html .t-combobox .t-input{margin:-1px 0} -* html .t-combobox .t-input{margin:-1px 0} -* html{position:absolute;top:0} -.t-picker-wrap .t-select,.t-dropdown-wrap .t-select{text-decoration:none;vertical-align:top;display:inline-block;*display:inline;zoom:1;cursor:default;position:absolute;/* icon positioning */top:0;right:0} -* html .t-picker-wrap .t-select,* html .t-dropdown-wrap .t-select{top:1px;right:1px} -.t-combobox .t-select{border-width:0 0 0 1px;border-style:solid;border-color:inherit;/* will be skin-related,inherit does not work in ie7- */} -.t-combobox .t-icon{margin-top:1px} -.t-dropdown .t-select,.t-selectbox .t-select{border:0;text-decoration:none;font:inherit;color:inherit;overflow:hidden;cursor:default} -.t-dropdown .t-input,.t-selectbox .t-input{overflow:hidden;display:block;text-overflow:ellipsis;padding:.2em 0 .2em 3px} -.t-picker-wrap .t-select,.t-dropdown-wrap .t-select{position:absolute;right:0;top:0} -.t-picker-wrap .t-icon{vertical-align:top;margin-top:3px} -.t-dropdown-wrap .t-icon{vertical-align:top;margin-top:2px} -.t-combobox .t-input{height:18px;line-height:18px;padding:1px 3px;border:0;margin:0} -.t-picker-wrap .t-select,.t-dropdown-wrap .t-select{height:20px;line-height:20px} -.t-popup{border-width:1px;border-style:solid} -.t-popup .t-item{padding:1px 5px 1px 3px;cursor:default} -/* Calendar */.t-calendar{display:inline-block;*display:inline;zoom:1;width:203px;position:relative;overflow:hidden} -.t-calendar .t-link{text-decoration:none} -.t-calendar .t-action-link{text-decoration:underline} -.t-calendar .t-header{padding:.4em 0;text-align:center;position:relative;zoom:1} -.t-calendar .t-nav-prev,.t-calendar .t-nav-next{position:absolute;top:.3em} -.t-calendar .t-nav-prev{left:1%} -.t-calendar .t-nav-next{right:1%} -.t-calendar .t-content{text-align:right;width:100%;height:169px;table-layout:fixed;border-style:none;margin:0;padding:0} -.t-calendar .t-animation-container .t-content{height:100%} -.t-calendar .t-nav-fast{display:inline-block;*display:inline;zoom:1;width:75%} -.t-calendar .t-nav-fast .t-icon{vertical-align:top} -.t-calendar th{border-bottom-style:solid;border-bottom-width:1px;font-weight:normal;cursor:default} -.t-calendar td{cursor:pointer;padding:1px} -.t-calendar .t-state-focus{border-width:1px;border-style:dotted;padding:0} -.t-calendar .t-content .t-link{display:block;overflow:hidden;position:relative} -.t-calendar th,.t-calendar .t-content .t-link{padding:.25em .45em .3em .1em} -.t-calendar .t-meta-view .t-link{padding:.25em 0 .3em;text-align:center} -/* Date/Time Pickers */.t-timepicker,.t-datetimepicker,.t-datepicker{border:0;white-space:nowrap;width:8.5em} -.t-datetimepicker{width:13em} -div.t-timepicker,div.t-datetimepicker,div.t-datepicker{background:none transparent;/* don't allow t-widget to add background-color */ -} - -.t-datetimepicker .t-picker-wrap -{ - padding-right: 44px; -} - -* html .t-datetimepicker .t-picker-wrap { padding-right: 40px; } - -.t-datetimepicker .t-icon-calendar -{ - margin-right: 3px; -} - -.t-picker-wrap .t-icon -{ - cursor: pointer; -} - -.t-state-disabled .t-picker-wrap .t-icon -{ - cursor: default; -} - -.t-timepicker, -.t-datepicker, -.t-datetimepicker -{ - display: inline-block; - *display: inline; - zoom: 1; - vertical-align: top; -} - -.t-picker-wrap .t-input -{ - margin: 0; -} - -.t-iframe-overlay -{ - position: absolute; - width: 100%; - border: 0; - top: 0; - left: 0; - filter: alpha(opacity=0); -} - -.t-time-popup .t-item -{ - padding: 1px 3px; -} - -/* TreeView */ - -div.t-treeview -{ - /* don't allow t-widget to add border or background */border-width:0;background:0;white-space:nowrap;overflow:auto} -.t-treeview .t-item{padding:0 0 0 16px;margin:0;border-width:0;position:static;top:auto;display:block} -.t-treeview .t-group,.t-treeview .t-content{list-style-type:none;background:0;margin:0;padding:0} -.t-treeview .t-animation-container{height:auto!important} -.t-treeview .t-icon,.t-treeview .t-image,.t-treeview .t-sprite,.t-treeview .t-in{display:inline-block;*display:inline;zoom:1;vertical-align:top} -.t-treeview .t-plus,.t-treeview .t-minus,.t-treeview .t-plus-disabled,.t-treeview .t-minus-disabled{margin-left:-16px;margin-top:2px;float:left;/* required for Opera */*float:none;/* IE6 does not like it as node text wraps */cursor:pointer} -.t-treeview .t-plus-disabled,.t-treeview .t-minus-disabled{cursor:default} -.t-treeview .t-sprite,.t-treeview .t-image{margin-right:3px} -.t-treeview .t-in{margin:1px 0;padding:2px 4px 2px 3px;text-decoration:none;line-height:16px;margin-left:2px} -.t-treeview span.t-in{cursor:default} -.t-treeview .t-state-hover,.t-treeview .t-state-selected{padding:1px 3px 1px 2px;border-width:1px;border-style:solid;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px} -.t-treeview .t-drop-clue{width:80px;visibility:hidden;height:5px;position:absolute;margin-top:-3px;z-index:10000;background-color:transparent;background-repeat:no-repeat} -/* TreeView ::node lines */.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-repeat:no-repeat;margin-left:-16px;padding-left:16px} -.t-treeview-lines .t-top{background-position:-91px 0} -.t-treeview-lines .t-bot{background-position:-69px -22px} -.t-treeview-lines .t-mid{background-position:-47px -44px} -.t-treeview-lines .t-last .t-top{background-position:-25px -66px} -.t-treeview-lines .t-group .t-last .t-bot{background-position:-69px -22px} -.t-treeview-lines .t-item{background-repeat:no-repeat} -.t-treeview-lines .t-first{background-repeat:no-repeat;background-position:0 16px} -/* NumericTextBox */div.t-numerictextbox{display:inline-block;*display:inline;zoom:1;position:relative;vertical-align:middle;white-space:nowrap;border:0;background:transparent} -.t-numerictextbox .t-input /*alignment of arrows in WebKit*/{margin:0} -.t-formatted-value{position:absolute;padding:3px 4px 2px 3px} -.t-numerictextbox .t-icon{margin-left:-16px} -.t-numerictextbox .t-link{border-style:none;display:inline-block;*display:inline;zoom:1} -.t-numerictextbox .t-arrow-up{vertical-align:top;margin-top:1px;height:10px} -.t-numerictextbox .t-arrow-down{vertical-align:bottom;margin-bottom:1px;height:11px} -/* ColorPicker */.t-colorpicker{display:inline-block;*display:inline;zoom:1;vertical-align:middle} -.t-colorpicker .t-tool-icon{display:inline-block;*display:inline;zoom:1;vertical-align:top;padding:2px 3px;font-size:0;line-height:0} -.t-colorpicker .t-selected-color{display:block;height:16px;width:16px;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px} -.t-colorpicker .t-icon{vertical-align:middle;margin-top:2px} -.t-colorpicker-popup{line-height:0;width:156px} -.t-colorpicker-popup .t-reset{padding:.25em;margin:0;display:inline-block;*display:inline;zoom:1} -.t-colorpicker-popup .t-item{float:left;display:block;overflow:hidden;width:12px;height:12px;font-size:0;padding:0;margin:1px 2px 2px 1px} -.t-colorpicker-popup .t-item div{width:100%;height:100%;margin:1px} -.t-colorpicker-popup .t-state-selected{margin:0 1px 1px 0;border:1px solid #000} -/* Editor */.t-editor{border-width:1px;border-style:solid;border-collapse:separate;height:250px;font-size:100%;table-layout:fixed;vertical-align:top;width:100%} -.t-editor .t-editor-toolbar-wrap{border:0;padding:0} -.t-editor-toolbar{margin:0;padding:.1em 0;list-style-type:none;cursor:default;line-height:1.3em} -.t-editor-toolbar li{display:inline;/* would have been inline-block,if not for IE */vertical-align:middle} -.t-editor-toolbar .t-editor-dropdown,.t-editor-toolbar .t-editor-combobox,.t-editor-toolbar .t-editor-selectbox,.t-editor-toolbar .t-editor-colorpicker{margin-right:2px} -.t-editor-toolbar .t-separator{border-width:0 1px 0 0;border-style:solid;padding:0 0 0 1px;font-size:1.3em;margin:0 .15em;position:relative;top:1px} -.t-editor-toolbar .t-break{display:block;height:1px;line-height:0;font-size:0} -.t-editor-toolbar .t-dropdown,.t-editor-toolbar .t-combobox,.t-editor-toolbar .t-selectbox,.t-editor-toolbar .t-colorpicker{vertical-align:middle} -.t-editor-button .t-tool-icon{vertical-align:middle;width:22px;height:22px;margin:1px} -.t-editor-colorpicker .t-tool-icon{padding:17px 3px 2px} -.t-editor-colorpicker .t-icon{border-style:solid;border-color:#ccc;border-width:0 0 0 1px} -.t-editor-colorpicker .t-selected-color{height:3px} -.t-editor-combobox .t-input{height:20px;line-height:20px} -.t-editor-combobox .t-select{height:22px;line-height:22px} -.t-bold{background-position:-22px 0} -.t-italic{background-position:-44px 0} -.t-underline{background-position:-66px 0} -.t-strikethrough{background-position:-88px 0} -.t-justifyLeft{background-position:-110px 0} -.t-justifyCenter{background-position:-132px 0} -.t-justifyRight{background-position:-154px 0} -.t-justifyFull{background-position:-176px 0} -.t-insertOrderedList{background-position:-198px 0} -.t-insertUnorderedList{background-position:-220px 0} -.t-createLink{background-position:-242px 0} -.t-unlink{background-position:-264px 0} -.t-insertImage{background-position:-286px 0} -.t-foreColor .t-tool-icon{background-position:-308px -2px} -.t-backColor .t-tool-icon{background-position:-330px -2px} -.t-indent{background-position:-352px 0} -.t-outdent{background-position:-374px 0} -/* default tool widths */.t-fontName{width:110px} -.t-fontSize{width:124px} -.t-formatBlock{width:147px} -.t-editor-button .t-state-hover,.t-editor-button .t-state-active{vertical-align:middle;border-width:1px;border-style:solid;margin:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px} -.t-editor-button .t-state-disabled{opacity:.3;filter:alpha(opacity=30)} -.t-editor .t-editable-area{outline:0;height:100%;width:100%;border-width:1px;border-style:solid} -.t-editor .t-content{height:100%;width:100%;display:block;padding:0;margin:0;border:0} -.t-editor iframe.t-content{display:inline;vertical-align:top;/*fixes missing top border caused by the inline display*/} -.t-editor .t-raw-content{border:0;margin:0;padding:0;font-size:inherit;font-family:Consolas,"Courier New",monospace} -.t-editor-dialog{padding:1em} -.t-editor-dialog ol{margin:0;padding:0;list-style:none} -.t-form-text-row,.t-form-checkbox-row{padding-bottom:1em} -.t-form-text-row label{display:inline-block;*display:inline;zoom:1;width:7em;text-align:right;padding-right:.5em} -.t-form-checkbox-row input{margin-left:7em;font-size:inherit;padding:0} -.t-form-checkbox-row label{padding-left:.3em} -.t-form-checkbox-row input,.t-form-checkbox-row label,.t-form-text-row label .t-form-text-row input,.t-form-text-row select{vertical-align:middle} -.t-form-text-row input,.t-form-text-row select{width:20em} -.t-editor-dialog .t-button-wrapper{padding-top:.5em;text-align:right} -.t-editor-dialog .t-button{display:inline-block;*display:inline;zoom:1} -/* drag&drop module */.t-drag-clue{border-width:1px;border-style:solid;font-size:.9em;padding:.05em .15em;position:absolute;z-index:10003;white-space:nowrap;cursor:default;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px} -.t-drag-status{margin-right:4px;vertical-align:top;margin-top:-1px} -.t-reorder-cue{position:absolute;width:1px;overflow:visible} -.t-reorder-cue .t-icon{width:8px;height:4px;position:absolute;left:-4px} -.t-reorder-cue .t-arrow-down{top:-4px;background-position:-20px -182px} -.t-reorder-cue .t-arrow-up{bottom:-4px;background-position:-20px -166px} -/* Slider */div.t-slider{position:relative;border-width:0;background-color:transparent;-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:none;user-select:none} -.t-slider-vertical{width:22px;height:200px;/* default height */} -.t-slider-horizontal{display:inline-block;height:22px;width:200px;/* default width */} -*+html .t-slider-horizontal{display:inline;zoom:1} -* html .t-slider-horizontal{display:inline;zoom:1} -.t-slider-wrap{width:100%;height:100%} -.t-slider .t-button,.t-grid .t-slider .t-button{position:absolute;top:0;min-width:0;width:20px;height:20px;margin:0;padding:0;outline:0} -.t-slider .t-button .t-icon{vertical-align:top;margin-top:2px} -.t-state-disabled .t-slider-wrap{opacity:.6;filter:alpha(opacity=60)} -.t-state-disabled .t-slider-wrap .t-slider-items{color:#333} -.t-slider .t-button-decrease{left:0} -.t-slider-vertical .t-button-decrease,.t-grid .t-slider-vertical .t-button-decrease{top:auto;bottom:0} -.t-slider .t-button-increase{right:0} -.t-slider .t-icon{cursor:pointer} -.t-state-disabled .t-button,.t-state-disabled .t-draghandle,.t-state-disabled .t-slider-wrap .t-icon,.t-state-disabled .t-slider .t-icon{cursor:default} -*+html .t-slider .t-icon{margin-top:2px} -* html .t-slider .t-icon{margin-top:2px} -.t-slider-track,.t-slider-selection{position:absolute;margin:0;padding:0} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{height:6px;top:50%;left:0;margin-top:-3px;background-repeat:repeat-x} -.t-slider-horizontal .t-slider-track{border-width:0 1px;border-style:solid;background-position:0 -464px} -.t-slider-horizontal .t-slider-selection{background-position:0 -470px} -.t-slider-horizontal .t-slider-buttons .t-slider-track{left:27px} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{width:6px;left:50%;bottom:0;margin-left:-3px;background-repeat:repeat-y} -.t-slider-vertical .t-slider-track{border-width:1px 0;border-style:solid;background-position:0 0} -.t-slider-vertical .t-slider-selection{background-position:-6px 0} -.t-slider-vertical .t-slider-buttons .t-slider-track{bottom:27px} -.t-draghandle{position:absolute;background-repeat:no-repeat;background-color:transparent;text-indent:-3333px;text-decoration:none;text-align:center;overflow:hidden;cursor:pointer} -.t-slider-horizontal .t-draghandle{top:-7px;width:11px;height:20px} -.t-slider-vertical .t-draghandle{left:-7px;width:20px;height:11px} -.t-slider-horizontal .t-draghandle,.t-state-disabled.t-slider-horizontal a.t-draghandle,.t-state-disabled .t-slider-horizontal a.t-draghandle{background-position:0 -368px} -.t-slider-horizontal .t-draghandle:hover,.t-slider-horizontal .t-draghandle:focus{background-position:0 -400px} -.t-slider-horizontal a.t-draghandle.t-state-active{background-position:0 -432px} -.t-slider-vertical .t-draghandle,.t-state-disabled.t-slider-vertical a.t-draghandle,.t-state-disabled .t-slider-vertical a.t-draghandle{background-position:-32px -368px} -.t-slider-vertical .t-draghandle:hover,.t-slider-vertical .t-draghandle:focus{background-position:-32px -400px} -.t-slider-vertical a.t-draghandle.t-state-active{background-position:-32px -432px} -/* float clearing start */.t-slider-items{display:inline-block} -.t-slider-items{display:block} -.t-slider-items:after{content:"";display:block;clear:both;height:0;visibility:hidden} -/* float clearing end */.t-slider-buttons .t-slider-items{margin-left:27px} -.t-slider-horizontal .t-slider-items{height:100%} -.t-slider-vertical .t-slider-items{padding-top:1px} -.t-slider-vertical .t-slider-buttons .t-slider-items{padding-top:0} -.t-slider-vertical .t-slider-buttons .t-slider-items{margin:0;padding-top:28px} -.t-slider .t-tick{position:relative;margin:0;padding:0;background-color:transparent;background-repeat:no-repeat;background-position:center center;cursor:default} -.t-slider-horizontal .t-tick{float:left;text-align:center;height:100%} -/* fixes ticks position and removes spacing between them in IE6-7 */*+html .t-slider-vertical .t-tick{float:left;clear:left;width:100%} -* html .t-slider-vertical .t-tick{float:left;clear:left;width:100%} -/*ticks backgrounds*/.t-slider-horizontal .t-tick{background-position:center -94px} -.t-slider-horizontal .t-slider-topleft .t-tick{background-position:center -124px} -.t-slider-horizontal .t-slider-bottomright .t-tick{background-position:center -154px} -.t-slider-horizontal .t-tick-large{background-position:center -4px} -.t-slider-horizontal .t-slider-topleft .t-tick-large{background-position:center -34px} -.t-slider-horizontal .t-slider-bottomright .t-tick-large{background-position:center -64px} -.t-slider-vertical .t-tick{background-position:-94px center} -.t-slider-vertical .t-slider-topleft .t-tick{background-position:-124px center} -.t-slider-vertical .t-slider-bottomright .t-tick{background-position:-154px center} -.t-slider-vertical .t-tick-large{background-position:-4px center} -.t-slider-vertical .t-slider-topleft .t-tick-large{background-position:-34px center} -.t-slider-vertical .t-slider-bottomright .t-tick-large{background-position:-64px center} -.t-slider-horizontal .t-first{background-position:0 -4px} -.t-slider-horizontal .t-slider-topleft .t-first{background-position:0 -34px} -.t-slider-horizontal .t-slider-bottomright .t-first{background-position:0 -64px} -.t-slider-horizontal .t-last{background-position:100% -4px} -.t-slider-horizontal .t-slider-topleft .t-last{background-position:100% -34px} -.t-slider-horizontal .t-slider-bottomright .t-last{background-position:100% -64px} -.t-slider-vertical .t-first{background-position:-4px 100%} -.t-slider-vertical .t-slider-topleft .t-first{background-position:-34px 100%} -.t-slider-vertical .t-slider-bottomright .t-first{background-position:-64px 100%} -.t-slider-vertical .t-last{background-position:-4px 0} -.t-slider-vertical .t-slider-topleft .t-last{background-position:-34px 0} -.t-slider-vertical .t-slider-bottomright .t-last{background-position:-64px 0} -.t-slider-vertical .t-tick{text-align:right} -.t-slider-vertical .t-slider-topleft .t-tick{text-align:left} -.t-slider .t-label{position:absolute;white-space:nowrap} -.t-slider-horizontal .t-label{left:0;width:100%} -.t-slider-horizontal .t-first .t-label{left:-50%} -.t-slider-horizontal .t-last .t-label{left:auto;right:-50%} -.t-slider-horizontal .t-label{bottom:-1.2em} -.t-slider-horizontal .t-slider-topleft .t-label{top:-1.2em} -.t-slider-vertical .t-label{left:120%;display:block;text-align:left} -.t-slider-vertical .t-last .t-label{top:-0.5em} -.t-slider-vertical .t-first .t-label{bottom:-0.5em} -.t-slider-vertical .t-slider-topleft .t-label{left:auto;right:120%} -/* Tooltip */.t-tooltip{position:absolute;border-width:1px;border-style:solid;padding:4px 5px;background-repeat:repeat-x;z-index:10002;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;min-width:10px;/*slider tooltip only*/text-align:center;/*slider tooltip only*/} -.t-callout{position:absolute} -.t-callout-n,.t-callout-s{width:9px;height:6px} -.t-callout-w,.t-callout-e{width:6px;height:9px} -.t-callout-n{top:-6px;left:50%;margin-left:-4px;background-position:-64px -368px} -.t-callout-w{left:-6px;top:50%;margin-top:-4px;background-position:-64px -384px} -.t-callout-s{top:100%;left:50%;margin-left:-4px;background-position:-64px -400px} -.t-callout-e{left:100%;top:50%;margin-top:-4px;background-position:-64px -416px} -/* Splitter */.t-splitter{position:relative;height:300px} -.t-splitter .t-pane{overflow:hidden} -.t-splitter .t-scrollable{overflow:auto} -.t-splitter .t-pane-loading{position:absolute;left:50%;top:50%;margin:-8px 0 0 -8px} -.t-ghost-splitbar,.t-splitbar{position:absolute;border-style:solid;font-size:0} -.t-splitter .t-ghost-splitbar-horizontal,.t-splitter .t-splitbar-horizontal{top:0;width:5px;border-width:0 1px;background-repeat:repeat-y} -.t-ghost-splitbar-vertical,.t-splitbar-vertical{left:0;height:5px;border-width:1px 0;background-repeat:repeat-x} -.t-splitbar-draggable-horizontal{cursor:w-resize} -.t-splitbar-draggable-vertical{cursor:n-resize} -.t-splitbar .t-resize-handle{display:none} -.t-restricted-size-horizontal,.t-restricted-size-vertical{background-color:#f00} -.t-splitbar-horizontal .t-icon{width:5px;height:21px;position:absolute;top:50%;margin-top:-10px} -.t-collapse-prev,.t-collapse-next,.t-expand-prev,.t-expand-next{cursor:pointer} -.t-splitbar-horizontal .t-collapse-prev{margin-top:-31px} -.t-splitbar-horizontal .t-collapse-next{margin-top:11px} -.t-splitbar-vertical .t-icon{height:5px;width:21px;position:absolute;left:50%;margin-left:-10px} -.t-splitbar-vertical .t-collapse-prev{margin-left:-31px} -.t-splitbar-vertical .t-collapse-next{margin-left:11px} -.t-splitbar-draggable-vertical .t-resize-handle,.t-splitbar-draggable-horizontal .t-resize-handle{display:inline-block;*display:inline;zoom:1} -.t-splitbar-horizontal{background-position:5px 0} -.t-splitbar-horizontal-hover{background-position:-12px 0} -.t-splitbar-horizontal-active,.t-ghost-splitbar-horizontal{background-position:-17px 0} -.t-restricted-size-horizontal{background-position:-22px 0} -.t-splitbar-horizontal .t-resize-handle{background-position:-10px -496px} -.t-splitbar-horizontal-hover .t-resize-handle{background-position:-10px -517px} -.t-splitbar-horizontal .t-collapse-prev,.t-splitbar-horizontal .t-expand-next{background-position:0 -496px} -.t-splitbar-horizontal-hover .t-collapse-prev,.t-splitbar-horizontal-hover .t-expand-next{background-position:0 -517px} -.t-splitbar-horizontal .t-collapse-next,.t-splitbar-horizontal .t-expand-prev{background-position:-5px -496px} -.t-splitbar-horizontal-hover .t-collapse-next,.t-splitbar-horizontal-hover .t-expand-prev{background-position:-5px -517px} -.t-splitbar-vertical{background-position:0 5px} -.t-splitbar-vertical-hover{background-position:0 -476px} -.t-splitbar-vertical-active,.t-ghost-splitbar-vertical{background-position:0 -481px} -.t-restricted-size-vertical{background-position:0 -486px} -.t-splitbar-vertical .t-resize-handle{background-position:-16px -496px} -.t-splitbar-vertical-hover .t-resize-handle{background-position:-16px -501px} -.t-splitbar-vertical .t-collapse-prev,.t-splitbar-vertical .t-expand-next{background-position:-16px -506px} -.t-splitbar-vertical-hover .t-collapse-prev,.t-splitbar-vertical-hover .t-expand-next{background-position:-16px -517px} -.t-splitbar-vertical .t-collapse-next,.t-splitbar-vertical .t-expand-prev{background-position:-16px -511px} -.t-splitbar-vertical-hover .t-collapse-next,.t-splitbar-vertical-hover .t-expand-prev{background-position:-16px -522px} -/* Upload */html .t-upload{position:relative;/*possibly unneeded as the style is applied to an inner element as well*/border-width:0;background:0} -.t-dropzone,.t-upload-files{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px} -.t-dropzone em,.t-upload-button{vertical-align:middle} -*+html .t-dropzone em,*+html .t-upload-button{vertical-align:baseline} -* html .t-dropzone em,* html .t-upload-button{vertical-align:baseline} -.t-dropzone{border-style:solid;border-width:0;padding:4px;background-color:transparent} -.t-dropzone em{margin-left:.6em;visibility:hidden} -.t-dropzone-active{border-width:1px;padding:3px} -.t-dropzone-active em{visibility:visible} -.t-upload-button{width:86px;position:relative;direction:ltr;overflow:hidden!important;/* important required by IE7 */} -.t-upload-button input{font:200px monospace!important;/* The input font size and family are critical for the operation of the Upload */opacity:0;filter:alpha(opacity=0);position:absolute;padding:0;margin:0;cursor:pointer;right:0;top:0;z-index:1} -.t-state-disabled .t-upload-button input{cursor:default} -.t-upload-files{border-style:solid;border-width:1px;margin:.2em 0 0;padding:.3em .7em .5em;line-height:1.9em} -.t-upload-files .t-button{position:relative;top:1px;margin-left:8px;padding-top:0;padding-bottom:0;font-size:84%} -*+html .t-upload-files .t-button{line-height:1} -/*IE7*/* html .t-upload-files .t-button{line-height:1} -/*IE6*/.t-upload .t-delete,.t-upload .t-cancel,.t-upload .t-retry{height:8px;vertical-align:baseline} -.t-upload .t-delete,.t-upload .t-cancel{width:7px;background-position:-5px -292px} -.t-retry{background-position:-66px -228px;width:11px} -.t-success{background-position:-64px -240px} -.t-fail{background-position:-64px -256px} -.t-filename{position:relative;display:inline-block;min-width:120px;max-width:200px;vertical-align:middle;zoom:1;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space:nowrap} -* html .t-filename{width:200px;display:inline} -*+html .t-filename{display:inline} -.t-progress,.t-progress-status{position:absolute;bottom:-2px;left:0;width:118px;height:2px;border-style:solid;border-width:1px;background-repeat:repeat-x;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px} -.t-progress-status{left:-1px;bottom:-1px;width:50%} -.t-upload-selected{min-width:86px;box-sizing:content-box;-moz-box-sizing:content-box;-ms-box-sizing:content-box;margin:3px 0 0} -*+html .t-upload-selected{min-width:100px} -/* ImageBrowser */.t-toolbar-wrap .t-dropzone em,.t-toolbar-wrap .t-upload-files{display:none} -.t-toolbar-wrap .t-dropzone{border:0;padding:0;background-color:transparent} -.t-search-wrap{float:right;width:auto;position:relative;padding:0} -.t-search-wrap label{position:absolute;top:0;left:4px;line-height:20px;font-style:italic} -.t-search-wrap input.t-input{width:158px;padding-left:0;padding-right:0} -.t-search{background-position:-64px -176px} -.t-search-wrap .t-search{position:absolute;top:1px;right:2px} -.t-breadcrumbs{float:left;position:relative;width:560px} -.t-breadcrumbs-wrap{position:absolute;z-index:1;top:0;left:0;padding-left:5px;line-height:18px} -html input.t-breadcrumbs-input{width:100%;padding-left:2px;font-family:inherit} -.t-breadcrumbs .t-link,.t-breadcrumbs-wrap .t-icon{text-decoration:none;vertical-align:middle;margin-top:0} -.t-breadcrumbs .t-link:hover{text-decoration:underline} -.t-imagebrowser .t-breadcrumbs .t-first{text-decoration:none;cursor:default} -.t-imagebrowser .t-toolbar{clear:both;border-style:solid;border-width:1px;margin:8px 0 0;padding:2px 0 3px;background-repeat:repeat-x;line-height:23px;white-space:nowrap;/*required by WebKit*/} -.t-imagebrowser .t-upload{float:left} -.t-imagebrowser .t-upload-button{width:auto;vertical-align:top} -.t-imagebrowser .t-upload .t-icon{vertical-align:bottom} -*+html .t-imagebrowser .t-upload-button,*+html .t-imagebrowser .t-upload .t-icon{vertical-align:baseline;position:relative;top:1px} -* html .t-imagebrowser .t-upload-button,* html .t-imagebrowser .t-upload .t-icon{vertical-align:baseline;position:relative;top:1px} -*+html .t-imagebrowser .t-upload .t-icon{top:2px} -* html .t-imagebrowser .t-upload .t-icon{top:2px} -*+html .t-imagebrowser .t-toolbar .t-button-icon{vertical-align:middle} -* html .t-imagebrowser .t-toolbar .t-button-icon{vertical-align:middle} -.t-addfolder{background-position:-64px -192px} -.t-goup{background-position:-64px -208px} -.t-toolbar .t-state-disabled{opacity:.5;filter:alpha(opacity=50)} -.t-toolbar-wrap{float:left} -.t-tiles-arrange{float:right} -* html .t-tiles-arrange{margin:3px 0 0} -.t-tiles-arrange .t-arrow-down{margin:0 2px 0 3px} -.t-tiles-arrange a{text-decoration:none} -.t-tiles{clear:both;height:390px;border-style:solid;border-width:1px;border-top-width:0;margin:0 0 1.4em;padding:9px;overflow:auto;line-height:1.2} -.t-tile{width:223px;height:88px;overflow:hidden;float:left;border-width:1px;border-style:solid;margin:1px;padding:0 0 4px;cursor:pointer;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px} -.t-imagebrowser .t-thumb{float:left;display:inline;width:86px;height:86px;margin:4px 10px 0 4px;-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:none;user-select:none} -.t-imagebrowser .t-image{margin:2px 0 0 2px;-moz-box-shadow:1px 1px 3px #aaa;-webkit-box-shadow:1px 1px 3px #aaa;box-shadow:1px 1px 3px #aaa} -.t-imagebrowser .t-folder{width:80px;height:80px;background-position:0 -200px;background-repeat:no-repeat} -.t-goback{background-position:-64px -224px} -.t-imagebrowser .t-loading{margin:35px 0 0 33px} -.t-tile strong,.t-tile input{margin:10px 0 4px;font-weight:normal} -.t-tile strong{float:left;width:120px;overflow:hidden;text-overflow:ellipsis} -.t-tile input{width:100px} -.t-tile em,.t-tile .t-filesize{clear:left;font-weight:normal;font-style:normal} -.t-tile strong,.t-tile input,.t-tile em,.t-tile .t-filesize{display:block} -.t-imagebrowser .t-form-text-row input{width:628px} -/* * html .t-imagebrowser .t-form-text-row input{width:610px} -*+html .t-imagebrowser .t-form-text-row input{width:610px} -*/.t-tile-empty{margin:160px 0 0} -.t-tile-empty .t-dialog-upload{font-weight:bold;font-size:120%} -.t-tile-empty strong{display:block;margin:0 0 .2em;font-size:3em;font-weight:normal} -.t-tile-empty,.t-tile-empty .t-button-wrapper{text-align:center} -.t-touch-scrollbar{position:absolute;display:none;z-index:200000;height:8px;width:8px;border:1px solid #8a8a8a;background-color:#858585;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px} -@media only screen and (-webkit-min-device-pixel-ratio:2){.t-touch-scrollbar{height:12px;width:12px;-webkit-border-radius:7px} -} -/* Chart */div.t-chart{border:0;background-color:transparent} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.default.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.default.min.css deleted file mode 100644 index 4a857f639..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.default.min.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Default theme*/.t-widget,.t-input{border-color:#989898;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#fff} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#989898;background:#adadad url('Default/sprite.png') repeat-x 0 -752px} -.t-icon{background-image:url('Default/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Default/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Default/loading.gif') no-repeat 0 0} -.t-widget,.t-link:link,.t-link:active,.t-link:visited,.t-popup{color:#000} -.t-group,.t-content,.t-editable-area{border-color:#828282;background-color:#fff} -.t-colorpicker .t-arrow-down{border-color:#989898} -.t-separator{border-color:#d8d8d8;background-color:#999} -.t-alt{background-color:#f7f7f7} -.t-state-default{border-color:#828282} -.t-active-filter{background-color:#cdcdcd} -.t-state-hover,.t-state-hover:hover{background-color:#e9e9e9;border-color:#828282} -.t-header .t-state-hover{background-color:#dcdada} -.t-state-active,.t-header .t-state-active{background-color:#fff;border-color:#828282} -.t-state-selected{background-color:#ddd} -.t-state-focused{background-color:#c2c2c2} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{border-color:#828282;color:#333} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#adadad url('Default/sprite.png') repeat-x 0 -560px} -.t-button:hover{background-position:0 -624px;background-color:#c9c9c9} -.t-state-disabled,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#888} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#aaa;background-color:#eee} -.t-grid-header-wrap,.t-grid-footer-wrap{border-color:#989898} -.t-grid td{border-color:#ddd} -.t-grouping-row td{background:#fff url('Default/sprite.png') repeat-x 0 -48px} -.t-footer-template td{background-color:#eee;border-color:#828282 #eee #fff} -.t-group-footer td,.t-grid-footer{background-color:#eee;border-color:#828282} -.t-grouping-header .t-group-indicator{color:#333;border-color:#ccc} -.t-grouping-dropclue{background:url('Default/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#fff} -.t-treeview .t-drop-clue{background-image:url('Default/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#838383} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#aaa} -.t-calendar th{border-color:#c5c5c5} -.t-other-month .t-link{color:#898989} -.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-image:url('Default/treeview-nodes.png')} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{background-image:url('Default/treeview-nodes-rtl.png')} -.t-treeview-lines .t-item{background-image:url('Default/treeview-line.png')} -.t-treeview-lines .t-last{background-image:none} -.t-editor-button .t-state-hover{border-color:#e2e2e2 #878787 #878787 #e2e2e2;background-color:#c6c6c6} -.t-editor-button .t-state-active{border-color:#767676 #d0d0d0 #d0d0d0 #767676;background-color:#9e9e9e} -/* Slider */.t-slider .t-draghandle{background-image:url('Default/sprite.png');color:#333} -.t-slider-track{border-color:#a5a5a5} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Default/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Default/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Default/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Default/slider-v.gif')} -/* Tooltip */.t-tooltip{background:#adadad 0 -624px repeat-x url('Default/sprite.png')} -.t-callout{background-image:url('Default/sprite.png')} -/* Splitter */.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Default/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Default/sprite-vertical.png')} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#828282} -.t-dropzone-hovered,.t-upload-files{background-color:#e2e2e2} -.t-dropzone em{color:#828282} -.t-progress,.t-progress-status{background-image:url('Default/sprite.png')} -.t-progress{background-position:0 -465px;border-color:#a1a1a1 #b3b3b3 #c8c8c8} -.t-progress-status{background-position:0 -472px;border-color:#989898 transparent #6b6b6b} -/* ImageBrowser */.t-imagebrowser .t-content{background:#f1f1f1} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{color:#9f9f9f} -.t-tiles{border-color:#e2e3ea;background:#fff} -.t-tile{border-color:#fff;background:0 100px repeat-x url('Default/imagebrowser.png')} -.t-tiles li.t-state-hover{border-color:#989898;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#989898;background-position:0 -100px} -.t-tile .t-folder{background-image:url('Default/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#666} -.t-tile-empty strong{color:#aaa} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.forest.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.forest.min.css deleted file mode 100644 index d4f69d546..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.forest.min.css +++ /dev/null @@ -1,78 +0,0 @@ -/* Forest theme*/.t-widget,.t-input{border-color:#486b23;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#d1deb6} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#486b23;color:#fff;background:#4c7822 url('Forest/sprite.png') repeat-x 0 -752px} -.t-icon{background-image:url('Forest/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Forest/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Forest/loading.gif') no-repeat 0 0} -.t-widget,.t-link,.t-popup{color:#2b2c20} -.t-header,.t-header .t-link,.t-state-active .t-header .t-state-default .t-link /*nested tabstrips*/{color:#fff} -.t-content,.t-content .t-link,.t-group .t-link{color:#2b2c20} -.t-group,.t-content,.t-editable-area{border-color:#486b23;background-color:#d1deb6} -.t-colorpicker .t-arrow-down{border-color:#486b23} -.t-separator{border-color:#719652;background-color:#4c6d3b} -.t-alt{background-color:#c7d6a7} -.t-state-default{border-color:#486b23} -.t-active-filter{background-color:#60963e} -.t-state-hover,.t-state-hover .t-link,.t-state-selected,.t-state-selected .t-link{color:#fff} -.t-state-hover,.t-state-hover:hover{background-color:#6c9f4f;border-color:#486b23} -.t-state-selected,.t-state-selected .t-state-hover{background-color:#3a5621;border-color:#486b23} -.t-state-focused{background-color:#a7bc75} -.t-state-active{background-color:#d1deb6;border-color:#486b23} -.t-tabstrip .t-state-active .t-link,.t-state-active .t-tabstrip .t-state-active .t-link /*nested tabstrips*/{color:#2b2c20} -.t-group .t-state-hover,.t-group .t-state-selected{color:#fff;background-image:none} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{border-color:#486b23;color:#fff} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#486c24 url('Forest/sprite.png') repeat-x 0 -560px} -.t-button:hover{background-position:0 -624px;background-color:#4d7924} -.t-state-disabled,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#2a4b17;border-color:#486b23} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#486b23;background-color:#a7bc75} -.t-editor-button .t-state-active{background-color:#527c30} -.t-grid-header-wrap,.t-grid-footer-wrap{border-color:#486b23} -.t-grid td{border-color:#bdcb9e} -.t-grouping-row td{background:#d1deb6 url('Forest/sprite.png') repeat-x 0 -48px} -.t-footer-template td{background-color:#b1c67f;border-color:#3c6716 #b1c67f #b1c67f} -.t-group-footer td{background-color:#b1c67f;border-color:#3c6716} -.t-grid-footer,.t-grid-footer-wrap table{background-color:#b1c67f;border-color:#3c6716} -.t-grouping-header .t-group-indicator{color:#333;border-color:#486B23} -.t-grouping-dropclue{background:url('Forest/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#d1deb6} -.t-treeview .t-drop-clue{background-image:url('Forest/sprite.png');background-position:0 -358px} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#486b23} -.t-calendar th{background-color:#a6bb74;border-color:#9cb16a} -.t-other-month .t-link{color:#88914b} -.t-state-hover .t-link{color:#fff} -.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-image:url('Forest/treeview-nodes.png')} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{background-image:url('Forest/treeview-nodes-rtl.png')} -.t-treeview-lines .t-item{background-image:url('Forest/treeview-line.png')} -.t-treeview-lines .t-last{background-image:none} -.t-window{-moz-box-shadow:0 0 5px 2px #6f855a;-webkit-box-shadow:0 0 5px 2px #6f855a;box-shadow:0 0 5px 2px #6f855a} -.t-editor-button .t-state-hover{border-color:#88ab72 #416926 #416926 #88ab72;background-color:#548231} -.t-editor-button .t-state-active{border-color:#2a4b17 #7f9c6d #7f9c6d #2a4b17;background-color:#446e29} -/*Slider*/.t-slider .t-draghandle{background-image:url('Forest/sprite.png');color:#486b23} -.t-slider-track{border-color:#658843} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Forest/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Forest/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Forest/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Forest/slider-v.gif')} -/*Tooltip*/.t-tooltip{background:#486c24 0 -625px repeat-x url('Forest/sprite.png');color:#fff} -.t-callout{background-image:url('Forest/sprite.png')} -/* Splitter */.t-splitbar-vertical,.t-splitbar-horizontal{background-color:#527f2c} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Forest/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Forest/sprite-vertical.png')} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#8aaf64} -.t-dropzone-hovered,.t-upload-files{background-color:#d1deb6} -.t-dropzone em{color:#6b715f} -.t-progress,.t-progress-status{background-image:url('Forest/sprite.png')} -.t-progress{background-position:0 -466px;border-color:#52752e #6c8c49 #83a564} -.t-progress-status{background-position:0 -472px;border-color:#4f722b transparent #193809} -/* ImageBrowser */.t-imagebrowser .t-content{background:#d3e0c2} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{color:#6b715f} -.t-toolbar .t-upload .t-button{color:#2b2c20} -.t-tiles-arrange{color:#6b715f} -.t-tiles{border-color:#8aaf64;background:#fff} -.t-tile{border-color:#fff;background:0 100px repeat-x url('Forest/imagebrowser.png')} -.t-tiles li.t-state-hover{border-color:#76ad3b;background-position:0 0;color:#2b2c20} -.t-tiles li.t-state-selected{border-color:#8aaf64;background-position:0 -100px;color:#2b2c20} -.t-tile .t-folder{background-image:url('Forest/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#6b715f} -.t-tile-empty strong{color:#8d947f} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.hay.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.hay.min.css deleted file mode 100644 index 19a4d54c0..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.hay.min.css +++ /dev/null @@ -1,81 +0,0 @@ -/* Hay theme*/.t-widget,.t-input{border-color:#7d7c6f;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#ececd8} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#378909;background:#4eb106 url('Hay/sprite.png') repeat-x 0 -752px} -.t-icon{background-image:url('Hay/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Hay/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Hay/loading.gif') no-repeat 0 0} -.t-widget,.t-link,.t-popup{color:#333} -.t-header,.t-header .t-link,.t-state-active .t-header .t-state-default .t-link /*nested tabstrips*/{color:#fff} -.t-header .t-group,.t-group .t-link{color:#333} -.t-group,.t-content,.t-editable-area{border-color:#bbb99d;background-color:#ececd8} -.t-colorpicker .t-arrow-down{border-color:#378909} -.t-separator{border-color:#73c335;background-color:#378909} -.t-alt{background-color:#fff} -.t-state-default{border-color:#378909} -.t-active-filter{background-color:#51b200} -.t-state-hover,.t-state-hover .t-link,.t-group .t-state-hover{color:#fff} -.t-state-hover,.t-state-hover:hover{background-color:#6cc41a;border-color:#378909} -.t-state-active{background-color:#ececd8;border-color:#378909} -.t-state-active,.t-state-active .t-link,.t-state-active .t-tabstrip .t-state-active .t-link /*nested tabstrips*/{color:#333} -.t-state-active .t-header,.t-state-active .t-state-hover{color:#fff} -.t-state-selected{background:#4e8e13} -.t-state-focused{background-color:#d2d0b6} -.t-state-selected,.t-state-selected .t-header,.t-state-selected .t-state-hover,.t-state-selected .t-link{color:#fff} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{border-color:#898772;color:#333} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#e0e2cb url('Hay/sprite.png') repeat-x 0 -560px} -.t-button:hover{background-position:0 -624px;background-color:#bbbe94} -.t-state-disabled,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#999} -.t-header .t-state-disabled,.t-header .t-state-disabled .t-link{color:#d2d2d2;border-color:#5ca136} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#bbb99d;background-color:#dee0c8} -.t-panelbar .t-link{border-color:#333} -.t-grid-header-wrap{border-color:#378909} -.t-grid-footer-wrap{border-color:#bbb99d} -.t-grid td{border-color:#ddd} -.t-grid tr.t-state-hover td{border-color:#6CC41A} -.t-grid tr.t-state-selected td{border-color:#378909} -.t-grouping-row td{background:#fff url('Hay/sprite.png') repeat-x 0 -48px} -.t-footer-template td{background-color:#dee0c8;border-color:#bbb99d #dee0c8 #fff} -.t-group-footer td{background-color:#dee0c8;border-color:#bbb99d} -.t-grid-footer,.t-grid-footer-wrap table{background-color:#dee0c8;border-color:#bbb99d} -.t-grouping-header .t-group-indicator{color:#333;border-color:#aaa} -.t-grouping-dropclue{background:url('Hay/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#fff} -.t-treeview .t-drop-clue{background-image:url('Hay/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#2C8406} -.t-calendar th{border-color:#cac8ab} -.t-other-month .t-link{color:#777} -.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-image:url('Hay/treeview-nodes.png')} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{background-image:url('Hay/treeview-nodes-rtl.png')} -.t-treeview-lines .t-item{background-image:url('Hay/treeview-line.png')} -.t-treeview-lines .t-last{background-image:none} -.t-editor-button .t-state-hover{border-color:#73cd26 #38910a #38910a #73cd26;background-color:#63c215} -.t-editor-button .t-state-active{border-color:#257802 #60ba1d #60ba1d #257802;background-color:#47a605} -/*Slider*/.t-slider .t-draghandle{background-image:url('Hay/sprite.png');color:#7d7c6f} -.t-slider-track{border-color:#b6b499} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Hay/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Hay/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Hay/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Hay/slider-v.gif')} -/*Tooltip*/.t-tooltip{border-color:#cccab0;background:#e0e2cb 0 -560px repeat-x url('Hay/sprite.png')} -.t-callout{background-image:url('Hay/sprite.png')} -/* Splitter */.t-splitter{border-color:#cac8ab} -.t-splitbar-vertical,.t-splitbar-horizontal{background-color:#ececd8;border-color:#cac8ab} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Hay/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Hay/sprite-vertical.png')} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#bbb99d} -.t-dropzone-hovered,.t-upload-files{background-color:#f5f5e6} -.t-dropzone em{color:#787878} -.t-progress,.t-progress-status{background-image:url('Hay/sprite.png')} -.t-progress{background-position:0 -467px;border-color:#9a9881 #b6b49b #cdccb7} -.t-progress-status{background-position:0 -472px;border-color:#74cd23 transparent #3a8e09} -/* ImageBrowser */.t-imagebrowser .t-content{background:#f5f5e6} -.t-search-wrap label,.t-tiles-arrange{color:#787878} -.t-breadcrumbs .t-link{color:#333} -.t-tiles{border-color:#bbb99d;background:#fff} -.t-tile{border-color:#fff;background:0 100px repeat-x url('Hay/imagebrowser.png')} -.t-tiles li.t-state-hover{border-color:#46a700;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#bbb99d;background-position:0 -100px;color:#000} -.t-tile .t-folder{background-image:url('Hay/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#525252} -.t-tile-empty strong{color:#bbb99d} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.metro.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.metro.min.css deleted file mode 100644 index ec96f058a..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.metro.min.css +++ /dev/null @@ -1,95 +0,0 @@ -/* Metro theme*/.t-widget,.t-input{border-color:#e5e5e5;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#fff} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#25a0da;background:#25a0da;color:#fff} -.t-icon{background-image:url('Metro/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Metro/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Metro/loading.gif') no-repeat 0 0} -.t-dropdown .t-input,.t-header.t-link,.t-group .t-header.t-link,.t-header .t-link,.t-state-active .t-header.t-link{color:#fff} -.t-widget,.t-link,.t-popup,.t-group,.t-group .t-link,.t-content,.t-editable-area,.t-breadcrumbs .t-breadcrumbs-wrap .t-link{color:#767676} -.t-group,.t-content,.t-editable-area{border-color:#e5e5e5;background-color:#fff} -.t-colorpicker .t-arrow-down{border-color:#e5e5e5} -.t-separator{border-color:#fff;background-color:#999} -.t-alt{background-color:#f4f4f4} -.t-state-default{border-color:#e5e5e5} -.t-active-filter{background-color:#d8d8d8} -.t-state-active{background-color:#fff;border-color:#e5e5e5} -.t-state-active,.t-state-active .t-link{color:#000} -.t-state-selected{background-color:#25a0da} -.t-state-selected,.t-state-selected .t-link,.t-state-selected.t-link{color:#fff} -.t-state-hover,.t-state-focused{background-color:#e5e5e5;border-color:#e5e5e5} -.t-state-hover,.t-state-hover:hover,.t-state-hover:hover .t-link,.t-link.t-state-hover:hover{color:#000} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#de3914;background-color:#fff} -.t-button{color:#777} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{border-color:#e5e5e5;background:#fff} -.t-button:hover{background:#e5e5e5;color:#000} -.t-state-disabled,.t-state-disabled:hover,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#bbb} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#e5e5e5;background-color:#fff} -.t-grid-header-wrap{border-color:#25a0da} -.t-grid-footer-wrap{border-color:#e5e5e5} -.t-grid td{border-color:#e5e5e5} -.t-grid tr.t-state-selected td{border-color:#25a0da} -.t-grouping-header .t-group-indicator{color:#333;border-color:#e5e5e5} -.t-grouping-dropclue{background:url('Metro/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row td,.t-grouping-row p{background:#e5e5e5} -.t-footer-template td{background-color:#fff;border-color:#e5e5e5 #e5e5e5 #fff} -.t-group-footer td{background-color:#fff;border-color:#e5e5e5} -.t-grid-footer,.t-grid-footer-wrap table{background-color:#fff;border-color:#e5e5e5} -.t-treeview .t-drop-clue{background-image:url('Metro/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#25a0da} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#e5e5e5} -.t-header .t-arrow-prev{background-position:-48px -496px} -.t-header .t-arrow-next{background-position:-64px -496px} -.t-header .t-arrow-up{background-position:-48px -511px} -.t-header .t-arrow-down{background-position:-64px -510px} -.t-group .t-arrow-prev,.t-arrow-prev{background-position:-16px -192px} -.t-group .t-arrow-next{background-position:-32px -192px} -.t-group .t-arrow-up,.t-state-hover .t-arrow-up{background-position:-16px -160px} -.t-group .t-arrow-down,.t-state-hover .t-arrow-down{background-position:-16px -176px} -.t-header .t-link+.t-grid-filter .t-filter{background-position:-48px -538px} -.t-header .t-state-hover+.t-grid-filter .t-filter,.t-header .t-link+.t-state-hover .t-filter{background-position:0 -240px} -.t-calendar th{border-color:#e5e5e5} -.t-other-month .t-link{color:#777} -/*Slider*/.t-slider .t-draghandle{border-width:1px;border-style:solid;color:#606060} -.t-slider-horizontal .t-draghandle{width:7px;height:18px;top:-8px} -.t-slider-vertical .t-draghandle{width:18px;height:7px;left:-8px} -.t-slider .t-draghandle{border-color:#fff;background-color:#25a0da} -.t-slider-horizontal .t-draghandle{width:5px} -.t-slider-vertical .t-draghandle{height:5px} -.t-slider .t-slider-track{background:#e5e5e5 none;border:1px solid #e5e5e5} -.t-slider .t-slider-selection{background:#25a0da none;border:1px solid #25a0da} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{height:4px} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{width:4px} -.t-slider-horizontal .t-tick{background-image:url('Metro/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Metro/slider-v.gif')} -/*TabStrip*/.t-tabstrip-items .t-state-default{border-color:#25a0da} -.t-tabstrip-items .t-state-hover{border-color:#fff;background-color:transparent} -.t-tabstrip-items .t-state-hover .t-link{color:#fff} -.t-tabstrip-items .t-state-active{border-color:#fff;background-color:#fff} -.t-tabstrip-items .t-state-active .t-link{color:#000} -/*Tooltip*/.t-tooltip{border-color:#25a0da;background:#25a0da;color:#fff} -.t-callout{background-image:url('Metro/sprite.png')} -/* Splitter */.t-splitter{border-color:#e5e5e5} -.t-splitbar-vertical,.t-splitbar-horizontal{background-color:#e5e5e5;border-color:#e5e5e5} -.t-splitbar-vertical-hover,.t-splitbar-horizontal-hover{background-color:#25a0da} -.t-splitbar-horizontal-active,.t-splitbar-vertical-active,.t-ghost-splitbar-horizontal,.t-ghost-splitbar-vertical{background-color:#25a0da} -.t-restricted-size-horizontal,.t-restricted-size-vertical{background-color:#de3914} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#e5e5e5} -.t-dropzone-hovered,.t-upload-files{background-color:#e5e5e5} -.t-dropzone em{color:#9b9b9b} -.t-progress{background-color:#e5e5e5;border-color:#e5e5e5} -.t-progress-status{background-color:#25a0da;border-color:#25a0da} -/* ImageBrowser */.t-imagebrowser .t-content{background:#e5e5e5} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{color:#9b9b9b} -.t-tiles{border-color:#e5e5e5;background:#fff} -.t-tile{border-color:#fff} -.t-tiles li.t-state-hover{border-color:#e5e5e5;background-color:#e5e5e5} -.t-tiles li.t-state-selected{border-color:#25a0da;background-color:#25a0da;color:#fff} -.t-tile .t-folder{background-image:url('Metro/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#6e6659} -.t-tile-empty strong{color:#9e9e9e} -/*Window,Editor*/html div.t-window{border-width:1px} -:root div.t-window{border-width:1px} -.t-window-actions .t-state-hover,.t-editor-button .t-state-hover{border-color:#fff;background-color:transparent} -.t-editor-button .t-state-active{border-color:#fff;background-color:#57b5df} -/*rounded corners and shadows*/.t-button,div.t-window,.t-window-titlebar,div.t-window-content,.t-window-titlebar .t-state-hover,.t-tabstrip-items .t-item,.t-panelbar .t-tabstrip-items .t-item,.t-pager .t-state-active,.t-pager .t-state-hover,.t-grid .t-filter-options,.t-grouping-header .t-group-indicator,.t-treeview .t-state-hover,.t-treeview .t-state-selected,.t-colorpicker .t-selected-color,.t-editor-button .t-state-hover,.t-editor-button .t-state-active,.t-drag-clue,.t-tooltip,.t-dropzone,.t-upload-files,.t-progress,.t-progress-status,.t-tile{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0} -.t-popup,.t-menu .t-group,div.t-window,.t-imagebrowser .t-image{-moz-box-shadow:0;-webkit-box-shadow:0;box-shadow:0} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.office2007.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.office2007.min.css deleted file mode 100644 index aa4089118..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.office2007.min.css +++ /dev/null @@ -1,74 +0,0 @@ -/* Office2007 theme*/.t-widget,.t-input{border-color:#688caf;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#fff} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#688caf;background:#c3d8f1 url('Office2007/sprite.png') repeat-x 0 -752px} -.t-icon{background-image:url('Office2007/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Office2007/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Office2007/loading.gif') no-repeat 0 0} -.t-widget,.t-link:link,.t-link:active,.t-link:visited,.t-popup{color:#000} -.t-group,.t-content,.t-editable-area{border-color:#688caf;background-color:#fff} -.t-colorpicker .t-arrow-down{border-color:#688caf} -.t-separator{border-color:#ebf1f9;background-color:#a0b2c7} -.t-alt{background-color:#fff} -.t-state-default{border-color:#688caf} -.t-active-filter{background-color:#c0d9ef} -.t-state-hover,.t-state-hover:hover{background-color:#d6e5f3;border-color:#688caf} -.t-state-active{background-color:#fff;border-color:#688caf} -.t-state-selected{background-color:#ffd176} -.t-state-focused{background-color:#d6e5f3;color:#092061} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{color:#333} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{border-color:#688caf;background:#e5effb url('Office2007/sprite.png') repeat-x 0 -560px} -.t-button:hover{border-color:#d8ca95 #b9a073 #c6b99c;background-position:0 -624px;background-color:#ffdf84} -.t-state-disabled,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#82a6d7} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#5d8cc9;background-color:#d6e5f3} -.t-grid-header-wrap,.t-grid-footer-wrap{border-color:#688caf} -.t-grid td{border-color:#d6e5f3} -.t-grouping-row td{background:#fff url('Office2007/sprite.png') repeat-x 0 -48px} -.t-footer-template td{background-color:#d6e5f3;border-color:#567db0 #d6e5f3 #fff} -.t-group-footer td{background-color:#d6e5f3;border-color:#567db0} -.t-grid-footer,.t-grid-footer-wrap table{background-color:#d6e5f3;border-color:#567db0} -.t-grouping-header .t-group-indicator{color:#333;border-color:#aaa} -.t-grouping-dropclue{background:url('Office2007/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#fff} -.t-treeview .t-drop-clue{background-image:url('Office2007/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#a79d87} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#5d8cc9} -.t-calendar th{border-color:#9ebfdb} -.t-other-month .t-link{color:#777} -.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-image:url('Office2007/treeview-nodes.png')} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{background-image:url('Office2007/treeview-nodes-rtl.png')} -.t-treeview-lines .t-item{background-image:url('Office2007/treeview-line.png')} -.t-treeview-lines .t-last{background-image:none} -.t-editor-button .t-state-hover{border-color:#e8f0fa #98b2d0 #98b2d0 #e8f0fa;background-color:#d4e3f5} -.t-editor-button .t-state-active{border-color:#88a4c5 #d0dcea #d0dcea #88a4c5;background-color:#9fbad9} -/*Slider*/.t-slider .t-draghandle{background-image:url('Office2007/sprite.png');color:#688caf} -.t-slider-track{border-color:#6b89b2} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Office2007/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Office2007/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Office2007/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Office2007/slider-v.gif')} -/*Tooltip*/.t-tooltip{border-color:#767676;background:#cad9ef 0 -96px repeat-x url('Office2007/sprite.png');color:#333} -.t-callout{background-image:url('Office2007/sprite.png')} -/* Splitter */.t-splitter{border-color:#9eb6ce} -.t-splitbar-vertical,.t-splitbar-horizontal{background-color:#d7e6f7;border-color:#9eb6ce} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Office2007/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Office2007/sprite-vertical.png')} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#688caf} -.t-dropzone-hovered,.t-upload-files{background-color:#d6e5f3} -.t-dropzone em{color:#3e7ecf} -.t-progress,.t-progress-status{background-image:url('Office2007/sprite.png')} -.t-progress{background-position:0 -465px;border-color:#82a6d7 #8aacda #82a6d7} -.t-progress-status{background-position:0 -472px;border-color:#6b89b2 transparent} -/* ImageBrowser */.t-imagebrowser .t-content{background:#dde8f5} -.t-breadcrumbs .t-link{color:#3e7ecf} -.t-breadcrumbs .t-link:hover{color:#00156e} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{color:#8bb2e2} -.t-tiles-arrange{color:#3e7ecf} -.t-toolbar .t-upload .t-button,.t-tiles-arrange .t-link{color:#00156e} -.t-tiles{border-color:#8bb2e2;background:#fff} -.t-tile{border-color:#fff;background:0 100px repeat-x url('Office2007/imagebrowser.png')} -.t-tiles li.t-state-hover{border-color:#c5af7f;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#c0a776;background-position:0 -100px} -.t-tile .t-folder{background-image:url('Office2007/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#636363} -.t-tile-empty strong{color:#8bb2e2} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.office2010black.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.office2010black.min.css deleted file mode 100644 index 8bd14e6cc..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.office2010black.min.css +++ /dev/null @@ -1,73 +0,0 @@ -/* Default theme*/.t-widget,.t-input{border-color:#2c2c2c;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#6f6f6f} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#444;background:#6b6b6b url('Office2010Black/sprite.png') repeat-x 0 -752px} -.t-icon{background-image:url('Office2010Black/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Office2010Black/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Office2010Black/loading.gif') no-repeat 0 0} -.t-widget,.t-link:link,.t-link:active,.t-link:visited,.t-popup,.t-group,.t-grid .t-header{color:#000} -.t-group,.t-content,.t-editable-area{border-color:#828282;background-color:#f6f6f6} -.t-colorpicker .t-arrow-down{border-color:#606060} -.t-separator{border-color:#606060;background-color:#adadad} -.t-alt{background-color:#646464} -.t-state-default{border-color:#848484} -.t-active-filter{background-color:#f9d04c} -.t-state-hover,.t-state-hover:hover{background-color:#ffe175;border-color:#f7c840} -.t-header .t-state-hover{background-color:#ffe175} -.t-state-active,.t-header .t-state-active{background-color:#e6e6e6;/*#ffcb36;*/border-color:#444;/*#c28b31 #c29a42 #c2a34c;*/} -.t-state-selected{background-color:#ffcb36} -.t-state-focused{background-color:#a9a9a9} -.t-state-hover,.t-state-selected{color:#000} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{border-color:#262626;color:#000} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#6f6f6f url('Office2010Black/sprite.png') repeat-x 0 -560px} -.t-button:hover{background-position:0 -624px;background-color:#fff3c9} -.t-state-disabled,.t-state-disabled:hover,.t-state-disabled .t-link,.t-state-disabled .t-button{border-color:#262626;color:#5e5e5e} -.t-popup,.t-menu .t-group{-moz-box-shadow:2px 2px 2px #444;-webkit-box-shadow:2px 2px 2px #444;box-shadow:2px 2px 2px #444} -.t-autocomplete,.t-input{background-color:#fff} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-group-footer td,.t-grid-footer,.t-footer-template td,.t-widget .t-status{border-color:#444;background-color:#777} -.t-grid{color:#fff} -.t-grid-pager .t-link{color:#fff} -.t-grid-pager .t-state-hover,.t-grid-pager .t-state-active{color:#000} -.t-grid-header-wrap,.t-grid-footer-wrap,.t-grid td{border-color:#444} -.t-grouping-row td{background:url('Office2010Black/sprite.png') repeat-x 0 -48px} -.t-grouping-header .t-group-indicator{border-color:#444;background:#6f6f6f url('Office2010Black/sprite.png') repeat-x 0 -560px} -.t-grouping-dropclue{background:url('Office2010Black/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#6f6f6f} -.t-treeview .t-drop-clue{background-image:url('Office2010Black/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#4f4f4f} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#4f4f4f} -.t-filter-options,.t-menu .t-group{-moz-box-shadow:2px 2px 2px #4f4f4f;-webkit-box-shadow:2px 2px 2px #4f4f4f;box-shadow:2px 2px 2px #4f4f4f} -.t-calendar th{border-color:#c5c5c5} -.t-other-month .t-link{color:#898989} -.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-image:url('Office2010Black/treeview-nodes.png')} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{background-image:url('Office2010Black/treeview-nodes-rtl.png')} -.t-treeview-lines .t-item{background-image:url('Office2010Black/treeview-line.png')} -.t-treeview-lines .t-last{background-image:none} -div.t-window{-moz-box-shadow:0 0 5px 2px #444;-webkit-box-shadow:0 0 5px 2px #444;box-shadow:0 0 5px 2px #444} -/* Slider */.t-slider .t-draghandle{background-image:url('Office2010Black/sprite.png');color:#666} -.t-slider-track{border-color:#2c2c2c} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Office2010Black/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Office2010Black/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Office2010Black/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Office2010Black/slider-v.gif')} -/* Tooltip */.t-tooltip{border-color:#767676;background:#e9e9f2 0 -96px repeat-x url('Office2010Black/sprite.png')} -.t-callout{background-image:url('Office2010Black/sprite.png')} -/* Splitter */.t-splitbar{border-color:#2c2c2c;background-color:#4b4b4b} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Office2010Black/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Office2010Black/sprite-vertical.png')} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#2c2c2c} -.t-dropzone-active{background-color:#6f6f6f} -.t-dropzone-hovered,.t-upload-files{background-color:#4b4b4b} -.t-dropzone em{color:#e2e2e2} -.t-progress,.t-progress-status{background-image:url('Office2010Black/sprite.png')} -.t-progress{background-position:0 -464px;border-color:#2c2c2c} -.t-progress-status{background-position:0 -472px;border-color:#ffe37c transparent #f9cd4c} -/* ImageBrowser */.t-imagebrowser .t-content{background:#9e9e9e} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{/*color:#9f9f9f;*/} -.t-tiles{border-color:#848484;background:#fff} -.t-tile{border-color:#fff;background:0 100px repeat-x url('Office2010Black/imagebrowser.png')} -.t-tiles li.t-state-hover{border-color:#ffd14b;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#c28a30 #c29b43 #c2a44d;background-position:0 -100px} -.t-tile .t-folder{background-image:url('Office2010Black/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#464646} -.t-tile-empty strong{color:#aaa} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.office2010blue.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.office2010blue.min.css deleted file mode 100644 index 62c2a810d..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.office2010blue.min.css +++ /dev/null @@ -1,69 +0,0 @@ -/* Office2010Blue theme*/.t-widget,.t-input{border-color:#8ba0bc;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#fff;/** #bccadd;*/} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header,.t-toolbar,.t-grouping-header,.t-tooltip,.t-grid-pager{border-color:#8ba0bc;background:#bccadd url('Office2010Blue/gradient.png') repeat-x 0 center} -.t-menu-vertical,.t-editor,.t-tooltip,.t-tabstrip{background-position:0 -48px} -.t-icon{background-image:url('Office2010Blue/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Office2010Blue/editor.png')} -.t-picker-wrap{padding-right:23px} -.t-loading,.t-widget .t-loading{background:transparent url('Office2010Blue/loading.gif') no-repeat 0 0} -.t-widget,.t-link:link,.t-link:active,.t-link:visited,.t-popup,.t-grid .t-header{color:#384e73} -.t-group{background-color:#dce3ed;border-color:#8ba0bc} -.t-content,.t-editable-area{border-color:#8ba0bc;background-color:#fff} -.t-colorpicker .t-arrow-down{border-color:#8ba0bc} -.t-separator{border-color:#8ba0bc;background-color:#f1f4f8} -.t-alt{background-color:#eff2f6} -.t-state-default{border-color:#8ba0bc} -.t-active-filter{background-color:#fff} -.t-state-hover,.t-state-hover:hover{background-color:#fae185;border-color:#f3d64a;color:#1e395b} -.t-state-active,.t-header .t-state-active{background-color:#fafbfd;border-color:#8ba0bc} -.t-state-selected{background-color:#ffcd42} -.t-state-focused{background-color:#bfcde0} -.t-state-hover,.t-state-selected{color:#1e395b} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#ff7c7c;background-color:#ffe4e4;color:#f20000} -.t-button{border-color:#8ba0bc;color:#384e73} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#bccadd url('Office2010Blue/gradient.png') repeat-x 0 center} -.t-button:hover{border-color:#f3d64a;background-color:#fae185;color:#1e395b} -.t-state-disabled,.t-state-disabled:hover,.t-state-disabled .t-link,.t-state-disabled .t-button{border-color:#8ba0bc;color:#8ba0bc} -.t-autocomplete{background-color:#fff} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-group-footer td,.t-grid-footer,.t-footer-template td,.t-widget .t-status{border-color:#8ba0bc;background-color:#dce3ed} -.t-widget .t-status{background-color:transparent} -.t-grid-header-wrap,.t-grid-footer-wrap{border-color:#8ba0bc} -.t-grid td{border-color:#bfcde0} -.t-grouping-row td{background:url('Office2010Blue/sprite.png') repeat-x 0 -48px} -.t-grouping-header .t-group-indicator{border-color:#8ba0bc} -.t-grouping-dropclue{background:url('Office2010Blue/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#fff} -.t-treeview .t-drop-clue{background-image:url('Office2010Blue/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#e3bb4a} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#8ba0bc} -.t-calendar th{border-color:#dadcdd;background-color:#dbe3ee} -.t-other-month .t-link{color:#8ba0bc} -/* Slider */.t-slider .t-draghandle{background-image:url('Office2010Blue/sprite.png');color:#666} -.t-slider-track{border-color:#8ba0bc} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Office2010Blue/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Office2010Blue/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Office2010Blue/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Office2010Blue/slider-v.gif')} -/* Tooltip */.t-tooltip{border-width:2px;border-color:#beccde} -.t-callout{background-image:url('Office2010Blue/sprite.png')} -.t-callout-n,.t-callout-s{width:10px;height:5px} -.t-callout-w,.t-callout-e{width:5px;height:10px} -.t-callout-n{top:-7px;left:50%;margin-left:-5px;background-position:-64px -368px} -.t-callout-w{left:-7px;top:50%;margin-top:-5px;background-position:-64px -384px} -.t-callout-s{top:100%;left:50%;margin-left:-5px;margin-top:2px;background-position:-64px -400px} -.t-callout-e{left:100%;top:50%;margin-top:-5px;margin-left:2px;background-position:-64px -416px} -/* Splitter */.t-splitbar{border-color:#8ba0bc;background-color:#dce3ed} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Office2010Blue/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Office2010Blue/sprite-vertical.png')} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#8ba0bc} -.t-dropzone-hovered,.t-upload-files{background-color:#dce3ed} -.t-dropzone em{color:#8ba0bc} -.t-progress,.t-progress-status{background-image:url('Office2010Blue/sprite.png')} -.t-progress{background-position:0 -464px;border-color:#8ba0bc} -.t-progress-status{background-position:0 -472px;border-color:#f3d64a transparent} -/* ImageBrowser */.t-tiles{border-color:#8ba0bc;background:#fff} -.t-tile{border-color:#fff;background-image:url('Office2010Blue/gradient.png');background-position:0 100px;background-repeat:repeat-x} -.t-tiles li.t-state-hover{border-color:#f3d64a;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#e3bb4a;background-position:0 0} -.t-tile .t-folder{background-image:url('Office2010Blue/imagebrowser.png')} -.t-tile-empty strong{color:#aaa} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.office2010silver.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.office2010silver.min.css deleted file mode 100644 index 643d8d857..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.office2010silver.min.css +++ /dev/null @@ -1,69 +0,0 @@ -/* Office2010Silver theme*/.t-widget,.t-input{border-color:#a4abb2;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#fff;/** #bccadd;*/} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header,.t-toolbar,.t-grouping-header,.t-tooltip,.t-grid-pager{border-color:#a4abb2;background:#d2d5d9 url('Office2010Silver/gradient.png') repeat-x 0 center} -.t-menu-vertical,.t-editor,.t-tooltip,.t-tabstrip{background-position:0 -48px} -.t-icon{background-image:url('Office2010Silver/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Office2010Silver/editor.png')} -.t-picker-wrap{padding-right:23px} -.t-loading,.t-widget .t-loading{background:transparent url('Office2010Silver/loading.gif') no-repeat 0 0} -.t-widget,.t-link:link,.t-link:active,.t-link:visited,.t-popup,.t-grid .t-header{color:#3b3b3b} -.t-group{background-color:#f1f2f3;border-color:#a4abb2} -.t-content,.t-editable-area{border-color:#a4abb2;background-color:#fff} -.t-colorpicker .t-arrow-down{border-color:#a4abb2} -.t-separator{border-color:#a4abb2;background-color:#fff} -.t-alt{background-color:#f1f2f3} -.t-state-default{border-color:#a4abb2} -.t-active-filter{background-color:#fff} -.t-state-hover,.t-state-hover:hover{background-color:#fae185;border-color:#f3d64a;color:#000} -.t-state-active,.t-header .t-state-active{background-color:#fff;border-color:#a4abb2} -.t-state-selected{background-color:#f4b914} -.t-state-focused{background-color:#d3d6da} -.t-state-hover,.t-state-selected{color:#000} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#ff7c7c;background-color:#ffe4e4;color:#f20000} -.t-button{border-color:#a4abb2;color:#3b3b3b} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#d2d5d9 url('Office2010Silver/gradient.png') repeat-x 0 center} -.t-button:hover{border-color:#f3d64a;background-color:#fae185;color:#000} -.t-state-disabled,.t-state-disabled:hover,.t-state-disabled .t-link,.t-state-disabled .t-button{border-color:#a4abb2;color:#a4abb2} -.t-autocomplete{background-color:#fff} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-group-footer td,.t-grid-footer,.t-footer-template td,.t-widget .t-status{border-color:#a4abb2;background-color:#f1f2f3} -.t-widget .t-status{background-color:transparent} -.t-grid-header-wrap,.t-grid-footer-wrap{border-color:#a4abb2} -.t-grid td{border-color:#d3d6da} -.t-grouping-row td{background:url('Office2010Silver/sprite.png') repeat-x 0 -48px} -.t-grouping-header .t-group-indicator{border-color:#a4abb2} -.t-grouping-dropclue{background:url('Office2010Silver/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#fff} -.t-treeview .t-drop-clue{background-image:url('Office2010Silver/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#f4b914} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#a4abb2} -.t-calendar th{border-color:#d3d6da;background-color:#f1f2f3} -.t-other-month .t-link{color:#a4abb2} -/* Slider */.t-slider .t-draghandle{background-image:url('Office2010Silver/sprite.png');color:#666} -.t-slider-track{border-color:#a4abb2} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Office2010Silver/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Office2010Silver/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Office2010Silver/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Office2010Silver/slider-v.gif')} -/* Tooltip */.t-tooltip{border-width:2px;border-color:#dfe1e4} -.t-callout{background-image:url('Office2010Silver/sprite.png')} -.t-callout-n,.t-callout-s{width:10px;height:5px} -.t-callout-w,.t-callout-e{width:5px;height:10px} -.t-callout-n{top:-7px;left:50%;margin-left:-5px;background-position:-64px -368px} -.t-callout-w{left:-7px;top:50%;margin-top:-5px;background-position:-64px -384px} -.t-callout-s{top:100%;left:50%;margin-left:-5px;margin-top:2px;background-position:-64px -400px} -.t-callout-e{left:100%;top:50%;margin-top:-5px;margin-left:2px;background-position:-64px -416px} -/* Splitter */.t-splitbar{border-color:#a4abb2;background-color:#f1f2f3} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Office2010Silver/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Office2010Silver/sprite-vertical.png')} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#a4abb2} -.t-dropzone-hovered,.t-upload-files{background-color:#f1f2f3} -.t-dropzone em{color:#a4abb2} -.t-progress,.t-progress-status{background-image:url('Office2010Silver/sprite.png')} -.t-progress{background-position:0 -464px;border-color:#a4abb2} -.t-progress-status{background-position:0 -472px;border-color:#f3d64a transparent} -/* ImageBrowser */.t-tiles{border-color:#a4abb2;background:#fff} -.t-tile{border-color:#fff;background-image:url('Office2010Silver/gradient.png');background-position:0 100px;background-repeat:repeat-x} -.t-tiles li.t-state-hover{border-color:#f3d64a;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#f4b914;background-position:0 0} -.t-tile .t-folder{background-image:url('Office2010Silver/imagebrowser.png')} -.t-tile-empty strong{color:#aaa} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.outlook.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.outlook.min.css deleted file mode 100644 index a851c692c..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.outlook.min.css +++ /dev/null @@ -1,74 +0,0 @@ -/* Outlook theme*/.t-widget,.t-input{border-color:#5d8cc9;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC Outlook) */background-color:#fff} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC Outlook) */.t-header,.t-grid-header{border-color:#5d8cc9;background:#7da5e0 url('Outlook/sprite.png') repeat-x 0 -752px} -.t-icon{background-image:url('Outlook/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Outlook/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Outlook/loading.gif') no-repeat 0 0} -.t-widget,.t-link:link,.t-link:active,.t-link:visited,.t-popup{color:#000} -.t-group,.t-content,.t-editable-area{border-color:#5d8cc9;background-color:#fff} -.t-colorpicker .t-arrow-down{border-color:#5d8cc9} -.t-separator{border-color:#cfdef4;background-color:#7e98bc} -.t-alt{background-color:#f7f7f7} -.t-state-default{border-color:#5d8cc9} -.t-active-filter{background-color:#b6cef2} -.t-state-hover,.t-state-hover:hover{background-color:#d6e5f3;border-color:#5d8cc9} -.t-state-active{background-color:#fff;border-color:#5d8cc9} -.t-state-selected{background-color:#bcd3f3} -.t-state-focused{background-color:#a3c0ea} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{border-color:#5d8cc9;color:#333} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#ebe8e2 url('Outlook/sprite.png') repeat-x 0 -560px} -.t-button:hover{background-position:0 -624px;background-color:#f2f2f2;color:#000} -.t-state-disabled,.t-state-disabled:hover,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#999} -.t-header .t-state-disabled,.t-header .t-state-disabled .t-link{color:#577aac;border-color:#7da5e0} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#5d8cc9;background-color:#d6e5f3} -.t-grid-header-wrap,.t-grid-footer-wrap{border-color:#5d8cc9} -.t-grid td{border-color:#ddd} -.t-grid tr.t-state-hover td{border-color:#d6e5f3} -.t-grid tr.t-state-selected td{border-color:#bcd3f3} -.t-grouping-row td{background:#fff url('Outlook/sprite.png') repeat-x 0 -48px} -.t-footer-template td{background-color:#d6e5f3;border-color:#567db0 #d6e5f3 #fff} -.t-group-footer td{background-color:#d6e5f3;border-color:#567db0} -.t-grid-footer,.t-grid-footer-wrap table{background-color:#d6e5f3;border-color:#567db0} -.t-grouping-header .t-group-indicator{color:#333;border-color:#aaa} -.t-grouping-dropclue{background:url('Outlook/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#fff} -.t-treeview .t-drop-clue{background-image:url('Outlook/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#002d96} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#5d8cc9} -.t-calendar th{border-color:#89aee5} -.t-other-month .t-link{color:#777} -.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-image:url('Outlook/treeview-nodes.png')} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{background-image:url('Outlook/treeview-nodes-rtl.png')} -.t-treeview-lines .t-item{background-image:url('Outlook/treeview-line.png')} -.t-treeview-lines .t-last{background-image:none} -.t-editor-button .t-state-hover{border-color:#dae8fa #668dcf #668dcf #dae8fa;background-color:#93b5e7} -.t-editor-button .t-state-active{border-color:#5781c9 #a3c1ea #a3c1ea #5781c9;background-color:#7da5e0} -/*Slider*/.t-slider .t-draghandle{background-image:url('Outlook/sprite.png');color:#5d8cc9} -.t-slider-track{border-color:#7b9ecc} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Outlook/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Outlook/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Outlook/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Outlook/slider-v.gif')} -/*Tooltip*/.t-tooltip{border-color:#000;background:#ffffe1} -.t-callout{background-image:url('Outlook/sprite.png')} -/* Splitter */.t-splitter{border-color:#89aee5} -.t-splitbar-vertical,.t-splitbar-horizontal{background-color:#bcd3f3;border-color:#89aee5} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Outlook/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Outlook/sprite-vertical.png')} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#7f9eba} -.t-dropzone-hovered,.t-upload-files{background-color:#d6e5f3} -.t-dropzone em{color:#6c7a8c} -.t-progress,.t-progress-status{background-image:url('Outlook/sprite.png')} -.t-progress{background-position:0 -466px;border-color:#7699c5 #83a4ce #81a5d6} -.t-progress-status{background-position:0 -472px;border-color:#99bbea transparent #40689e} -/* ImageBrowser */.t-imagebrowser .t-content{background:#c3dafa} -.t-breadcrumbs .t-link:hover{color:#003db2} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{color:#6c7a8c} -.t-tiles{border-color:#7f9eba;background:#fff} -.t-tile{border-color:#fff;background:0 100px repeat-x url('Outlook/imagebrowser.png')} -.t-tiles li.t-state-hover{border-color:#e0b224;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#df8b13;background-position:0 -100px} -.t-tile .t-folder{background-image:url('Outlook/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#6c7a8c} -.t-tile-empty strong{color:#8bb2e2} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.rtl.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.rtl.min.css deleted file mode 100644 index f3e2567f9..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.rtl.min.css +++ /dev/null @@ -1,74 +0,0 @@ -/* base stylesheet */.t-rtl{direction:rtl;zoom:1} -.t-rtl .t-button-icontext .t-icon{margin:0 -3px 0 3px} -/* Window */.t-rtl .t-window-actions{right:auto;left:.5em} -.t-rtl .t-window-title .t-image{margin:0 0 0 5px} -/* TabStrip */.t-rtl .t-tabstrip-items .t-item,.t-rtl .t-panelbar .t-tabstrip-items .t-item{margin:.1em 0 0 .3em} -.t-rtl .t-tabstrip-items .t-item .t-icon,.t-rtl .t-panelbar .t-tabstrip-items .t-item .t-icon{margin:-1px -3px 0 4px} -.t-rtl .t-tabstrip-items .t-item .t-image,.t-rtl .t-tabstrip-items .t-item .t-sprite,.t-rtl .t-panelbar .t-tabstrip-items .t-item .t-image,.t-rtl .t-panelbar .t-tabstrip-items .t-item .t-sprite{margin:-4px -3px 0 3px} -.t-rtl .t-tabstrip-items .t-state-active,.t-rtl .t-panelbar .t-tabstrip-items .t-state-active{padding-bottom:1px;margin-bottom:-1px} -/* PanelBar */.t-rtl .t-panelbar .t-item{zoom:normal} -.t-rtl .t-panelbar .t-image,.t-rtl .t-panelbar .t-sprite{margin-right:0;margin-left:5px;float:right} -.t-rtl .t-panelbar .t-arrow-up,.t-rtl .t-panelbar .t-arrow-down{right:auto;left:2px} -.t-rtl .t-panelbar .t-group .t-group .t-link{padding-left:0;padding-right:2em} -/* Menu */.t-rtl .t-menu .t-group .t-link{padding-left:2em;padding-right:.97em} -.t-rtl .t-menu .t-item{border-width:0 0 0 1px} -.t-rtl .t-menu .t-image,.t-rtl .t-menu .t-sprite{margin:0 -4px 0 4px} -.t-rtl .t-menu .t-arrow-down{margin-left:-10px;margin-right:2px} -.t-rtl .t-menu .t-arrow-next{right:auto;left:0} -.t-rtl .t-menu .t-animation-container,.t-rtl .t-menu .t-group{left:auto;right:-1px} -.t-rtl .t-menu .t-animation-container .t-animation-container,.t-rtl .t-menu .t-group .t-group{right:100%;left:auto} -.t-rtl .t-menu-vertical .t-animation-container,.t-rtl .t-menu-vertical .t-group{right:100%;left:auto} -.t-rtl .t-menu .t-animation-container .t-group{right:auto} -/* Grid */.t-rtl .t-grid div.t-grid-header,.t-rtl .t-grid .t-grid-content,.t-rtl .t-grid .t-grid-footer,.t-rtl .t-grid .t-grouping-header,.t-rtl .t-grid .t-grid-toolbar,.t-rtl .t-grid .t-filter-options,.t-rtl .t-grid tbody{zoom:1;direction:rtl} -.t-rtl .t-grid table{border-collapse:separate} -.t-rtl .t-grid div.t-grid-header,.t-rtl .t-grid .t-header,.t-rtl .t-grid td{text-align:right} -.t-rtl .t-grid div.t-grid-header{padding-right:0;padding-left:17px} -.t-rtl .t-grid.t-grid-rightscroll div.t-grid-header{padding-left:0;padding-right:17px} -.t-rtl .t-grid .t-header,.t-rtl .t-grid td{border-width:0 0 0 1px} -.t-rtl .t-grid.t-grid-rightscroll .t-header,.t-rtl .t-grid.t-grid-rightscroll td{border-width:0 1px 0 0} -.t-rtl .t-grid .t-header .t-link{padding:.3em .6em .3em 2.4em} -.t-rtl .t-grid .t-grid-filter{float:left;margin-right:3px;margin-left:-.6em} -.t-rtl .t-grid .t-pager{direction:ltr;float:right} -.t-rtl .t-grid .t-status{float:right;border-right-width:0;border-left-style:solid;border-left-width:1px;margin:-.2em -.6em -.2em .6em} -.t-rtl .t-grid .t-status-text{float:left} -.t-rtl .t-grid .t-grouping-row p{margin-right:-0.6em;margin-left:0;padding-right:.6em;padding-left:0} -.t-rtl .t-grid .t-button .t-icon{margin-left:3px;margin-right:-3px} -.t-rtl .t-grid .t-last{border-left-width:0} -.t-rtl .t-grouping-header .t-button .t-icon{margin:0 3px 0 0} -/* ComboBox */.t-rtl .t-autocomplete{background-position:0 50%!important} -.t-rtl .t-dropdown-wrap{padding-right:0;padding-left:16px;/* icon width*/zoom:1} -* html .t-rtl .t-combobox .t-dropdown-wrap{padding-right:0;padding-left:16px} -* html .t-rtl .t-picker-wrap{padding-right:0;padding-left:25px} -.t-rtl .t-picker-wrap .t-select,.t-rtl .t-dropdown-wrap .t-select{right:auto;left:0;zoom:1} -* html .t-rtl .t-picker-wrap .t-select,* html .t-rtl .t-dropdown-wrap .t-select{right:auto;left:1px} -.t-rtl .t-combobox .t-select{border-width:0 1px 0 0} -.t-rtl .t-dropdown .t-input,.t-rtl .t-selectbox .t-input{padding:.2em 3px .2em 0} -/* Date/Time Pickers */.t-rtl .t-picker-wrap .t-icon-calendar,.t-rtl .t-picker-wrap .t-icon-clock{margin:3px 3px 0 0} -.t-rtl .t-picker-wrap{padding:0 0 0 25px} -.t-rtl .t-datetimepicker .t-picker-wrap{padding:0 0 0 44px} -/* TreeView */.t-rtl .t-treeview .t-item{padding:0 16px 0 0} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{margin-left:0;margin-right:-16px;padding-left:0;padding-right:20px} -.t-rtl .t-treeview .t-plus,.t-rtl .t-treeview .t-minus,.t-rtl .t-treeview .t-plus-disabled,.t-rtl .t-treeview .t-minus-disabled{margin-left:0;margin-right:-20px;float:right;/* required for Opera */*float:none;/* IE6 does not like it as node text wraps */} -.t-rtl .t-treeview .t-image{margin-right:0;margin-left:3px} -.t-rtl .t-treeview-lines .t-top{background-position:100% 0} -.t-rtl .t-treeview-lines .t-bot{background-position:100% -22px} -.t-rtl .t-treeview-lines .t-mid{background-position:100% -44px} -.t-rtl .t-treeview-lines .t-last .t-top{background-position:100% -66px} -.t-rtl .t-treeview-lines .t-group .t-last .t-bot{background-position:100% -22px} -.t-rtl .t-treeview-lines .t-item{background-position:100% 0} -.t-rtl .t-treeview-lines .t-first{background-position:100% 16px} -/* NumericTextBox */.t-rtl .t-numerictextbox .t-icon{margin-left:0;margin-right:-16px} -@media screen and (-webkit-min-device-pixel-ratio:0){.t-rtl .t-numerictextbox .t-icon{position:relative;z-index:2} -.t-rtl .t-numerictextbox{position:relative} -.t-rtl .t-numerictextbox .t-formatted-value{right:0} -} -/* Editor */.t-rtl .t-editor-colorpicker .t-icon{border-width:0 1px 0 0} -.t-rtl .t-header .t-tabstrip-items .t-link{padding:.3em .9em} -/* ImageBrowser */.t-rtl .t-breadcrumbs{float:right;margin:0 -1px 0 0} -.t-rtl .t-breadcrumbs-wrap{left:auto;right:0;padding-left:0;padding-right:5px} -.t-rtl .t-breadcrumbs-input{padding-left:0;padding-right:2px} -.t-rtl .t-search-wrap{float:left} -.t-rtl .t-search-wrap label{left:auto;right:7px} -.t-rtl .t-search-wrap .t-search{right:auto;left:2px} -.t-rtl .t-tile{float:right} -.t-rtl .t-imagebrowser .t-thumb{float:right;margin:4px 4px 0 10px} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.simple.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.simple.min.css deleted file mode 100644 index 79e5d02ef..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.simple.min.css +++ /dev/null @@ -1,76 +0,0 @@ -/* Simple theme*/.t-widget,.t-input{border-color:#828282;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#fff} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#828282;background:#e6e6e6} -.t-icon{background-image:url('Simple/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Simple/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Simple/loading.gif') no-repeat 0 0} -.t-widget,.t-link:link,.t-link:active,.t-link:visited,.t-popup{color:#000} -.t-group,.t-content,.t-editable-area{border-color:#828282;background-color:#fff} -.t-colorpicker .t-arrow-down{border-color:#828282} -.t-separator{border-color:#fff;background-color:#999} -.t-alt{background-color:#f7f7f7} -.t-state-default{border-color:#828282} -.t-active-filter{background-color:#d8d8d8} -.t-state-hover,.t-state-hover:hover{background-color:#ffe79c;border-color:#c98400} -.t-state-active{background-color:#fff;border-color:#828282} -.t-state-selected{background-color:#ffa517} -.t-state-focused{background-color:#fff3cd} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{color:#333} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{border-color:#828282;background:#e8e8e8} -.t-button:hover{background:#ffe79c} -.t-state-disabled,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#999} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#aaa;background-color:#eee} -.t-grid-header-wrap,.t-grid-footer-wrap{border-color:#828282} -.t-grid td{border-color:#ddd} -.t-grid tr.t-state-selected td{border-color:#ffa517} -.t-grouping-header .t-group-indicator{color:#333;border-color:#ccc} -.t-grouping-dropclue{background:url('Simple/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row td,.t-grouping-row p{background:#fff} -.t-footer-template td{background-color:#e4e4e4;border-color:#999 #e4e4e4 #fff} -.t-group-footer td{background-color:#e4e4e4;border-color:#999} -.t-grid-footer,.t-grid-footer-wrap table{background-color:#e4e4e4;border-color:#999} -.t-treeview .t-drop-clue{background-image:url('Simple/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#ffa517} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#aaa} -.t-calendar th{border-color:#999} -.t-other-month .t-link{color:#777} -.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-image:url('Simple/treeview-nodes.png')} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{background-image:url('Simple/treeview-nodes-rtl.png')} -.t-treeview-lines .t-item{background-image:url('Simple/treeview-line.png')} -.t-treeview-lines .t-last{background-image:none} -.t-editor-button .t-state-hover{border-color:#f1f1f1 #8a8a8a #8a8a8a #f1f1f1;background-color:#e6e6e6} -.t-editor-button .t-state-active{border-color:#a4a4a4 #e0e0e0 #e0e0e0 #a4a4a4;background-color:#c8c8c8} -/*Slider*/.t-slider .t-draghandle{border-width:1px;border-style:solid;color:#606060} -.t-slider-horizontal .t-draghandle{width:7px;height:18px;top:-8px} -.t-slider-vertical .t-draghandle{width:18px;height:7px;left:-8px} -.t-slider .t-draghandle,.t-state-disabled.t-slider a.t-draghandle,.t-state-disabled .t-slider a.t-draghandle{border-color:#828282;background-color:#e8e8e8} -.t-slider .t-draghandle:hover,.t-slider .t-draghandle:focus{border-color:#c98400;background-color:#ffe79c} -.t-slider .t-draghandle:active{border-color:#c98400;background-color:#ffa517} -.t-slider .t-slider-track{background:#e1e1e1 none;border:1px solid #acacac} -.t-slider .t-slider-selection{background:#ffa517 none;border:1px solid #ca4b0c} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{height:4px} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{width:4px} -.t-slider-horizontal .t-tick{background-image:url('Simple/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Simple/slider-v.gif')} -/*Tooltip*/.t-tooltip{border-color:#ffa517;background:#ffe79c} -.t-callout{background-image:url('Simple/sprite.png')} -/* Splitter */.t-splitter{border-color:#828282} -.t-splitbar-vertical,.t-splitbar-horizontal{background-color:#e6e6e6;border-color:#828282} -.t-splitbar-vertical-hover,.t-splitbar-horizontal-hover{background-color:#ffe79c} -.t-splitbar-horizontal-active,.t-splitbar-vertical-active,.t-ghost-splitbar-horizontal,.t-ghost-splitbar-vertical{background-color:#ffa517} -.t-restricted-size-horizontal,.t-restricted-size-vertical{background-color:#f00} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#9b9b9b} -.t-dropzone-hovered,.t-upload-files{background-color:#e8e8e8} -.t-dropzone em{color:#9b9b9b} -.t-progress{background-color:#e1e1e1;border-color:#b4b4b4 #adadad #9e9e9e} -.t-progress-status{background-color:#ffa517;border-color:#ca4b0c} -/* ImageBrowser */.t-imagebrowser .t-content{background:#e8e8e8} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{color:#9b9b9b} -.t-tiles{border-color:#9b9b9b;background:#fff} -.t-tile{border-color:#fff} -.t-tiles li.t-state-hover{border-color:#c98400;background-color:#ffe79c} -.t-tiles li.t-state-selected{border-color:#c98400;background-color:#ffa517} -.t-tile .t-folder{background-image:url('Simple/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#6e6659} -.t-tile-empty strong{color:#9e9e9e} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.sitefinity.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.sitefinity.min.css deleted file mode 100644 index b034c23c8..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.sitefinity.min.css +++ /dev/null @@ -1,87 +0,0 @@ -/* Sitefinity theme*/.t-widget,.t-input{border-width:0;border-color:#ccc;/* if component overrides the above *//*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background:0} -.t-autocomplete{border-width:1px;border-style:solid} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#ccc;background:#fff} -.t-icon{background-image:url('Sitefinity/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Sitefinity/editor.png')} -.t-plus,.t-plus-disabled{background-position:-16px -272px} -.t-minus,.t-minus-disabled{background-position:0 -272px} -.t-rtl .t-plus,.t-rtl .t-plus-disabled{background-position:-32px -272px} -.t-rtl .t-minus,.t-rtl .t-minus-disabled{background-position:-1px -272px} -.t-grid .t-header .t-link .t-arrow-down{background-position:0 -256px} -.t-grid .t-header .t-link .t-arrow-up{background-position:-16px -256px} -.t-loading,.t-widget .t-loading{background:transparent url('Sitefinity/loading.gif') no-repeat 0 0} -.t-widget{color:#000} -.t-link,.t-popup{color:#105cd6} -.t-group,.t-content,.t-editable-area{border-color:#ccc #666 #666 #ccc;background-color:#fff;border-width:1px 2px 2px 1px} -.t-window-content{border-width:0} -.t-colorpicker .t-arrow-down{border-color:#ccc} -.t-separator{border-color:#fff;background-color:#999} -.t-alt{background:0} -.t-state-default{border-color:#eee} -.t-active-filter{background-color:#e5e5e5} -.t-state-hover{border-color:#dee2e7} -.t-state-active{background-color:#fff;border-color:#ccc} -.t-state-selected{background-color:#ffffe1} -.t-state-focused{background-color:#fffacd} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#e50000} -.t-button{border-width:1px 2px 2px 1px;border-color:#ccc #666 #666 #ccc;color:#333;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#f1f1f1} -.t-button:hover{background:#fff} -.t-state-disabled,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#afaeae;border-color:#ccc} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#ccc;background-color:transparent} -.t-widget .t-status{border:0} -.t-autocomplete{border-width:1px;border-style:solid} -.t-combobox .t-state-default,.t-dropdown .t-state-default{border-color:#ccc} -.t-grid th.t-header,.t-grid th.t-header .t-link{letter-spacing:1px;text-transform:uppercase;font-size:.866em;line-height:2.6em;color:#666;background:0} -.t-grid-header-wrap,.t-grid-footer-wrap{border-color:#eee} -.t-grid .t-header,.t-grid td{border-bottom-width:1px;border-color:#eee} -.t-grid .t-grid-filter{border-left:0} -.t-grouping-header .t-group-indicator{color:#333;border-color:#ccc} -.t-grouping-dropclue{background:url('Sitefinity/sprite.png') no-repeat -48px -288px} -.t-treeview .t-drop-clue{background-image:url('Sitefinity/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#999} -.t-group-footer td,.t-footer-template td,.t-grid-footer{border-color:#eee #fff} -.t-grid-pager .t-state-hover{border-color:#ccc;color:#002bb8;background:#f0f0f0} -.t-menu .t-state-hover,.t-panelbar .t-state-hover,.t-tabstrip .t-state-hover{color:#002bb8} -.t-tabstrip{border:1px solid #ccc} -.t-tabstrip .t-state-default,.t-tabstrip .t-state-disabled{border-bottom-color:#ccc} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#aaa} -.t-calendar th{border-color:#ddd} -.t-other-month .t-link{color:#777} -.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-image:url('Sitefinity/treeview-nodes.png')} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{background-image:url('Sitefinity/treeview-nodes-rtl.png')} -.t-treeview-lines .t-item{background-image:url('Sitefinity/treeview-line.png')} -.t-treeview-lines .t-last{background-image:none} -.t-window,.t-drag-clue{background-color:#fff} -/*Slider*/.t-slider .t-draghandle{background-image:url('Sitefinity/sprite.png');color:#000} -.t-slider-track{border-color:#e8e9ea} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Sitefinity/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Sitefinity/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Sitefinity/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Sitefinity/slider-v.gif')} -/*Tooltip*/.t-tooltip{border-width:1px;background:#f1f1f1;color:#333} -.t-callout{background-image:url('Sitefinity/sprite.png')} -/* Splitter */div.t-splitter{border:1px solid #ccc} -.t-splitbar-vertical,.t-splitbar-horizontal{background-color:#f1f1f1;border-color:#ccc} -.t-splitbar-vertical-hover,.t-splitbar-horizontal-hover{background-color:#ddd} -.t-splitbar-horizontal-active,.t-splitbar-vertical-active,.t-ghost-splitbar-horizontal,.t-ghost-splitbar-vertical{background-color:#ccc} -.t-restricted-size-horizontal,.t-restricted-size-vertical{background-color:#f00} -/* Upload */.t-dropzone-active{border-color:#aaa} -.t-dropzone-hovered{background-color:#efefef} -.t-dropzone em{color:#999} -.t-upload-files{border-width:0} -.t-progress,.t-progress-status{background-image:url('Sitefinity/sprite.png')} -.t-progress{background-position:0 -465px;border-color:#f8f8f8 transparent #cacaca} -.t-progress-status{background-position:0 -471px;border-color:#62962a transparent #4e8315} -/* ImageBrowser */.t-imagebrowser .t-content{background:#efefef} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{color:#999} -.t-tiles-arrange a{color:#000} -.t-tiles{border-color:#ccc;background:#fff} -.t-tile{border-color:#fff} -.t-tiles li.t-state-hover{border-color:#abadb3} -.t-tiles li.t-state-selected{border-color:#abadb3;background-color:#999;color:#fff} -.t-tile .t-folder{background-image:url('Telerik/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#999} -.t-tiles li.t-state-selected em,.t-tiles li.t-state-selected .t-filesize{color:#d2d2d2} -.t-tile-empty strong{color:#9b9b9b} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.sunset.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.sunset.min.css deleted file mode 100644 index 0b0405840..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.sunset.min.css +++ /dev/null @@ -1,82 +0,0 @@ -/* Sunset theme*/.t-widget,.t-input{border-color:#714734;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#ececd8} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#854324;background:#90330a url('Sunset/sprite.png') repeat-x 0 -752px} -.t-icon{background-image:url('Sunset/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Sunset/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Sunset/loading.gif') no-repeat 0 0} -.t-widget,.t-link,.t-popup{color:#333} -.t-header,.t-header .t-link,.t-grid-header .t-header .t-link,.t-grid-header .t-header,.t-state-active .t-header .t-state-default .t-link /*nested tabstrips*/{color:#fbfbc7} -.t-header .t-group,.t-group .t-link{color:#333} -.t-group,.t-content,.t-editable-area{border-color:#bbb99d;background-color:#ececd8} -.t-colorpicker .t-arrow-down{border-color:#714734} -.t-separator{border-color:#a85835;background-color:#7c2f0c} -.t-alt{background-color:#fff} -.t-state-default{border-color:#854324} -.t-active-filter{background-color:#d25e21} -.t-state-selected{border-color:#904c23;background-color:#ea9959} -.t-state-hover,.t-state-hover .t-link,.t-group .t-state-hover{color:#fff} -.t-state-hover,.t-state-hover:hover{background-color:#c5551c;border-color:#854324} -.t-state-focused{background-color:#cdccb3} -.t-state-active{background-color:#ececd8;border-color:#854324} -.t-state-active,.t-state-active .t-link,.t-state-active .t-tabstrip .t-state-active .t-link /*nested tabstrips*/{color:#333} -.t-state-active .t-header,.t-state-active .t-state-hover{color:#fff} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{border-color:#d1711a;color:#2d0e06} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#d1711a url('Sunset/sprite.png') repeat-x 0 -560px} -.t-button:hover{border-color:#e7941e;background-position:0 -624px;background-color:#e8961e} -.t-state-disabled,.t-state-disabled:hover,.t-state-disabled .t-link,.t-state-disabled .t-button{border-color:#666;color:#bf9e8f} -a.t-button.t-state-disabled,button.t-button.t-state-disabled,.t-state-disabled .t-button{color:#b83b01;border-color:#d1711a} -.t-header .t-state-disabled,.t-header .t-state-disabled .t-link{border-color:#a04a23} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#bbb99d;background-color:#dee0c8} -.t-panelbar .t-link{border-color:#714734} -.t-editor-button .t-state-active{background-color:#d3751a} -.t-grid-header-wrap{border-color:#854324} -.t-grid-footer-wrap{border-color:#cabaab} -.t-grid td{border-color:#ddd} -.t-grouping-row td{background:#fff url('Sunset/sprite.png') repeat-x 0 -48px} -.t-footer-template td{background-color:#dee0c8;border-color:#cabaab #dee0c8 #f1e9dc} -.t-group-footer td{background-color:#dee0c8;border-color:#cabaab} -.t-grid-footer,.t-grid-footer-wrap table{background-color:#dee0c8;border-color:#cabaab} -.t-grouping-header .t-group-indicator{color:#333;border-color:#999} -.t-grouping-dropclue{background:url('Sunset/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#fff} -.t-treeview .t-drop-clue{background-image:url('Sunset/sprite.png');background-position:0 -358px} -.t-calendar th{border-color:#d2c7b4} -.t-other-month .t-link{color:#777} -.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-image:url('Sunset/treeview-nodes.png')} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{background-image:url('Sunset/treeview-nodes-rtl.png')} -.t-treeview-lines .t-item{background-image:url('Sunset/treeview-line.png')} -.t-treeview-lines .t-last{background-image:none} -.t-editor-button .t-state-hover{border-color:#ca734b #722205 #722205 #ca734b;background-color:#a13606} -.t-editor-button .t-state-active{border-color:#a24b0f #e09d5c #e09d5c #a24b0f;background-color:#d3751a} -/*Slider*/.t-slider .t-draghandle{background-image:url('Sunset/sprite.png');color:#714734} -.t-slider-track{border-color:#c6c0a8} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Sunset/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Sunset/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Sunset/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Sunset/slider-v.gif')} -/*Tooltip*/.t-tooltip{border-color:#c0bca2;background:#d6ceba 0 -96px repeat-x url('Sunset/sprite.png');color:#2d0e06} -.t-callout{background-image:url('Sunset/sprite.png')} -/* Splitter */.t-splitter{border-color:#cac8ab} -.t-splitbar-vertical,.t-splitbar-horizontal{background-color:#ececd8;border-color:#cac8ab} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Sunset/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Sunset/sprite-vertical.png')} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#bbb99d} -.t-dropzone-hovered,.t-upload-files{background-color:#f5f5e6} -.t-dropzone em{color:#714734} -.t-progress,.t-progress-status{background-image:url('Sunset/sprite.png')} -.t-progress{background-position:0 -465px;border-color:#cfc5b1 #cbc6af #c2bda4} -.t-progress-status{background-position:0 -472px;border-color:#2b140d transparent #593324} -/* ImageBrowser */.t-imagebrowser .t-content{background:#dee0c8} -.t-breadcrumbs .t-link{color:#2d0e06} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{color:#714734} -.t-tiles-arrange{color:#714734} -.t-tiles-arrange a{color:#2d0e06} -.t-tiles{border-color:#bbb99d;background:#fff} -.t-tile{border-color:#fff;background:0 100px repeat-x url('Sunset/imagebrowser.png')} -.t-tiles li.t-state-hover{border-color:#e7941e;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#854324;background-position:0 -100px;color:#fff} -.t-tile .t-folder{background-image:url('Sunset/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#986011} -.t-tiles li.t-state-selected em,.t-tiles li.t-state-selected .t-filesize{color:#dbaa93} -.t-tile-empty strong{color:#ae9b87} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.telerik.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.telerik.min.css deleted file mode 100644 index e06de4cff..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.telerik.min.css +++ /dev/null @@ -1,75 +0,0 @@ -/* Telerik theme*/.t-widget,.t-input{border-color:#828282;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#fff} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#828282;background:#f6f6f6 url('Telerik/sprite.png') repeat-x 0 -752px} -.t-icon{background-image:url('Telerik/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Telerik/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Telerik/loading.gif') no-repeat 0 0} -.t-widget,.t-link:link,.t-link:active,.t-link:visited,.t-popup{color:#000} -.t-group,.t-content,.t-editable-area{border-color:#828282;background-color:#fff} -.t-colorpicker .t-arrow-down{border-color:#828282} -.t-separator{border-color:#f3f3f3;background-color:#bdbdbd} -.t-alt{background-color:#f7f7f7} -.t-state-default{border-color:#828282} -.t-active-filter{background-color:#dfdfdf} -.t-state-hover,.t-state-hover:hover{background-color:#b6f0a3;border-color:#28a900} -.t-state-active{background-color:#fff;border-color:#28a900} -.t-state-selected{background-color:#8cc569} -.t-state-focused{background-color:#d4ffc5} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{border-color:#828282;color:#333} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#f6f6f6 url('Telerik/sprite.png') repeat-x 0 -560px} -.t-button:hover{background-position:0 -624px;background-color:#a2ea8b} -.t-state-disabled,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#999} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#aaa;background-color:#eee} -.t-grid-header-wrap,.t-grid-footer-wrap{border-color:#828282} -.t-grid td{border-color:#ddd} -.t-grouping-row td{background:#fff url('Telerik/sprite.png') repeat-x 0 -48px} -.t-footer-template td{background-color:#eee;border-color:#828282 #eee #fff} -.t-group-footer td{background-color:#eee;border-color:#828282} -.t-grid-footer,.t-grid-footer-wrap table{background-color:#eee;border-color:#828282} -.t-grouping-header .t-group-indicator{color:#333;border-color:#ccc} -.t-grouping-dropclue{background:url('Telerik/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#fff} -.t-treeview .t-drop-clue{background-image:url('Telerik/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#1c7600} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#aaa} -.t-calendar th{border-color:#c5c5c5} -.t-other-month .t-link{color:#777} -.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-image:url('Telerik/treeview-nodes.png')} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{background-image:url('Telerik/treeview-nodes-rtl.png')} -.t-treeview-lines .t-item{background-image:url('Telerik/treeview-line.png')} -.t-treeview-lines .t-last{background-image:none} -.t-editor-button .t-state-hover{border-color:#d6f1cd #809a77 #809a77 #d6f1cd;background-color:#c0e9b3} -.t-editor-button .t-state-active{border-color:#8c8c8c #d8d8d8 #d8d8d8 #8c8c8c;background-color:#c4c4c4} -/*Slider*/.t-slider .t-draghandle{background-image:url('Telerik/sprite.png');color:#828282} -.t-slider-track{border-color:#a5a5a5} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Telerik/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Telerik/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Telerik/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Telerik/slider-v.gif')} -/*Tooltip*/.t-tooltip{border-color:#cccab0;background:#f6f6f6 0 -557px repeat-x url('Telerik/sprite.png')} -.t-callout{background-image:url('Telerik/sprite.png')} -/* Splitter */.t-splitter{border-color:#aaa} -.t-splitbar-vertical,.t-splitbar-horizontal{background-color:#eee;border-color:#aaa} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Telerik/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Telerik/sprite-vertical.png')} -.t-restricted-size-horizontal,.t-restricted-size-vertical{background-color:#f00} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#abadb3} -.t-dropzone-hovered,.t-upload-files{background-color:#f1f1f1} -.t-dropzone em{color:#999} -.t-progress,.t-progress-status{background-image:url('Telerik/sprite.png')} -.t-progress{background-position:0 -465px;border-color:#b4b4b4 #cbc6af #c2bda4} -.t-progress-status{background-position:0 -472px;border-color:#9bcc76 transparent #63af3a} -/* ImageBrowser */.t-imagebrowser .t-content{background:#f1f1f1} -.t-breadcrumbs .t-link{color:#666} -.t-breadcrumbs .t-link:hover{color:#000} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{color:#999} -.t-tiles-arrange{color:#666} -.t-tiles-arrange a{color:#000} -.t-tiles{border-color:#e2e3ea;background:#fff} -.t-tile{border-color:#fff;background:0 100px repeat-x url('Telerik/imagebrowser.png')} -.t-tiles li.t-state-hover{border-color:#abadb3;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#abadb3;background-position:0 -100px} -.t-tile .t-folder{background-image:url('Telerik/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#666} -.t-tile-empty strong{color:#9e9e9e} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.transparent.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.transparent.min.css deleted file mode 100644 index da107046c..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.transparent.min.css +++ /dev/null @@ -1,73 +0,0 @@ -/* Transparent theme*/.t-widget,div.t-combobox,.t-input{border-color:#c5c5c5;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background:url('Transparent/widget.png')} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header,.t-grouping-header,.t-tooltip,.t-grid-pager{border-color:#c5c5c5;background:url('Transparent/gradient.png') repeat-x 0 center} -.t-menu-vertical,.t-editor,.t-tooltip,.t-tabstrip{background-position:0 -48px} -.t-icon{background-image:url('Transparent/sprite.png')} -.t-editor .t-editor-toolbar .t-tool-icon{background-image:url('Transparent/editor.png')} -.t-picker-wrap{padding-right:23px} -.t-loading,.t-widget .t-loading{background:transparent url('Transparent/loading.gif') no-repeat 0 0} -.t-widget,.t-link:link,.t-link:active,.t-link:visited,.t-state-hover .t-link:hover,.t-popup,.t-grid .t-header{color:#000} -.t-animation-container .t-group{background:url('Transparent/group.png');border-color:#e0e0e0} -.t-animation-container .t-content,.t-editable-area{border-color:#c5c5c5;background:url('Transparent/group.png')} -.t-colorpicker .t-arrow-down{border-color:#c5c5c5} -.t-separator{border-color:#c5c5c5;background-color:#fff} -.t-alt{background:url('Transparent/widget.png')} -.t-state-default{border-color:#c5c5c5} -.t-active-filter{background:url('Transparent/active.png')} -.t-state-hover,.t-state-hover:hover{background-image:url('Transparent/hover.png');border-color:#999;color:#000} -.t-state-active,.t-header .t-state-active{background-image:url('Transparent/active.png');border-color:#c5c5c5} -.t-panelbar .t-item.t-state-active{background-image:none} -.t-state-selected{background-image:url('Transparent/selected.png');border-color:#aaa} -.t-state-selected,.t-state-selected .t-link,a.t-state-selected.t-link{color:#fff} -.t-state-focused{background:url('Transparent/hover.png')} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{color:#f20000} -.t-button{border-color:#c5c5c5;color:#333} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:url('Transparent/gradient.png') repeat-x 0 center} -.t-button:hover{color:#000} -.t-state-disabled,.t-state-disabled:hover,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#777;border-color:#c5c5c5} -.t-combobox .t-input{background:transparent} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-group-footer td,.t-grid-footer,.t-footer-template td,.t-widget .t-status{border-color:#c5c5c5;background:url('Transparent/toolbar.png')} -.t-imagebrowser .t-toolbar{background-repeat:repeat} -.t-widget .t-status{background:none transparent} -.t-grid-header-wrap,.t-grid-footer-wrap,.t-grid td{border-color:#c5c5c5} -.t-grouping-header .t-group-indicator{border-color:#c5c5c5} -.t-grouping-dropclue{background:url('Transparent/sprite.png') no-repeat -48px -288px} -.t-treeview .t-drop-clue{background-image:url('Transparent/sprite.png');background-position:0 -358px} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#c5c5c5} -.t-calendar th{border-color:#d3d6da;background:url('Transparent/toolbar.png')} -.t-other-month .t-link{color:#666} -/* TabStrip */.t-tabstrip-items .t-state-active,.t-panelbar .t-tabstrip-items .t-state-active{margin-bottom:0} -.t-tabstrip .t-content,.t-panelbar .t-tabstrip .t-content{border-top-width:0} -/* Slider */.t-slider{background-image:none} -.t-slider .t-draghandle{background-image:url('Transparent/sprite.png');color:#666} -.t-slider-track{border-color:#c5c5c5} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Transparent/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Transparent/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Transparent/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Transparent/slider-v.gif')} -/* Tooltip */.t-tooltip{border-width:2px;border-color:#c5c5c5} -.t-callout{background-image:url('Transparent/sprite.png')} -.t-callout-n,.t-callout-s{width:10px;height:5px} -.t-callout-w,.t-callout-e{width:5px;height:10px} -.t-callout-n{top:-7px;left:50%;margin-left:-5px;background-position:-64px -368px} -.t-callout-w{left:-7px;top:50%;margin-top:-5px;background-position:-64px -384px} -.t-callout-s{top:100%;left:50%;margin-left:-5px;margin-top:2px;background-position:-64px -400px} -.t-callout-e{left:100%;top:50%;margin-top:-5px;margin-left:2px;background-position:-64px -416px} -/* Splitter */.t-splitbar{border-color:#c5c5c5;background:url('Transparent/toolbar.png')} -.t-splitbar .t-icon{background-image:url('Transparent/sprite.png')} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Transparent/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Transparent/sprite-vertical.png');background-color:transparent} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#c5c5c5} -.t-dropzone-hovered,.t-upload-files{background:url('Transparent/toolbar.png')} -.t-dropzone em{color:#c5c5c5} -.t-progress,.t-progress-status{background-image:url('Transparent/sprite.png')} -.t-progress{background-position:0 -464px;border-color:#c5c5c5} -.t-progress-status{background-position:0 -472px;border-color:transparent} -/* ImageBrowser */.t-tiles{border-color:#c5c5c5;background:url('Transparent/alt.png')} -.t-tile{border-color:#fff;background-image:url('Transparent/gradient.png');background-position:0 100px;background-repeat:repeat-x} -.t-tiles li.t-state-hover{border-color:#999;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#aaa;background-position:0 0} -.t-tile .t-folder{background-image:url('Transparent/imagebrowser.png')} -.t-tile-empty strong{color:#aaa} -/* Window */.t-window-content{background:url('Transparent/group.png')} -.t-window-actions{background:0} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.vista.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.vista.min.css deleted file mode 100644 index b98f78c8f..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.vista.min.css +++ /dev/null @@ -1,68 +0,0 @@ -/** Vista theme **/.t-widget,.t-input{border-color:#a7bac5;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#fff} -/* since vista is a theme,based on an operating system,it has a custom font-family */.t-widget,.t-widget button,.t-widget input,.t-widget select,.t-button,.t-formatted-value{font-family:"Segoe UI",Arial,sans-serif} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#a7bac5;background:#a6d9f4 url('Vista/sprite.png') repeat-x 0 -752px} -.t-icon{background-image:url('Vista/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Vista/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Vista/loading.gif') no-repeat 0 0} -.t-widget,.t-link:link,.t-link:active,.t-link:visited,.t-popup{color:#000} -.t-group,.t-content,.t-editable-area{border-color:#a7bac5;background-color:#fff} -.t-colorpicker .t-arrow-down{border-color:#a7bac5} -.t-separator{border-color:#eaf6fd;background-color:#a7bac5} -.t-alt{background-color:#f7f7f7} -.t-state-default{border-color:#a7bac5} -.t-active-filter{background-color:#ceeefd} -.t-state-hover,.t-state-hover:hover{background-color:#e3f4fc;border-color:#a7bac5} -.t-state-active{background-color:#fff;border-color:#a7bac5} -.t-state-selected{background-color:#c8e8f8} -.t-state-focused{background-color:#90c5e1} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{border-color:#a7bac5;color:#333} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#d1d1d1 url('Vista/sprite.png') repeat-x 0 -560px} -.t-button:hover{background-position:0 -624px;background-color:#a7daf4} -.t-state-disabled,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#999;border-color:#bbb} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#bbb;background-color:#eff7fc} -.t-grid-header-wrap,.t-grid-footer-wrap{border-color:#a7bac5} -.t-grid td{border-color:#ddd} -.t-grouping-row td{background:#fff url('Vista/sprite.png') repeat-x 0 -48px} -.t-footer-template td{background-color:#e0e5f5;border-color:#aec5d1 #e0e5f5 #fff} -.t-group-footer td{background-color:#e0e5f5;border-color:#aec5d1} -.t-grid-footer,.t-grid-footer-wrap table{background-color:#e0e5f5;border-color:#aec5d1} -.t-grouping-header .t-group-indicator{color:#333;border-color:#ccc} -.t-grouping-dropclue{background:url('Vista/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#fff} -.t-grouping-row p{margin-left:-.6em;padding-left:.6em} -.t-treeview .t-drop-clue{background-image:url('Vista/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#99defd} -.t-panelbar .t-link,.t-panelbar .t-group,.t-panelbar .t-content{border-color:#aaa} -.t-calendar th{border-color:#e0e0e0} -.t-other-month .t-link{color:#777} -.t-editor-button .t-state-hover{border-color:#ebf6fd #88a1af #88a1af #ebf6fd;background-color:#c9e8fa} -.t-editor-button .t-state-active{border-color:#809eae #bae1f5 #bae1f5 #809eae;background-color:#95cfec} -/*Slider*/.t-slider .t-draghandle{background-image:url('Vista/sprite.png');color:#333} -.t-slider-track{border-color:#d3dce2} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Vista/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Vista/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Vista/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Vista/slider-v.gif')} -/*Tooltip*/.t-tooltip{border-color:#767676;background:#e4e5f0 0 -96px repeat-x url('Vista/sprite.png')} -.t-callout{background-image:url('Vista/sprite.png')} -/* Splitter */.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Vista/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Vista/sprite-vertical.png')} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#d2dfe6} -.t-dropzone-hovered,.t-upload-files{background-color:#eff7fc} -.t-dropzone em{color:#a7bac5} -.t-progress,.t-progress-status{background-image:url('Vista/sprite.png')} -.t-progress{background-position:0 -467px;border-color:#bfd0da #c4d4dd} -.t-progress-status{background-position:0 -471px;border-color:#1db2ee transparent #0067c2} -/* ImageBrowser */.t-imagebrowser .t-content{background:#f1f1f1} -.t-breadcrumbs .t-link{color:#666} -.t-breadcrumbs .t-link:hover{color:#06c} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{color:#777d81} -.t-tiles{border-color:#a7bac5;background:#fff} -.t-tile{border-color:#fff;background:0 100px repeat-x url('Vista/imagebrowser.png')} -.t-tiles li.t-state-hover{border-color:#99defd;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#9bd3f0;background-position:0 -100px} -.t-tile .t-folder{background-image:url('Vista/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#767d80} -.t-tile-empty strong{color:#a7bac5} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.web20.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.web20.min.css deleted file mode 100644 index 7df8a0f39..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.web20.min.css +++ /dev/null @@ -1,82 +0,0 @@ -/* Web20 theme*/.t-widget,.t-input{border-color:#4e75b3;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#fff} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#4a70ae;background:#7fa5d7 url('Web20/sprite.png') repeat-x 0 -752px} -.t-icon{background-image:url('Web20/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Web20/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Web20/loading.gif') no-repeat 0 0} -.t-widget,.t-link,.t-popup{color:#333} -.t-header,.t-header .t-link{color:#fff} -.t-header .t-group,.t-group .t-link{color:#333} -.t-group,.t-content,.t-editable-area{border-color:#4a70ae;background-color:#fff} -.t-colorpicker .t-arrow-down{border-color:#4e75b3} -.t-separator{border-color:#93b2dc;background-color:#688bbb} -.t-alt{background-color:#fff} -.t-state-default{border-color:#4a70ae} -.t-active-filter{background-color:#87a6d4} -.t-state-hover,.t-state-hover .t-link,.t-header .t-state-hover,.t-group .t-state-hover{color:#333} -.t-state-hover,.t-state-hover:hover{background-color:#a4c2f1;border-color:#4a70ae} -.t-state-active{background-color:#fff;border-color:#4a70ae} -.t-state-active,.t-state-active .t-link,.t-state-active .t-header .t-state-active,.t-state-active .t-header .t-state-active .t-link{color:#333} -.t-state-active .t-header,.t-state-active .t-header .t-link{color:#fff} -.t-state-active .t-state-hover,.t-state-active .t-header .t-state-hover .t-link{color:#333} -.t-state-selected{background-color:#d4ffbc} -.t-state-focused{background-color:#e3eeff} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{border-color:#4a70ae;color:#fff} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#607fc5 url('Web20/sprite.png') repeat-x 0 -560px} -.t-button:hover{background-position:0 -624px;background-color:#c1d5ef;color:#0f3789} -.t-state-disabled,.t-state-disabled:hover,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#abb9de} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#829cbf;background-color:#e3eeff} -.t-panelbar .t-link{border-color:#4a70ae} -.t-grid-header-wrap{border-color:#4a70ae} -.t-grid-footer-wrap{border-color:#829cbf} -.t-grid td{border-bottom-width:1px;border-color:#cfd9e7 #829cbf} -.t-grouping-row td{background:#fff url('Web20/sprite.png') repeat-x 0 -48px} -.t-footer-template td{background-color:#e3eeff;border-color:#829cbf #e3eeff #fff} -.t-group-footer td{background-color:#e3eeff;border-color:#829cbf} -.t-grid-footer,.t-grid-footer-wrap table{background-color:#e3eeff;border-color:#829cbf} -.t-grouping-header .t-group-indicator{color:#333;border-color:#ccc} -.t-grouping-dropclue{background:url('Web20/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#fff} -.t-treeview .t-drop-clue{background-image:url('Web20/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#85c843} -.t-editor-button .t-state-active{background-color:#4567ba} -.t-calendar th{background-color:#ecf4ff;border-color:#bcd2f1} -.t-other-month .t-link{color:#777} -.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-image:url('Web20/treeview-nodes.png')} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{background-image:url('Web20/treeview-nodes-rtl.png')} -.t-treeview-lines .t-item{background-image:url('Web20/treeview-line.png')} -.t-treeview-lines .t-last{background-image:none} -.t-drag-clue{color:#fff} -.t-editor-button .t-state-hover{border-color:#8ea9d1 #385b9d #385b9d #8ea9d1;background-color:#7fa5d7} -.t-editor-button .t-state-active{border-color:#3a5c9d #89a2cc #89a2cc #3a5c9d;background-color:#567cb8} -/*Slider*/.t-slider .t-draghandle{background-image:url('Web20/sprite.png');color:#4e75b3} -.t-slider-track{border-color:#7794c3} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Web20/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Web20/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Web20/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Web20/slider-v.gif')} -/*Tooltip*/.t-tooltip{border-color:#b2c5e4;background:#bed4f6 0 -96px repeat-x url('Web20/sprite.png');color:#0f3789} -.t-callout{background-image:url('Web20/sprite.png')} -/* Splitter */.t-splitter{border-color:#829cbf} -.t-splitbar-vertical,.t-splitbar-horizontal{background-color:#93add4;border-color:#829cbf} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Web20/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Web20/sprite-vertical.png')} -.t-restricted-size-horizontal,.t-restricted-size-vertical{background-color:#f00} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#829cbf} -.t-dropzone-hovered,.t-upload-files{background-color:#cedcef} -.t-dropzone em{color:#747886} -.t-progress,.t-progress-status{background-image:url('Web20/sprite.png')} -.t-progress{background-position:0 -465px;border-color:#7996c6 #819dca #7996c6} -.t-progress-status{background-position:0 -472px;border-color:#e1ff86 transparent #82eb30} -/* ImageBrowser */.t-imagebrowser .t-content{background:#c1d5ef} -.t-toolbar .t-upload .t-button,.t-breadcrumbs .t-link,.t-tiles-arrange,.t-tiles-arrange a{color:#102152} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{color:#747886} -.t-tiles{border-color:#829cbf;background:#fff} -.t-tile{border-color:#fff;background:0 100px repeat-x url('Web20/imagebrowser.png')} -.t-tiles li.t-state-hover{border-color:#4a70ae;background-position:0 0;color:#fff} -.t-tiles li.t-state-selected{border-color:#29448b;background-position:0 -100px;color:#fff} -.t-tile .t-folder{background-image:url('Web20/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#747886} -.t-tiles li.t-state-hover em,.t-tiles li.t-state-hover .t-filesize .t-tiles li.t-state-selected em,.t-tiles li.t-state-selected .t-filesize{color:#b3c4ef} -.t-tile-empty strong{color:#a5bce0} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.webblue.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.webblue.min.css deleted file mode 100644 index 5dd0d7f2e..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.webblue.min.css +++ /dev/null @@ -1,83 +0,0 @@ -/* WebBlue theme*/.t-widget,.t-input{border-color:#768ca5;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#fff} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#426682;background:#718ca1 url('WebBlue/sprite.png') repeat-x 0 -752px} -.t-icon{background-image:url('WebBlue/sprite.png')} -.t-editor .t-tool-icon{background-image:url('WebBlue/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('WebBlue/loading.gif') no-repeat 0 0} -.t-widget,.t-link,.t-popup{color:#333} -.t-header,.t-header .t-link,.t-state-active .t-header .t-state-default .t-link /*nested tabstrips*/{color:#fff} -.t-header .t-group,.t-group .t-link{color:#333} -.t-group,.t-content,.t-editable-area{border-color:#426682;background-color:#fff} -.t-colorpicker .t-arrow-down{border-color:#768ca5} -.t-separator{border-color:#8aa0b1;background-color:#516273} -.t-alt{background-color:#dae2e8} -.t-state-default{border-color:#426682} -.t-active-filter{background-color:#8dc1d7} -.t-state-active{background-color:#fff;border-color:#426682} -.t-state-active,.t-state-active .t-link,.t-state-active .t-tabstrip .t-state-active .t-link /*nested tabstrips*/{color:#333} -.t-state-active .t-header{color:#fff} -.t-state-active .t-state-hover{color:#333} -.t-state-selected{background-color:#3e94b4} -.t-state-focused{background-color:#9bacbe} -.t-state-selected,.t-state-selected .t-link,.t-state-selected.t-link{color:#fff} -.t-state-hover,.t-state-hover .t-link,.t-state-hover.t-link,.t-header .t-state-hover,.t-group .t-state-hover{color:#333} -.t-state-hover,.t-state-hover:hover{background-color:#acd4e3;border-color:#5d9fb7;/*426682*/} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{border-color:#426682;color:#0d202b} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{background:#d6e1e7 url('WebBlue/sprite.png') repeat-x 0 -560px} -.t-button:hover{background-position:0 -624px;background-color:#bee3f6;color:#0e3d4f} -.t-state-disabled,.t-state-disabled:hover,.t-state-disabled .t-link{color:#bbb} -.t-button.t-state-disabled,.t-button.t-state-disabled:hover,.t-state-disabled .t-button{color:#657c8c} -.t-header .t-state-disabled,.t-header .t-state-disabled .t-link{color:#abc0d3} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#a2b3c7;background-color:#dae2e8} -.t-panelbar .t-link{border-color:#333} -.t-grid-header-wrap{border-color:#426682} -.t-grid-footer-wrap{border-color:#a2b3c7} -.t-grid td{border-color:#dae2e8} -.t-grouping-row td{background:#fff url('WebBlue/sprite.png') repeat-x 0 -48px} -.t-footer-template td{background-color:#dae2e8;border-color:#a2b3c7 #dae2e8 #fff} -.t-group-footer td{background-color:#dae2e8;border-color:#a2b3c7} -.t-grid-footer,.t-grid-footer-wrap table{background-color:#dae2e8;border-color:#a2b3c7} -.t-grouping-header .t-group-indicator{color:#333;border-color:#aaa} -.t-grouping-dropclue{background:url('WebBlue/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#fff} -.t-treeview .t-drop-clue{background-image:url('WebBlue/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#133C44} -.t-editor-button .t-state-active{background-color:#a2b9c9} -.t-calendar th{background-color:#dfeeff;border-color:#a7c0df} -.t-other-month .t-link{color:#777} -.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-image:url('WebBlue/treeview-nodes.png')} -.t-rtl .t-treeview-lines .t-top,.t-rtl .t-treeview-lines .t-mid,.t-rtl .t-treeview-lines .t-bot{background-image:url('WebBlue/treeview-nodes-rtl.png')} -.t-treeview-lines .t-item{background-image:url('WebBlue/treeview-line.png')} -.t-treeview-lines .t-last{background-image:none} -.t-editor-button .t-state-hover{border-color:#5f7c95 #3b576f #3b576f #5f7c95;background-color:#5f7c95} -.t-editor-button .t-state-active{border-color:#5b758e #97b5c7 #97b5c7 #5b758e;background-color:#8ca5b8} -/*Slider*/.t-slider .t-draghandle{background-image:url('WebBlue/sprite.png');color:#768ca5} -.t-slider-track{border-color:#c1cbd6} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('WebBlue/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('WebBlue/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('WebBlue/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('WebBlue/slider-v.gif')} -/*Tooltip*/.t-tooltip{border-color:#a7c0df;background:#c4d4dd 0 -96px repeat-x url('WebBlue/sprite.png');color:#0d202b} -.t-callout{background-image:url('WebBlue/sprite.png')} -/* Splitter */.t-splitter{border-color:#a2b3c7} -.t-splitbar-vertical,.t-splitbar-horizontal{background-color:#b4c5d9;border-color:#a2b3c7} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('WebBlue/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('WebBlue/sprite-vertical.png')} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#a2b3c7} -.t-dropzone-hovered,.t-upload-files{background-color:#dae2e8} -.t-dropzone em{color:#8a98a8} -.t-progress,.t-progress-status{background-image:url('WebBlue/sprite.png')} -.t-progress{background-position:0 -465px;border-color:#92a4b8 #adbac9 #a2b3c7} -.t-progress-status{background-position:0 -472px;border-color:#a4ff91 transparent #5aff62} -/* ImageBrowser */.t-imagebrowser .t-content{background:#dae2e8} -.t-toolbar .t-upload .t-button,.t-breadcrumbs .t-link,.t-tiles-arrange,.t-tiles-arrange a{color:#0e3d4f} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{color:#8a98a8} -.t-tiles{border-color:#a2b3c7;background:#fff} -.t-tile{border-color:#fff;background:0 100px repeat-x url('WebBlue/imagebrowser.png');color:#0e3d4f} -.t-tiles li.t-state-hover{border-color:#4a70ae;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#768ca5;background-position:0 -100px;color:#fff} -.t-tile .t-folder{background-image:url('WebBlue/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#8a98a8} -.t-tiles li.t-state-selected em,.t-tiles li.t-state-selected .t-filesize{color:#b2c5d2} -.t-tile-empty strong{color:#b3c6d3} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.windows7.min.css b/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.windows7.min.css deleted file mode 100644 index 4615d831a..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Content/2011.3.1115/telerik.windows7.min.css +++ /dev/null @@ -1,72 +0,0 @@ -/* Windows7 theme*/.t-widget,.t-input{border-color:#a5b3c5;/*font-size:.75em;/* 12px base,if there are no inherited font-sizes(MVC default) */background-color:#fcfcfc} -/* .small .t-widget{font-size:.687em} -/* 11px base,if there are no inherited font-sizes(MVC default) */.t-header,.t-grid-header{border-color:#a5b3c5;background:#f1f5fb} -.t-icon{background-image:url('Windows7/sprite.png')} -.t-editor .t-tool-icon{background-image:url('Windows7/editor.png')} -.t-loading,.t-widget .t-loading{background:transparent url('Windows7/loading.gif') no-repeat 0 0} -.t-widget,.t-link,.t-popup{color:#000} -.t-header,.t-header .t-link{color:#4c607a} -.t-header .t-group,.t-group .t-link{color:#333} -.t-group,.t-content,.t-editable-area{border-color:#a5b3c5;background-color:#fcfcfc} -.t-colorpicker .t-arrow-down{border-color:#a5b3c5} -.t-separator{border-color:#fff;background-color:#c2cedb} -.t-alt{background-color:#ebeff3} -.t-state-default{border-color:#a5b3c5} -.t-active-filter{background-color:#c3dcfa} -.t-state-hover,.t-state-hover .t-link,.t-header .t-state-hover,.t-group .t-state-hover{color:#000} -.t-state-hover,.t-state-hover:hover{background-color:#d1e4fc;border-color:#8daed5} -.t-state-active{background-color:#fff;border-color:#426682} -.t-state-selected{background-color:#deecfe} -.t-state-focused{background-color:#c4d1e0} -.t-state-error,.t-widget.input-validation-error,.t-widget .input-validation-error{border-color:#f00;background-color:#ffc0cb} -.t-button{color:#0d202b} -.t-button,button.t-button.t-state-disabled:hover,a.t-button.t-state-disabled:hover,.t-state-disabled .t-button:hover{border-color:#c2cedb;background:#e7ecf5 url('Windows7/sprite.png') repeat-x 0 -560px} -.t-button:hover{border-color:#9bc9ff;background-position:0 -624px;background-color:#dde8f6;color:#0e3d4f} -.t-state-disabled,.t-state-disabled:hover,.t-state-disabled .t-link,.t-state-disabled .t-button{color:#999} -.t-toolbar,.t-grouping-header,.t-grid-pager,.t-widget .t-status{border-color:#aec5d1;background-color:#f1f5fb} -.t-panelbar .t-link{border-color:#a5b3c5} -.t-tabstrip .t-item{border-bottom-color:#426682} -.t-grid-header-wrap,.t-grid-footer-wrap{border-color:#a5b3c5} -.t-grid td{border-color:#dae2e8} -.t-grouping-row td{background:#fff url('Windows7/sprite.png') repeat-x 0 -48px} -.t-footer-template td{background-color:#e2eaf4;border-color:#aec5d1 #e2eaf4} -.t-group-footer td{background-color:#e2eaf4;border-color:#aec5d1} -.t-grid-footer,.t-grid-footer-wrap table{background-color:#e2eaf4;border-color:#aec5d1} -.t-grouping-header .t-group-indicator{color:#333;border-color:#ccc} -.t-grouping-dropclue{background:url('Windows7/sprite.png') no-repeat -48px -288px} -.t-grouping-row .t-group-cell,.t-grouping-row p{background:#fff} -.t-treeview .t-drop-clue{background-image:url('Windows7/sprite.png');background-position:0 -358px} -.t-treeview .t-state-selected{border-color:#8fb0d6} -.t-calendar th{border-color:#d4dbe5} -.t-other-month .t-link{color:#a7a7a7} -.t-editor-button .t-state-hover{border-color:#e5f0fd #8ba6c4 #8ba6c4 #e5f0fd;background-color:#d1e4fc} -.t-editor-button .t-state-active{border-color:#aec1d6 #e3ebf5 #e3ebf5 #aec1d6;background-color:#ccdbed} -/*Slider*/.t-slider .t-draghandle{background-image:url('Windows7/sprite.png');color:#4c607a} -.t-slider-track{border-color:#a6abc3} -.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{background-image:url('Windows7/sprite.png')} -.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{background-image:url('Windows7/sprite-vertical.png')} -.t-slider-horizontal .t-tick{background-image:url('Windows7/slider-h.gif')} -.t-slider-vertical .t-tick{background-image:url('Windows7/slider-v.gif')} -/*Tooltip*/.t-tooltip{background:#e7ecf5 0 -560px repeat-x url('Windows7/sprite.png');color:#0e3d4f} -.t-callout{background-image:url('Windows7/sprite.png')} -/* Splitter */.t-splitter{border-color:#dae2e8} -.t-splitbar-vertical,.t-splitbar-horizontal{background-color:#f1f5fb;border-color:#dae2e8} -.t-splitbar-vertical,.t-ghost-splitbar-vertical{background-image:url('Windows7/sprite.png')} -.t-splitbar-horizontal,.t-ghost-splitbar-horizontal{background-image:url('Windows7/sprite-vertical.png')} -/* Upload */.t-dropzone-active,.t-upload-files{border-color:#c2cedb} -.t-dropzone-hovered,.t-upload-files{background-color:#f1f5fb} -.t-dropzone em{color:#a7a7a7} -.t-progress,.t-progress-status{background-image:url('Windows7/sprite.png')} -.t-progress{background-position:0 -465px;border-color:#c2cedb #c2cedb} -.t-progress-status{background-position:0 -472px;border-color:#1db2ee transparent #3186db} -/* ImageBrowser */.t-imagebrowser .t-content{background:#f1f5fb} -.t-breadcrumbs .t-link,.t-tiles-arrange,.t-tiles-arrange a{color:#1e395b} -.t-breadcrumbs .t-first,.t-breadcrumbs .t-first:hover,.t-search-wrap label{color:#a7a7a7} -.t-tiles{border-color:#c2cedb;background:#fff} -.t-tile{border-color:#fff;background:0 100px repeat-x url('Windows7/imagebrowser.png')} -.t-tiles li.t-state-hover{border-color:#b8d6fb;background-position:0 0} -.t-tiles li.t-state-selected{border-color:#7da2ce;background-position:0 -100px} -.t-tile .t-folder{background-image:url('Windows7/imagebrowser.png')} -.t-tile em,.t-tile .t-filesize{color:#a7a7a7} -.t-tiles li.t-state-selected em,.t-tiles li.t-state-selected .t-filesize{color:#7da2ce} -.t-tile-empty strong{color:#c2cedb} \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.3.1115/content/Scripts/2011.3.1115/jquery.validate.min.js b/packages/TelerikMvcExtensions.2011.3.1115/content/Scripts/2011.3.1115/jquery.validate.min.js deleted file mode 100644 index 7ab1d85b2..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/content/Scripts/2011.3.1115/jquery.validate.min.js +++ /dev/null @@ -1,50 +0,0 @@ -/** - * jQuery Validation Plugin 1.8.0 - * - * http://bassistance.de/jquery-plugins/jquery-plugin-validation/ - * http://docs.jquery.com/Plugins/Validation - * - * Copyright (c) 2006 - 2011 Jörn Zaefferer - * - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - */ -(function(c){c.extend(c.fn,{validate:function(a){if(this.length){var b=c.data(this[0],"validator");if(b)return b;b=new c.validator(a,this[0]);c.data(this[0],"validator",b);if(b.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){b.cancelSubmit=true});b.settings.submitHandler&&this.find("input, button").filter(":submit").click(function(){b.submitButton=this});this.submit(function(d){function e(){if(b.settings.submitHandler){if(b.submitButton)var f=c("").attr("name", -b.submitButton.name).val(b.submitButton.value).appendTo(b.currentForm);b.settings.submitHandler.call(b,b.currentForm);b.submitButton&&f.remove();return false}return true}b.settings.debug&&d.preventDefault();if(b.cancelSubmit){b.cancelSubmit=false;return e()}if(b.form()){if(b.pendingRequest){b.formSubmitted=true;return false}return e()}else{b.focusInvalid();return false}})}return b}else a&&a.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing")},valid:function(){if(c(this[0]).is("form"))return this.validate().form(); -else{var a=true,b=c(this[0].form).validate();this.each(function(){a&=b.element(this)});return a}},removeAttrs:function(a){var b={},d=this;c.each(a.split(/\s/),function(e,f){b[f]=d.attr(f);d.removeAttr(f)});return b},rules:function(a,b){var d=this[0];if(a){var e=c.data(d.form,"validator").settings,f=e.rules,g=c.validator.staticRules(d);switch(a){case "add":c.extend(g,c.validator.normalizeRule(b));f[d.name]=g;if(b.messages)e.messages[d.name]=c.extend(e.messages[d.name],b.messages);break;case "remove":if(!b){delete f[d.name]; -return g}var h={};c.each(b.split(/\s/),function(j,i){h[i]=g[i];delete g[i]});return h}}d=c.validator.normalizeRules(c.extend({},c.validator.metadataRules(d),c.validator.classRules(d),c.validator.attributeRules(d),c.validator.staticRules(d)),d);if(d.required){e=d.required;delete d.required;d=c.extend({required:e},d)}return d}});c.extend(c.expr[":"],{blank:function(a){return!c.trim(""+a.value)},filled:function(a){return!!c.trim(""+a.value)},unchecked:function(a){return!a.checked}});c.validator=function(a, -b){this.settings=c.extend(true,{},c.validator.defaults,a);this.currentForm=b;this.init()};c.validator.format=function(a,b){if(arguments.length==1)return function(){var d=c.makeArray(arguments);d.unshift(a);return c.validator.format.apply(this,d)};if(arguments.length>2&&b.constructor!=Array)b=c.makeArray(arguments).slice(1);if(b.constructor!=Array)b=[b];c.each(b,function(d,e){a=a.replace(RegExp("\\{"+d+"\\}","g"),e)});return a};c.extend(c.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error", -validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:c([]),errorLabelContainer:c([]),onsubmit:true,ignore:[],ignoreTitle:false,onfocusin:function(a){this.lastActive=a;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorClass,this.settings.validClass);this.addWrapper(this.errorsFor(a)).hide()}},onfocusout:function(a){if(!this.checkable(a)&&(a.name in this.submitted||!this.optional(a)))this.element(a)}, -onkeyup:function(a){if(a.name in this.submitted||a==this.lastElement)this.element(a)},onclick:function(a){if(a.name in this.submitted)this.element(a);else a.parentNode.name in this.submitted&&this.element(a.parentNode)},highlight:function(a,b,d){c(a).addClass(b).removeClass(d)},unhighlight:function(a,b,d){c(a).removeClass(b).addClass(d)}},setDefaults:function(a){c.extend(c.validator.defaults,a)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.", -url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:c.validator.format("Please enter no more than {0} characters."),minlength:c.validator.format("Please enter at least {0} characters."),rangelength:c.validator.format("Please enter a value between {0} and {1} characters long."), -range:c.validator.format("Please enter a value between {0} and {1}."),max:c.validator.format("Please enter a value less than or equal to {0}."),min:c.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){function a(e){var f=c.data(this[0].form,"validator");e="on"+e.type.replace(/^validate/,"");f.settings[e]&&f.settings[e].call(f,this[0])}this.labelContainer=c(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&& -this.labelContainer||c(this.currentForm);this.containers=c(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var b=this.groups={};c.each(this.settings.groups,function(e,f){c.each(f.split(/\s/),function(g,h){b[h]=e})});var d=this.settings.rules;c.each(d,function(e,f){d[e]=c.validator.normalizeRule(f)});c(this.currentForm).validateDelegate(":text, :password, :file, select, textarea", -"focusin focusout keyup",a).validateDelegate(":radio, :checkbox, select, option","click",a);this.settings.invalidHandler&&c(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){this.checkForm();c.extend(this.submitted,this.errorMap);this.invalid=c.extend({},this.errorMap);this.valid()||c(this.currentForm).triggerHandler("invalid-form",[this]);this.showErrors();return this.valid()},checkForm:function(){this.prepareForm();for(var a=0,b=this.currentElements=this.elements();b[a];a++)this.check(b[a]); -return this.valid()},element:function(a){this.lastElement=a=this.clean(a);this.prepareElement(a);this.currentElements=c(a);var b=this.check(a);if(b)delete this.invalid[a.name];else this.invalid[a.name]=true;if(!this.numberOfInvalids())this.toHide=this.toHide.add(this.containers);this.showErrors();return b},showErrors:function(a){if(a){c.extend(this.errorMap,a);this.errorList=[];for(var b in a)this.errorList.push({message:a[b],element:this.findByName(b)[0]});this.successList=c.grep(this.successList, -function(d){return!(d.name in a)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){c.fn.resetForm&&c(this.currentForm).resetForm();this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(a){var b=0,d;for(d in a)b++;return b},hideErrors:function(){this.addWrapper(this.toHide).hide()}, -valid:function(){return this.size()==0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{c(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(a){}},findLastActive:function(){var a=this.lastActive;return a&&c.grep(this.errorList,function(b){return b.element.name==a.name}).length==1&&a},elements:function(){var a=this,b={};return c([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&& -a.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in b||!a.objectLength(c(this).rules()))return false;return b[this.name]=true})},clean:function(a){return c(a)[0]},errors:function(){return c(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=c([]);this.toHide=c([]);this.currentElements=c([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)}, -prepareElement:function(a){this.reset();this.toHide=this.errorsFor(a)},check:function(a){a=this.clean(a);if(this.checkable(a))a=this.findByName(a.name).not(this.settings.ignore)[0];var b=c(a).rules(),d=false,e;for(e in b){var f={method:e,parameters:b[e]};try{var g=c.validator.methods[e].call(this,a.value.replace(/\r/g,""),a,f.parameters);if(g=="dependency-mismatch")d=true;else{d=false;if(g=="pending"){this.toHide=this.toHide.not(this.errorsFor(a));return}if(!g){this.formatAndAdd(a,f);return false}}}catch(h){this.settings.debug&& -window.console&&console.log("exception occured when checking element "+a.id+", check the '"+f.method+"' method",h);throw h;}}if(!d){this.objectLength(b)&&this.successList.push(a);return true}},customMetaMessage:function(a,b){if(c.metadata){var d=this.settings.meta?c(a).metadata()[this.settings.meta]:c(a).metadata();return d&&d.messages&&d.messages[b]}},customMessage:function(a,b){var d=this.settings.messages[a];return d&&(d.constructor==String?d:d[b])},findDefined:function(){for(var a=0;aWarning: No message defined for "+a.name+"")},formatAndAdd:function(a,b){var d=this.defaultMessage(a,b.method),e=/\$?\{(\d+)\}/g;if(typeof d=="function")d=d.call(this,b.parameters,a);else if(e.test(d))d=jQuery.format(d.replace(e,"{$1}"),b.parameters);this.errorList.push({message:d, -element:a});this.errorMap[a.name]=d;this.submitted[a.name]=d},addWrapper:function(a){if(this.settings.wrapper)a=a.add(a.parent(this.settings.wrapper));return a},defaultShowErrors:function(){for(var a=0;this.errorList[a];a++){var b=this.errorList[a];this.settings.highlight&&this.settings.highlight.call(this,b.element,this.settings.errorClass,this.settings.validClass);this.showLabel(b.element,b.message)}if(this.errorList.length)this.toShow=this.toShow.add(this.containers);if(this.settings.success)for(a= -0;this.successList[a];a++)this.showLabel(this.successList[a]);if(this.settings.unhighlight){a=0;for(b=this.validElements();b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorClass,this.settings.validClass)}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return c(this.errorList).map(function(){return this.element})},showLabel:function(a, -b){var d=this.errorsFor(a);if(d.length){d.removeClass().addClass(this.settings.errorClass);d.attr("generated")&&d.html(b)}else{d=c("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(a),generated:true}).addClass(this.settings.errorClass).html(b||"");if(this.settings.wrapper)d=d.hide().show().wrap("<"+this.settings.wrapper+"/>").parent();this.labelContainer.append(d).length||(this.settings.errorPlacement?this.settings.errorPlacement(d,c(a)):d.insertAfter(a))}if(!b&&this.settings.success){d.text(""); -typeof this.settings.success=="string"?d.addClass(this.settings.success):this.settings.success(d)}this.toShow=this.toShow.add(d)},errorsFor:function(a){var b=this.idOrName(a);return this.errors().filter(function(){return c(this).attr("for")==b})},idOrName:function(a){return this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name)},checkable:function(a){return/radio|checkbox/i.test(a.type)},findByName:function(a){var b=this.currentForm;return c(document.getElementsByName(a)).map(function(d,e){return e.form== -b&&e.name==a&&e||null})},getLength:function(a,b){switch(b.nodeName.toLowerCase()){case "select":return c("option:selected",b).length;case "input":if(this.checkable(b))return this.findByName(b.name).filter(":checked").length}return a.length},depend:function(a,b){return this.dependTypes[typeof a]?this.dependTypes[typeof a](a,b):true},dependTypes:{"boolean":function(a){return a},string:function(a,b){return!!c(a,b.form).length},"function":function(a,b){return a(b)}},optional:function(a){return!c.validator.methods.required.call(this, -c.trim(a.value),a)&&"dependency-mismatch"},startRequest:function(a){if(!this.pending[a.name]){this.pendingRequest++;this.pending[a.name]=true}},stopRequest:function(a,b){this.pendingRequest--;if(this.pendingRequest<0)this.pendingRequest=0;delete this.pending[a.name];if(b&&this.pendingRequest==0&&this.formSubmitted&&this.form()){c(this.currentForm).submit();this.formSubmitted=false}else if(!b&&this.pendingRequest==0&&this.formSubmitted){c(this.currentForm).triggerHandler("invalid-form",[this]);this.formSubmitted= -false}},previousValue:function(a){return c.data(a,"previousValue")||c.data(a,"previousValue",{old:null,valid:true,message:this.defaultMessage(a,"remote")})}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(a,b){a.constructor==String?this.classRuleSettings[a]=b:c.extend(this.classRuleSettings, -a)},classRules:function(a){var b={};(a=c(a).attr("class"))&&c.each(a.split(" "),function(){this in c.validator.classRuleSettings&&c.extend(b,c.validator.classRuleSettings[this])});return b},attributeRules:function(a){var b={};a=c(a);for(var d in c.validator.methods){var e=a.attr(d);if(e)b[d]=e}b.maxlength&&/-1|2147483647|524288/.test(b.maxlength)&&delete b.maxlength;return b},metadataRules:function(a){if(!c.metadata)return{};var b=c.data(a.form,"validator").settings.meta;return b?c(a).metadata()[b]: -c(a).metadata()},staticRules:function(a){var b={},d=c.data(a.form,"validator");if(d.settings.rules)b=c.validator.normalizeRule(d.settings.rules[a.name])||{};return b},normalizeRules:function(a,b){c.each(a,function(d,e){if(e===false)delete a[d];else if(e.param||e.depends){var f=true;switch(typeof e.depends){case "string":f=!!c(e.depends,b.form).length;break;case "function":f=e.depends.call(b,b)}if(f)a[d]=e.param!==undefined?e.param:true;else delete a[d]}});c.each(a,function(d,e){a[d]=c.isFunction(e)? -e(b):e});c.each(["minlength","maxlength","min","max"],function(){if(a[this])a[this]=Number(a[this])});c.each(["rangelength","range"],function(){if(a[this])a[this]=[Number(a[this][0]),Number(a[this][1])]});if(c.validator.autoCreateRanges){if(a.min&&a.max){a.range=[a.min,a.max];delete a.min;delete a.max}if(a.minlength&&a.maxlength){a.rangelength=[a.minlength,a.maxlength];delete a.minlength;delete a.maxlength}}a.messages&&delete a.messages;return a},normalizeRule:function(a){if(typeof a=="string"){var b= -{};c.each(a.split(/\s/),function(){b[this]=true});a=b}return a},addMethod:function(a,b,d){c.validator.methods[a]=b;c.validator.messages[a]=d!=undefined?d:c.validator.messages[a];b.length<3&&c.validator.addClassRules(a,c.validator.normalizeRule(a))},methods:{required:function(a,b,d){if(!this.depend(d,b))return"dependency-mismatch";switch(b.nodeName.toLowerCase()){case "select":return(a=c(b).val())&&a.length>0;case "input":if(this.checkable(b))return this.getLength(a,b)>0;default:return c.trim(a).length> -0}},remote:function(a,b,d){if(this.optional(b))return"dependency-mismatch";var e=this.previousValue(b);this.settings.messages[b.name]||(this.settings.messages[b.name]={});e.originalMessage=this.settings.messages[b.name].remote;this.settings.messages[b.name].remote=e.message;d=typeof d=="string"&&{url:d}||d;if(this.pending[b.name])return"pending";if(e.old===a)return e.valid;e.old=a;var f=this;this.startRequest(b);var g={};g[b.name]=a;c.ajax(c.extend(true,{url:d,mode:"abort",port:"validate"+b.name, -dataType:"json",data:g,success:function(h){f.settings.messages[b.name].remote=e.originalMessage;var j=h===true;if(j){var i=f.formSubmitted;f.prepareElement(b);f.formSubmitted=i;f.successList.push(b);f.showErrors()}else{i={};h=h||f.defaultMessage(b,"remote");i[b.name]=e.message=c.isFunction(h)?h(a):h;f.showErrors(i)}e.valid=j;f.stopRequest(b,j)}},d));return"pending"},minlength:function(a,b,d){return this.optional(b)||this.getLength(c.trim(a),b)>=d},maxlength:function(a,b,d){return this.optional(b)|| -this.getLength(c.trim(a),b)<=d},rangelength:function(a,b,d){a=this.getLength(c.trim(a),b);return this.optional(b)||a>=d[0]&&a<=d[1]},min:function(a,b,d){return this.optional(b)||a>=d},max:function(a,b,d){return this.optional(b)||a<=d},range:function(a,b,d){return this.optional(b)||a>=d[0]&&a<=d[1]},email:function(a,b){return this.optional(b)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(a)}, -url:function(a,b){return this.optional(b)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(a)}, -date:function(a,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(a))},dateISO:function(a,b){return this.optional(b)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(a)},number:function(a,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(a)},digits:function(a,b){return this.optional(b)||/^\d+$/.test(a)},creditcard:function(a,b){if(this.optional(b))return"dependency-mismatch";if(/[^0-9-]+/.test(a))return false;var d=0,e=0,f=false;a=a.replace(/\D/g,"");for(var g=a.length-1;g>= -0;g--){e=a.charAt(g);e=parseInt(e,10);if(f)if((e*=2)>9)e-=9;d+=e;f=!f}return d%10==0},accept:function(a,b,d){d=typeof d=="string"?d.replace(/,/g,"|"):"png|jpe?g|gif";return this.optional(b)||a.match(RegExp(".("+d+")$","i"))},equalTo:function(a,b,d){d=c(d).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){c(b).valid()});return a==d.val()}}});c.format=c.validator.format})(jQuery); -(function(c){var a={};if(c.ajaxPrefilter)c.ajaxPrefilter(function(d,e,f){e=d.port;if(d.mode=="abort"){a[e]&&a[e].abort();a[e]=f}});else{var b=c.ajax;c.ajax=function(d){var e=("port"in d?d:c.ajaxSettings).port;if(("mode"in d?d:c.ajaxSettings).mode=="abort"){a[e]&&a[e].abort();return a[e]=b.apply(this,arguments)}return b.apply(this,arguments)}}})(jQuery); -(function(c){!jQuery.event.special.focusin&&!jQuery.event.special.focusout&&document.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.handle.call(this,e)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)},handler:function(e){arguments[0]=c.event.fix(e);arguments[0].type=b;return c.event.handle.apply(this,arguments)}}});c.extend(c.fn,{validateDelegate:function(a, -b,d){return this.bind(b,function(e){var f=c(e.target);if(f.is(a))return d.apply(f,arguments)})}})})(jQuery); diff --git a/packages/TelerikMvcExtensions.2011.3.1115/lib/net40/Telerik.Web.Mvc.xml b/packages/TelerikMvcExtensions.2011.3.1115/lib/net40/Telerik.Web.Mvc.xml deleted file mode 100644 index 4a1542c59..000000000 --- a/packages/TelerikMvcExtensions.2011.3.1115/lib/net40/Telerik.Web.Mvc.xml +++ /dev/null @@ -1,25596 +0,0 @@ - - - - Telerik.Web.Mvc - - - - - Contains the extension methods of . - - - - - Create Nullable instance of the passed . - - - - - Contains extension methods of . - - - - - Get the Application root path. - - The instance. - - - - - Determines whether this instance can compress the specified instance. - - The instance. - - true if this instance can compress the specified instance; otherwise, false. - - - - - - - - - - - - - - - - - - - - - Basic building block to locate the correct virtual path. - - - - - Returns the correct virtual path based upon the debug mode and version. - - The virtual path. - The version. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Bold. - - - - - Looks up a localized string similar to Insert hyperlink. - - - - - Looks up a localized string similar to Are you sure you want to delete "{0}"?. - - - - - Looks up a localized string similar to A directory with this name was not found.. - - - - - Looks up a localized string similar to Empty Folder. - - - - - Looks up a localized string similar to Select font family. - - - - - Looks up a localized string similar to (inherited font). - - - - - Looks up a localized string similar to Select font size. - - - - - Looks up a localized string similar to (inherited size). - - - - - Looks up a localized string similar to Select block type. - - - - - Looks up a localized string similar to Indent. - - - - - Looks up a localized string similar to Insert HTML. - - - - - Looks up a localized string similar to Insert image. - - - - - Looks up a localized string similar to Insert ordered list. - - - - - Looks up a localized string similar to Insert unordered list. - - - - - Looks up a localized string similar to The selected file \"{0}\" is not valid. Supported file types are {1}.. - - - - - Looks up a localized string similar to Italic. - - - - - Looks up a localized string similar to Center text. - - - - - Looks up a localized string similar to Justify. - - - - - Looks up a localized string similar to Align text left. - - - - - Looks up a localized string similar to Align text right. - - - - - Looks up a localized string similar to Arrange by:. - - - - - Looks up a localized string similar to Name. - - - - - Looks up a localized string similar to Size. - - - - - Looks up a localized string similar to Outdent. - - - - - Looks up a localized string similar to 'A file with name "{0}" already exists in the current directory. Do you want to overwrite it?. - - - - - Looks up a localized string similar to Strikethrough. - - - - - Looks up a localized string similar to Styles. - - - - - Looks up a localized string similar to Underline. - - - - - Looks up a localized string similar to Remove hyperlink. - - - - - Looks up a localized string similar to Upload. - - - - - View component base class. - - - - - Defines the basic building block of scriptable component. - - - - - Writes the initialization script. - - The writer. - - - - Writes the cleanup script. - - The writer. - - - - Gets or sets the asset key. - - The asset key. - - - - Gets or sets the script files path. Path must be a virtual path. - - The script files path. - - - - Gets or sets the script file names. - - The script file names. - - - - Gets the client side object writer factory. - - The client side object writer factory. - - - - Defines whether one navigation item can have content output immediately - - - - - The HtmlAttributes applied to objects which can have child items - - - - - Initializes a new instance of the class. - - The view context. - The client side object writer factory. - - - - Renders the component. - - - - - Writes the initialization script. - - The writer. - - - - Writes the cleanup script. - - The writer. - - - - Writes the HTML. - - - - - Gets or sets the name. - - The name. - - - - Gets the id. - - The id. - - - - Gets the HTML attributes. - - The HTML attributes. - - - - Gets or sets the asset key. - - The asset key. - - - - Gets or sets the script files path. Path must be a virtual path. - - The script files path. - - - - Gets or sets the script file names. - - The script file names. - - - - Gets the client side object writer factory. - - The client side object writer factory. - - - - Gets or sets the view context to rendering a view. - - The view context. - - - - Defines the fluent interface for configuring the component. - - - - - View component Builder base class. - - - - - Helper interface used to hide the base - members from the fluent API to make it much cleaner - in Visual Studio intellisense. - - - - - Equalses the specified value. - - The value. - - - - - Gets the hash code. - - - - - - Gets the type. - - - - - - Toes the string. - - - - - - Initializes a new instance of the class. - - The component. - - - - Performs an implicit conversion from to TViewComponent. - - The builder. - The result of the conversion. - - - - Returns the internal view component. - - - - - - Sets the name of the component. - - The name. - - - - - Sets the web asset key for the component. - - The key. - - - - - Sets the Scripts files path.. Path must be a virtual path. - - The path. - - - - - Sets the Script file names. - - The names. - - - - - Sets the HTML attributes. - - The HTML attributes. - - - - - Sets the HTML attributes. - - The HTML attributes. - - - - - Renders the component. - - - - - Gets the view component. - - The component. - - - - Initializes a new instance of the class. - - The component. - - - - Use it to enable filling the first matched item text. - - - - <%= Html.Telerik().AutoComplete() - .Name("AutoComplete") - .AutoFill(true) - %> - - - - - - - Use it to configure Data binding. - - Action that configures the data binding options. - - - <%= Html.Telerik().AutoComplete() - .Name("AutoComplete") - .DataBinding(dataBinding => dataBinding - .Ajax().Select("_AjaxLoading", "ComboBox") - ); - %> - - - - - - Configures the client-side events. - - The client events action. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => - events.OnLoad("onLoad") - ) - %> - - - - - - Configures the effects of the AutoComplete. - - The action which configures the effects. - - - <%= Html.Telerik().AutoComplete() - .Name("AutoComplete") - .Effects(fx => - { - fx.Slide() - .OpenDuration(AnimationDuration.Normal) - .CloseDuration(AnimationDuration.Normal); - }) - - - - - - Use it to configure filtering settings. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(filtering => filtering.Enabled(true) - .FilterMode(AutoCompleteFilterMode.Contains)); - %> - - - - - - Use it to enable multiple values. - - - - <%= Html.Telerik().AutoComplete() - .Name("AutoComplete") - .Multiple(); - %> - - - - - - Use it to configure autocompleting multiple values. - - - - <%= Html.Telerik().AutoComplete() - .Name("AutoComplete") - .Multiple(multi => multi.Enabled(true) - .Separator(" ")); - %> - - - - - - Use it to enable highlighting of first matched item. - - - - <%= Html.Telerik().AutoComplete() - .Name("AutoComplete") - .HighlightFirstMatch(true) - %> - - - - - - Enables or disables the autocomplete. - - - - - - - - - Defines the fluent interface for building - - - - - Initializes a new instance of the class. - - The settings. - - - - Enable or disable autocompleting multiple values into a single field - - - - <%= Html.Telerik().AutoComplete() - .Name("AutoComplete") - .Multiple(multi => - { - multi.Enabled((bool)ViewData["multiple"]); - }) - %> - - - - - - Set multiple values separator. - - - - <%= Html.Telerik().AutoComplete() - .Name("AutoComplete") - .Multiple(multi => - { - multi.Separator(", "); - }) - %> - - - - - - Represents the options of the axis labels - - - - - Represents the options of the chart labels - - - - - Defines a generic Chart labels - - - - - Gets the axis serializer. - - - - - Gets or sets the label font. - - - - - Gets or sets a value indicating if the label is visible - - - - - Gets or sets the label background. - - - - - Gets or sets the label border. - - - - - Gets or sets the label margin. - - - - - Gets or sets the label padding. - - - - - Gets or sets the label color. - - - - - Gets or sets the label format. - - - - - Gets or sets the label template. - - - - - Gets or sets the label opacity. - - - - - Gets or sets the label rotation. - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Gets or sets the label font. - - - Specify a font in CSS format. For example "12px Arial,Helvetica,sans-serif". - - - - - Gets or sets a value indicating if the label is visible - - - - - Gets or sets the label background. - - - The label background. - - - - - Gets or sets the label border. - - - The label border. - - - - - Gets or sets the label margin. - - - The label margin. - - - - - Gets or sets the label padding. - - - The label padding. - - - - - Gets or sets the label color. - - - The label color. - - - - - Gets or sets the label format. - - - The label format. - - - - - Gets or sets the label template. - - - The label template. - - - - - Gets or sets the label opacity. - - - The label opacity. - - - - - Gets or sets the label opacity. - - - The label opacity. - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Represents a category axis in the component - - The type of the data item - - - - Represents a chart axis - - - - - Defines a generic Chart axis - - - - - Gets the axis serializer. - - - - - Gets or sets the minor tick size. - - - - - Gets or sets the major tick size. - - - - - The major tick type. - - - - - The minor tick type. - - - - - The major grid lines configuration. - - - - - The minor grid lines configuration. - - - - - The axis line configuration. - - - - - The value at which the first perpendicular axis crosses this axis - - - - - The axis labels - - - - - The axis orientation - - - - - Initializes a new instance of the class. - - The chart. - - - - Gets the axis serializer. - - - - - Gets or sets the chart. - - The chart. - - - - Gets or sets the minor tick size. The default is 3. - - - - - Gets or sets the major tick size. The default is 4. - - - - - The major tick type. The default is . - - - - - The minor tick type. The default is . - - - - - The major grid lines configuration. - - - - - The minor grid lines configuration. - - - - - The axis line configuration. - - - - - The value at which the first perpendicular axis crosses this axis - - - - - The axis labels - - - - - The axis orientation - - - - - Represents a category axis - - - - - The categories displayed on the axis - - - - - The Model member used to populate the - - - - - Initializes a new instance of the class. - - The chart. - - - - Gets the axis serializer. - - - - - The categories displayed on the axis - - - - - Gets the member name to be used as category. - - The member. - - - - Represents a numeric axis in the component - - The type of the data item - - - - Represents a numeric axis - - - - - Represents a generic value axis - - - - - The axis minimum value - - - - - The axis maximum value - - - - - The interval between major divisions - - - - - The axis label format - - - - - Initializes a new instance of the class. - - The chart. - - - - Gets the axis serializer. - - - - - The minimum axis value. - - - - - The axis maximum value. - - - - - The interval between major divisions - - - - - The axis label format - - - - - Represents a category axis in the component - - The type of the data item - - - - Represents a axis defaults. - - - - - Initializes a new instance of the class. - - The chart. - - - - Gets the axis serializer. - - - - - Telerik Chart for ASP.NET MVC is a view component for rendering charts. - Features: - - Bar Chart - Column Chart - - For more information, see the online documentation. - - - - - For internal use - - - - - The component UrlGenerator - - - - - The component view context - - - - - Initializes a new instance of the class. - - The view context. - The client side object writer factory. - The URL Generator. - - - - Writes the initialization script. - - The writer object. - - - - Writes the Chart HTML. - - The writer object. - - - - Gets or sets the data source. - - The data source. - - - - Represents the client-side event handlers for the component - - - - - Gets or sets the URL generator. - - The URL generator. - - - - Gets or sets the Chart area. - - - The Chart area. - - - - - Gets or sets the Plot area. - - - The Plot area. - - - - - Gets or sets the Chart theme. - - - The Chart theme. - - - - - Gets or sets the Chart title. - - - The Chart title. - - - - - Gets or sets the Chart legend. - - - The Chart legend. - - - - - Gets or sets the Chart transitions. - - - The Chart Transitions. - - - - - Gets the chart series. - - - - - Gets the default settings for all series. - - - - - Configuration for the default category axis (if any) - - - - - Configuration for the default value axis - - - - - Configuration for the default X axis in scatter charts - - - - - Configuration for the default Y axis in scatter charts - - - - - Configuration for the default axis - - - - - Gets the data binding configuration. - - - - - Gets or sets the series colors. - - - - - Gets or sets the data point tooltip options - - - - - Represents the client-side events of the component. - - - - - Initializes a new instance of the class. - - - - - Serializes the client-side events. - - The writer object to serialize to. - - - - Defines the Load client-side event handler - - - - - Defines the DataBound client-side event handler - - - - - Defines the SeriesClick client-side event handler - - - - - Represents the chart title - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Gets or sets the title text - - - - - Gets or sets the title font. - - - Specify a font in CSS format. For example "16px Arial,Helvetica,sans-serif". - - - - - Gets or sets the title position. - - - The default value is - - - - - Gets or sets the title text alignment. - - - The default value is - - - - - Gets or sets a value indicating if the title is visible - - - - - Gets or sets the title margin - - - - - Gets or sets the title background color - - - - - Gets or sets the title padding - - - - - Gets or sets the legend border - - - - - Represents the chart legend - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Gets or sets the legend font. - - - Specify a font in CSS format. For example "16px Arial,Helvetica,sans-serif". - - - - - Gets or sets the legend labels color. - - - Specify the color of the labels. - - - - - Gets or sets the legend position. - - - The default value is - - - - - Gets or sets the legend X-offset from its position. - - - - - Gets or sets the legend Y-offset from its position. - - - - - Gets or sets a value indicating if the legend is visible - - - - - Gets or sets the legend margin - - - - - Gets or sets the legend margin - - - - - Gets or sets the legend background color - - - - - Gets or sets the legend border - - - - - Represents chart element spacing - - - - - Initializes a new instance of the class. - - The spacing to be applied in all directions. - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Gets or sets the top spacing. - - - - - Gets or sets the right spacing. - - - - - Gets or sets the bottom spacing. - - - - - Gets or sets the left spacing. - - - - - Represents chart element border - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Gets or sets the width of the border. - - - - - Gets or sets the color of the border. - - - - - Gets or sets the dash type of the border. - - - - - Represents the Chart area options - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Gets or sets the Chart area background. - - - The Chart area background. - - - - - Gets or sets the Chart area border. - - - The Chart area border. - - - - - Gets or sets the Chart area margin. - - - The Chart area margin. - - - - - Represents chart line styling - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Gets or sets the line width. - - - - - Gets or sets the line color. - - - - - Gets or sets the line visibility. - - - - - Gets or sets the line dash type. - - - - - Represents the chart data point tootlip - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Gets or sets the legend font. - - - Specify a font in CSS format. For example "16px Arial,Helvetica,sans-serif". - - - - - Gets or sets a value indicating if the legend is visible - - - - - Gets or sets the legend margin - - - - - Gets or sets the legend border - - - - - Gets or sets the label background. - - - The label background. - - - - - Gets or sets the label color. - - - The label color. - - - - - Gets or sets the label format. - - - The label format. - - - - - Gets or sets the tooltip template. - - - The tooltip template. - - - - - Gets or sets the tooltip opacity. - - - The tooltip opacity. - - - - - Defines the position of axis ticks - - - - - The tick is drawn on the outer side of the axis - - - - - No tick is drawn - - - - - Defines the position of bar/column chart labels - - - - - The label is positioned at the bar center - - - - - The label is positioned inside, near the end of the bar - - - - - The label is positioned inside, near the base of the bar - - - - - The label is positioned outside, near the end of the bar. - Not applicable for stacked bar series. - - - - - Defines the position chart legend - - - - - The legend is positioned on the top - - - - - The legend is positioned on the bottom - - - - - The legend is positioned on the left - - - - - The legend is positioned on the right - - - - - The legend is positioned using OffsetX and OffsetY - - - - - Defines the position of point labels. - - - - - The label is positioned at the top of the point marker. - - - - - The label is positioned at the right of the point marker. - - - - - The label is positioned at the bottom of the point marker. - - - - - The label is positioned at the left of the point marker. - - - - - Defines the position of line chart labels. - - - - - The label is positioned at the top of the line chart marker. - - - - - The label is positioned at the right of the line chart marker. - - - - - The label is positioned at the bottom of the line chart marker. - - - - - The label is positioned at the left of the line chart marker. - - - - - Defines the behavior for handling missing values in line series. - - - - - The value is interpolated from neighboring points. - - - - - The value is assumed to be zero. - - - - - The line stops before the missing point and continues after it. - - - - - Defines the shape of the marker. - - - - - The marker shape is square. - - - - - The marker shape is triangle. - - - - - The marker shape is circle. - - - - - Defines text alignment options - - - - - The text is aligned to the left - - - - - The text is aligned to the middle - - - - - The text is aligned to the right - - - - - Defines the position chart title - - - - - The title is positioned on the top - - - - - The title is positioned on the bottom - - - - - Specifies a line dash type. - - - - - Specifies a solid line. - - - - - Specifies a line consisting of dots. - - - - - Specifies a line consisting of dashes. - - - - - Specifies a line consisting of a repeating pattern of long-dash. - - - - - Specifies a line consisting of a repeating pattern of dash-dot. - - - - - Specifies a line consisting of a repeating pattern of lond-dash-dot. - - - - - Specifies a line consisting of a repeating pattern of long-dash-dot-dot. - - - - - Defines the available pie series effects overlays - - - - - The pies have no effect overlay - - - - - The pie segments have sharp bevel effect overlay - - - - - The pie segments have sharp bevel effect overlay - - - - - Defines the alignment of the pie labels. - - - - - The labels are positioned in circle around the pie chart. - - - - - The labels are positioned in columns to the left and right of the pie chart. - - - - - Defines the behavior for handling missing values in scatter line series. - - - - - The value is interpolated from neighboring points. - - - - - The line stops before the missing point and continues after it. - - - - - Defines the position of pie chart labels. - - - - - The label is positioned at the center of the pie segment. - - - - - The label is positioned inside, near the end of the pie segment. - - - - - The label is positioned outside, near the end of the pie segment. - The label and the pie segment are connected with connector line. - - - - - Defines chart axis orientation - - - - - The axis is verical - - - - - The axis is horizontal - - - - - Defines the fluent interface for configuring of all axes. - - - - - Defines the fluent interface for configuring axes. - - - The type of the series builder. - - - - Initializes a new instance of the class. - - The axis. - - - - Sets the axis minor tick size. - - The minor tick size. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .ValueAxis(a => a.Numeric().MinorTickSize(10)) - %> - - - - - - Sets the axis major tick size. - - The major tick size. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .ValueAxis(a => a.Numeric().MajorTickSize(10)) - %> - - - - - - Sets the major tick type. - - The major tick type. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .ValueAxis(a => a.Numeric().MajorTickType(ChartAxisTickType.Inside)) - %> - - - - - - Sets the minor tick type. - - The minor tick type. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .ValueAxis(a => a.Numeric().MinorTickType(ChartAxisTickType.Inside)) - %> - - - - - - Configures the major grid lines. - - The configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .CategoryAxis(axis => axis - .Categories(s => s.DateString) - .MajorGridLines(lines => lines.Visible(true)) - ) - %> - - - - - - Sets color and width of the major grid lines and enables them. - - The major gridlines width - The major gridlines color (CSS syntax) - - - <%= Html.Telerik().Chart() - .Name("Chart") - .CategoryAxis(axis => axis - .Categories(s => s.DateString) - .MajorGridLines(2, "red", ChartDashType.Dot) - ) - %> - - - - - - Configures the minor grid lines. - - The configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .CategoryAxis(axis => axis - .Categories(s => s.DateString) - .MinorGridLines(lines => lines.Visible(true)) - ) - %> - - - - - - Sets color and width of the minor grid lines and enables them. - - The minor gridlines width - The minor gridlines color (CSS syntax) - - - <%= Html.Telerik().Chart() - .Name("Chart") - .CategoryAxis(axis => axis - .Categories(s => s.DateString) - .MinorGridLines(2, "red", ChartDashType.Dot) - ) - %> - - - - - - Configures the axis line. - - The configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .CategoryAxis(axis => axis - .Categories(s => s.DateString) - .Line(line => line.Color("#f00")) - ) - %> - - - - - - Sets color and width of the lines and enables them. - - The axis line width - The axis line color (CSS syntax) - - - <%= Html.Telerik().Chart() - .Name("Chart") - .CategoryAxis(axis => axis - .Categories(s => s.DateString) - .Line(2, "#f00", ChartDashType.Dot) - ) - %> - - - - - - Sets value at which the first perpendicular axis crosses this axis. - - The value at which the first perpendicular axis crosses this axis. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .CategoryAxis(axis => axis.AxisCrossingValue(4)) - %> - - - - - - Configures the axis labels. - - The configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .CategoryAxis(axis => axis - .Labels(labels => labels - .Color("Red") - .Visible(true) - ); - ) - %> - - - - - - Sets the visibility of numeric axis chart labels. - - The visibility. The default value is false. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .CategoryAxis(axis => axis.Labels(true)) - %> - - - - - - Gets or sets the axis. - - The axis. - - - - Initializes a new instance of the class. - - The chart. - - - - Defines the fluent interface for configuring the chart labels. - - - - - Defines the fluent interface for configuring the chart labels. - - - - - Initializes a new instance of the class. - - The labels configuration. - - - - Sets the labels font - - The labels font (CSS format). - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Font("14px Arial,Helvetica,sans-serif") - .Visible(true) - ); - ) - .Render(); - %> - - - - - - Sets the labels visibility - - The labels visibility. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Visible(true) - ); - ) - .Render(); - %> - - - - - - Sets the labels background color - - The labels background color. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Background("Red") - .Visible(true); - ); - ) - .Render(); - %> - - - - - - Sets the labels text color - - The labels text color. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Color("Red") - .Visible(true); - ); - ) - .Render(); - %> - - - - - - Sets the labels margin - - The labels top margin. - The labels right margin. - The labels bottom margin. - The labels left margin. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Margin(0, 5, 5, 0) - .Visible(true); - ); - ) - .Render(); - %> - - - - - - Sets the labels margin - - The labels margin. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Margin(20) - .Visible(true); - ); - ) - .Render(); - %> - - - - - - Sets the labels padding - - The labels top padding. - The labels right padding. - The labels bottom padding. - The labels left padding. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Padding(0, 5, 5, 0) - .Visible(true); - ); - ) - .Render(); - %> - - - - - - Sets the labels padding - - The labels padding. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Padding(20) - .Visible(true); - ); - ) - .Render(); - %> - - - - - - Sets the labels border - - The labels border width. - The labels border color (CSS syntax). - The labels border dash type. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Border(1, "Red", ChartDashType.Dot) - .Visible(true); - ); - ) - .Render(); - %> - - - - - - Sets the labels format. - - The labels format. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Format("{0:C}") - .Visible(true); - ); - ) - .Render(); - %> - - - - - - Sets the labels template. - - The labels template. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Template("${TotalSales}") - .Visible(true); - ); - ) - .Render(); - %> - - - - - - Sets the labels opacity. - - - The series opacity in the range from 0 (transparent) to 1 (opaque). - The default value is 1. - - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Opacity(0.5) - .Visible(true); - ); - ) - .Render(); - %> - - - - - - Sets the labels text rotation - - The labels text rotation. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Rotation(45) - .Visible(true); - ); - ) - .Render(); - %> - - - - - - Initializes a new instance of the class. - - The labels configuration. - - - - Defines the fluent interface for configuring the chart data labels. - - - - - Initializes a new instance of the class. - - The data labels configuration. - - - - Sets the labels align - - The labels align. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Pie(p => p.Sales) - .Labels(labels => labels - .Align(ChartPieLabelsAlign.Column) - .Visible(true) - ); - ) - .Render(); - %> - - - - - - Sets the labels distance - - The labels distance. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Pie(p => p.Sales) - .Labels(labels => labels - .Distance(20) - .Visible(true) - ); - ) - .Render(); - %> - - - - - - Sets the labels position - - The labels position. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Pie(p => p.Sales) - .Labels(labels => labels - .Position(ChartPieLabelsPosition.Center) - .Visible(true) - ); - ) - .Render(); - %> - - - - - - Defines the fluent interface for configuring the chart data points tooltip. - - - - - Initializes a new instance of the class. - - The data point tooltip configuration. - - - - Sets the tooltip font - - The tooltip font (CSS format). - - - <% Html.Telerik().Chart() - .Name("Chart") - .Tooltip(tooltip => tooltip - .Font("14px Arial,Helvetica,sans-serif") - .Visible(true) - ) - .Render(); - %> - - - - - - Sets the tooltip visibility - - The tooltip visibility. The tooltip is not visible by default. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Tooltip(tooltip => tooltip - .Visible(true) - ) - .Render(); - %> - - - - - - Sets the tooltip background color - - - The tooltip background color. - The default is determined from the series color. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Tooltip(tooltip => tooltip - .Background("Red") - .Visible(true) - ) - .Render(); - %> - - - - - - Sets the tooltip text color - - - The tooltip text color. - The default is the same as the series labels color. - - - - <% Html.Telerik().Chart() - .Name("Chart") - .Tooltip(tooltip => tooltip - .Color("Red") - .Visible(true) - ) - .Render(); - %> - - - - - - Sets the tooltip padding - - The tooltip top padding. - The tooltip right padding. - The tooltip bottom padding. - The tooltip left padding. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Tooltip(tooltip => tooltip - .Padding(0, 5, 5, 0) - .Visible(true) - ) - .Render(); - %> - - - - - - Sets the tooltip padding - - The tooltip padding. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Tooltip(tooltip => tooltip - .Padding(20) - .Visible(true) - ) - .Render(); - %> - - - - - - Sets the tooltip border - - The tooltip border width. - The tooltip border color (CSS syntax). - - - <% Html.Telerik().Chart() - .Name("Chart") - .Tooltip(tooltip => tooltip - .Border(1, "Red") - .Visible(true) - ) - .Render(); - %> - - - - - - Sets the tooltip format - - The tooltip format. - - The format string is ignored if a template is set. - - - - <% Html.Telerik().Chart() - .Name("Chart") - .Tooltip(tooltip => tooltip - .Format("{0:C}") - .Visible(true) - ) - .Render(); - %> - - - - - - Sets the tooltip template - - The tooltip template. - - A client-side template for the tooltip. - - - Available template variables: - - value - the point value - category - the category name - series - the data series configuration object - dataItem - the original data item (client-side binding only) - - - - The format string is ignored if a template is set. - - - - <% Html.Telerik().Chart() - .Name("Chart") - .Tooltip(tooltip => tooltip - .Template("<#= category #> - <#= value #>") - .Visible(true) - ) - .Render(); - %> - - - - - - Sets the tooltip opacity. - - - The series opacity in the range from 0 (transparent) to 1 (opaque). - The default value is 1. - - - - <% Html.Telerik().Chart() - .Name("Chart") - .Tooltip(tooltip => tooltip - .Opacity(0.5) - .Visible(true) - ) - .Render(); - %> - - - - - - Defines the fluent interface for configuring pie series. - - The type of the data item - - - - Initializes a new instance of the class. - - The series. - - - - Sets the name of the series. - - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .Series(series => series.Pie(s => s.Sales, s => s.DateString).Name("Sales")) - %> - - - - - - Sets the series opacity. - - - The series opacity in the range from 0 (transparent) to 1 (opaque). - The default value is 1. - - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .Series(series => series.Pie(s => s.Sales, s => s.DateString).Opacity(0.5)) - %> - - - - - - Sets the padding of the chart. - - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series.Pie(s => s.Sales, s => s.DateString).Padding(100)) - .Render(); - %> - - - - - - Sets the start angle of the first pie segment. - - The pie start angle(in degrees). - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series.Pie(s => s.Sales, s => s.DateString).StartAngle(100)) - .Render(); - %> - - - - - - Configures the pie chart labels. - - The configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Pie(s => s.Sales, s => s.DateString) - .Labels(labels => labels - .Color("red") - .Visible(true) - ); - ) - %> - - - - - - Sets the visibility of pie chart labels. - - The visibility. The default value is false. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Pie(s => s.Sales, s => s.DateString) - .Labels(true); - ) - %> - - - - - - Sets the pie segments border - - The pie segments border width. - The pie segments border color (CSS syntax). - The pie segments border dash type. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series.Pie(s => s.Sales, s => s.DateString).Border(1, "#000", ChartDashType.Dot)) - .Render(); - %> - - - - - - Sets the pie segments effects overlay - - - The pie segment effects overlay. - The default value is set in the theme. - - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series.Pie(s => s.Sales, s => s.DateString).Overlay(ChartPieSeriesOverlay.None)) - .Render(); - %> - - - - - - Configures the pie chart connectors. - - The configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Pie(s => s.Sales, s => s.DateString) - .Connectors(c => c - .Color("red") - ); - ) - %> - - - - - - Gets or sets the series. - - The series. - - - - Defines the fluent interface for configuring scatter series. - - The type of the data item - - - - Defines the fluent interface for configuring scatter series. - - The type of the data item - - - - Defines the fluent interface for configuring series. - - - The type of the series builder. - - - - Initializes a new instance of the class. - - The series. - - - - Sets the series title displayed in the legend. - - The title. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .Series(series => series.Bar(s => s.Sales).Name("Sales")) - %> - - - - - - Sets the series opacity. - - - The series opacity in the range from 0 (transparent) to 1 (opaque). - The default value is 1. - - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .Series(series => series.Bar(s => s.Sales).Opacity(0.5)) - %> - - - - - - Sets the bar fill color - - The bar fill color (CSS syntax). - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series.Bar(s => s.Sales).Color("Red")) - .Render(); - %> - - - - - - Gets or sets the series. - - The series. - - - - Initializes a new instance of the class. - - The series. - - - - Configures the scatter chart labels. - - The configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Scatter(s => s.x, s => s.y) - .Labels(labels => labels - .Position(ChartBarLabelsPosition.Above) - .Visible(true) - ); - ) - %> - - - - - - Sets the visibility of scatter chart labels. - - The visibility. The default value is false. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Scatter(s => s.x, s => s.y) - .Labels(true); - ) - %> - - - - - - Configures the scatter chart markers. - - The configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Scatter(s => s.x, s => s.y) - .Markers(markers => markers - .Type(ChartMarkerShape.Triangle) - ); - ) - %> - - - - - - Sets the visibility of scatter chart markers. - - The visibility. The default value is true. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Scatter(s => s.x, s => s.y) - .Markers(true); - ) - %> - - - - - - Initializes a new instance of the class. - - The series. - - - - Defines the fluent interface for configuring scatter line series. - - The type of the data item - - - - Initializes a new instance of the class. - - The series. - - - - Sets the chart line width. - - The line width. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series.ScatterLine(s => s.x, s => s.y).Width(2)) - .Render(); - %> - - - - - - Sets the chart line dash type. - - The line dash type. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series.ScatterLine(s => s.x, s => s.y).DashType(ChartDashType.Dot)) - .Render(); - %> - - - - - - Configures the behavior for handling missing values in scatter line series. - - The missing values behavior. The default is to leave gaps. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .ScatterLine(s => s.x, s => s.y) - .MissingValues(ChartScatterLineMissingValues.Interpolate); - ) - %> - - - - - - Defines the fluent interface for configuring the chart connectors. - - - - - Initializes a new instance of the class. - - The connectors configuration. - - - - Sets the connectors width - - The connectors width. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Pie(p => p.Sales) - .Connectors(c => c - .Width(3) - ); - ) - .Render(); - %> - - - - - - Sets the connectors color - - The connectors color. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Pie(p => p.Sales) - .Connectors(c => c - .Color(red) - ); - ) - .Render(); - %> - - - - - - Sets the connectors padding - - The connectors padding. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Pie(p => p.Sales) - .Connectors(c => c - .Padding(10) - ); - ) - .Render(); - %> - - - - - - Represents an object that can serialize itself - - - - - Serializes the current instance - - - - - Represents chart line markers styling - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Gets or sets the markers size. - - - - - Gets or sets the markers background. - - - - - Gets or sets the markers type. - - - - - Gets or sets the markers visibility. - - - - - Gets or sets the markers border. - - - - - Defines the fluent interface for configuring line series. - - The type of the data item - - - - Initializes a new instance of the class. - - The series. - - - - Sets a value indicating if the lines should be stacked. - - A value indicating if the lines should be stacked. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .Series(series => series.Line(s => s.Sales).Stack(true)) - %> - - - - - - Configures the line chart labels. - - The configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Line(s => s.Sales) - .Labels(labels => labels - .Position(ChartBarLabelsPosition.Above) - .Visible(true) - ); - ) - %> - - - - - - Sets the visibility of line chart labels. - - The visibility. The default value is false. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Line(s => s.Sales) - .Labels(true); - ) - %> - - - - - - Sets the line chart line width. - - The line width. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series.Line(s => s.Sales).Width(2)) - .Render(); - %> - - - - - - Sets the line chart line dash type. - - The line dash type. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series.Line(s => s.Sales).DashType(ChartDashType.Dot)) - .Render(); - %> - - - - - - Configures the line chart markers. - - The configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Line(s => s.Sales) - .Markers(markers => markers - .Type(ChartMarkerShape.Triangle) - ); - ) - %> - - - - - - Sets the visibility of line chart markers. - - The visibility. The default value is true. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Line(s => s.Sales) - .Markers(true); - ) - %> - - - - - - Configures the behavior for handling missing values in line series. - - The missing values behavior. The default is to leave gaps. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Line(s => s.Sales) - .MissingValues(ChartLineMissingValues.Interpolate); - ) - %> - - - - - - Defines the fluent interface for configuring the chart data labels. - - - - - Initializes a new instance of the class. - - The data labels configuration. - - - - Sets the labels position - - The labels position. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Line(s => s.Sales) - .Labels(labels => labels - .Position(ChartPointLabelsPosition.Above) - .Visible(true) - ); - ) - .Render(); - %> - - - - - - This method will be removed in future versions. Use Position(ChartPointLabelsPosition) instead. - - The labels position. - - - - Defines the fluent interface for configuring the chart data labels. - - - - - Initializes a new instance of the class. - - The line chart markers configuration. - - - - Sets the markers shape type. - - The markers shape type. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Line(s => s.Sales) - .Markers(markers => markers - .Type(ChartMarkerShape.Triangle) - ); - ) - .Render(); - %> - - - - - - Sets the markers size. - - The markers size. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Line(s => s.Sales) - .Markers(markers => markers - .Size(10) - ); - ) - .Render(); - %> - - - - - - Sets the markers visibility - - The markers visibility. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Line(s => s.Sales) - .Markers(markers => markers - .Visible(true) - ); - ) - .Render(); - %> - - - - - - Sets the markers border - - The markers border width. - The markers border color (CSS syntax). - The markers border dash type. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Line(s => s.Sales) - .Markers(markers => markers - .Border(1, "Red", ChartDashType.Dot) - ); - ) - .Render(); - %> - - - - - - The background color of the current series markers. - - The background color of the current series markers. The background color is series color. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Line(s => s.Sales) - .Markers(markers => markers - .Background("Red"); - ); - ) - .Render(); - %> - - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The plot area. - - - - Sets the Plot area background color - - The background color. - - - <% Html.Telerik().Chart() - .Name("Chart") - .PlotArea(plotArea => plotArea.Background("Red")) - .Render(); - %> - - - - - - Sets the Plot area margin - - The plot area top margin. - The plot area right margin. - The plot area bottom margin. - The plot area left margin. - - - <% Html.Telerik().Chart() - .Name("Chart") - .PlotArea(plotArea => plotArea.Margin(0, 5, 5, 0)) - .Render(); - %> - - - - - - Sets the Plot area margin - - The plot area margin. - - - <% Html.Telerik().Chart() - .Name("Chart") - .PlotArea(plotArea => plotArea.Margin(5)) - .Render(); - %> - - - - - - Sets the Plot area border - - The border width. - The border color (CSS syntax). - The border dash type. - - - <% Html.Telerik().Chart() - .Name("Chart") - .PlotArea(plotArea => plotArea.Border(1, "#000", ChartDashType.Dot)) - .Render(); - %> - - - - - - Represents the Plot area options - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Gets or sets the Plot area background. - - - The Plot area background. - - - - - Gets or sets the Plot area border. - - - The Chart area border. - - - - - Gets or sets the Plot area margin. - - - The Chart area margin. - - - - - Defines the fluent interface for configuring the chart data labels. - - - - - Initializes a new instance of the class. - - The data labels configuration. - - - - Sets the labels position - - The labels position. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Position(ChartBarLabelsPosition.InsideEnd) - .Visible(true) - ); - ) - .Render(); - %> - - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The chart area. - - - - Sets the Chart area background color - - The background color. - - - <% Html.Telerik().Chart() - .Name("Chart") - .ChartArea(chartArea => chartArea.Background("Red")) - .Render(); - %> - - - - - - Sets the Chart area margin - - The chart area top margin. - The chart area right margin. - The chart area bottom margin. - The chart area left margin. - - - <% Html.Telerik().Chart() - .Name("Chart") - .ChartArea(chartArea => chartArea.Margin(0, 5, 5, 0)) - .Render(); - %> - - - - - - Sets the Chart area margin - - The chart area margin. - - - <% Html.Telerik().Chart() - .Name("Chart") - .ChartArea(chartArea => chartArea.Margin(5)) - .Render(); - %> - - - - - - Sets the Chart area border - - The border width. - The border color (CSS syntax). - The border dash type. - - - <% Html.Telerik().Chart() - .Name("Chart") - .ChartArea(chartArea => chartArea.Border(1, "#000", ChartDashType.Dot)) - .Render(); - %> - - - - - - Defines the fluent interface for configuring . - - - - - Initializes a new instance of the class. - - The chart line. - - - - Sets the line color - - The line color (CSS format). - - - <% Html.Telerik().Chart() - .Name("Chart") - .CategoryAxis(axis => axis.MajorGridLines(lines => lines.Color("#f00"))) - .Render(); - %> - - - - - - Sets the line width - - The line width. - - - <% Html.Telerik().Chart() - .Name("Chart") - .CategoryAxis(axis => axis.MajorGridLines(lines => lines.Width(2))) - .Render(); - %> - - - - - - Sets the line visibility - - The line visibility. - - - <% Html.Telerik().Chart() - .Name("Chart") - .CategoryAxis(axis => axis.MajorGridLines(lines => lines.Visible(true))) - .Render(); - %> - - - - - - Defines the default settings for bar series. - - - - - Defines the default settings for column series. - - - - - Defines the default settings for line series. - - - - - Defines the default settings for pie series. - - - - - Defines the default settings for scatter series. - - - - - Defines the default settings for scatter line series. - - - - - Represents the options of the bar chart labels - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Gets or sets the label position. - - - The default value is for clustered series and - for stacked series. - - - - - Defines the fluent interface for building - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables binding. - - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("SalesData", "Home").Enabled((bool)ViewData["bindSales"]); - }) - %> - - - - The Enabled method is useful when you need to enable binding based on certain conditions. - - - - - Sets the action, controller and route values for the select operation - - The route values of the Action method. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select(MVC.Home.SalesData().GetRouteValueDictionary()); - }) - %> - - - - - - Sets the action, controller and route values for the select operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("SalesData", "Home", new RouteValueDictionary{ {"month", 1} }); - }) - %> - - - - - - Sets the action, controller and route values for the select operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("SalesData", "Home", new { month = 1 }); - }) - %> - - - - - - Sets the action and controller for the select operation - - Name of the action. - Name of the controller. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("SalesData", "Home"); - }) - %> - - - - - - Sets the route and values for the select operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"month", 1} }); - }) - %> - - - - - - Sets the route and values for the select operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", new {month = 1}); - }) - %> - - - - - - Sets the route name for the select operation - - Name of the route. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default"); - }) - %> - - - - - - Sets the action, controller and route values for the select operation - - The type of the controller. - The action. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select<HomeController>(controller => controller.SalesData())); - }) - %> - - - - - - Creates value axis for the . - - The type of the data item to which the chart is bound to - - - - Initializes a new instance of the class. - - The container. - - - - Defines a numeric value axis. - - - - - The parent Chart - - - - - Defines the fluent interface for configuring numeric axis. - - - - - Initializes a new instance of the class. - - The axis. - - - - Sets the axis minimum value. - - The axis minimum value. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .ValueAxis(a => a.Numeric().Min(4)) - %> - - - - - - Sets the axis maximum value. - - The axis maximum value. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .ValueAxis(a => a.Numeric().Max(4)) - %> - - - - - - Sets the interval between major divisions. - - The interval between major divisions. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .ValueAxis(a => a.Numeric().MajorUnit(4)) - %> - - - - - - Sets the axis orientation. The CategoryAxis orientation should be set to match. - - The orientation. The default value is inferred from the series type. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .CategoryAxis(c => c.Orientation(ChartAxisOrientation.Vertical)) - .ValueAxis(v => v.Orientation(ChartAxisOrientation.Horizontal)) - .Series(series => series.Line(s => s.Sales)) - %> - - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The chart title. - - - - Sets the title text - - The text title. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Title(title => title.Text("Chart")) - .Render(); - %> - - - - - - Sets the title font - - The title font (CSS format). - - - <% Html.Telerik().Chart() - .Name("Chart") - .Title(title => title.Font("16px Arial,Helvetica,sans-serif")) - .Render(); - %> - - - - - - Sets the title background color - - The background color. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Title(title => title.Background("red")) - .Render(); - %> - - - - - - Sets the title position - - The title position. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Title(title => title.Position(ChartTitlePosition.Bottom)) - .Render(); - %> - - - - - - Sets the title alignment - - The title alignment. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Title(title => title.Align(ChartTextAlignment.Left)) - .Render(); - %> - - - - - - Sets the title visibility - - The title visibility. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Title(title => title.Visible(false)) - .Render(); - %> - - - - - - Sets the title margin - - The title top margin. - The title right margin. - The title bottom margin. - The title left margin. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Title(title => title.Margin(20)) - .Render(); - %> - - - - - - Sets the title margin - - The title margin. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Title(title => title.Margin(20)) - .Render(); - %> - - - - - - Sets the title padding - - The title top padding. - The title right padding. - The title bottom padding. - The title left padding. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Title(title => title.Padding(20)) - .Render(); - %> - - - - - - Sets the title padding - - The title padding. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Title(title => title.Padding(20)) - .Render(); - %> - - - - - - Sets the title border - - The title border width. - The title border color. - The title dash type. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Title(title => title.Border(1, "#000", ChartDashType.Dot)) - .Render(); - %> - - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The chart legend. - - - - Sets the legend labels font - - The legend labels font (CSS format). - - - <% Html.Telerik().Chart() - .Name("Chart") - .Legend(legend => legend.Font("16px Arial,Helvetica,sans-serif")) - .Render(); - %> - - - - - - Sets the legend labels color - - The labels color (CSS format). - - - <% Html.Telerik().Chart() - .Name("Chart") - .Legend(legend => legend.Color("red")) - .Render(); - %> - - - - - - Sets the legend background color - - The background color. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Legend(legend => legend.Background("red")) - .Render(); - %> - - - - - - Sets the legend position - - The legend position. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Legend(legend => legend.Position(ChartLegendPosition.Bottom)) - .Render(); - %> - - - - - - Sets the legend visibility - - The legend visibility. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Legend(legend => legend.Visible(false)) - .Render(); - %> - - - - - - Sets the legend X and Y offset from its position - - The legend X offset from its position. - The legend Y offset from its position. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Legend(legend => legend.Offset(10, 50)) - .Render(); - %> - - - - - - Sets the legend margin - - The legend top margin. - The legend right margin. - The legend bottom margin. - The legend top margin. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Legend(legend => legend.Margin(0, 5, 5, 0)) - .Render(); - %> - - - - - - Sets the legend margin - - The legend margin. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Legend(legend => legend.Margin(20)) - .Render(); - %> - - - - - - Sets the legend padding - - The legend top padding. - The legend right padding. - The legend bottom padding. - The legend left padding. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Legend(legend => legend.Padding(0, 5, 5, 0)) - .Render(); - %> - - - - - - Sets the legend padding - - The legend padding. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Legend(legend => legend.Padding(20)) - .Render(); - %> - - - - - - Sets the legend border - - The legend border width. - The legend border color (CSS syntax). - The legend border dash type. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Legend(legend => legend.Border(1, "#000", ChartDashType.Dot)) - .Render(); - %> - - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The client events. - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Chart() - .Name("Chart") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Chart() - .Name("Chart") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnDataBound client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Chart() - .Name("Chart") - .ClientEvents(events => events.OnDataBound(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnDataBound client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Chart() - .Name("Chart") - .ClientEvents(events => events.OnDataBound( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnDataBound client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .ClientEvents(events => events.OnDataBound("onDataBound")) - %> - - - - - - Defines the inline handler of the OnSeriesClick client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Chart() - .Name("Chart") - .ClientEvents(events => events.OnSeriesClick(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnSeriesClick client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Chart() - .Name("Chart") - .ClientEvents(events => events.OnSeriesClick( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnSeriesClick client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .ClientEvents(events => events.OnSeriesClick("onSeriesClick")) - %> - - - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The component. - - - - Configures the client-side events. - - The client events configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .ClientEvents(events => events - .OnLoad("onLoad") - ) - %> - - - - - - Sets the theme of the chart. - - The Chart theme. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Theme("Telerik") - %> - - - - - - Sets the Chart area. - - The Chart area. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .ChartArea(chartArea => chartArea.margin(20)) - %> - - - - - - Sets the Plot area. - - The Plot area. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .PlotArea(plotArea => plotArea.margin(20)) - %> - - - - - - Sets the title of the chart. - - The Chart title. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Title("Yearly sales") - %> - - - - - - Defines the title of the chart. - - The configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Title(title => title.Text("Yearly sales")) - %> - - - - - - Sets the legend visibility. - - A value indicating whether to show the legend. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Legend(false) - %> - - - - - - Configures the legend. - - The configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Legend(legend => legend.Visible(true).Position(ChartLegendPosition.Bottom)) - %> - - - - - - Defines the chart series. - - The add action. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .Series(series => - { - series.Bar(s => s.SalesAmount); - }) - %> - - - - - - Defines the options for all chart series of the specified type. - - The configurator. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .SeriesDefaults(series => series.Bar().Stack(true)) - %> - - - - - - Defines the options for all chart axes of the specified type. - - The configurator. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .AxisDefaults(axisDefaults => axisDefaults.MinorTickSize(5)) - %> - - - - - - Configures the category axis - - The configurator - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .CategoryAxis(axis => axis - .Categories(s => s.DateString) - ) - %> - - - - - - Configures the value axis - - The configurator - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .ValueAxis(a => a.Numeric().TickSize(4)) - %> - - - - - - Configures the X-axis for scatter charts. - - The configurator - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .XAxis(a => a.Max(4)) - %> - - - - - - Configures the Y-axis for scatter charts. - - The configurator - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .YAxis(a => a.Max(4)) - %> - - - - - - Use it to configure binding. - - Use the configurator to set different data binding options. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("SalesData", "Chart").Enabled((bool)ViewData["bindSales"]); - }) - %> - - - - - - Sets the series colors. - - A list of the series colors. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .SeriesColors(new string[] { "#f00", "#0f0", "#00f" }) - %> - - - - - - Sets the series colors. - - The series colors. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .SeriesColors("#f00", "#0f0", "#00f") - %> - - - - - - Use it to configure the data point tooltip. - - Use the configurator to set data tooltip options. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Tooltip(tooltip => - { - tooltip.Visible(true).Format("{0:C}"); - }) - %> - - - - - - Sets the data point tooltip visibility. - - - A value indicating if the data point tooltip should be displayed. - The tooltip is not visible by default. - - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Tooltip(true) - %> - - - - - - Enables or disabled animated transitions on initial load and refresh. - - - A value indicating if transition animations should be played. - - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Transitions(false) - %> - - - - - - Creates series for the . - - The type of the data item to which the chart is bound to - - - - Initializes a new instance of the class. - - The container. - - - - Defines bound bar series. - - - The expression used to extract the series value from the chart model - - - - - Defines bound bar series. - - - The name of the value member. - - - - - Defines bound bar series. - - - The type of the value member. - - - The name of the value member. - - - - - Defines bar series bound to inline data. - - - The data to bind to. - - - - - Defines bound column series. - - - The expression used to extract the series value from the chart model - - - - - Defines bound bar series. - - - The name of the value member. - - - - - Defines bound bar series. - - - The type of the value member. - - - The name of the value member. - - - - - Defines bar series bound to inline data. - - - The data to bind to - - - - - Defines bound line series. - - - The expression used to extract the series value from the chart model - - - - - Defines bound line series. - - - The name of the value member. - - - - - Defines bound line series. - - - The type of the value member. - - - The name of the value member. - - - - - Defines line series bound to inline data. - - - The data to bind to - - - - - Defines bound scatter series. - - - The expression used to extract the X value from the chart model - - - The expression used to extract the Y value from the chart model - - - - - Defines bound scatter series. - - - The name of the X value member. - - - The name of the Y value member. - - - - - - Defines scatter series bound to inline data. - - - The data to bind to - - - - - Defines bound scatter line series. - - - The expression used to extract the X value from the chart model - - - The expression used to extract the Y value from the chart model - - - - - Defines bound scatter line series. - - - The name of the X value member. - - - The name of the Y value member. - - - - - - Defines scatter line series bound to inline data. - - - The data to bind to - - - - - Defines bound pie series. - - - The expression used to extract the series value from the chart model - - - - - Defines bound pie series. - - - The expression used to extract the series value from the chart model - - - - - Defines bound pie series. - - - The name of the value member. - - - - - Defines bound pie series. - - - The name of the value member. - - - The name of the category member. - - - The name of the explode member. - - - - - Defines bound pie series. - - - The type of the value member. - - - The name of the value member. - - - The name of the category member. - - - The name of the explode member. - - - - - Defines pie series bound to inline data. - - - The data to bind to - - - - - The parent Chart - - - - - Defines the fluent interface for configuring bar series. - - The type of the data item - - - - Initializes a new instance of the class. - - The series. - - - - Sets a value indicating if the bars should be stacked. - - A value indicating if the bars should be stacked. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .Series(series => series.Bar(s => s.Sales).Stack(true)) - %> - - - - - - Set distance between category clusters. - - A value of 1 means that there is a total of 1 column width / bar height between categories. - The distance is distributed evenly on each side. - The default value is 1.5 - - - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .Series(series => series.Bar(s => s.Sales).Gap(1)) - %> - - - - - - Sets a value indicating the distance between bars / categories. - - - Value of 1 means that the distance between bars is equal to their width. - The default value is 0 - - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .Series(series => series.Spacing(s => s.Sales).Spacing(1)) - %> - - - - - - Configures the bar chart labels. - - The configuration action. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(labels => labels - .Position(ChartBarLabelsPosition.InsideEnd) - .Visible(true) - ); - ) - %> - - - - - - Sets the visibility of bar chart labels. - - The visibility. The default value is false. - - - <%= Html.Telerik().Chart() - .Name("Chart") - .Series(series => series - .Bar(s => s.Sales) - .Labels(true); - ) - %> - - - - - - Sets the bars border - - The bars border width. - The bars border color (CSS syntax). - The bars border dash type. - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series.Bar(s => s.Sales).Border("1", "#000", ChartDashType.Dot)) - .Render(); - %> - - - - - - Sets the bar effects overlay - - The bar effects overlay. The default is ChartBarSeriesOverlay.Glass - - - <% Html.Telerik().Chart() - .Name("Chart") - .Series(series => series.Bar(s => s.Sales).Overlay(ChartBarSeriesOverlay.None)) - .Render(); - %> - - - - - - Configures the category axis for the . - - The type of the data item to which the chart is bound to - - - - Initializes a new instance of the class. - - The chart. - - - - Defines bound categories. - - - The expression used to extract the categories value from the chart model - - - - - Defines categories. - - - The list of categories - - - - - Defines categories. - - - The list of categories - - - - - Sets the axis orientation. The ValueAxis orientation should be set to match. - - The orientation. The default value is inferred from the series type. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - .CategoryAxis(c => c.Orientation(ChartAxisOrientation.Vertical)) - .ValueAxis(v => v.Orientation(ChartAxisOrientation.Horizontal)) - .Series(series => series.Line(s => s.Sales)) - %> - - - - - - The parent Chart - - - - - Defines the fluent interface for configuring data binding. - - - - - Initializes a new instance of the class. - - The configuration. - - - - Use it to configure Ajax binding. - - - - <%= Html.Telerik().Chart() - .Name("Chart") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("SalesData", "Chart"); - }) - %> - - - - - - An HTML Builder for the Chart component - - - - - Initializes a new instance of the class. - - The Chart component. - - - - Creates the chart top-level div. - - - - - - Builds the Chart component markup. - - - - - - Represents chart bar or column series - - The Chart model type - The value type - - - - Represents Chart series bound to data. - - The Chart model type - The value type - - - - Represents a series in the component - - The type of the data item - - - - Represents chart series - - - - - Creates a serializer for the series - - - - - The series name. - - - - - The series opacity - - - - - The series base color - - - - - Initializes a new instance of the class. - - The chart. - - - - Creates a serializer for the series - - - - - Gets or sets the chart. - - The chart. - - - - Gets or sets the title of the series. - - The title. - - - - Gets or sets the series opacity. - - A value between 0 (transparent) and 1 (opaque). - - - - Gets or sets the series base color - - - - - Represents Chart series bound to data. - - - - - Gets the data member of the series. - - - - - The data used for binding. - - - - - Initializes a new instance of the class. - - The chart. - The expression. - - - - Initializes a new instance of the class. - - The chart. - The data. - - - - Initializes a new instance of the class. - - The chart. - - - - Binds the series - - - - - Gets a function which returns the value of the property to which the column is bound to. - - - - - The data used for binding. - - - - - The expression used to extract the value from the model - - - - - Gets the model data member name. - - The model data member name. - - - - Represents chart bar or column series - - - - - A value indicating if the bars should be stacked. - - - - - The distance between category clusters. - - - - - Space between bars. - - - - - The orientation of the bars. - - - - - Gets the bar chart data labels configuration - - - - - Gets or sets the bar's border - - - - - Gets or sets the effects overlay - - - - - Initializes a new instance of the class. - - The parent chart - The expression used to extract the series value from the chart model. - - - - Initializes a new instance of the class. - - The parent chart - The data to bind to. - - - - Initializes a new instance of the class. - - The chart. - - - - Creates a serializer for the series - - - - - A value indicating if the bars should be stacked. - - - - - The distance between category clusters. - - - A value of 1 means that there is a total of 1 column width / bar height between categories. - The distance is distributed evenly on each side. - - - - - Space between bars. - - - Value of 1 means that the distance between bars is equal to their width. - - - - - The orientation of the bars. - - - Can be either horizontal (bar chart) - or vertical vertical (column chart). - The default value is horizontal. - - - - - Gets the bar chart data labels configuration - - - - - - Gets or sets the bar border - - - - - Gets or sets the effects overlay - - - - - Represents the options of the pie chart connectors - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Defines the width of the line. - - - - - Defines the color of the line. - - - - - Defines the padding of the line. - - - - - Represents the options of the pie chart labels - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Defines the alignment of the pie labels. - - - - - Defines the distance between the pie chart and labels. - - - - - Defines the position of the pie labels. - - - - - Represents chart pie series - - The Chart model type - The value type - - - - Represents pie chart series - - - - - Gets the data category member of the series. - - - - - Gets the data expand member of the series. - - - - - Gets the data color member of the series. - - - - - Gets the pie chart data labels configuration - - - - - Gets or sets the pie's border - - - - - Gets or sets the effects overlay - - - - - Gets or sets the padding of the pie chart - - - - - Gets or sets the start angle of the first pie segment - - - - - Gets the pie chart connectors configuration - - - - - Initializes a new instance of the class. - - The chart. - The value expression. - The category expression. - The color expression. - The explode expression. - - - - Initializes a new instance of the class. - - The chart. - The data. - - - - Initializes a new instance of the class. - - The chart. - - - - Binds the series - - - - - Creates a serializer for the series - - - - - The expression used to extract the value from the model - - - - - Gets the model data member name. - - The model data member name. - - - - Gets the model data category member name. - - The model data category member name. - - - - Gets the model data explode member name. - - The model data explode member name. - - - - Gets the model data color member name. - - The model data color member name. - - - - Gets a function which returns the value of the property to which the column is bound to. - - - - - Gets a function which returns the category of the property to which the column is bound to. - - - - - Gets a function which returns the explode of the property to which the column is bound to. - - - - - Gets a function which returns the color of the property to which the column is bound to. - - - - - Gets the pie chart data labels configuration - - - - - Gets or sets the pie border - - - - - The pie chart data configuration. - - - - - Gets or sets the effects overlay. - - - - - Gets or sets the padding of the chart. - - - - - Gets or sets the start angle of the first pie segment. - - - - - Gets the pie chart connectors configuration - - - - - Defines the possible bar series orientation. - - - - - The bars are horizontal (bar chart) - - - - - The bars are vertical (column chart) - - - - - Represents the default settings for all series in the component - - The type of the data item - - - - Represents default chart series settings - - - - - The default settings for all bar series - - - - - The default settings for all column series - - - - - The default settings for all line series - - - - - The default settings for all line series - - - - - The default settings for all scatter series - - - - - The default settings for all scatter line series - - - - - Initializes a new instance of the class. - - The chart. - - - - Creates a serializer for the series defaults - - - - - The default settings for all bar series. - - - - - The default settings for all column series. - - - - - The default settings for all line series. - - - - - The default settings for all pie series. - - - - - The default settings for all scatter series. - - - - - The default settings for all scatter line series. - - - - - Represents the options of the chart point labels - - - - - Initializes a new instance of the class. - - - - - Creates a serializer - - - - - Gets or sets the label position. - - - The default value is for clustered series and - for stacked series. - - - - - Represents chart line series - - The Chart model type - The value type - - - - Represents chart line chart series - - - - - A value indicating if the lines should be stacked. - - - - - Gets the line chart data labels configuration - - - - - The line chart markers configuration. - - - - - The line chart line width. - - - - - The line chart line dash type. - - - - - The behavior for handling missing values in line series. - - - - - Initializes a new instance of the class. - - The parent chart - The expression used to extract the series value from the chart model. - - - - Initializes a new instance of the class. - - The parent chart - The data to bind to. - - - - Initializes a new instance of the class. - - The chart. - - - - Creates a serializer for the series - - - - - A value indicating if the lines should be stacked. - - - - - Gets the line chart data labels configuration - - - - - The line chart markers configuration. - - - - - The line chart line width. - - - - - The behavior for handling missing values in line series. - - - - - The line chart line dashType. - - - - - Defines the available bar series effects overlays - - - - - The bars have no effect overlay - - - - - The bars have glass effect overlay - - - - - Represents chart scatter (XY) series - - The Chart model type - The value type - - - - Represents chart scatter series - - - - - Gets the X data member of the series. - - - - - Gets the Y data member of the series. - - - - - Gets the scatter chart data labels configuration - - - - - The scatter chart markers configuration. - - - - - The data used for binding. - - - - - Initializes a new instance of the class. - - The chart. - The X expression. - The Y expression. - - - - Initializes a new instance of the class. - - The chart. - The data. - - - - Initializes a new instance of the class. - - The chart. - - - - Binds the series - - - - - Creates a serializer for the series - - - - - The expression used to extract the X value from the model - - - - - The expression used to extract the Y value from the model - - - - - Gets the model X data member name. - - The model X data member name. - - - - Gets the model Y data member name. - - The model Y data member name. - - - - Gets a function which returns the value of the property to which the X value is bound to. - - - - - Gets a function which returns the value of the property to which the Y value is bound to. - - - - - Gets the scatter chart data labels configuration - - - - - The line chart markers configuration. - - - - - The scatter chart data source. - - - - - Represents chart scatter line series - - The Chart model type - The value type - - - - Represents chart scatter line series - - - - - The line chart line width. - - - - - The chart line dash type. - - - - - The behavior for handling missing values in scatter line series. - - - - - Initializes a new instance of the class. - - The chart. - The X expression. - The Y expression. - - - - Initializes a new instance of the class. - - The chart. - The data. - - - - Initializes a new instance of the class. - - The chart. - - - - Creates a serializer for the series - - - - - The chart line width. - - - - - The chart line dashType. - - - - - The behavior for handling missing values in scatter line series. - - - - - Represents the chart binding settings - - - - - Initializes a new instance of the class. - - The chart. - - - - Serializes the binding settings to the specified writer - - The settings key - The writer - - - - Gets or sets a value indicating if the binding is enabled - - - - - The request settings for the Select operation - - - - - Represents the chart data binding settings - - - - - Initializes a new instance of the class. - - The chart. - - - - Represents the chart Ajax binding settings - - - - - Gets the id. - - The id. - - - - Gets the items of the ComboBox. - - - - - Defines the fluent interface for building - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables filtering. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(filtering => - { - filtering.Enabled((bool)ViewData["filtering"]); - }) - %> - - - - The Enabled method is useful when you need to enable/disable filtering based on certain conditions. - - - - - Defines filter mode. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(filtering => - { - filtering.FilterMode(AutoCompleteFilterMode.StartsWith); - }) - %> - - - - - - Set minimum chars number needed to start filtering. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(filtering => - { - filtering.MinimumChars(2); - }) - %> - - - - - - Defines the fluent interface for configuring the component. - - - - - Configures the client-side events. - - The client events action. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => - events.OnLoad("onLoad") - ) - %> - - - - - - Configures the effects of the dropdownlist. - - The action which configures the effects. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .Effects(fx => - { - fx.Slide() - .OpenDuration(AnimationDuration.Normal) - .CloseDuration(AnimationDuration.Normal); - }) - - - - - - Defines the items in the DropDownList - - The add action. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - %> - - - - - - - - Sets the HTML attributes of the hidden input element. - - The HTML attributes. - - - - Sets the HTML attributes of the hidden input element. - - The HTML attributes. - - - - - - Initializes a new instance of the class. - - The component. - - - - Use it to enable filtering of items. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(); - %> - - - - - - Use it to configure filtering settings. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(filtering => filtering.Enabled(true) - .FilterMode(AutoCompleteFilterMode.Contains)); - %> - - - - - - Sets the HTML attributes of the input element. - - The HTML attributes. - - - - Sets the HTML attributes of the input element. - - The HTML attributes. - - - - Use it to enable filling the first matched item text. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .AutoFill(true) - %> - - - - - - Use it to configure Data binding. - - Action that configures the data binding options. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => dataBinding - .Ajax().Select("_AjaxLoading", "ComboBox") - ); - %> - - - - - - Use it to enable highlighting of first matched item. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .HighlightFirstMatch(true) - %> - - - - - - Use it to set selected item index - - Item index. - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .SelectedIndex(0); - %> - - - - - - Enables or disables the combobox. - - - - - Sets whether to open items list on focus. - - - - - Defines the fluent interface for building - - - - - Defines the fluent interface for building - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables binding. - - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home").Enabled((bool)ViewData["ajax"]); - }) - %> - - - - The Enabled method is useful when you need to enable binding based on certain conditions. - - - - - Sets the action, controller and route values for the select operation - - The route values of the Action method. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select(MVC.Home.Indec(1).GetRouteValueDictionary()); - }) - %> - - - - - - Sets the action, controller and route values for the select operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - - - - - Sets the action, controller and route values for the select operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home", new { {"id", 1} }); - }) - %> - - - - - - Sets the action, controller and route values for the select operation - - Name of the action. - Name of the controller. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home"); - }) - %> - - - - - - Sets the route and values for the select operation - - Name of the route. - The route values. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - - - - - Sets the route and values for the select operation - - Name of the route. - The route values. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", new {id=1}); - }) - %> - - - - - - Sets the route name for the select operation - - Name of the route. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default"); - }) - %> - - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables cache of items. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home").Cache((bool)ViewData["cache"]); - }) - %> - - - - The Cache method is useful when you need to enable/disable caching based on certain conditions. - Default value is true. - - - - - Specifies delay of the Ajax/WebServer request. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home").Delay(400); - }) - %> - - - - The Delay method is useful when you need to postpone request to the server for some time. - - - - - Defines the fluent interface for building - - - - - Initializes a new instance of the class. - - The settings. - - - - Defines filter mode. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(filtering => - { - filtering.FilterMode(AutoCompleteFilterMode.StartsWith); - }) - %> - - - - - - Set minimum chars number needed to start filtering. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Filterable(filtering => - { - filtering.MinimumChars(2); - }) - %> - - - - - - Defines the fluent interface for configuring the data binding. - - - - - Initializes a new instance of the class. - - The configuration. - - - - Use it to configure Ajax binding. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => dataBinding - .Ajax().Select("_AjaxLoading", "TreeView") - ) - %> - - - - - - Use it to configure web service binding. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => dataBinding - .WebService().Select("~/Models/ProductDDI.asmx/GetProducts") - ) - %> - - - - - - Defines the fluent interface for building - - - - - Defines the fluent interface for configuring the treeview webservice. - - - - - Initializes a new instance of the class. - - The settings. - - - - Specify the web service url for loading data - - The web service url - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => dataBinding - .WebService().Select("~/Models/ProductDDI.asmx/GetProducts") - ) - %> - - - - - - Enables / disables web service functionality. - - Whether to enable or to disable the web service. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => dataBinding - .Ajax().Enabled(true).Select("_AjaxLoading", "DropDownList") - ) - %> - - - - The Enabled method is useful when you need to enable ajax based on certain conditions. - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables cache of items. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => - { - dataBinding.WebService().Select("~/Models/Product.asmx/GetProducts").Cache((bool)ViewData["cache"]); - }) - %> - - - - The Cache method is useful when you need to enable/disable caching based on certain conditions. - Default value is true. - - - - - Specifies delay of the Ajax/WebServer request. - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .DataBinding(dataBinding => - { - dataBinding.WebService().Select("~/Models/Product.asmx/GetProducts").Delay(400); - }) - %> - - - - The Delay method is useful when you need to postpone request to the server for some time. - - - - - Represents a client-side event of a view component - - - - - An action that renders the code of the client-side handler upon execution. - - - - - An action that renders the code of the client-side handler upon execution. - - - - - A function that returns the code of the client-side handler. - - - - - The name of the client-side handler function. - - - - - Gets the id. - - The id. - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The component. - - - - Configures the effects of the datepicker. - - The action which configures the effects. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .Effects(fx => - { - fx.Height() - .Opacity() - .OpenDuration(AnimationDuration.Normal) - .CloseDuration(AnimationDuration.Normal); - }) - - - - - - Sets whether calendar should open on focus. - - - - - Sets the date format, which will be used to parse and format the machine date. - - - - - Sets the minimal date, which can be selected in DatePicker. - - - - - Sets the maximal date, which can be selected in DatePicker. - - - - - Configures the client-side events. - - The client events action. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => - events.OnLoad("onLoad").OnSelect("onSelect") - ) - %> - - - - - - Sets the Input HTML attributes. - - The HTML attributes. - - - - Sets the Input HTML attributes. - - The HTML attributes. - - - - Enables or disables the datepicker. - - - - - Defines the fluent interface for configuring datepicker client events. - - - - - Initializes a new instance of the class. - - Datepicker client-side events. - The context of the View. - - - - Defines the inline handler of the OnChange client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnChange client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnChange( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnChange client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnChange("onChange")) - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnOpen client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnOpen(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnOpen client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnOpen( - @<text> - %> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the OnOpen client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnOpen("onOpen")) - %> - - - - - - Defines the inline handler of the OnClose client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnClose(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnClose client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnClose( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the OnClose client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnClose("onClose")) - %> - - - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The component. - - - - Sets the value of the dateTimePicker input - - - - - Sets the value of the dateTimePicker input - - - - - Sets the minimal date, which can be selected in DateTimePicker. - - - - - Sets the maximal date, which can be selected in DateTimePicker. - - - - - Sets the minimal time, which can be selected in DateTimePicker. - - - - - Sets the minimal time, which can be selected in DateTimePicker. - - - - - Sets the maximal time, which can be selected in DateTimePicker. - - - - - Sets the maximal time, which can be selected in DateTimePicker. - - - - - Sets the interval between hours. - - - - - Sets the title of the DateTimePicker button. - - - - - Sets the title of the DateTimePicker button. - - - - - Defines the fluent interface for configuring timepicker client events. - - - - - Initializes a new instance of the class. - - Timepicker client-side events. - The context of the View. - - - - Defines the inline handler of the OnChange client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnChange client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnChange( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnChange client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnChange("onChange")) - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnOpen client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnOpen(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnOpen client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnOpen( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnOpen client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnOpen("onOpen")) - %> - - - - - - Defines the inline handler of the OnClose client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnClose(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnClose client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnClose( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnClose client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - .ClientEvents(events => events.OnClose("onClose")) - %> - - - - - - Defines the fluent interface for building - - - - - Initializes a new instance of the class. - - The settings. - - - - Defines the fluent interface for configuring the treeview webservice. - - - - - Initializes a new instance of the class. - - The settings. - - - - Represent item in the DropDownList/ComboBox items. - - - - - Gets the id. - - The id. - - - - Gets the items of the treeview. - - - - - Use it to set selected item index - - Item index. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .SelectedIndex(0); - %> - - - - - - Use it to configure Data binding. - - Action that configures the data binding options. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => dataBinding - .Ajax().Select("_AjaxLoading", "DropDownList") - ); - %> - - - - - - Enables or disables the dropdownlist. - - - - - - - - Initializes a new instance of the class. - - The client events. - The view context. - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnChange client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnChange client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnChange( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnChange client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnChange("onChange")) - %> - - - - - - Defines the inline handler of the OnOpen client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnOpen(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnOpen client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnOpen("onOpen")) - %> - - - - - - Defines the inline handler of the OnClose client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnClose(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnClose client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnClose( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnClose client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnClose("onClose")) - %> - - - - - - Defines the inline handler of the OnDataBinding client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnDataBinding(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnDataBinding client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnDataBinding( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnDataBinding client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnDataBinding("OnDataBinding")) - %> - - - - - - Defines the inline handler of the OnDataBound client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnDataBound(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnDataBound client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnDataBound( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnDataBound client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnDataBound("onDataBound")) - %> - - - - - - Defines the inline handler of the OnError client-side event - - The action defining the inline handler. - - - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnError(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnError client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnError( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnError client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .ClientEvents(events => events.OnError("onError")) - %> - - - - - - Defines the fluent interface for configuring the data binding. - - - - - Initializes a new instance of the class. - - The configuration. - - - - Use it to configure Ajax binding. - - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => dataBinding - .Ajax().Select("_AjaxLoading", "TreeView") - ) - %> - - - - - - Use it to configure web service binding. - - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .DataBinding(dataBinding => dataBinding - .WebService().Select("~/Models/ProductDDI.asmx/GetProducts") - ) - %> - - - - - - Defines the fluent interface for configuring child DropDonwList items. - - - - - Initializes a new instance of the class. - - The item. - - - - Sets the value for the item. - - The value. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .Items(items => items.Add().Text("First item.")) - %> - - - - - - Sets the value for the item. - - The value. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .Items(items => items.Add().Value("1")) - %> - - - - - - Define when the item will be expanded on intial render. - - If true the item will be selected. - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .Items(items => - { - items.Add().Text("First Item").Selected(true); - }) - %> - - - - - - Creates items for the . - - - - - Initializes a new instance of the class. - - The settings. - - - - Defines a item. - - - - - - Determines if content of a given path can be browsed. - - The path which will be browsed. - true if browsing is allowed, otherwise false. - - - - Retrieves the content of a given folder. - - The folder's path, which content will be served. - A containing folder's files and child folders. - Throws 403 Forbidden if the supplied is outside of the valid paths. - Throws 404 File Not Found if refered folder does not exist. - - - - Determines if a file can be uploaded to a given path. - - The path to which the file should be uploaded. - The file which should be uploaded. - true if the upload is allowed, otherwise false. - - - - Uploads a file to a given path. - - The path to which the file should be uploaded. - The file which should be uploaded. - A containing the uploaded file's size and name. - Forbidden - - - - Determines if an image's thumbnail should be served. - - The path to image's thumbnail. - true if image's thumbnail should be served, otherwise false. - - - - Serves an image's thumbnail by given path. - - The path to the image. - Thumbnail of an image. - Throws 403 Forbidden if the is outside of the valid paths. - Throws 404 File Not Found if the refers to a non existant image. - - - - Determines if a file can be deleted. - - The path to the file. - true if file can be deleted, otherwise false. - - - - Deletes a file. - - The path to the file. - An empty . - Forbidden - - - - Determines if a folder can be deleted. - - The path to the folder. - true if folder can be deleted, otherwise false. - - - - Deletes a folder. - - The path to the folder. - An empty . - Forbidden - - - - Determines if a folder can be created. - - The path to the parent folder in which the folder should be created. - Name of the folder. - true if folder can be created, otherwise false. - - - - Creates a folder with a given name. - - The path to the parent folder in which the folder should be created. - Name of the folder. - An empty . - Forbidden - - - - Gets the base paths from which content will be served. - - - - - Gets the valid file extensions by which served files will be filtered. - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The client events. - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - @(Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - ))) - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnPaste client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnPaste(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - @(Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnPaste( - @<text> - function(e) { - //event handling code - } - </text> - )) - ) - - - - - - Defines the name of the JavaScript function that will handle the the OnPaste client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnPaste("onPaste")) - %> - - - - - - Defines the inline handler of the OnExecute client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnExecute(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnExecute client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnExecute( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnExecute client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnExecute("onExecute")) - %> - - - - - - Defines the inline handler of the OnSelectionChange client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnSelectionChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnSelectionChange client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnSelectionChange( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnSelectionChange client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnSelectionChange("onSelectionChange")) - %> - - - - - - Defines the inline handler of the OnChange client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnChange client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnChange( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnChange client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnChange("onChange")) - %> - - - - - - Defines the inline handler of the OnError client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnError(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnError client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnError( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnError client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Editor() - .Name("Editor") - .ClientEvents(events => events.OnError("onError")) - %> - - - - - - Sets the HTML content that will show initially in the editor. - - The action which renders the HTML content. - - <% Html.Telerik().Editor() - .Name("Editor") - .Value(() => { %> - <blockquote> - According to Deep Thought, the answer to the ultimate question of - life, the universe and everything is <strong>42</strong>. - </blockquote> - <% }) - .Render(); - %> - - - - - Sets the HTML content which the item should display as a string. - - An HTML string. - - <%= Html.Telerik().Editor() - .Name("Editor") - .Value("<blockquote>A towel has <strong>immense</strong> psychological value</blockquote>") - %> - - - - - Encode HTML content. - - - <%= Html.Telerik().Editor() - .Name("Editor") - .Value("<blockquote>A towel has <strong>immense</strong> psychological value</blockquote>") - .Encode(true) - %> - - - - - Sets the localization culture of the editor. - - The culture. - - - <%= Html.Telerik().Editor() - .Name("Editor") - .Value("<blockquote>A towel has <strong>immense</strong> psychological value</blockquote>") - .Localizable("de-DE") - %> - - - - - - Enables toggle animation. - - - - - Enables opacity animation. - - - - - Enables opacity animation. - - Builder, which sets different opacity properties. - - - - Enables expand animation. - - - - - Enables expand animation. - - Builder, which sets different expand properties. - - - - Enables slide animation. - - - - - Enables slide animation. - - Builder, which sets different slide properties. - - - - Represents a column in the component - - The type of the data item - - - - Gets or sets the grid. - - The grid. - - - - Gets the member of the column. - - The member. - - - - Gets the template of the column. - - - - - Gets the header template of the column. - - - - - Gets the footer template of the column. - - - - - Gets or sets the title of the column. - - The title. - - - - Gets or sets the width of the column. - - The width. - - - - Gets or sets a value indicating whether this column is hidden. - - true if hidden; otherwise, false. - - Hidden columns are output as HTML but are not visible by the end-user. - - - - - Gets the header HTML attributes. - - The header HTML attributes. - - - - Gets the footer HTML attributes. - - The footer HTML attributes. - - - - Gets or sets a value indicating whether this column is visible. - - true if visible; otherwise, false. The default value is true. - - Invisible columns are not output in the HTML. - - - - - Gets the HTML attributes of the cell rendered for the column - - The HTML attributes. - - - - Initializes a new instance of the class. - - The property to which the column is bound to. - - - - Gets type of the property to which the column is bound to. - - - - - Gets or sets a value indicating whether this column is groupable. - - true if groupable; otherwise, false. - - - - Gets the name of the column - - - - - Gets a function which returns the value of the property to which the column is bound to. - - - - - Gets or sets a value indicating whether this is sortable. - - true if sortable; otherwise, false. The default value is true. - - - - Gets or sets a value indicating whether this is filterable. - - true if filterable; otherwise, false. The default value is true. - - - - Defines an interface that supports navigation. - - - - - Gets or sets the name of the route. - - The name of the route. - - - - Gets or sets the name of the controller. - - The name of the controller. - - - - Gets or sets the name of the action. - - The name of the action. - - - - Gets the route values. - - The route values. - - - - Gets or sets the URL. - - The URL. - - - - Defines the fluent interface for configuring - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables column context menu. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ColumnContextMenu(setting => setting.Enabled((bool)ViewData["enableColumnContextMenu"])) - %> - - - - The Enabled method is useful when you need to enable column context menu based on certain conditions. - - - - - Defines the fluent interface for building - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables binding. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home").Enabled((bool)ViewData["ajax"]); - }) - %> - - - - The Enabled method is useful when you need to enable binding based on certain conditions. - - - - - Sets the action, controller and route values for the select operation - - The route values of the Action method. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select(MVC.Home.Index().GetRouteValueDictionary()); - }) - %> - - - - - - Sets the action, controller and route values for the select operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - - - - - Sets the action, controller and route values for the select operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home", new { id = 1 }); - }) - %> - - - - - - Sets the action and controller for the select operation - - Name of the action. - Name of the controller. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home"); - }) - %> - - - - - - Sets the route and values for the select operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - - - - - Sets the route and values for the select operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", new {id=1}); - }) - %> - - - - - - Sets the route name for the select operation - - Name of the route. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default"); - }) - %> - - - - - - Sets the action, controller and route values for the select operation - - The type of the controller. - The action. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select<HomeController>(controller => controller.Index())); - }) - %> - - - - - - Sets the action, controller and route values for the insert operation - - The route values of the Action method. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Insert(MVC.Home.Index(1).GetRouteValueDictionary()); - }) - %> - - - - - - Sets the action, controller and route values for insert operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - - - - - Sets the action, controller and route values for insert operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Insert("Index", "Home", new { id = 1 }); - }) - %> - - - - - - Sets the action and controller for the select operation - - Name of the action. - Name of the controller. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Insert("Index", "Home"); - }) - %> - - - - - - Sets the route and values for insert operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - - - - - Sets the route and values for insert operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Insert("Default", new {id=1}); - }) - %> - - - - - - Sets the route name for insert operation - - Name of the route. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Insert("Default"); - }) - %> - - - - - - Sets the action, controller and route values for insert operation - - The type of the controller. - The action. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Insert<HomeController>(controller => controller.Index())); - }) - %> - - - - - - Sets the action, controller and route values for the update operation - - The route values of the Action method. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update(MVC.Home.Index(1).GetRouteValueDictionary()); - }) - %> - - - - - - Sets the action, controller and route values for update operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update(MVC.Home.Index(1).GetRouteValueDictionary()); - }) - %> - - - - - - Sets the action, controller and route values for update operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update("Index", "Home", new { id = 1 }); - }) - %> - - - - - - Sets the action and controller for the select operation - - Name of the action. - Name of the controller. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update("Index", "Home"); - }) - %> - - - - - - Sets the route and values for update operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update("Default", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - - - - - Sets the route and values for update operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update("Default", new {id=1}); - }) - %> - - - - - - Sets the route name for update operation - - Name of the route. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update("Default"); - }) - %> - - - - - - Sets the action, controller and route values for update operation - - The type of the controller. - The action. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Update<HomeController>(controller => controller.Index())); - }) - %> - - - - - - Sets the action, controller and route values for the delete operation - - The route values of the Action method. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete(MVC.Home.Index(1).GetRouteValueDictionary()); - }) - %> - - - - - - Sets the action, controller and route values for delete operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete("Index", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - - - - - Sets the action, controller and route values for delete operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete("Index", "Home", new { id = 1 }); - }) - %> - - - - - - Sets the action and controller for the select operation - - Name of the action. - Name of the controller. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete("Index", "Home"); - }) - %> - - - - - - Sets the route and values for delete operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete("Default", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - - - - - Sets the route and values for delete operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete("Default", new {id=1}); - }) - %> - - - - - - Sets the route name for delete operation - - Name of the route. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete("Default"); - }) - %> - - - - - - Sets the action, controller and route values for delete operation - - The type of the controller. - The action. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Delete<HomeController>(controller => controller.Index())); - }) - %> - - - - - - Gets or sets the operation mode of the grid. By default the grid will make a request to the - server when it needs data for paging, sorting, filtering or grouping. If you set the - operation mode to GridOperationMode.Client it will make only one request for all data. Any other - paging, sorting, filtering or grouping will be performed client-side. - - - - - Defines the fluent interface for configuring command. - - The type of the model - The type of the command. - The type of the builder. - - - - Initializes a new instance of the class. - - The column. - - - - Sets the button type. - - The button type. - - - - - Sets the HTML attributes. - - The HTML attributes. - - - - - Sets the HTML attributes. - - The HTML attributes. - - - - - Sets the image HTML attributes. - - The Image HTML attributes. - - - - - Sets the image HTML attributes. - - The Image HTML attributes. - - - - - Defines the fluent interface for configuring - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables keyboard navigation. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .KeyboardNavigation(setting => setting.Enabled((bool)ViewData["enableKeyBoardNavigation"])) - %> - - - - The Enabled method is useful when you need to enable keyboard navigation based on certain conditions. - - - - - Enables or disables edit when TAB key is pressed. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .KeyboardNavigation(setting => setting.EditOnTab((bool)ViewData["enableEditOnTab"])) - %> - - - - The EditOnTab method is useful when InCell edit mode and use TAB key to edit the cell. - - - - - Sets the button type. - - The button type. - - - - - Sets the HTML attributes. - - The HTML attributes. - - - - - Sets the HTML attributes. - - The HTML attributes. - - - - - Sets the image HTML attributes. - - The Image HTML attributes. - - - - - Sets the image HTML attributes. - - The Image HTML attributes. - - - - - - - - - - - - - - - - Simple wrapper used to trick the Grid's generic DataSource when custom binding is used - - - - - - Defines the fluent interface for configuring grid editing. - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables grid editing. - - - - <%= Html.Telerik().Grid<Order>() - .Name("Orders") - .Editable(settings => settings.Enabled(true)) - %> - - - - The Enabled method is useful when you need to enable grid editing on certain conditions. - - - - - Specify an editor template which to be used for InForm or PopUp modes - - name of the editor template - This settings is applicable only when Mode is - or - - - - Provides additional view data in the editor template. - - - The additional view data will be provided if the editing mode is set to in-form or popup. For other editing modes - use - - An anonymous object which contains the additional data - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Editable(editing => editing.AdditionalViewData(new { customers = Model.Customers })) - %> - - - - - - Enables or disables delete confirmation. - - - - <%= Html.Telerik().Grid<Order>() - .Name("Orders") - .Editable(settings => settings.DisplayDeleteConfirmation(true)) - %> - - - - - - Gets the HTML attributes of the form rendered during editing - - The attributes. - - - - Gets the HTML attributes of the form rendered during editing - - The attributes. - - - - Defines the fluent interface for configuring template columns - - - - - Defines the fluent interface for configuring columns. - - - The type of the column builder. - - - - Initializes a new instance of the class. - - The column. - - - - Sets the title displayed in the header of the column. - - The text. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).Title("ID")) - %> - - - - - - Sets the HTML attributes applied to the header cell of the column. - - The attributes. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).HeaderHtmlAttributes(new {@class="order-header"})) - %> - - - - - - Sets the HTML attributes applied to the header cell of the column. - - The attributes. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).HeaderHtmlAttributes(new {@class="order-header"})) - %> - - - - - - Sets the HTML attributes applied to the footer cell of the column. - - The attributes. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).FooterHtmlAttributes(new {@class="order-footer"})) - %> - - - - - - Sets the HTML attributes applied to the footer cell of the column. - - The attributes. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).FooterHtmlAttributes(new {@class="order-footer"})) - %> - - - - - - Sets the HTML attributes applied to the content cell of the column. - - The attributes. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).HtmlAttributes(new {@class="order-cell"})) - %> - - - - - - Sets the HTML attributes applied to the content cell of the column. - - The attributes. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).HtmlAttributes(new {@class="order-cell"})) - %> - - - - - - Sets the width of the column in pixels. - - The width in pixels. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).Width(100)) - %> - - - - - - Sets the width of the column. - - The width to set. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => - { - %> - <%= Html.ActionLink("Edit", "Home", new { id = o.OrderID}) %> - <% - }) - .Render(); - %> - - - - - - Makes the column visible or not. By default all columns are visible. Invisible columns are not rendered in the output HTML. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).Visible((bool)ViewData["visible"])) - %> - - - - - - Makes the column hidden or not. By default all columns are not hidden. Hidden columns are rendered in the output HTML but are hidden. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).Hidden((bool)ViewData["hidden"])) - %> - - - - - - Hides a column. By default all columns are not hidden. Hidden columns are rendered in the output HTML but are hidden. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderID).Hidden()) - %> - - - - - - Sets the header template for the column. - - The action defining the template. - - - - Sets the header template for the column. - - The string defining the template. - - - - Sets the header template for the column. - - The action defining the template. - - - - Sets the footer template for the column. - - The action defining the template. - - - - Sets the footer template for the column. - - The string defining the template. - - - - Sets the footer template for the column. - - The action defining the template. - - - - Gets or sets the column. - - The column. - - - - Determines if group header should be shown. - - true if visible, otherwise false. - - - - Gets or sets a value indicating whether member access expression used - by this builder should be lifted to null. The default value is true; - - - true if member access should be lifted to null; otherwise, false. - - - - Provided expression should have string type - - - ArgumentException. - - - ArgumentException. - - - - Provided 's is not - - - - Provided type is not - - - - Provided 's is not - - - - - Provided 's is not - - - - - - - - ArgumentException. - - - did not implement . - - - - Invalid name for property or field; or indexer with the specified arguments. - - - - InvalidOperationException. - - - InvalidCastException. - - - - Holds extension methods for . - - - - - Child element with name specified by does not exists. - - - - - Represents a filtering descriptor which serves as a container for one or more child filtering descriptors. - - - - - Base class for all used for - handling the logic for property changed notifications. - - - - - Represents a filtering abstraction that knows how to create predicate filtering expression. - - - - - Creates a predicate filter expression used for collection filtering. - - The instance expression, which will be used for filtering. - A predicate filter expression. - - - - Creates a filter expression by delegating its creation to - , if - is , otherwise throws - - The instance expression, which will be used for filtering. - A predicate filter expression. - Parameter should be of type - - - - Creates a predicate filter expression used for collection filtering. - - The parameter expression, which will be used for filtering. - A predicate filter expression. - - - - Creates a predicate filter expression combining - expressions with . - - The parameter expression, which will be used for filtering. - A predicate filter expression. - - - - Gets or sets the logical operator used for composing of . - - The logical operator used for composition. - - - - Gets or sets the filter descriptors that will be used for composition. - - The filter descriptors used for composition. - - - - Logical operator used for filter descriptor composition. - - - - - Combines filters with logical AND. - - - - - Combines filters with logical OR. - - - - - The class enables implementation of custom filtering logic. - - - - - The method checks whether the passed parameter satisfies filter criteria. - - - - - Creates a predicate filter expression that calls . - - The parameter expression, which parameter - will be passed to method. - - - - If false will not execute. - - - - - Represents declarative filtering. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The member. - The filter operator. - The filter value. - - - - Creates a predicate filter expression. - - The parameter expression, which will be used for filtering. - A predicate filter expression. - - - - Determines whether the specified descriptor - is equal to the current one. - - The other filter descriptor. - - True if all members of the current descriptor are - equal to the ones of , otherwise false. - - - - - Determines whether the specified - is equal to the current descriptor. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current filter descriptor. - - - - - Gets or sets the member name which will be used for filtering. - - The member that will be used for filtering. - - - - Gets or sets the type of the member that is used for filtering. - Set this property if the member type cannot be resolved automatically. - Such cases are: items with ICustomTypeDescriptor, XmlNode or DataRow. - Changing this property did not raise - event. - - The type of the member used for filtering. - - - - Gets or sets the filter operator. - - The filter operator. - - - - Gets or sets the target filter value. - - The filter value. - - - - Represents collection of . - - - - - Operator used in - - - - - Left operand must be smaller than the right one. - - - - - Left operand must be smaller than or equal to the right one. - - - - - Left operand must be equal to the right one. - - - - - Left operand must be different from the right one. - - - - - Left operand must be larger than the right one. - - - - - Left operand must be larger than or equal to the right one. - - - - - Left operand must start with the right one. - - - - - Left operand must end with the right one. - - - - - Left operand must contain the right one. - - - - - Left operand must be contained in the right one. - - - - InvalidOperationException. - - - - Gets the key for this group. - - The key for this group. - - - - Gets the items in this groups. - - The items in this group. - - - - Gets a value indicating whether this instance has sub groups. - - - true if this instance has sub groups; otherwise, false. - - - - - Gets the count. - - The count. - - - - Gets the subgroups, if is true, otherwise empty collection. - - The subgroups. - - - - Gets a value indicating whether this instance has any sub groups. - - - true if this instance has sub groups; otherwise, false. - - - - - Gets the number of items in this group. - - The items count. - - - - Gets the subgroups, if is true, otherwise empty collection. - - The subgroups. - - - - Gets the items in this groups. - - The items in this group. - - - - Gets the key for this group. - - The key for this group. - - - - Gets the aggregate results generated for the given aggregate functions. - - The aggregate results for the provided aggregate functions. - functions is null. - - - - Gets or sets the aggregate functions projection for this group. - This projection is used to generate aggregate functions results for this group. - - The aggregate functions projection. - - - - Creates the aggregate expression that is used for constructing expression - tree that will calculate the aggregate result. - - The grouping expression. - - - - - - Generates default name for this function using this type's name. - - - Function name generated with the following pattern: - {.}_{} - - - - - Gets or sets the informative message to display as an illustration of the aggregate function. - - The caption to display as an illustration of the aggregate function. - - - - Gets or sets the name of the field, of the item from the set of items, which value is used as the argument of the aggregate function. - - The name of the field to get the argument value from. - - - - Gets or sets the name of the aggregate function, which appears as a property of the group record on which records the function works. - - The name of the function as visible from the group record. - - - - Gets or sets a string that is used to format the result value. - - The format string. - - - - Represents a collection of items. - - - - - Gets the with the specified function name. - - - First with the specified function name - if any, otherwise null. - - - - - Initializes a new instance of the class. - - The value of the result. - The number of arguments used for the calculation of the result. - Function that generated the result. - function is null. - - - - Initializes a new instance of the class. - - that generated the result. - function is null. - - - - Initializes a new instance of the class. - - The value of the result. - that generated the result. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Gets or sets the value of the result. - - The value of the result. - - - - Gets the formatted value of the result. - - The formatted value of the result. - - - - Gets or sets the number of arguments used for the calulation of the result. - - The number of arguments used for the calulation of the result. - - - - Gets or sets the text which serves as a caption for the result in a user interface.. - - The text which serves as a caption for the result in a user interface. - - - - Gets the name of the function. - - The name of the function. - - - - Gets the first which - is equal to . - - - The for the specified function if any, otherwise null. - - - - - Represents a function that returns the arithmetic mean of a set of arguments. - - - - - Represents an that uses aggregate extension - methods provided in using - as a member selector. - - - - - Base class for all aggregate functions that will use extension - methods in for aggregation. - - - - - Gets the type of the extension methods that holds the extension methods for - aggregation. For example or . - - - The type of that holds the extension methods. The default value is . - - - - - Creates the aggregate expression using . - - The grouping expression. - - - - - - Initializes a new instance of the class. - - - - - Gets the the Average method name. - - Average. - - - - Represents a function that returns the number of items in a set of items, including nested sets. - - - - - Represents an that uses aggregate extension - methods provided in . - - - - - Creates the aggregate expression using . - - The grouping expression. - - - - - - Initializes a new instance of the class. - - - - - Gets the the Count method name. - - Count. - - - - Gets the the First method name. - - First. - - - - Represents a function that returns the last item from a set of items. - - - - - Initializes a new instance of the class. - - - - - Gets the the Last method name. - - Last. - - - - Represents a function that returns the greatest item from a set of items. - - - - - Initializes a new instance of the class. - - - - - Gets the the Max method name. - - Max. - - - - Represents a function that returns the least item from a set of items. - - - - - Initializes a new instance of the class. - - - - - Gets the the Min method name. - - Min. - - - - Represents a function that returns the sum of all items from a set of items. - - - - - Initializes a new instance of the class. - - - - - Gets the the Min method name. - - Min. - - - - Represents grouping criteria. - - - - - Represents declarative sorting. - - - - - Gets or sets the member name which will be used for sorting. - - The member that will be used for sorting. - - - - Gets or sets the sort direction for this sort descriptor. If the value is null - no sorting will be applied. - - The sort direction. The default value is null. - - - - Changes the to the next logical value. - - - - - Gets or sets the type of the member that is used for grouping. - Set this property if the member type cannot be resolved automatically. - Such cases are: items with ICustomTypeDescriptor, XmlNode or DataRow. - Changing this property did not raise - event. - - The type of the member used for grouping. - - - - Gets or sets the content which will be used from UI. - - The content that will be used from UI. - - - - Gets or sets the aggregate functions used when grouping is executed. - - The aggregate functions that will be used in grouping. - - - - Calculates unique int for given group in a group sequence, - taking into account groups order, each group key and groups' count. - - - - Gets or sets the format for displaying the value in the tooltip. - The value. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .Tooltip(tooltip => tooltip.Format("{0:P")) - %> - - - - - Display tooltip while drag. - The value. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .Tooltip(tooltip => tooltip.Enable(false)) - %> - - - - - Defines the fluent interface for configuring the . - - - - Defines the inline handler of the OnChange client-side event - - The action defining the inline handler. - - - <% Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnChange client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => events.OnChange("onChange")) - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnSlide client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => events.OnSlide(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnSlide client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => events.OnSlide("OnSlide")) - %> - - - - - Defines the fluent interface for configuring the . - - - - Defines the inline handler of the OnChange client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnChange client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => events.OnChange("onChange")) - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnSlide client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => events.OnSlide(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnSlide client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => events.OnSlide("OnSlide")) - %> - - - - - Defines the fluent interface for configuring the component. - - - Initializes a new instance of the class. - The component. - - - Sets the value of the range slider. - - - Sets the value of the range slider. - - - Sets orientation of the range slider. - - - Sets a value indicating how to display the tick marks on the range slider. - - - Sets the minimum value of the range slider. - - - Sets the maximum value of the range slider. - - - Sets the step with which the range slider value will change. - - - Sets the delta with which the value will change when user click on the track. - - - Display tooltip while drag. - - - - Use it to configure tooltip while drag. - - Use builder to set different tooltip options. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .Tooltip(tooltip => tooltip - .Enable(true) - .Format("{0:P}") - ); - %> - - - - - Configures the client-side events. - The client events action. - - - <%= Html.Telerik().RangeSlider() - .Name("RangeSlider") - .ClientEvents(events => - events.OnLoad("onLoad").OnChange("onChange")) - %> - - - - - Sets a value indicating whether the range slider can respond to user interaction. - - - Defines the fluent interface for configuring the component. - - - Initializes a new instance of the class. - The component. - - - Sets the value of the slider. - - - Sets the title of the slider increase button. - - - Sets whether slider to be rendered with increase/decrease button. - - - Sets the title of the slider decrease button. - - - Sets orientation of the slider. - - - Sets a value indicating how to display the tick marks on the slider. - - - Sets the minimum value of the slider. - - - Sets the maximum value of the slider. - - - Sets the step with which the slider value will change. - - - Sets the delta with which the value will change when user click on the slider. - - - Display tooltip while drag. - - - - Use it to configure tooltip. - - Use builder to set different tooltip options. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .Tooltip(tooltip => tooltip - .Enable(true) - .Format("{0:P}") - ); - %> - - - - - Configures the client-side events. - The client events action. - - - <%= Html.Telerik().Slider() - .Name("Slider") - .ClientEvents(events => - events.OnLoad("onLoad").OnChange("onChange")) - %> - - - - - Sets a value indicating whether the slider can respond to user interaction. - - - Specifies the general layout of the slider. - - - The slider is oriented horizontally. - - - The slider is oriented vertically. - - - Specifies the location of tick marks in a component. - - - No tick marks appear in the component. - - - - Tick marks are located on the top of a horizontal component or on the - left of a vertical component. - - - - - Tick marks are located on the bottom of a horizontal component or on the - right side of a vertical component. - - - - Tick marks are located on both sides of the component. - - - - Sets the pane size. - - The desired size. Only sizes in pixels and percentages are allowed. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add().Size("220px"); - }) - %> - - - - - - Sets the minimum pane size. - - The desired minimum size. Only sizes in pixels and percentages are allowed. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add().MinSize("220px"); - }) - %> - - - - - - Sets the maximum pane size. - - The desired maximum size. Only sizes in pixels and percentages are allowed. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add().MaxSize("220px"); - }) - %> - - - - - - Sets whether the pane shows a scrollbar when its content overflows. - - Whether the pane will be scrollable. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add().Scrollable(false); - }) - %> - - - - - - Sets whether the pane can be resized by the user. - - Whether the pane will be resizable. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add().Resizable(true); - }) - %> - - - - - - Sets whether the pane is initially collapsed. - - Whether the pane will be initially collapsed. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add().Collapsed(true); - }) - %> - - - - - - Sets whether the pane can be collapsed by the user. - - Whether the pane can be collapsed by the user. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add().Collapsible(true); - }) - %> - - - - - - Sets the HTML attributes applied to the outer HTML element rendered for the item - - The attributes. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add().HtmlAttributes(new { style = "background: red" }); - }) - %> - - - - - - Sets the HTML attributes applied to the outer HTML element rendered for the item - - The attributes. - - - - Sets the HTML content of the pane. - - The action which renders the HTML content. - - <% Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add() - .Content(() => { >% - <p>Content</p> - %<}); - }) - .Render(); - %> - - - - - Sets the HTML content of the pane. - - The Razor template for the HTML content. - - @(Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add() - .Content(@<p>Content</p>); - }) - .Render();) - - - - - Sets the HTML content of the pane. - - The HTML content. - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => - { - panes.Add() - .Content("<p>Content</p>"); - }) - %> - - - - - Sets the Url which will be requested to return the pane content. - - The route values of the Action method. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => { - panes.Add() - .LoadContentFrom(MVC.Home.Index().GetRouteValueDictionary()); - }) - %> - - - - - - Sets the Url, which will be requested to return the pane content. - - The action name. - The controller name. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => { - panes.Add() - .LoadContentFrom("AjaxView_OpenSource", "Splitter"); - }) - %> - - - - - - Sets the Url, which will be requested to return the content. - - The action name. - The controller name. - Route values. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => { - panes.Add() - .LoadContentFrom("AjaxView_OpenSource", "Splitter", new { id = 10 }); - }) - %> - - - - - - Sets the Url, which will be requested to return the pane content. - - The url. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => { - panes.Add() - .LoadContentFrom(Url.Action("AjaxView_OpenSource", "Splitter")); - }) - %> - - - - - - Defines the fluent interface for configuring the . - - - - - The fluent interface that configures the . - - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnResize client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnResize(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnResize client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnResize( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnResize client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnResize("onResize")) - %> - - - - - - Defines the inline handler of the OnExpand client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnExpand(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnExpand client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnExpand( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnExpand client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnExpand("onExpand")) - %> - - - - - - Defines the inline handler of the OnCollapse client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnCollapse(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnCollapse client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnCollapse( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnCollapse client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnCollapse("onCollapse")) - %> - - - - - - Defines the inline handler of the OnContentLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnContentLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnContentLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnContentLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnContentLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events.OnContentLoad("onContentLoad")) - %> - - - - - - Specifies the orientation in which the splitter panes will be ordered - - - - - Panes are oredered horizontally - - - - - Panes are oredered vertically - - - - - Sets the splitter orientation. - - The desired orientation. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Orientation(SplitterOrientation.Vertical) - %> - - - - - - Defines the panes in the splitter. - - The action that configures the panes. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .Panes(panes => { - panes.Add().LoadContentFrom("Navigation", "Shared"); - panes.Add().LoadContentFrom("Index", "Home"); - }) - %> - - - - - - Configures the client events for the splitter. - - The action that configures the client events. - - - <%= Html.Telerik().Splitter() - .Name("Splitter") - .ClientEvents(events => events - .OnLoad("onLoad") - ) - %> - - - - - - Defines properties for a content pane. - - - - - Defines whether one navigation item can have content loaded asynchroniously. - - - - - Url, which will be used as a destination for the Ajax request. - - - - - Specifies the size of the pane - - - - - Specifies the minimum size of the pane - - - - - Specifies the maximum size of the pane - - - - - Specifies whether the pane is initially collapsed - - - - - Specifies whether the pane can be collapsed by the user - - - - - Specifies whether the pane can be resized by the user - - - - - Specifies whether the pane shows a scrollbar when its content overflows - - - - - Specifies URL from which to load the pane content - - - - - Specifies HTML attributes for the pane - - - - - Specifies the pane contents - - - - - Gets the id. - - The id. - - - - Defines the fluent interface for configuring the component. - - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The component. - - - - Sets the initial value of the textbox. - - - - - Sets the step, used ti increment/decrement the value of the textbox. - - - - - Sets the minimal possible value allowed to the user. - - - - - Sets the maximal possible value allowed to the user. - - - - - Sets the group size of the number. - - - - - Sets the group separator of the number. - - - - - Sets the index of the negative pattern. - - - - - Sets the text which will be displayed if the textbox is empty. - - - - - Enables or disables the spin buttons. - - - - - - - Define the tooltip text of the up button. - - - - - Define the tooltip text of the down button. - - - - - Configures the client-side events. - - The client events action. - - - <%= Html.Telerik().NumericTextBox() - .Name("NumericTextBox") - .ClientEvents(events => - events.OnLoad("onLoad").OnChange("onChange") - ) - %> - - - - - - Sets the Input HTML attributes. - - The HTML attributes. - - - - Sets the Input HTML attributes. - - The HTML attributes. - - - - Enables or disables the textbox. - - - - - - - - Defines the fluent interface for configuring the component. - - - - - - Defines the number of the decimal digits. - - - - - Sets the decimal separator. - - - - - Sets the index of the positive pattern. - - - - - Sets the percent symbol. - - - - - Defines the fluent interface for configuring the component. - - - - - - Defines the number of the decimal digits. - - - - - Sets the decimal separator. - - - - - Sets the index of the positive pattern. - - - - - Sets the currency symbol. - - - - source is null. - - - ReSharper disable UnusedParameter.Local - - - - Executes the provided delegate for each item. - - - The instance. - The action to be applied. - - - index is out of range. - - - first is null. - second is null. - resultSelector is null. - - - - Initializes a new instance of the class. - - The source. - - - - Sorts the elements of a sequence using the specified sort descriptors. - - A sequence of values to sort. - The sort descriptors used for sorting. - - An whose elements are sorted according to a . - - - - - Pages through the elements of a sequence until the specified - using . - - A sequence of values to page. - Index of the page. - Size of the page. - - An whose elements are at the specified . - - - - - Projects each element of a sequence into a new form. - - - An whose elements are the result of invoking a - projection selector on each element of . - - A sequence of values to project. - A projection function to apply to each element. - - - - Groups the elements of a sequence according to a specified key selector function. - - An whose elements to group. - A function to extract the key for each element. - - An with items, - whose elements contains a sequence of objects and a key. - - - - - Sorts the elements of a sequence in ascending order according to a key. - - - An whose elements are sorted according to a key. - - - A sequence of values to order. - - - A function to extract a key from an element. - - - - - Sorts the elements of a sequence in descending order according to a key. - - - An whose elements are sorted in descending order according to a key. - - - A sequence of values to order. - - - A function to extract a key from an element. - - - - - Calls - or depending on the . - - The source. - The key selector. - The sort direction. - - An whose elements are sorted according to a key. - - - - - Groups the elements of a sequence according to a specified . - - An whose elements to group. - The group descriptors used for grouping. - - An with items, - whose elements contains a sequence of objects and a key. - - - - - Calculates the results of given aggregates functions on a sequence of elements. - - An whose elements will - be used for aggregate calculation. - The aggregate functions. - Collection of s calculated for each function. - - - - Filters a sequence of values based on a predicate. - - - An that contains elements from the input sequence - that satisfy the condition specified by . - - An to filter. - A function to test each element for a condition. - - - - Filters a sequence of values based on a collection of . - - The source. - The filter descriptors. - - An that contains elements from the input sequence - that satisfy the conditions specified by each filter descriptor in . - - - - - Returns a specified number of contiguous elements from the start of a sequence. - - - An that contains the specified number - of elements from the start of . - - The sequence to return elements from. - The number of elements to return. - is null. - - - - Bypasses a specified number of elements in a sequence - and then returns the remaining elements. - - - An that contains elements that occur - after the specified index in the input sequence. - - - An to return elements from. - - - The number of elements to skip before returning the remaining elements. - - is null. - - - Returns the number of elements in a sequence. - The number of elements in the input sequence. - - The that contains the elements to be counted. - - is null. - - - Returns the element at a specified index in a sequence. - The element at the specified position in . - An to return an element from. - The zero-based index of the element to retrieve. - is null. - is less than zero. - - - - Creates a from an where T is . - - - A that contains elements from the input sequence. - - - The to create a from. - - - is null. - - - - - Represents an attribute that is used to populate in view data. - - - - - Initializes a new instance of the class. - - The site maps. - - - - Initializes a new instance of the class. - - - - - Called before an action result executes. - - The filter context. - - - - Called after an action result executes. - - The filter context. - - - - Gets or sets the default view data key. - - The default view data key. - - - - Gets or sets the name of the site map. - - The name of the site map. - - - - Gets or sets the view data key. - - The view data key. - - - - Gets or sets the site maps. - - The site maps. - - - - Defines a base class that represents site map. - - - - - Initializes a new instance of the class. - - - - - Performs an implicit conversion from to . - - The site map. - The result of the conversion. - - - - Returns a new builder. - - - - - - Resets this instance. - - - - - Gets or sets the default cache duration in minutes. - - The default cache duration in minutes. - - - - Gets or sets a value indicating whether [default compress]. - - true if [default compress]; otherwise, false. - - - - Gets or sets a value indicating whether [default generate search engine map]. - - - true if [default generate search engine map]; otherwise, false. - - - - - Gets or sets the root node. - - The root node. - - - - Gets or sets the cache duration in minutes. - - The cache duration in minutes. - - - - Gets or sets a value indicating whether this is compress. - - true if compress; otherwise, false. - - - - Gets or sets a value indicating whether [generate search engine map]. - - - true if [generate search engine map]; otherwise, false. - - - - - The builder to fluently configuring . - - - - - Initializes a new instance of the class. - - The site map. - - - - Performs an implicit conversion from to . - - The builder. - The result of the conversion. - - - - Returns the internal sitemap. - - - - - - Caches the duration in minutes. - - The value. - - - - - Compresses the specified value. - - if set to true [value]. - - - - - Generates the search engine map. - - if set to true [value]. - - - - - Gets the root node. - - The root node. - - - - Sitemap change frequency - - - - - Automatic - - - - - Daily - - - - - Always - - - - - Hourly - - - - - Weekly - - - - - Monthly - - - - - Yearly - - - - - Never - - - - - Defines a class that is used to store against a key. - - - - - Registers the specified name. - - The type of the site map. - The name. - The configure. - - - - - Adds an item to the . - - The object to add to the . - - The is read-only. - - - - - Adds an element with the provided key and value to the . - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - - is null. - - - An element with the same key already exists in the . - - - The is read-only. - - - - - Removes all items from the . - - - The is read-only. - - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Determines whether the contains an element with the specified key. - - The key to locate in the . - - true if the contains an element with the key; otherwise, false. - - - is null. - - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - is null. - - - is less than 0. - - - is multidimensional. - -or- - is equal to or greater than the length of . - -or- - The number of elements in the source is greater than the available space from to the end of the destination . - -or- - Type cannot be cast automatically to the type of the destination - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - - The is read-only. - - - - - Removes the element with the specified key from the . - - The key of the element to remove. - - true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the original . - - - is null. - - - The is read-only. - - - - - Gets the value associated with the specified key. - - The key whose value to get. - When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized. - - true if the object that implements contains an element with the specified key; otherwise, false. - - - is null. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets or sets the default site map factory. - - The default site map factory. - - - - Gets or sets the default site map. - - The default site map. - - - - Gets the number of elements contained in the . - - - - The number of elements contained in the . - - - - - Gets a value indicating whether the is read-only. - - - true if the is read-only; otherwise, false. - - - - - Gets an containing the keys of the . - - - - An containing the keys of the object that implements . - - - - - Gets an containing the values in the . - - - - An containing the values in the object that implements . - - - - - Gets or sets the with the specified key. - - - - - - Defines a class that is used to generate searach engine sitemap xml. - - - - - Provides a common base set of functionality for IHttpHandler implementations. - - - - - Enables processing of HTTP Web requests by a custom HttpHandler that implements the interface. - - An object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests. - - - - Processes the request. - - The context. - - - - Gets a value indicating whether another request can use the instance. - - - true if the instance is reusable; otherwise, false. - - - - Initializes a new instance of the class. - - The site maps. - The HTTP response compressor. - The HTTP response cacher. - The URL generator. - - - - Initializes a new instance of the class. - - - - - Processes the request. - - The context. - - - - Gets or sets the default path. - - The default path. - - - - Defines a class that is used to store global sitemaps. - - - - - Gets the site maps. - - The site maps. - - - - Defines a class that is used to store single url. - - - - - Serves as the base class for classes that provides linked object information. - - - - - Gets or sets the T object that is the parent of the current node. - - The parent. - - - - Gets the previous T object on the same level as the current one, relative to the T.ParentNode object (if one exists). - - The previous sibling. - - - - Gets the next T node on the same hierarchical level as the current one, relative to the T.ParentNode property (if one exists). - - The next sibling. - - - - Initializes a new instance of the class. - - - - - Performs an implicit conversion from to . - - The node. - The result of the conversion. - - - - Gets or sets the title. - - The title. - - - - Gets or sets a value indicating whether this is visible. - - true if visible; otherwise, false. - - - - Gets or sets the last modified at. - - The last modified at. - - - - Gets or sets the name of the route. - - The name of the route. - - - - Gets or sets the name of the controller. - - The name of the controller. - - - - Gets or sets the name of the action. - - The name of the action. - - - - Gets or sets the route values. - - The route values. - - - - Gets or sets the URL. - - The URL. - - - - Gets or sets the change frequency. - - The change frequency. - - - - Gets or sets the update priority. - - The update priority. - - - - Gets or sets a value indicating whether [include in search engine index]. - - - true if [include in search engine index]; otherwise, false. - - - - - Gets or sets the attributes. - - The attributes. - - - - Gets or sets the child nodes. - - The child nodes. - - - - Builder class for fluently configuring . - - - - - Initializes a new instance of the class. - - The site map node. - - - - Performs an implicit conversion from to . - - The builder. - The result of the conversion. - - - - Returns the internal node. - - - - - - Sets the title. - - The value. - - - - - Sets the visibility. - - if set to true [value]. - - - - - Sets the Lasts the modified date.. - - The value. - - - - - Sets the route. - - Name of the route. - The route values. - - - - - Sets the route. - - Name of the route. - The route values. - - - - - Sets the route. - - Name of the route. - - - - - Sets the action to which the date should navigate - - The route values of the Action method. - - - - Sets the action, controller and route values. - - Name of the action. - Name of the controller. - The route values. - - - - - Sets the action, controller and route values. - - Name of the action. - Name of the controller. - The route values. - - - - - Sets the action and controller. - - Name of the action. - Name of the controller. - - - - - Expression based controllerAction. - - The type of the controller. - The action. - - - - - Sets the url. - - The value. - - - - - Sets the change frequency. - - The value. - - - - - Sets the update priority. - - The value. - - - - - Marks an item that it would be included in the search engine index. - - if set to true [value]. - - - - - Sets the attributes - - The value. - - - - - Sets the attributes - - The value. - - - - - Executes the provided delegate to configure the child node. - - The add actions. - - - - - Defines a factory that is used to create . - - - - - Initializes a new instance of the class. - - The parent. - - - - Adds this instance. - - - - - - Sitemap update priority. - - - - - Automatic - - - - - Low - - - - - Normal - - - - - High - - - - - Critical - - - - - Xml file based sitemap. - - - - - Initializes a new instance of the class. - - - - - Loads from the default path. - - - - - Loads from the specified path. - - The relative virtual path. - - - - Gets or sets the default path. - - The default path. - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The component. - - - - Sets selected date. - - DateTime object represents the selected date. - - - - Sets selected date. - - Date passed as string. - - - - Sets the smallest possible date, which user can choose. - - - - - Sets the smallest possible date, which user can choose. - - - - - Sets the biggest possible date, which user can choose. - - - - - Sets the smallest possible date, which user can choose. - - - - - Configures the client-side events. - - The client events action. - - - <%= Html.Telerik().Calendar() - .Name("Calendar") - .ClientEvents(events => - events.OnLoad("onLoad") - ) - %> - - - - - - Configures the selection settings of the calendar. - - SelectAction settings, which includes Action name and IEnumerable of DateTime objects. - - - - - Defines fluent interface for configuring calendar client events. - - - - - Initializes a new instance of the class. - - Client events of the calendar. - The context of the View. - - - - Defines the inline handler of the OnSelect client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Calendar() - .Name("Calendar") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnSelect client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Calendar() - .Name("Calendar") - .ClientEvents(events => events.OnChange( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the OnDateSelect client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Calendar() - .Name("Calendar") - .ClientEvents(events => events.OnChange("onChange")) - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Calendar() - .Name("Calendar") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Calendar() - .Name("Calendar") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Contains constants for CSS class names, used across all UI extensions - - - - - Next navigation link - - - - - Previous navigavtion link - - - - - Previous navigavtion link - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The selection settings. - The view context. - - - - Defines list of dates. This list determines which dates to be rendered with action link. - - List of objects - - - - Sets the action to which the date should navigate - - The route values of the Action method. - - - - Sets the action to which the date should navigate - - Name of the action. - The route values. - - - - Sets the action to which the item should navigate - - Name of the action. - Name of the controller. - The route values. - - - - Defines the fluent interface for configuring delete action command. - - - - - - Initializes a new instance of the class. - - The command. - - - - Defines the fluent interface for configuring the edit action command. - - - - - - Initializes a new instance of the class. - - The command. - - - - Defines the fluent interface for configuring the data binding. - - - - - Initializes a new instance of the class. - - The configuration. - - - - Use it to configure Server binding. - - - - <%= Html.Telerik().Grid() - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Server().Select("FirstLook", "Grid"}); - }) - .Pagealbe() - .Sortable(); - %> - - - - - - Use it to configure Ajax binding. - - - - <%= Html.Telerik().Grid() - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("_FirstLook", "Grid").Enabled((bool)ViewData["ajax"]); - }) - .Pagealbe() - .Sortable(); - %> - - - - - - Use it to configure web service binding. - - - - <%= Html.Telerik().Grid() - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.WebService().Select("~/Models/Orders.asmx/GetOrders") - }) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - %> - - - - - - Defines the fluent interface for configuring the data key. - - The type of the model - - - - Initializes a new instance of the class. - - The dataKey. - - - - Sets the RouteKey. - - The value. - - - - - Gets the HTML attributes of the form rendered during editing - - The HTML attributes. - - - - Creates data key for the . - - The type of the data item - - - - Initializes a new instance of the class. - - The grid. - - - - Defines a data key. - - - - - - - - Gets or sets the operation mode of the grid. By default the grid will make a request to the - server when it needs data for paging, sorting, filtering or grouping. If you set the - operation mode to GridOperationMode.Client it will make only one request for all data. Any other - paging, sorting, filtering or grouping will be performed client-side. - - - - - Defines which objects can have child items. - - - - - - Child items collection. - - - - - Defines the fluent interface for configuring the component. - - - - - - Defines the number of the decimal digits. - - - - - Sets the decimal separator. - - - - - Defines the fluent interface for configuring the . - - - - - Defines the inline handler of the OnChange client-side event - - The action defining the inline handler. - - - <% Html.Telerik().IntegerTextBox() - .Name("IntegerTextBox") - .ClientEvents(events => events.OnChange(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnChange client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().IntegerTextBox() - .Name("IntegerTextBox") - .ClientEvents(events => events.OnChange( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnChange client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().IntegerTextBox() - .Name("IntegerTextBox") - .ClientEvents(events => events.OnChange("onChange")) - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().IntegerTextBox() - .Name("IntegerTextBox") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().IntegerTextBox() - .Name("IntegerTextBox") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().IntegerTextBox() - .Name("IntegerTextBox") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The component. - - - - Sets the value of the timepicker input - - - - - Sets the value of the timepicker input - - - - - Sets the value of the timepicker input - - - - - Sets the minimum time, which can be selected in timepicker - - - - - Sets the minimum time, which can be selected in timepicker - - - - - Sets the maximum time, which can be selected in timepicker - - - - - Sets the maximum time, which can be selected in timepicker - - - - - Sets the interval between hours. - - - - - Sets whether timepicker to be rendered with button, which shows timeview on click. - - - - - Sets the title of the timepicker button. - - - - - Defines the fluent interface for configuring TreeView drag&drop. - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables / disables drag&drop functionality. - - Whether to enable or to disable the drag&drop. - - - - Allows elements to be dropped on arbitrary HTML elements - - jQuery selector that specifies the elements that qualify as drop targets. - - - - Defines the fluent interface for building - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables binding. - - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home").Enabled((bool)ViewData["ajax"]); - }) - %> - - - - The Enabled method is useful when you need to enable binding based on certain conditions. - - - - - Sets the action, controller and route values - - The route values of the Action method. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select(MVC.Home.Index(1).GetRouteValueDictionary()); - }) - %> - - - - - - Sets the action, controller and route values for the select operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - - - - - Sets the action, controller and route values for the select operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home", new { {"id", 1} }); - }) - %> - - - - - - Sets the action, controller and route values for the select operation - - Name of the action. - Name of the controller. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Index", "Home"); - }) - %> - - - - - - Sets the route and values for the select operation - - Name of the route. - The route values. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); - }) - %> - - - - - - Sets the route and values for the select operation - - Name of the route. - The route values. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default", new {id=1}); - }) - %> - - - - - - Sets the route name for the select operation - - Name of the route. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .DataBinding(dataBinding => - { - dataBinding.Ajax().Select("Default"); - }) - %> - - - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The component. - - - - Defines the items in the TreeView - - The add action. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - %> - - - - - - Configures the client-side events. - - The client events action. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => - .OnDataBinding("onDataBinding") - .OnItemDataBound("onItemDataBound") - ) - %> - - - - - - Binds the TreeView to a sitemap - - The view data key. - The action to configure the item. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .BindTo("examples", (item, siteMapNode) => - { - }) - %> - - - - - - Binds the TreeView to a sitemap. - - The view data key. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .BindTo("examples") - %> - - - - - - Binds the TreeView to a list of items. - Use if a hierarchy of items is being sent from the controller; to bind the TreeView declaratively, use the Items() method. - - The list of items - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .BindTo(model) - %> - - - - - - Binds the TreeView to a list of objects. The TreeView will be "flat" which means a TreeView item will be created for - every item in the data source. - - The type of the data item - The data source. - The action executed for every data bound item. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .BindTo(new []{"First", "Second"}, (item, value) - { - item.Text = value; - }) - %> - - - - - - Binds the TreeView to a list of objects. The TreeView will create a hierarchy of items using the specified mappings. - - The type of the data item - The data source. - The action which will configure the mappings - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .BindTo(Model, mapping => mapping - .For<Customer>(binding => binding - .Children(c => c.Orders) // The "child" items will be bound to the the "Orders" property - .ItemDataBound((item, c) => item.Text = c.ContactName) // Map "Customer" properties to TreeViewItem properties - ) - .For<Order<(binding => binding - .Children(o => null) // "Orders" do not have child objects so return "null" - .ItemDataBound((item, o) => item.Text = o.OrderID.ToString()) // Map "Order" properties to TreeViewItem properties - ) - ) - %> - - - - - - Use it to configure Data binding. - - Action that configures the data binding options. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .DataBinding(dataBinding => dataBinding - .Ajax().Select("_AjaxLoading", "TreeView") - ); - %> - - - - - - Callback for each item. - - Action, which will be executed for each item. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ItemAction(item => - { - item - .Text(...) - .HtmlAttributes(...); - }) - %> - - - - - - Select item depending on the current URL. - - If true the item will be highlighted. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .HighlightPath(true) - %> - - - - - - Configures the effects of the TreeView. - - The action which configures the effects. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .Effects(fx => - { - fx.Slide() - .Opacity() - .OpenDuration(AnimationDuration.Normal) - .CloseDuration(AnimationDuration.Normal); - }) - - - - - - Expand all the items. - - If true all the items will be expanded. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ExpandAll(true) - %> - - - - - - ShowLines indicates if lines connecting child nodes to parent nodes are displayed. - - If true lines connecting child nodes to parent nodes are displayed. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ShowLines(true) - %> - - - - - - ShowCheckBox indicates if checkbox displayed before node. - - If true checkbox will be displayed for every node. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ShowCheckBox(true) - %> - - - - - - Enables drag & drop between treeview nodes. - - If true, drag & drop is enabled. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - .DragAndDrop(true) - %> - - - - - - Enables drag & drop between treeview nodes. - - Action that configures the drag and drop options. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - .DragAndDrop(settings => - { - - }) - %> - - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The client events. - The view context. - - - - Defines the inline handler of the OnExpand client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnExpand(() => - { - %> - function(e) { - // event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnExpand client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnExpand( - @<text> - function(e) { - // event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnExpand client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnExpand("onExpand")) - %> - - - - - - Defines the inline handler of the OnCollapse client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnCollapse(() => - { - %> - function(e) { - // event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnCollapse client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnCollapse( - @<text> - function(e) { - // event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnCollapse client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnCollapse("onCollapse")) - %> - - - - - - Defines the inline handler of the OnSelect client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnSelect(() => - { - %> - function(e) { - // event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnSelect client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnSelect( - @<text> - function(e) { - // event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnSelect client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnSelect("onSelect")) - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - // event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - // event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnError client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnError(() => - { - %> - function(e) { - // event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnError client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnError( - @<text> - function(e) { - // event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnError client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnError("onError")) - %> - - - - - - Defines the inline handler of the OnNodeDragStart client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDragStart(() => - { - %> - function(e) { - // event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnNodeDragStart client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDragStart( - @<text> - function(e) { - // event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnNodeDragStart client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDragStart("onNodeDragStrat")) - %> - - - - - - Defines the inline handler of the OnNodeDrop client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDrop(() => - { - %> - function(e) { - // event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnNodeDrop client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDrop( - @<text> - function(e) { - // event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnNodeDrop client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDrop("OnNodeDrop")) - %> - - - - - - Defines the inline handler of the OnNodeDropped client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDropped(() => - { - %> - function(e) { - // event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnNodeDropped client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDropped( - @<text> - function(e) { - // event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnNodeDropped client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDropped("OnNodeDropped")) - %> - - - - - - Defines the inline handler of the OnNodeDragCancelled client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDragCancelled(() => - { - %> - function(e) { - // event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnNodeDragCancelled client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDragCancelled( - @<text> - function(e) { - // event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnNodeDragCancelled client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDragCancelled("OnNodeDragCancelled")) - %> - - - - - - Defines the inline handler of the OnNodeDragging client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDragging(() => - { - %> - function(e) { - // event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnNodeDragging client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDragging( - @<text> - function(e) { - // event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnNodeDragging client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnNodeDragging("OnNodeDragging")) - %> - - - - - - Defines the inline handler of the OnDataBinding client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnDataBinding(() => - { - %> - function(e) { - // event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnDataBinding client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnDataBinding( - @<text> - function(e) { - // event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnDataBinding client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnDataBinding("OnDataBinding")) - %> - - - - - - Defines the inline handler of the OnDataBound client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnDataBound(() => - { - %> - function(e) { - // event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnDataBound client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnDataBound( - @<text> - function(e) { - // event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnDataBound client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnDataBound("OnDataBound")) - %> - - - - - - Defines the inline handler of the OnChecked client-side event. Requires ShowCheckBox to be true. - - The action defining the inline handler. - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnChecked(() => - { - %> - function(e) { - // event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnChecked client-side event. Requires ShowCheckBox to be true. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnChecked( - @<text> - function(e) { - // event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnChecked client-side event. Requires ShowCheckBox to be true. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .ClientEvents(events => events.OnChecked("onChecked")) - %> - - - - - - Defines the fluent interface for configuring the data binding. - - - - - Initializes a new instance of the class. - - The configuration. - - - - Use it to configure Ajax binding. - - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .DataBinding(dataBinding => dataBinding - .Ajax().Select("_AjaxLoading", "TreeView") - ) - %> - - - - - - Use it to configure web service binding. - - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .DataBinding(dataBinding => dataBinding - .WebService().Select("~/Models/Employees.asmx/GetEmployees") - ) - %> - - - - - - Defines the fluent interface for configuring child TreeView items. - - - - - Defines the fluent interface for configuring navigation items - - The type of the item. - The type of the builder. - - - - Initializes a new instance of the class. - - The item. - - - - Returns the inner navigation item - - - - - - Sets the HTML attributes applied to the outer HTML element rendered for the item - - The attributes. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Attributes(new {@class="first-item"})) - %> - - - - - - Sets the HTML attributes applied to the outer HTML element rendered for the item - - The attributes. - - - - Sets the text displayed by the item. - - The value. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("First Item")) - %> - - - - - - Makes the item visible or not. Invisible items are not rendered in the output HTML. - - - Sets the text displayed by the item. - - The value. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("First Item").Visible((bool)ViewData["visible"]) - %> - - - - - - Enables or disables the item. Disabled item cannot be clicked, expanded or open (depending on the item type - menu, tabstrip, panelbar). - - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("First Item").Enabled((bool)ViewData["enabled"]) - %> - - - - - - Selects or unselects the item. By default items are not selected. - - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("First Item").Selected(true)) - %> - - - - - - Sets the route to which the item should navigate. - - Name of the route. - The route values. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("First Item").Route("Default", new RouteValueDictionary{{"id", 1}})) - %> - - - - - - Sets the route to which the item should navigate. - - Name of the route. - The route values. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("First Item").Route("Default", new {id, 1})) - %> - - - - - - Sets the route to which the item should navigate. - - Name of the route. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("First Item").Route("Default")) - %> - - - - - - Sets the action to which the item should navigate - - The route values of the Action method. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("Index").Action(MVC.Home.Index(3).GetRouteValueDictionary())) - %> - - - - - - Sets the action to which the item should navigate - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("Index").Action("Index", "Home", new RouteValueDictionary{{"id", 1}})) - %> - - - - - - Sets the action to which the item should navigate - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("Index").Action("Index", "Home", new {id, 1})) - %> - - - - - - Sets the action to which the item should navigate - - Name of the action. - Name of the controller. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("Index").Action("Index", "Home")) - %> - - - - - - Sets the URL to which the item should navigate - - The value. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("www.example.com").Url("http://www.example.com")) - %> - - - - - - Sets the URL of the image that should be displayed by the item. - - The value. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("First Item").ImageUrl("~/Content/first.png")) - %> - - - - - - Sets the HTML attributes for the item image. - - The attributes. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items - .Add().Text("First Item") - .ImageUrl("~/Content/first.png") - .ImageHtmlAttributes(new {@class="first-item-image"})) - %> - - - - - - Sets the HTML attributes for the item image. - - The attributes. - - - - Sets the sprite CSS class names. - - The CSS classes. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items - .Add().Text("First Item") - .SpriteCssClasses("icon", "first-item") - %> - - - - - - Sets the HTML content which the item should display. - - The action which renders the content. - - <% Html.Telerik().Menu() - .Name("Menu") - .Items(items => items - .Add() - .Text("First Item") - .Content(() => - { - %> - <strong> First Item Content</strong> - <% - });) - .Render(); - %> - - - - - Sets the HTML content which the item should display. - - The content wrapped in a regular HTML tag or text tag (Razor syntax). - - @(Html.Telerik().Menu() - .Name("Menu") - .Items(items => items - .Add() - .Text("First Item") - .Content( - @<text> - Some text - <strong> First Item Content</strong> - </text> - ); - ) - ) - - - - - Sets the HTML content which the item should display as a string. - - The action which renders the content. - - <% Html.Telerik().Menu() - .Name("Menu") - .Items(items => items - .Add() - .Text("First Item") - .Content("<strong> First Item Content</strong>"); - ) - .Render(); - %> - - - - - Sets the HTML attributes of the content element of the item. - - The attributes. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items - .Add().Text("First Item") - .Content(() => { %> <strong>First Item Content</strong> <% }) - .ContentHtmlAttributes(new {@class="first-item-content"}) - %> - - - - - - Sets the HTML attributes of the content element of the item. - - The attributes. - - - - Makes the item navigate to the specified controllerAction method. - - The type of the controller. - The action. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items - .Add().Text("First Item") - .Action<HomeController>(controller => controller.Index())) - - %> - - - - - - Sets whether the Text property should be encoded when the item is rendered. - - Whether the property should be encoded. Default: true. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => items.Add().Text("<strong>First Item</strong>").Encoded(false)) - %> - - - - - - Initializes a new instance of the class. - - The item. - - - - Configures the child items of a . - - The add action. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .Items(items => - { - items.Add().Text("First Item").Items(firstItemChildren => - { - firstItemChildren.Add().Text("Child Item 1"); - firstItemChildren.Add().Text("Child Item 2"); - }); - }) - %> - - - - - - Sets the value for the item. - - The value. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .Items(items => items.Add().Value("1")) - %> - - - - - - Define when the item will be expanded on intial render. - - If true the item will be expanded. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .Items(items => - { - items.Add().Text("First Item").Items(firstItemChildren => - { - firstItemChildren.Add().Text("Child Item 1"); - firstItemChildren.Add().Text("Child Item 2"); - }) - .Expanded(true); - }) - %> - - - - - - Define when the item will be checked on intial render. - - If true the item will be checked. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .Items(items => - { - items.Add().Text("First Item").Items(firstItemChildren => - { - firstItemChildren.Add().Text("Child Item 1"); - firstItemChildren.Add().Text("Child Item 2"); - }) - .Checked(true); - }) - %> - - - - - - Enables/disables the rendering of a checkbox for this item. - - If false, no checkbox will be rendered. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .Items(items => - { - items.Add().Text("First Item").Items(firstItemChildren => - { - firstItemChildren.Add().Text("Child Item 1"); - firstItemChildren.Add().Text("Child Item 2"); - }) - .Checkable(false); - }) - %> - - - - - - Sets the expand mode of the treeview item. - - If true then item will be load on demand from client side. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .Items(items => - { - items.Add().Text("First Item").Items(firstItemChildren => - { - firstItemChildren.Add().Text("Child Item 1"); - firstItemChildren.Add().Text("Child Item 2"); - }) - .LoadOnDemand(true); - }) - %> - - - - - - Creates items for the . - - - - - Initializes a new instance of the class. - - The settings. - - - - Defines a item. - - - - - - Defines the fluent interface for configuring the treeview webservice. - - - - - Initializes a new instance of the class. - - The settings. - - - - Specify the web service url for loading data - - The web service url - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .DataBinding(dataBinding => dataBinding - .WebService().Select("~/Models/Employees.asmx/GetEmployees") - ) - %> - - - - - - Enables / disables web service functionality. - - Whether to enable or to disable the web service. - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .DataBinding(dataBinding => dataBinding - .Ajax().Enabled(true).Select("_AjaxLoading", "TreeView") - ) - %> - - - - The Enabled method is useful when you need to enable ajax based on certain conditions. - - - - - Telerik Treeview for ASP.NET MVC is a view component for presenting hierarchical data. - - - - - Initializes a new instance of the class. - - The view context. - The client side object writer factory. - The URL generator. - The navigation item authorization. - The builder factory. - - - - Gets the client events of the treeview. - - The client events. - - - - Gets the items of the treeview. - - - - - Gets or sets the item action. - - - - - Gets or sets the effects. - - - - - Gets or sets a value indicating whether all the item is expanded. - - true if expand all is enabled; otherwise, false. The default value is false - - - - Gets or sets a value indicating whether all the item is expanded. - - true if expand all is enabled; otherwise, false. The default value is false - - - - Gets or sets a value indicating whether all the item is expanded. - - true if expand all is enabled; otherwise, false. The default value is false - - - - Gets the ajax configuration. - - - - - Gets the web service configuration - - - - - - Defines whether one navigation item can have content output immediately - - - - - The HtmlAttributes which will be added to the wrapper of the content. - - - - - The action which will output the content. - - - - - Gets the id. - - The id. - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The component. - - - - Sets whether datepicker to be rendered with button, which shows calendar on click. - - - - - Sets the title of the datepicker button. - - - - - Sets the value of the datepicker input - - - - - Sets the value of the datepicker input - - - - - Sets the minimal date, which can be selected in DatePicker. - - - - - Sets the maximal date, which can be selected in DatePicker. - - - - - Sets the Url, which will be requested to return the content. - - The route values of the Action method. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .Items(parent => { - - parent.Add() - .LoadContentFrom(MVC.Home.Index().GetRouteValueDictionary()); - }) - %> - - - - - - Sets the Url, which will be requested to return the content. - - The action name. - The controller name. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .Items(parent => { - - parent.Add() - .Text("Completely Open Source") - .LoadContentFrom("AjaxView_OpenSource", "PanelBar"); - }) - %> - - - - - - Sets the Url, which will be requested to return the content. - - The action name. - The controller name. - Route values. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .Items(parent => { - - parent.Add() - .Text("Completely Open Source") - .LoadContentFrom("AjaxView_OpenSource", "PanelBar", new { id = 10}); - }) - %> - - - - - - Sets the Url, which will be requested to return the content. - - The url. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .Items(parent => { - - parent.Add() - .Text("Completely Open Source") - .LoadContentFrom(Url.Action("AjaxView_OpenSource", "PanelBar")); - }) - %> - - - - - - Defines the fluent interface for configuring the ajax settings - - - - - Defines the fluent interface for building - - - - - Initializes a new instance of the class. - - The settings. - - - - Sets the route and values - - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Ajax(ajax => ajax.Route("Default", new {id=1})) - %> - - - - - - Sets the route and values - - Name of the route. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Ajax(ajax => ajax.Route("Default", new RouteValueDictionary{{"id",1}})) - %> - - - - - - Sets the route name - - Name of the route. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Ajax(ajax => ajax.Route("Default")) - %> - - - - - - Sets the action, controller and route values - - The route values of the Action method. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Ajax(ajax => ajax.Action(MVC.Home.Index(1).GetRouteValueDictionary())) - %> - - - - - - Sets the action, controller and route values - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Ajax(ajax => ajax.Action("Index", "Home", new {id = 1})) - %> - - - - - - Sets the action, controller and route values - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Ajax(ajax => ajax.Action("Index", "Home", new RouteValueDictionary{ {"id", 1} })) - %> - - - - - - Sets the action, controller and route values - - Name of the action. - Name of the controller. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Ajax(ajax => ajax.Action("Index", "Home")) - %> - - - - - - Gets or sets the settings. - - The settings. - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables Ajax binding. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Ajax(ajax => ajax.Enabled((bool)ViewData["enableAjax"])) - %> - - - - The Enabled method is useful when you need to enable ajax based on certain conditions. - - - - - Defines the fluent interface for configuring bound columns - - The type of the data item - - - - Initializes a new instance of the class. - - The column. - - - - Gets or sets the format for displaying the data. - - The value. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderDate).Format("{0:dd/MM/yyyy}")) - %> - - - - - - Provides additional view data in the editor template for that column (if any). - - - The additional view data will be provided if the editing mode is set to in-line or in-cell. Otherwise - use - - An anonymous object which contains the additional data - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => { - columns.Bound(o => o.Customer).EditorViewData(new { customers = Model.Customers }); - }) - %> - - - - - - Makes the column read-only or not. By default bound columns are not read-only. - - - If a column is read-only it cannot be modified during editing. - - true if the column should be read-only;otherwise false - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderDate).ReadOnly(true)) - %> - - - - - - Makes the column read-only. - - - If a column is read-only it cannot be modified during editing. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderDate).ReadOnly()) - %> - - - - - - Specify which editor template should be used for the column - - name of the editor template - - - - Enables or disables sorting the column. All bound columns are sortable by default. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderDate).Sortable(false)) - %> - - - - - - Enables or disables grouping by that column. All bound columns are groupable by default. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderDate).Groupable(false)) - %> - - - - - - Enables or disables filtering the column. All bound columns are filterable by default. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderDate).Filterable(false)) - %> - - - - - - Enables or disables HTML encoding the data of the column. All bound columns are encoded by default. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns.Bound(o => o.OrderDate).Encoded(false)) - %> - - - - - - Sets the template for the column. - - The action defining the template. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .Columns(columns => columns - .Add(c => c.CustomerID) - .Template(() => - { - %> - >img - alt="<%= c.CustomerID %>" - src="<%= Url.Content("~/Content/Grid/Customers/" + c.CustomerID + ".jpg") %>" - /> - <% - }).Title("Picture");) - .Render(); - %> - - - - - - Sets the footer template for the column. - - The action defining the template. - - - - Sets the footer template for the column. - - The action defining the template. - - - - Sets the group footer template for the column. - - The action defining the template. - - - - Sets the group footer template for the column. - - The action defining the template. - - - - Sets the group footer template for the column. - - The action defining the template. - - - - Sets the group footer template for the column. - - The action defining the template. - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The events. - - - - Defines the inline handler of the OnLoad client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //Load handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //Load handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnSubmitChanges client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnSubmitChanges(() => - { - %> - function(e) { - //handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnSubmitChanges client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnSubmitChanges( - @<text> - function(e) { - //handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnSubmitChanges client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnSubmitChanges("onSubmitChanges")) - %> - - - - - - Defines the inline handler of the OnEdit client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnEdit(() => - { - %> - function(e) { - //edit handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnEdit client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnEdit( - @<text> - function(e) { - //edit handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnEdit client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnEdit("onEdit")) - %> - - - - - - Defines the inline handler of the OnSave client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnSave(() => - { - %> - function(e) { - //edit handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnSave client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnSave( - @<text> - function(e) { - //edit handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnSave client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnSave("onSave")) - %> - - - - - - Defines the inline handler of the OnDetailViewExpand client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnDetailViewExpand(() => - { - %> - function(e) { - //edit handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnDetailViewExpand client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnDetailViewExpand( - @<text> - function(e) { - //edit handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnDetailViewExpand client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnDetailViewExpand("onDetailViewExpand")) - %> - - - - - - Defines the inline handler of the OnDetailViewCollapse client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnDetailViewCollapse(() => - { - %> - function(e) { - //edit handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnDetailViewCollapse client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnDetailViewCollapse( - @<text> - function(e) { - //edit handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnDetailViewCollapse client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnDetailViewCollapse("onDetailViewCollapse")) - %> - - - - - - Defines the inline handler of the OnSave client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnSave(() => - { - %> - function(e) { - //edit handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnSave client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnSave( - @<text> - function(e) { - //edit handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnDelete client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnSave("onDelete")) - %> - - - - - - Defines the inline handler of the OnColumnResize client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnColumnResize(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnColumnResize client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnColumnResize( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnColumnResize client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnColumnResize("onColumnResize")) - %> - - - - - - Defines the inline handler of the OnColumnReorder client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnColumnReorder(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnColumnReorder client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnColumnReorder( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnColumnResize client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnColumnReorder("onColumnReorder")) - %> - - - - - - Defines the inline handler of the OnRowSelect client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnRowSelect(() => - { - %> - function(e) { - //Error handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnRowSelect client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnRowSelect( - @<text> - function(e) { - //Error handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnRowSelect client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnRowSelect("onRowSelect")) - %> - - - - - - Defines the inline handler of the OnError client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnError(() => - { - %> - function(e) { - //Error handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnError client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnError( - @<text> - function(e) { - //Error handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnError client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnError("onError")) - %> - - - - - - Defines the inline error handler of the OnDataBound client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnDataBound(() => - { - %> - function(e) { - //data bound handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline error handler of the OnDataBound client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnDataBound( - @<text> - function(e) { - //data bound handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnDataBound client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnDataBound("onDataBound")) - %> - - - - - - Defines the inline error handler of the OnDataBinding client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnDataBinding(() => - { - %> - function(e) { - //data binding handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline error handler of the OnDataBinding client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnDataBinding( - @<text> - function(e) { - //data binding handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnDataBinding client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnDataBinding("onDataBinding")) - %> - - - - - - Defines the inline error handler of the OnRowDataBound client-side event. - - The action defining the inline handler. - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnRowDataBound(() => - { - %> - function(e) { - var row = e.row; - var dataItem = e.dataItem; - } - <% - })) - .Render(); - %> - - - - - - Defines the inline error handler of the OnRowDataBound client-side event. - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnRowDataBound( - @<text> - function(e) { - var row = e.row; - var dataItem = e.dataItem; - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnRowDataBound client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .ClientEvents(events => events.OnRowDataBound("onRowDataBound")) - %> - - - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The column. - - - - Creates command for the . - - The type of the data item - - - - Initializes a new instance of the class. - - The column. - - - - Defines a edit command. - - - - - - Defines a delete command. - - - - - - Defines a select command. - - - - - - Defines a custom command. - - - - - - Defines the fluent interface for configuring . - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables filtering - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Filterable(filtering => filtering.Enabled((bool)ViewData["enableFiltering"])) - %> - - - - The Enabled method is useful when you need to enable filtering based on certain conditions. - - - - - Defines the fluent interface for configuring - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables scrolling. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Scrolling(scrolling => scrolling.Enabled((bool)ViewData["enableScrolling"])) - %> - - - - The Enabled method is useful when you need to enable scrolling based on certain conditions. - - - - - Sets the height of the scrollable area in pixels. - - The height in pixels. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Scrolling(scrolling => scrolling.Height(400)) - %> - - - - - - Sets the height of the scrollable. - - The height in pixels. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Scrolling(scrolling => scrolling.Height("20em")) - %> - - - - - - Defines the fluent interface for configuring the - - - - - Initializes a new instance of the class. - - The settings. - - - The pager will display only a status message - - - The pager will display first/previous/next/last links - - - The pager will display page numbers as link buttons. - - - The pager will display an input field and the total number of pages. - - - The pager will display a dropdown and the total number of pages. - - - (first) (previous) (page numbers) (next) (last) - - - (first) (previous) (page input field) (next) (last) - - - (first) (previous) (page size drop down) (next) (last) - - - - Defines the fluent interface for configuring - - - - - Enables or disables selection. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Selectable(selection => selection.Enabled((bool)ViewData["enableSelection"])) - %> - - - - The Enabled method is useful when you need to enable scrolling based on certain conditions. - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The settings. - - - - Enables or disables sorting. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Sorting(sorting => sorting.Enabled((bool)ViewData["enableSorting"])) - %> - - - - The Enabled method is useful when you need to enable sorting based on certain conditions. - - - - - Sets the sort mode of the grid. - - The value. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Sorting(sorting => sorting.SortMode(GridSortMode.MultipleColumns)) - %> - - - - - - Configures the initial sort order. - - The configurator. - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The settings. - - - - Sets the url of the web service which the will request for data. - - The value. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .WebService(webService => webService.Url("~/Models/Orders.asmx/GetOrders"))) - %> - - - - - - Enables or disables web service binding. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .WebService(webService => webService.Enabled((bool)ViewData["enableWebServiceBinding"])) - %> - - - - The Enabled method is useful when you need to enable web service binding based on certain conditions. - - - - - Specifies the animation duration of item. - - - - - Fast animation, duration is set to 200. - - - - - Normal animation, duration is set to 400. - - - - - Slow animation, duration is set to 600. - - - - - Helper class to convert jQuery Animation Duration. - - - - - Converts specified duration in jQuery equivalent value. - - The duration. - - - - - Defines the basic building block of creating client side object. - - - - - Starts writing this instance. - - - - - - Appends the specified key value pair to the end of this instance. - - The key value pair. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and nullable value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - The default value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - if set to true [value]. - - - - - Appends the specified name and value to the end of this instance. - - The name. - if set to true [value]. - if set to true [default value]. - - - - - Appends the specified name and only the date of the passed . - - The name. - The value. - - - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The action. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The action. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The HtmlTemplate. - - - - - Appends the object. - - The name. - The value. - - - - - Appends the specified name and Action or String specified in the ClientEvent object. - - The name. - Client event of the component. - - - - - Appends the specified name and value to the end of this instance. - - The type of the enum. - The name. - The value. - The default value. - - - - - Completes this instance. - - - - - Defines the factory to create . - - - - - Creates a writer. - - The id. - The type. - The text writer. - - - - - Defines the sort modes supported by - - - - - The user can sort only by one column at the same time. - - - - - The user can sort by more than one column at the same time. - - - - - - Initializes a new instance of the class. - - The view context. - The client side object writer factory. - The URL generator. - The builder factory. - - - - Gets the selection configuration - - - - - Gets the template which the grid will use to render a row - - - - - Gets the client events of the grid. - - The client events. - - - - Gets the filtering configuration. - - - - - Gets the web service configuration - - - - - Gets the server binding configuration. - - - - - Gets the scrolling configuration. - - - - - Gets the keyboard navigation configuration. - - - - - Gets the column context menu configuration. - - - - - Gets the ajax configuration. - - - - - Gets or sets a value indicating whether custom binding is enabled. - - true if custom binding is enabled; otherwise, false. The default value is false - - - - Gets the paging configuration. - - - - - Gets the columns of the grid. - - - - - Gets or sets the data source. - - The data source. - - - - Gets the page size of the grid. - - - - - Gets the sorting configuration. - - The sorting. - - - - Gets or sets a value indicating whether to add the property of the grid as a prefix in url parameters. - - true if prefixing is enabled; otherwise, false. The default value is true - - - - Gets or sets the action executed when rendering a row. - - - - - Gets or sets the action executed when rendering a cell. - - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The component. - - - - Sets the row template of the grid - - The template - - - <%= Html.Telerik().Grid(Model) - .RowTemplate(o => - { - %> - <%= o.Name %> - <%= o.Age %> - <% - }) - %> - - - - - - Sets the row template of the grid - - The template - - - <%= Html.Telerik().Grid(Model) - .RowTemplate(o => - { - %> - <%= o.Name %> - <%= o.Age %> - <% - }) - %> - - - - - - Sets the row template of the grid using Razor syntax - - The template - - - <%= Html.Telerik().Grid(Model) - .RowTemplate(@<text> - @item.Name - @item.Age - </text>) - %> - - - - - - Configures the grid resizing settings - - Resizing settings configurator method - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Resizable(resizing => resizing.Columns(true)) - %> - - - - - - Configures the grid reordering settings - - Resizing settings configurator method - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Reorderable(reordering => reordering.Columns(true)) - %> - - - - - - Sets the localization culture of the grid. - - The culture. - - - <%= Html.Telerik().Grid<Order>() - .Name("Orders") - .Localizable("de-DE") - %> - - - - - - Configures the grid editing settings. - - Configurator for the edit settings. - - - <%= Html.Telerik().Grid<Order>() - .Name("Orders") - .Editable(settings => settings.Enabled(true)) - %> - - - - - - Configures the toolbar of the grid. - - ToolBar configurator. - - - <%= Html.Telerik().Grid<Order>() - .Name("Orders") - .ToolBar(commands => commands.Insert()) - %> - - - - - - Defines a list of the private keys. - - DataKeys configurator. - - - <%= Html.Telerik().Grid<Order>() - .Name("Orders") - .DataKeys(keys => - { - keys.Add(c => c.CustomerID); - }) - %> - - - - - - Configure when to show footer of the grid. - - If it is true, the feature is visible. - - - - Binds the grid to a list of objects - - The type of the data item - The data source. - - - <%= Html.Telerik().Grid<Order>() - .Name("Orders") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]); - %> - - - - - - Callback for each row. - - Action, which will be executed for each row. - You can format the entire row - - - <%= Html.Telerik().Grid() - .Name("Grid") - .RowAction(row => - { - // "DataItem" is the Order object to which the current row is bound to - if (row.DataItem.Freight > 10) - { - //Set the background of the entire row - row.HtmlAttributes["style"] = "background:red;"; - } - }); - %> - - - - - - Callback for each cell. - - Action, which will be executed for each cell. - You can format a concrete cell. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .CellAction(cell => - { - if (cell.Column.Name == "Freight") - { - if (cell.DataItem.Freight > 10) - { - //Set the background of this cell only - cell.HtmlAttributes["style"] = "background:red;"; - } - } - }); - %> - - - - - - Enables or disables the custom binding of the grid. - - If true enables custom binding. - - - - - Defines the columns of the grid. - - The add action. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]); - %> - - - - - - Allows sorting of the columns. - - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .Sortable(); - %> - - - - - - Allows sorting of the columns. - - Use builder to define sort settings. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .Sortable(sorting => sorting.SortMode(GridSortMode.MultipleColumn) - %> - - - - - - Enables row selection. - - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Selectable() - %> - - - - - - Enables row selection. - - Use builder to define the selection settings. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Selectable(selection => selection.Enabled(true)) - %> - - - - - - Put grid name as a prefix. - - - - - Allows paging of the data. - - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .Pageable(); - %> - - - - - - Allows paging of the data. - - Use builder to define paging settings. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .Pageable(paging => - paging.PageSize(20) - .Style(GridPagerStyles.NextPreviousAndNumeric) - .Position(GridPagerPosition.Bottom) - ) - %> - - - - - - Use it to configure Server binding. - - Use builder to set different server binding settings. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .ServerBinding(serverBinding => serverBinding - .Action("Index", "Home", new {id = (string)ViewData["id"]}) - ) - .Pagealbe() - .Sortable(); - %> - - - - - - Use it to configure binding option when performing data operations - paging, sorting and filtering. - - Use builder to set different data binding options. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .DataBinding(dataBinding => - { - dataBinding.Server().Select("FirstLook", "Grid"}); - dataBinding.Ajax().Select("_FirstLook", "Grid").Enabled((bool)ViewData["ajax"]); - }) - .Pagealbe() - .Sortable(); - %> - - - - - - Use it to configure Ajax binding. - - Use builder to set different ajax binding settings. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_AjaxBinding", "Home")) - .Pagealbe() - .Sortable(); - %> - - - - - - Allows filtering of the columns. - - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .Filterable(); - %> - - - - - - Allows filtering of the columns. - - Use builder to define filtering settings. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .Filterable(filtering => filtering.Enabled(true); - %> - - - - - - Show scrollbar if there are many items. - - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .Scrollable(); - %> - - - - - - Show scrollbar if there are many items. - - Use builder to define scrolling settings. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .Scrollable(scrolling => scrolling.Enabled(true); - %> - - - - - - Enables keyboard navigation. - - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .KeyboardNavigation(); - %> - - - - - - Enables keyboard navigation. - - Use builder to define keyboard navigation settings. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .KeyboardNavigation(navigation => navigation.Enabled(true)); - %> - - - - - - Enables column context menu. - - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .ColumnContextMenu(); - %> - - - - - - Enables column context menu. - - Use builder to column context menu settings. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .ColumnContextMenu(navigation => navigation.Enabled(true)); - %> - - - - - - Configures the client-side events. - - The client events action. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .ClientEvents(events => events - .OnDataBinding("onDataBinding") - .OnRowDataBound("onRowDataBound") - ) - %> - - - - - - Use it to configure grouping. - - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .Groupable(grouping => grouping.Enabled(true); - %> - - - - - - Allows grouping. - - - - <%= Html.Telerik().Grid() - .Name("Grid") - .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - .BindTo((IEnumerable<Order>)ViewData["Orders"]) - .Groupable(); - %> - - - - - - Use it to configure web service binding. - - Use builder to set different web service binding settings. - - - <%= Html.Telerik().Grid() - .Name("Grid") - .WebService(webService => webService.Url("~/Models/Orders.asmx/GetOrders")) - .Columns(columns=> - { - columns.Add(c => c.OrderID).Width(100); - columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); - columns.Add(c => c.ShipAddress); - columns.Add(c => c.ShipCity).Width(200); - }) - %> - - - - - - Sets the HTML content which the grid should display. - - The action which renders the message when grid has no data. - - - <% Html.Telerik().Grid() - .Name("Grid") - .NoRecordsTemplate(() => - { - %> - <strong> Hello World!!!;/strong> - <% - }) - %> - - - - - - Sets the empty message template which will be display if the grid has no data. - - The Razor inline message. - - - @(Html.Telerik().Grid() - .Name("Grid") - .NoRecordsTemplate(@<strong> Hello World!!!</strong>)) - - - - - - - Sets the empty message template which will be display if the grid has no data. - - The action which renders the message when grid has no data. - - <%= Html.Telerik().Grid() - .Name("Grid") - .NoRecordsTemplate("<strong> Hello World!!!</strong>") - %> - - - - - Creates columns for the . - - The type of the data item to which the grid is bound to - - - - Initializes a new instance of the class. - - The container. - - - - Defines a bound column. - - - - - - - - Defines a bound column. - - - - - - - - Defines a bound column. - - - - - Defines a bound column. - - - - - Defines a foreign key column. - - - - - - - - Defines a foreign key column. - - - - - - - - Determines if columns should be automatically generated. - - If true columns should be generated, otherwise false. - - - - Determines if columns should be automatically generated. - - Action which will be executed for each generated column. - - - - Defines a template column. - - - - - - - Defines a template column. - - - - - - - Defines a command column. - - - - - - - Used for action methods when using Ajax or Custom binding - - - - - Initializes a new instance of the class. - - - - - Gets or sets the name of the action parameter. The default value is "command". - - The name of the action parameter. - - - [GridAction(ActionParameterName="param")] - public ActionResult Index(GridCommand param) - { - } - - - - - - Gets or sets the name of the Grid that is populated by the associated action method. Required - when custom server binding is enabled and the grid query string parameters are prefixed. - - - - [GridAction(EnableCustomBinding=true, GridName="Employees")] - public ActionResult Index(GridCommand param) - { - } - - - - - - Gets or sets a value indicating whether custom binding is enabled. Used when implementing custom ajax binding. - - true if custom binding is enabled; otherwise, false. The default value is false. - - - [GridAction(EnableCustomBinding=true)] - public ActionResult Index(GridCommand param) - { - } - - - - - - Defines the fluent interface for configuring - - - - - Initializes a new instance of the class. - - The pager. - - - - Sets the position at which to display the pager. - - The pager position. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Pageable(paging => paging.Position(GridPagerPosition.Bottom)) - %> - - - - - - Sets the page size of the grid. - - The number of items to display in a single page. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Pageable(paging => paging.PageSize(20)) - %> - - - - - - Sets the page size of the grid. - - The number of items to display in a single page. - The values shown in the pageSize dropdown - - - - - Sets the current page of the grid. - - The page which the grid should display initially. Must be greater than zero. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Pageable(paging => paging.PageTo(2)) - %> - - - - - - Sets the pager style. - - The pager style to set. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Pageable(paging => paging.Style(GridPagerStyles.PageInput | GridPagerStyles.Numeric)) - %> - - - - - - Sets the total number of items in the data source. Required during Custom binding. - - The value. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Pageable(paging => paging.Total((int)ViewData["total"])) - %> - - - - - - Enables or disables paging. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Pageable(paging => paging.Enabled((bool)ViewData["enablePaging"])) - %> - - - - The Enabled method is useful when you need to enable paging based on certain conditions. - - - - - Enables or disables paging on scroll. - - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - .Pageable(paging => paging.PageOnScroll((bool)ViewData["pageOnScroll"])) - %> - - - - The PageOnScroll method is useful when you need to enable paging on scroll based on certain conditions. - - - - - Defines methods to manipulate generic link object collections. - - - - - - Initializes a new instance of the class. - - The parent. - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - is null. - - - is less than 0. - - - is multidimensional. - -or- - is equal to or greater than the length of . - -or- - The number of elements in the source is greater than the available space from to the end of the destination . - -or- - Type cannot be cast automatically to the type of the destination . - - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Gets or sets the T object that is the parent of the current node. - - The parent. - - - - Gets the number of elements contained in the . - - - The number of elements contained in the . - - - - Gets a value indicating whether the is read-only. - - - true if the is read-only; otherwise, false. - - - - Gets or sets the at the specified index. - - - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The component. - - - - Defines the items in the menu - - The add action. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - %> - - - - - - Configures the client-side events. - - The client events action. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .ClientEvents(events => - events.OnOpen("onOpen").OnClose("onClose") - ) - %> - - - - - - Sets the menu orientation. - - The desired orientation. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Orientation(MenuOrientation.Vertical) - %> - - - - - - Enables or disables the "open-on-click" feature. - - - - <%= Html.Telerik().Menu() - .Name("Menu") - .OpenOnClick(true) - %> - - - - - - Binds the menu to a sitemap - - The view data key. - The action to configure the item. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .BindTo("examples", (item, siteMapNode) => - { - }) - %> - - - - - - Binds the menu to a sitemap. - - The view data key. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .BindTo("examples") - %> - - - - - - Binds the menu to a list of objects. The menu will be "flat" which means a menu item will be created for - every item in the data source. - - The type of the data item - The data source. - The action executed for every data bound item. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .BindTo(new []{"First", "Second"}, (item, value) - { - item.Text = value; - }) - %> - - - - - - Binds the menu to a list of objects. The menu will create a hierarchy of items using the specified mappings. - - The type of the data item - The data source. - The action which will configure the mappings - - - <%= Html.Telerik().Menu() - .Name("Menu") - .BindTo(Model, mapping => mapping - .For<Customer>(binding => binding - .Children(c => c.Orders) // The "child" items will be bound to the the "Orders" property - .ItemDataBound((item, c) => item.Text = c.ContactName) // Map "Customer" properties to MenuItem properties - ) - .For<Order<(binding => binding - .Children(o => null) // "Orders" do not have child objects so return "null" - .ItemDataBound((item, o) => item.Text = o.OrderID.ToString()) // Map "Order" properties to MenuItem properties - ) - ) - %> - - - - - - - Configures the effects of the menu. - - The action which configures the effects. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Effects(fx => - { - fx.Slide() - .Opacity() - .OpenDuration(AnimationDuration.Normal) - .CloseDuration(AnimationDuration.Normal); - }) - - - - - - Selects the item at the specified index. - - The index. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - .SelectedIndex(1) - %> - - - - - - Callback for each item. - - Action, which will be executed for each item. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .ItemAction(item => - { - item - .Text(...) - .HtmlAttributes(...); - }) - %> - - - - - - Select item depending on the current URL. - - If true the item will be highlighted. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .HighlightPath(true) - %> - - - - - - Defines the fluent interface for configuring child menu items. - - - - - Initializes a new instance of the class. - - The item. - - - - Configures the child items of a . - - The add action. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => - { - items.Add().Text("First Item").Items(firstItemChildren => - { - firstItemChildren.Add().Text("Child Item 1"); - firstItemChildren.Add().Text("Child Item 2"); - }); - }) - %> - - - - - - - Specifies the orientation in which the menu items will be ordered - - - - - Items are oredered horizontally - - - - - Items are oredered vertically - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The client events. - The view context. - - - - Defines the inline handler of the OnOpen client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Menu() - .Name("Menu") - .ClientEvents(events => events.OnOpen(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnOpen client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Menu() - .Name("Menu") - .ClientEvents(events => events.OnOpen( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnOpen client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .ClientEvents(events => events.OnOpen("onOpen")) - %> - - - - - - Defines the inline handler of the OnClose client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Menu() - .Name("Menu") - .ClientEvents(events => events.OnClose(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnClose client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Menu() - .Name("Menu") - .ClientEvents(events => events.OnClose( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnClose client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .ClientEvents(events => events.OnClose("onClose")) - %> - - - - - - Defines the inline handler of the OnSelect client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Menu() - .Name("Menu") - .ClientEvents(events => events.OnSelect(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnSelect client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Menu() - .Name("Menu") - .ClientEvents(events => events.OnSelect( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnSelect client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .ClientEvents(events => events.OnSelect("onSelect")) - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Menu() - .Name("Menu") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Menu() - .Name("Menu") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnSelect client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Menu() - .Name("Menu") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - INavigatable extension for providing access to . - - - - - Sets the action, controller name and route values of object. - - The object. - The route values of the Action method. - - - - Sets the action and controller name, along with Route values of object. - - The object. - Action name. - Controller name. - Route values as an object - - - - Sets the action, controller name and route values of object. - - The object. - Action name. - Controller name. - Route values as - - - - Sets the action and route values of object. - - The object. - The controller action. - - - - Sets the url property of object. - - The object. - The Url. - - - - Sets the route name and route values of object. - - The object. - Route name. - Route values as an object. - - - - Sets the route name and route values of object. - - The object. - Route name. - Route values as . - - - - Generating url depending on the ViewContext and the generator. - - The object. - The object - The generator. - - - - Determines whether the specified navigatable matches the current request URL. - - The object. - The object. - The generator. - - - - - Generating url depending on the ViewContext and the generator. - - The object. - The object - The generator. - - - - Verify whether the object is accessible. - - The object. - The object. - The object - - - - Verifies whether collection of objects is accessible. - - Object of type. - The object. - The object. - The object - - - - Determines whether this instance has value. - - true if either ActionName and ControllerName, RouteName or Url are set; false otherwise - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The component. - - - - Defines the items in the panelbar - - The add action. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - %> - - - - - - Configures the client-side events. - - The client events action. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => - events.OnExpand("onExpand").OnCollapse("onCollapse") - ) - %> - - - - - - Binds the panelbar to a sitemap - - The view data key. - The action to configure the item. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .BindTo("examples", (item, siteMapNode) => - { - }) - %> - - - - - - Binds the panelbar to a sitemap. - - The view data key. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .BindTo("examples") - %> - - - - - - Binds the panelbar to a list of objects - - The type of the data item - The data source. - The action executed for every data bound item. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .BindTo(new []{"First", "Second"}, (item, value) - { - item.Text = value; - }) - %> - - - - - - Binds the panelbar to a list of objects. The panelbar will create a hierarchy of items using the specified mappings. - - The type of the data item - The data source. - The action which will configure the mappings - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .BindTo(Model, mapping => mapping - .For<Customer>(binding => binding - .Children(c => c.Orders) // The "child" items will be bound to the the "Orders" property - .ItemDataBound((item, c) => item.Text = c.ContactName) // Map "Customer" properties to PanelBarItem properties - ) - .For<Order<(binding => binding - .Children(o => null) // "Orders" do not have child objects so return "null" - .ItemDataBound((item, o) => item.Text = o.OrderID.ToString()) // Map "Order" properties to PanelBarItem properties - ) - ) - %> - - - - - - Configures the effects of the panelbar. - - The action which configures the effects. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .Effects(fx => - { - fx.Height() - .Opacity() - .OpenDuration(AnimationDuration.Normal) - .CloseDuration(AnimationDuration.Normal); - }) - - - - - - Callback for each item. - - Action, which will be executed for each item. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .ItemAction(item => - { - item - .Text(...) - .HtmlAttributes(...); - }) - %> - - - - - - Select item depending on the current URL. - - If true the item will be highlighted. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .HighlightPath(true) - %> - - - - - - Renders the panelbar with expanded items. - - If true the panelbar will be expanded. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .ExpandAll(true) - %> - - - - - - Sets the expand mode of the panelbar. - - The desired expand mode. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .ExpandMode(PanelBarExpandMode.Multiple) - %> - - - - - - Selects the item at the specified index. - - The index. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - .SelectedIndex(1) - %> - - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The client events. - The view context. - - - - Defines the inline handler of the OnExpand client-side event - - The action defining the inline handler. - - - <% Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnExpand(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnExpand client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnExpand( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnExpand client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnExpand("onExpand")) - %> - - - - - - Defines the inline handler of the OnCollapse client-side event - - The action defining the inline handler. - - - <% Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnCollapse(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnCollapse client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnCollapse( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnCollapse client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnCollapse("onCollapse")) - %> - - - - - - Defines the inline handler of the OnSelect client-side event - - The action defining the inline handler. - - - <% Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnSelect(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnSelect client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnSelect( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnSelect client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnSelect("onSelect")) - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnError client-side event - - The action defining the inline handler. - - - <% Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnError(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnError client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnError( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnError client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .ClientEvents(events => events.OnError("onError")) - %> - - - - - - Specifies the expand mode in which the panelbar will expand its items - - - - - Only one item can be expanded. - - - - - All items can be expanded - - - - - Defines the fluent interface for configuring child panelbar items. - - - - - Initializes a new instance of the class. - - The item. - The context of the View. - - - - Configures the child items of a . - - The add action. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .Items(items => - { - items.Add().Text("First Item").Items(firstItemChildren => - { - firstItemChildren.Add().Text("Child Item 1"); - firstItemChildren.Add().Text("Child Item 2"); - }); - }) - %> - - - - - - Define when the item will be expanded on intial render. - - If true the item will be expanded. - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .Items(items => - { - items.Add().Text("First Item").Items(firstItemChildren => - { - firstItemChildren.Add().Text("Child Item 1"); - firstItemChildren.Add().Text("Child Item 2"); - }) - .Expanded(true); - }) - %> - - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The client events. - The view context. - - - - Defines the inline handler of the OnSelect client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TabStrip() - .Name("TabStrip") - .ClientEvents(events => events.OnSelect(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnSelect client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TabStrip() - .Name("TabStrip") - .ClientEvents(events => events.OnSelect( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnSelect client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .ClientEvents(events => events.OnSelect("onSelect")) - %> - - - - - - Defines the inline handler of the OnContentLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TabStrip() - .Name("TabStrip") - .ClientEvents(events => events.OnContentLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnContentLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TabStrip() - .Name("TabStrip") - .ClientEvents(events => events.OnContentLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnContentLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .ClientEvents(events => events.OnContentLoad("onContentLoad")) - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TabStrip() - .Name("TabStrip") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TabStrip() - .Name("TabStrip") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnError client-side event - - The action defining the inline handler. - - - <% Html.Telerik().TabStrip() - .Name("TabStrip") - .ClientEvents(events => events.OnError(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnError client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().TabStrip() - .Name("TabStrip") - .ClientEvents(events => events.OnError( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnError client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .ClientEvents(events => events.OnError("onError")) - %> - - - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The component. - - - - Defines the items in the tabstrip - - The add action. - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - %> - - - - - - Configures the client-side events. - - The client events action. - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .ClientEvents(events => - events.OnSelect("onSelect").OnLoad("onLoad") - ) - %> - - - - - - Binds the tabstrip to a sitemap - - The view data key. - The action to configure the item. - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .BindTo("examples", (item, siteMapNode) => - { - }) - %> - - - - - - Binds the tabstrip to a sitemap. - - The view data key. - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .BindTo("examples") - %> - - - - - - Binds the tabstrip to a list of objects - - The type of the data item - The data source. - The action executed for every data bound item. - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .BindTo(new []{"First", "Second"}, (item, value) - { - item.Text = value; - }) - %> - - - - - - Configures the effects of the tabstrip. - - The action which configures the effects. - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .Effects(fx => - { - fx.Slide() - .Opacity() - .OpenDuration(AnimationDuration.Normal) - .CloseDuration(AnimationDuration.Normal); - }) - - - - - - Selects the item at the specified index. - - The index. - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - .SelectedIndex(1) - %> - - - - - - Callback for each item. - - Action, which will be executed for each item. - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .ItemAction(item => - { - item - .Text(...) - .HtmlAttributes(...); - }) - %> - - - - - - Select item depending on the current URL. - - If true the item will be highlighted. - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .HighlightPath(true) - %> - - - - - - Defines the fluent interface for configuring child tabstrip items. - - - - - Initializes a new instance of the class. - - The item. - The context of the View. - - - - Contains constants for CSS class names - - - - - Active state of items - - - - - Button with plain text content - - - - - Button with an icon and text content - - - - - Button with an icon only - - - - - Bare button with an icon only (no background and borders) - - - - - Content - rendered around custom content - - - - - Default state of items - - - - - Disabled state of items - - - - - Group - rendered around grouped items (children) - - - - - Header - rendered on headers or header items - - - - - Hovered state of items - - - - - Icon - icon from default icon set - - - - - Image - image rendered through ImageUrl - - - - - Item - rendered on items - - - - - First in list of items - - - - - Last in list of items - - - - - Top in list of items - - - - - Bottom in list of items - - - - - Middle in list of items - - - - - Last in list of headers - - - - - Link - rendered on all links - - - - - Reset - removes inherited styles - - - - - Selected state of items - - - - - Sprite - sprite rendered in the begging of the item. - - - - - Widget - rendered always on the outmost HTML element of a UI component - - - - - Input - input rendered in the div wrapper - - - - - CheckBox - rendered on all checkbox - - - - - ToolBar - rendered on all toolbars - - - - - Alternating class for zebra stripes - - - - - Scrollable - rendered on all elements that wish to be scrollable on touch devices - - - - - Contains CSS classes for icons - - - - - "Delete" icon - - - - - "Delete Group" icon - - - - - "Minimize" icon - - - - - "Maximize" icon - - - - - "Close" icon - - - - - Contains CSS classes, used in the grid - - - - - Grid action - - - - - Container element for editing / inserting form - - - - - Container element for editing / inserting form - - - - - Toolbar which contains different commands - - - - - Contains CSS classes, used in the treeview - - - - - Class that shows treeview lines - - - - - Contains CSS classes, used in the editor - - - - - Button in editor toolbar - - - - - Color picker in editor toolbar - - - - - Editor tool icon - - - - - Editor custom tool - - - - - Editor textarea element - - - - Slider increase button. - - - Slider decrease button. - - - Horizontal splitter - - - Vertical splitter - - - Splitter pane - - - - UI primitives for Upload - - - - - Upload button - - - - - Contains CSS classes, used in the window - - - - - Window content area - - - - - Window title bar - - - - - A builder class for - - - - - Initializes a new instance of the class. - - The async settings. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save("Save", "Home", new RouteValueDictionary{ {"id", 1} }) - ) - %> - - - - - - Sets a value indicating whether to start the upload immediately after selecting a file - - true if the upload should start immediately after selecting a file, false otherwise; true by default - - - - - - - Sets the action, controller and route values for the save operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save("Save", "Home", new RouteValueDictionary{ {"id", 1} }); - ) - %> - - - - - - Sets the action, controller, route values and field name for the save operation - - Name of the action. - Name of the controller. - - The form field name to use for submiting the files. - The Upload name is used if not set. - - The route values. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save("Save", "Home", "attachment", new RouteValueDictionary{ {"id", 1} }); - ) - %> - - - - - - Sets the action, controller and route values for the save operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save("Save", "Home", new { id = 1 }); - ) - %> - - - - - - Sets the action, controller and route values for the save operation - - Name of the action. - Name of the controller. - - The form field name to use for submiting the files. - The Upload name is used if not set. - - The route values. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save("Save", "Home", "attachments", new { id = 1 }); - ) - %> - - - - - - Sets the action and controller for the save operation - - Name of the action. - Name of the controller. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save("Save", "Home"); - ) - %> - - - - - - Sets the action and controller for the save operation - - Name of the action. - Name of the controller. - - The form field name to use for submiting the files. - The Upload name is used if not set. - - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save("Save", "Home", "attachments"); - ) - %> - - - - - - Sets the route name for the save operation - - Name of the route. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save("Default"); - ) - %> - - - - - - Sets the route values for the save operation - - The route values of the action method. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save(MVC.Home.Save(1).GetRouteValueDictionary()); - ) - %> - - - - - - Sets the route and values for the save operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save("Default", "Home", new RouteValueDictionary{ {"id", 1} }); - ) - %> - - - - - - Sets the route and values for the save operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save("Default", new { id = 1 }); - ) - %> - - - - - - Sets the action for the save operation - - The type of the controller. - The action. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save<HomeController>(controller => controller.Save())); - ) - %> - - - - - - Sets the action, controller and route values for the remove operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Remove("Remove", "Home", new RouteValueDictionary{ {"id", 1} }); - ) - %> - - - - - - Sets the action, controller and route values for the remove operation - - Name of the action. - Name of the controller. - The route values. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Remove("Remove", "Home", new { id = 1 }); - ) - %> - - - - - - Sets the action and controller for the remove operation - - Name of the action. - Name of the controller. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Remove("Remove", "Home"); - ) - %> - - - - - - Sets the route name for the remove operation - - Name of the route. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Remove("Default"); - ) - %> - - - - - - Sets the route values for the remove operation - - The route values of the action method. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Remove(MVC.Home.Remove(1).GetRouteValueDictionary()); - ) - %> - - - - - - Sets the route and values for the remove operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Remove("Default", "Home", new RouteValueDictionary{ {"id", 1} }); - ) - %> - - - - - - Sets the route and values for the remove operation - - Name of the route. - The route values. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Remove("Default", new { id = 1 }); - ) - %> - - - - - - Sets the action for the remove operation - - The type of the controller. - The action. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Remove<HomeController>(controller => controller.Remove())); - ) - %> - - - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The component. - - - - Configures the client-side events. - - The client events configuration action. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events - .OnLoad("onLoad") - .OnUpload("onUpload") - ) - %> - - - - - - Enables or disables the component. - - true if the component should be enabled, false otherwise; the default is true. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Enable(false) - %> - - - - - - Enables or disables multiple file selection. - - true if multiple file selection should be enabled, false otherwise; the default is true. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Multiple(false) - %> - - - - - - Sets a value indicating whether to show the list of uploaded files - - true if the list of uploaded files should be visible, false otherwise; true by default - - - - Use it to configure asynchronous uploading. - - Use builder to set different asynchronous uploading options. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save("Save", "Compose") - .Remove("Remove", "Compose") - ); - %> - - - - - - Sets the localization culture of the upload. - - The culture. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Localizable("de-DE") - %> - - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The client events. - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnSelect client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnSelect(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnSelect client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnSelect( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnSelect client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnSelect("onSelect")) - %> - - - - - - Defines the inline handler of the OnUpload client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnUpload(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnUpload client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnUpload( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnUpload client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnUpload("onUpload")) - %> - - - - - - Defines the inline handler of the OnSuccess client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnSuccess(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnSuccess client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnSuccess( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnSuccess client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnSuccess("onSuccess")) - %> - - - - - - Defines the inline handler of the OnError client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnError(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnError client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnError( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnError client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnError("onError")) - %> - - - - - - Defines the inline handler of the OnComplete client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnComplete(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnComplete client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnComplete( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnComplete client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnComplete("onComplete")) - %> - - - - - - Defines the inline handler of the OnCancel client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnCancel(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnCancel client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnCancel( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnCancel client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnCancel("onCancel")) - %> - - - - - - Defines the inline handler of the OnRemove client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnRemove(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnRemove client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnRemove( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnRemove client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Upload() - .Name("Upload") - .ClientEvents(events => events.OnRemove("onRemove")) - %> - - - - - - An HTML Builder for the Upload component - - - - - Initializes a new instance of the class. - - The Upload component. - - - - Creates the upload top-level div. - - - - - - Creates the button text element. - - - - - - Creates the file input element. - - - - - - Builds the Upload component markup. - - - - - - Defines an interface for asynchronous upload settings - - - - - Defines the Save action - - - - - Defines the name of the form field submitted to the Save action. - The default value is the Upload name. - - - - - Defines the Remove action - - - - - Gets or sets a value indicating whether to start the upload immediately after selecting a file - - - - - Defines the asynchronous uploading settings - - - - - Initializes a new instance of the class. - - - - - Serializes the asynchronous uploading settings to the writer. - - The writer object. - - - - Defines the Save action - - - - - Defines the name of the form field submitted to the Save action. - The default value is the Upload name. - - - - - Defines the Remove action - - - - - Gets or sets a value indicating whether to start the upload immediately after selecting a file - - - true if the upload should start immediately after selecting a file, false otherwise; true by default - - - - - Telerik Upload for ASP.NET MVC is a view component for uploading files. - It supports the following features: - - Asynchronous uploading - Progress tracking - Multiple file selection - Drag & drop - - Note that some of the features depend on browser capabilities. - For more information, see the online documentation. - - - - - Initializes a new instance of the class. - - The view context. - The client side object writer factory. - - - - Writes the initialization script. - - The writer object. - - - - Writes the Upload HTML. - - The writer object. - - - - Represents the client-side event handlers for the component - - - - - Gets or sets a value indicating if the component is enabled. - - - true if the component should be enabled, false otherwise; the default is true. - - - - - Gets or sets a value indicating if multiple file selection is enabled. - - - true if multiple file selection should be enabled, false otherwise; the default is true. - - - - - Gets or sets a value indicating whether to show the list of uploaded files - - - true if the list of uploaded files should be visible, false otherwise; true by default - - - - - Defines the asynchronous uploading settings - - - - - Gets or sets the URL generator. - - The URL generator. - - - - The localization strings for the component - - - - - Represents the client-side events of the component. - - - - - Initializes a new instance of the class. - - - - - Serializes the client-side events. - - The writer object to serialize to. - - - - Defines the Load client-side event handler - - - - - Defines the Select client-side event handler - - - - - Defines the Upload client-side event handler - - - - - Defines the Success client-side event handler - - - - - Defines the Error client-side event handler - - - - - Defines the Complete client-side event handler - - - - - Defines the Cancel client-side event handler - - - - - Defines the Remove client-side event handler - - - - - Localization strings for the Upload component - - - - - Initializes a new instance of the class. - - The localization service. - The culture. - - - - Serializes the localization strings. - - The key. - The writer. - - - - Gets the Select string. - - The default value is "Select...". - - - - Gets the Cancel string. - - The default value is "Cancel". - - - - Gets the Retry string. - - The default value is "Retry". - - - - Gets the Remove string. - - The default value is "Remove". - - - - Gets the UploadSelectedFiles string. - - The default value is "Upload files". - - - - Gets the DropFilesHere string. - - The default value is "drop files here to upload". - - - - Gets the "uploading" status string. - - The default value is "uploading". - - - - Gets the "uploaded" status string. - - The default value is "uploaded". - - - - Gets the "failed" status string. - - The default value is "failed". - - - - Provides the factory methods for creating Telerik View Components. - - - - - Creates a - - - - <%= Html.Telerik().StyleSheetRegistrar() - .DefaultGroup(group => group - group.Add("Site.css") - .Add("telerik.common.css") - .Add("telerik.vista.css") - .Compressed(true) - ) - %> - - - - - - Creates a - - - - <%= Html.Telerik().ScriptRegistrar() - %> - - - - - - Creates a - - - - <%= Html.Telerik().Menu() - .Name("Menu") - .Items(items => { /* add items here */ }); - %> - - - - - - Creates a - - - - <%= Html.Telerik().Editor() - .Name("Editor"); - %> - - - - - - Creates a new bound to the specified data item type. - - - The type of the data item - - <%= Html.Telerik().Grid<Order>() - .Name("Grid") - .BindTo(Model) - %> - - - - Do not forget to bind the grid using the method when using this overload. - - - - - Creates a new bound to the specified data source. - - The type of the data item - The data source. - - - <%= Html.Telerik().Grid(Model) - .Name("Grid") - %> - - - - - - Creates a new bound to a DataTable. - - DataTable from which the grid instance will be bound - - - - Creates a new bound to a DataView. - - DataView from which the grid instance will be bound - - - - Creates a new bound an item in ViewData. - - Type of the data item - The data source view data key. - - - <%= Html.Telerik().Grid<Order>("orders") - .Name("Grid") - %> - - - - - - Creates a - - - - <%= Html.Telerik().Splitter() - .Name("Splitter"); - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().TabStrip() - .Name("TabStrip") - .Items(items => - { - items.Add().Text("First"); - items.Add().Text("Second"); - }) - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().DateTimePicker() - .Name("DateTimePicker") - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().DatePicker() - .Name("DatePicker") - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().TimePicker() - .Name("TimePicker") - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().Calendar() - .Name("Calendar") - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().PanelBar() - .Name("PanelBar") - .Items(items => - { - items.Add().Text("First"); - items.Add().Text("Second"); - }) - %> - - - - - - Creates a - - - - <%= Html.Telerik().TreeView() - .Name("TreeView") - .Items(items => { /* add items here */ }); - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().NumericTextBox() - .Name("NumericTextBox") - %> - - - Returns . - - - - - Creates a new . - - - - <%= Html.Telerik().CurrencyTextBox() - .Name("CurrencyTextBox") - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().PercentTextBox() - .Name("PercentTextBox") - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().IntegerTextBox() - .Name("IntegerTextBox") - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().Window() - .Name("Window") - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().DropDownList() - .Name("DropDownList") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().ComboBox() - .Name("ComboBox") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().AutoComplete() - .Name("AutoComplete") - .Items(items => - { - items.Add().Text("First Item"); - items.Add().Text("Second Item"); - }) - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().Slider() - .Name("Slider") - %> - - - - - - Creates a new . - - - - <%= Html.Telerik().RangeSlider() - .Name("RangeSlider") - %> - - - - - - Creates a - - - - <%= Html.Telerik().Upload() - .Name("Upload") - .Async(async => async - .Save("ProcessAttachments", "Home") - .Remove("RemoveAttachment", "Home") - ) - %> - - - - - - Creates a - - - - <%= Html.Telerik().Chart() - .Name("Chart") - %> - - - - - - Creates a new bound to the specified data source. - - The type of the data item - The data source. - - - <%= Html.Telerik().Chart(Model) - .Name("Chart") - %> - - - - - - Creates a new bound an item in ViewData. - - Type of the data item - The data source view data key. - - - <%= Html.Telerik().Chart<SalesData>("sales") - .Name("Chart") - %> - - - - - - Creates a new unbound . - - - - <%= Html.Telerik().Chart("sales") - .Name("Chart") - .Series(series => { - series.Bar(new int[] { 1, 2, 3 }).Name("Total Sales"); - }) - %> - - - - - - Creates a new UI component. - - - - - Creates a new . - - - - <%= Html.Telerik().NumericTextBoxFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().NumericTextBoxFor(m=>m.NullableProperty) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().IntegerTextBoxFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().IntegerTextBoxFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().CurrencyTextBoxFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().CurrencyTextBoxFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().PercentTextBoxFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().PercentTextBoxFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().DateTimePickerFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().DateTimePickerFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().DatePickerFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().DatePickerFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().TimePickerFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().TimePickerFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().TimePickerFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().TimePickerFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().DropDownListFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().ComboBoxFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().AutoCompleteFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().SliderFor(m=>m.Property) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().SliderFor(m=>m.NullableProperty) %> - - - - - - Creates a new . - - - - <%= Html.Telerik().RangeSliderFor(m=>m.Property) %> - - - - - - Enables zoom animation. - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The instance that is to be configured - - - - Configures the window to show a close button - - - - <%= Html.Telerik().Window() - .Name("Window") - .Buttons(buttons => buttons.Close()) - %> - - - - - - Configures the window to show a close button and sets a fallback URL for environments where JavaScript is turned off. - - The fallback URL - - - <%= Html.Telerik().Window() - .Name("Window") - .Buttons(buttons => buttons.Close(Url.Action("Home", "Index"))) - %> - - - - - - Configures the window to show a minimize button - - - - <%= Html.Telerik().Window() - .Name("Window") - .Buttons(buttons => buttons.Maximize()) - %> - - - - - - Configures the window to show a minimize button and sets a fallback URL for environments where JavaScript is turned off. - - The fallback URL - - - <%= Html.Telerik().Window() - .Name("Window") - .Buttons(buttons => buttons.Maximize(Url.Action("Home", "Index"))) - %> - - - - - - Configures the window to show a refresh button - - - - <%= Html.Telerik().Window() - .Name("Window") - .Buttons(buttons => buttons.Refresh()) - %> - - - - - - Configures the window to show a refresh button and sets a fallback URL for environments where JavaScript is turned off. - - The fallback URL - - - <%= Html.Telerik().Window() - .Name("Window") - .Buttons(buttons => buttons.Refresh(Url.Action("Home", "Index"))) - %> - - - - - - Configures the window to show no buttons in its titlebar. - - - - <%= Html.Telerik().Window() - .Name("Window") - .Buttons(buttons => buttons.Clear()) - %> - - - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The client events. - The view context. - - - - Defines the inline handler of the OnLoad client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnLoad(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnLoad client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnLoad( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnLoad client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnLoad("onLoad")) - %> - - - - - - Defines the inline handler of the OnOpen client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnOpen(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnOpen client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnOpen( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnOpen client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnOpen("onOpen")) - %> - - - - - - Defines the inline handler of the OnActivate client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnActivate(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnActivate client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnActivate( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnActivate client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnActivate("onActivate")) - %> - - - - - - Defines the inline handler of the OnClose client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnClose(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnClose client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnClose( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnClose client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnClose("onClose")) - %> - - - - - - Defines the inline handler of the OnMove client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnMove(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnMove client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnMove( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnMove client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnMove("onMove")) - %> - - - - - - Defines the inline handler of the OnResize client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnResize(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnResize client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnResize( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnResize client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnResize("onResize")) - %> - - - - - - Defines the inline handler of the OnRefresh client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnRefresh(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnRefresh client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnRefresh( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnRefresh client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnRefresh("onRefresh")) - %> - - - - - - Defines the inline handler of the OnError client-side event - - The action defining the inline handler. - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnError(() => - { - %> - function(e) { - //event handling code - } - <% - })) - .Render(); - %> - - - - - - Defines the inline handler of the OnError client-side event - - The handler code wrapped in a text tag (Razor syntax). - - - <% Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnError( - @<text> - function(e) { - //event handling code - } - </text> - )) - .Render(); - %> - - - - - - Defines the name of the JavaScript function that will handle the the OnError client-side event. - - The name of the JavaScript function that will handle the event. - - - <%= Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => events.OnError("onError")) - %> - - - - - - Sets path to the icon. - - Path to the icon. - - - <%= Html.Telerik().Window() - .Name("Window") - .Icon(Url.Content("~/Content/Icons/WindowIcon.png")) - %> - - - - - - Sets path and alternative text to the icon. - - Path to the icon. - Alternative text to the icon. - - - <%= Html.Telerik().Window() - .Name("Window") - .Icon(Url.Content("~/Content/Icons/WindowIcon.png"), "icon") - %> - - - - - - Sets title, which appears in the header of the window. - - - - - Sets the HTML content which the window should display. - - The action which renders the content. - - - <% Html.Telerik().Window() - .Name("Window") - .Content(() => - { - %> - <strong> First Item Content</strong> - <% - }) - %> - - - - - - Sets the HTML content which the window should display - - The Razor inline template - - - @(Html.Telerik().Window() - .Name("Window") - .Content(@<strong> Hello World!!!</strong>)) - - - - - - - Sets the HTML content which the item should display as a string. - - The action which renders the content. - - <%= Html.Telerik().Window() - .Name("Window") - .Content("<strong> First Item Content</strong>") - %> - - - - - Sets the HTML attributes of the content element of the item. - - The attributes. - - - <%= Html.Telerik().Window() - .Name("Window") - .Content(() => { %> <strong>First Item Content</strong> <% }) - .ContentHtmlAttributes(new {@class="first-item-content"}) - %> - - - - - - Sets the HTML attributes of the content element of the item. - - The attributes. - - - - Sets the Url, which will be requested to return the content. - - The route values of the Action method. - - - <%= Html.Telerik().Window() - .Name("Window") - .LoadContentFrom(MVC.Home.Index().GetRouteValueDictionary()); - %> - - - - - - Sets the Url, which will be requested to return the content. - - The action name. - The controller name. - - - <%= Html.Telerik().Window() - .Name("Window") - .LoadContentFrom("AjaxView_OpenSource", "Window") - %> - - - - - - Sets the Url, which will be requested to return the content. - - The action name. - The controller name. - Route values. - - - <%= Html.Telerik().Window() - .Name("Window") - .LoadContentFrom("AjaxView_OpenSource", "Window", new { id = 10}) - %> - - - - - - Sets the Url, which will be requested to return the content. - - The url. - - - <%= Html.Telerik().Window() - .Name("Window") - .LoadContentFrom(Url.Action("AjaxView_OpenSource", "Window")) - %> - - - - - - Configures the client-side events. - - The client events action. - - - <%= Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => - events.OnOpen("onOpen").OnClose("onClose") - ) - %> - - - - - - Enables windows resizing. - - - - <%= Html.Telerik().Window() - .Name("Window") - .Resizable() - %> - - - - - - Configures the resizing ability of the window. - - Resizing settings action. - - - <%= Html.Telerik().Window() - .Name("Window") - .Resizable(settings => - settings.Enabled(true).MaxHeight(500).MaxWidth(500) - ) - %> - - - - - - Configures the client-side events. - - The client events action. - - - <%= Html.Telerik().Window() - .Name("Window") - .ClientEvents(events => - events.OnOpen("onOpen").OnClose("onClose") - ) - %> - - - - - - Sets the width of the window. - - - - - Sets the height of the window. - - - - - Sets whether the window should be rendered visible. - - - - - Sets whether the window should have scrollbars. - - - - - Configures the effects of the window. - - The action which configures the effects. - - - <%= Html.Telerik().Window() - .Name("Window") - .Effects(fx => - { - fx.Zoom() - .Opacity() - .OpenDuration(AnimationDuration.Fast) - .CloseDuration(AnimationDuration.Fast); - }) - - - - - - Sets whether the window should be modal or not. - - - - - Sets whether the window can be moved. - - - - - Builder class for fluently configuring the shared group. - - - - - Initializes a new instance of the class. - - The default path. - The assets. - - - - Adds the group. - - The name. - The configure action. - - - - - Gets the group. - - The name. - The configure action. - - - - - - - - - - Executes the provided delegate that is used to configure stylesheets. - - The configure action. - - - - Executes the provided delegate that is used to configure scripts. - - The configure action. - - - - The web asset Configuration. - - - - - Gets the name of the section. - - The name of the section. - - - - Gets or sets a value indicating whether to use telerik content delivery network. - - - true if [use telerik content delivery network]; otherwise, false. - - - - - Gets the style sheets. - - The style sheets. - - - - Gets the scripts. - - The scripts. - - - - Web asset item configuration element. - - - - - Gets or sets the source. - - The source. - - - - Web asset item configuration collection. - - - - - Adds the specified element. - - The element. - - - - When overridden in a derived class, creates a new . - - - A new . - - - - - Gets the element key for a specified configuration element when overridden in a derived class. - - The to return the key for. - - An that acts as the key for the specified . - - - - - Gets the with the specified source. - - - - - - Web asset group configuration element. - - - - - Gets or sets the name. - - The name. - - - - Gets or sets the default path. - - The default path. - - - - Gets or sets a value indicating whether to use telerik content delivery network. - - - true if [use telerik content delivery network]; otherwise, false. - - - - - Gets or sets the content delivery network URL. - - The content delivery network URL. - - - - Gets or sets a value indicating whether this is enabled. - - true if enabled; otherwise, false. - - - - Gets or sets the version. - - The version. - - - - Gets or sets a value indicating whether this is compress. - - true if compress; otherwise, false. - - - - Gets or sets the cache duration in days. - - The cache duration in days. - - - - Gets or sets a value indicating whether this is combined. - - true if combined; otherwise, false. - - - - Gets the items. - - The items. - - - - Web asset group configuration collection - - - - - Adds the specified element. - - The element. - - - - When overridden in a derived class, creates a new . - - - A new . - - - - - Gets the element key for a specified configuration element when overridden in a derived class. - - The to return the key for. - - An that acts as the key for the specified . - - - - - Gets the with the specified name. - - - - - - The HttpHandler to compress, cache and combine web assets. - - - - - Initializes a new instance of the class. - - The asset registry. - The HTTP response compressor. - The HTTP response cacher. - - - - Initializes a new instance of the class. - - - - - Enables a WebAssetHttpHandler object to process of requests. - - The context. - - - - Gets or sets the default path of the asset. - - The default path. - - - - Gets or sets the name of the id parameter. - - The name of the id parameter. - - - - Contains default asset settings. - - - - - Gets or sets the style sheet files path. Path must be a virtual path. - - The style sheet files path. - - - - Gets or sets the script files path. Path must be a virtual path. - - The script files path. - - - - Gets or sets the version. - - The version. - - - - Gets or sets a value indicating whether assets should be served as compressed. - - true if compress; otherwise, false. - - - - Gets or sets a value indicating whether assets shoule be combined. - - true if combined; otherwise, false. - - - - Gets or sets the cache duration in days. - - The cache duration in days. - - - - Gets or sets a value indicating whether [use telerik content delivery network]. - - - true if [use telerik content delivery network]; otherwise, false. - - - - - Defines members that a class must implement in order to provide helper methods for resolving virtual path. - - - - - Returns the physical path for the specified virtual path. - - The virtual path. - - - - - Defines members that a class must implement in order to compress the response. - - - - - Compresses the response. - - The context. - - - - Defines members that must be implemented for cache the http response - - - - - Caches the response for the specified duration. - - The context. - The duration. - - - - Defines the read operaations of configuration. - - - - - Gets the section with the specified name. - - - Name of the section. - - - - - Defines the factory to create . - - - - - Creates a writer. - - The id. - The type. - The text writer. - - - - - Provides an attribute to change the enum value for client side. - - - - - Initializes a new instance of the class with the specified value for the client side. - - The value. - - - - Gets or sets the value for client side. - - The value. - - - - Encapsulates the ConfigurationManager object that contains methods for accessing System.Web.HttpRuntime.Cache object. - - - - - Gets the section with the specified name. - - - Name of the section. - - - - - Contains extension methods of IDictionary<string, objectT>. - - - - - Merges the specified instance. - - The instance. - The key. - The value. - if set to true [replace existing]. - - - - Appends the in value. - - The instance. - The key. - The separator. - The value. - - - - Appends the specified value at the beginning of the existing value - - - - - - - - - Toes the attribute string. - - The instance. - - - - - Merges the specified instance. - - The instance. - From. - if set to true [replace existing]. - - - - Merges the specified instance. - - The instance. - From. - - - - Merges the specified instance. - - The instance. - The values. - if set to true [replace existing]. - - - - Merges the specified instance. - - The instance. - The values. - - - - Contains extension methods of . - - - - - Requests the context. - - The instance. - - - - - Gets a value indicating whether we're running under Mono. - - true if Mono; otherwise, false. - - - - Gets a value indicating whether we're running under Linux or a Unix variant. - - true if Linux/Unix; otherwise, false. - - - - Encapsulates the HTTP intrinsic object that compress the response - - - - - Compresses the response. - - The context. - - - - Class use to resolve physical path for virtual path. - - - - - Returns the physical path for the specified virtual path. - - The virtual path. - - - - - Helper class for argument validation. - - - - - Ensures the specified argument is not null. - - The parameter. - Name of the parameter. - - - - Ensures the specified string is not blank. - - The parameter. - Name of the parameter. - - - - Ensures the specified array is not null or empty. - - - The parameter. - Name of the parameter. - - - - Ensures the specified collection is not null or empty. - - - The parameter. - Name of the parameter. - - - - Ensures the specified value is a positive integer. - - The parameter. - Name of the parameter. - - - - Ensures the specified value is not a negative integer. - - The parameter. - Name of the parameter. - - - - Ensures the specified value is not a negative float. - - The parameter. - Name of the parameter. - - - - Ensures the specified path is a virtual path which starts with ~/. - - The parameter. - Name of the parameter. - - - - Contains extension methods of . - - - - - Starts thread safe read write code block. - - The instance. - - - - - Starts thread safe read code block. - - The instance. - - - - - Starts thread safe write code block. - - The instance. - - - - - Contains the extension methods of . - - - - - Replaces the format item in a specified System.String with the text equivalent of the value of a corresponding System.Object instance in a specified array. - - A string to format. - An System.Object array containing zero or more objects to format. - A copy of format in which the format items have been replaced by the System.String equivalent of the corresponding instances of System.Object in args. - - - - Determines whether this instance and another specified System.String object have the same value. - - The string to check equality. - The comparing with string. - - true if the value of the comparing parameter is the same as this string; otherwise, false. - - - - - Determines whether this instance and another specified System.String object have the same value. - - The string to check equality. - The comparing with string. - - true if the value of the comparing parameter is the same as this string; otherwise, false. - - - - - Compresses the specified instance. - - The instance. - - - - - Decompresses the specified instance. - - The instance. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to "{0}" array cannot be empty.. - - - - - Looks up a localized string similar to You must use InCell edit mode for batch updates.. - - - - - Looks up a localized string similar to The Update data binding setting is required for batch updates. Please specify the Update action or url in the DataBinding configuration.. - - - - - Looks up a localized string similar to "{0}" cannot be negative.. - - - - - Looks up a localized string similar to "{0}" cannot be negative or zero.. - - - - - Looks up a localized string similar to "{0}" cannot be null.. - - - - - Looks up a localized string similar to "{0}" cannot be null or empty.. - - - - - Looks up a localized string similar to Cannot find a public property of primitive type to sort by.. - - - - - Looks up a localized string similar to Cannot have more one column in order when sort mode is set to single column.. - - - - - Looks up a localized string similar to Cannot route to class named 'Controller'.. - - - - - Looks up a localized string similar to Cannot use Ajax and WebService binding at the same time.. - - - - - Looks up a localized string similar to Cannot use PageOnScroll with Server binding.. - - - - - Looks up a localized string similar to Cannot use only server templates in Ajax or WebService binding mode. Please specify a client template as well.. - - - - - Looks up a localized string similar to "{0}" collection cannot be empty.. - - - - - Looks up a localized string similar to Multiple types were found that match the controller named '{0}'. This can happen if the route that services this request does not specify namespaces to search for a controller that matches the request. If this is the case, register this route by calling an overload of the 'MapRoute' method that takes a 'namespaces' parameter. - - The request for '{0}' has found the following matching controllers:{1}. - - - - - Looks up a localized string similar to Multiple types were found that match the controller named '{0}'. This can happen if the route that services this request ('{1}') does not specify namespaces to search for a controller that matches the request. If this is the case, register this route by calling an overload of the 'MapRoute' method that takes a 'namespaces' parameter. - - The request for '{0}' has found the following matching controllers:{2}. - - - - - Looks up a localized string similar to Controller name must end with 'Controller'.. - - - - - Looks up a localized string similar to The DataKeys collection is empty. Please specify a data key.. - - - - - Looks up a localized string similar to DataTable InLine editing and custom EditorTemplate per column is not supported. - - - - - Looks up a localized string similar to The Delete data binding setting is required by the delete command. Please specify the Delete action or url in the DataBinding configuration.. - - - - - Looks up a localized string similar to The Update data binding setting is required by the edit command. Please specify the Update action or url in the DataBinding configuration.. - - - - - Looks up a localized string similar to {0} should not be bigger then {1}.. - - - - - Looks up a localized string similar to Group with specified name already exists.. - - - - - Looks up a localized string similar to Group with specified name "{0}" already exists. Please specify a different name.. - - - - - Looks up a localized string similar to Group with "{0}" does not exist in {1} SharedWebAssets.. - - - - - Looks up a localized string similar to Group with specified name "{0}" does not exist. Please make sure you have specified a correct name.. - - - - - Looks up a localized string similar to InCell editing mode is not supported in server binding mode. - - - - - Looks up a localized string similar to InCell editing mode is not supported when ClientRowTemplate is used. - - - - - Looks up a localized string similar to Provided index is out of range.. - - - - - Looks up a localized string similar to The Insert data binding setting is required by the insert command. Please specify the Insert action or url in the DataBinding configuration.. - - - - - Looks up a localized string similar to Item with specified source already exists.. - - - - - Looks up a localized string similar to Local group with name "{0}" already exists.. - - - - - Looks up a localized string similar to The key with the following name "{0}" was not found. Please update all localization files.. - - - - - Looks up a localized string similar to Bound columns require a field or property access expression.. - - - - - Looks up a localized string similar to {0} should be less than {1}.. - - - - - Looks up a localized string similar to Name cannot be blank.. - - - - - Looks up a localized string similar to Name cannot contain spaces.. - - - - - Looks up a localized string similar to "None" is only used for internal purpose.. - - - - - Looks up a localized string similar to Only one ScriptRegistrar is allowed in a single request.. - - - - - Looks up a localized string similar to Only one StyleSheetRegistrar is allowed in a single request.. - - - - - Looks up a localized string similar to Only property and field expressions are supported. - - - - - Looks up a localized string similar to Paging must be enabled to use PageOnScroll.. - - - - - Looks up a localized string similar to The {0} must be begger then 0.. - - - - - Looks up a localized string similar to {0} must be positive number.. - - - - - Looks up a localized string similar to {0} should be bigger than {1} and less then {2}. - - - - - Looks up a localized string similar to The "{0}" class is no longer supported. To enable RTL support you must include telerik.rtl.css and apply the "t-rtl" class to a parent HTML element or the <body>.. - - - - - Looks up a localized string similar to Scrolling must be enabled to use PageOnScroll.. - - - - - Looks up a localized string similar to You must have SiteMap defined with key "{0}" in ViewData dictionary.. - - - - - Looks up a localized string similar to Source must be a virtual path which should starts with "~/". - - - - - Looks up a localized string similar to Specified file does not exist: "{0}".. - - - - - Looks up a localized string similar to Passed string cannot be parsed to DateTime object.. - - - - - Looks up a localized string similar to Passed string cannot be parsed to TimeSpan object.. - - - - - Looks up a localized string similar to The specified method is not an action method.. - - - - - Looks up a localized string similar to Time should be bigger than MinTime and less than MaxTime.. - - - - - Looks up a localized string similar to You cannot set Url and ContentUrl at the same time.. - - - - - Looks up a localized string similar to The value '{0}' is invalid.. - - - - - Looks up a localized string similar to The Url of the WebService must be set. - - - - - Looks up a localized string similar to You cannot add more than once column when sort mode is set to single column.. - - - - - Looks up a localized string similar to You cannot use non generic BindTo overload without EnableCustomBinding set to true. - - - - - Looks up a localized string similar to You cannot call render more than once.. - - - - - Looks up a localized string similar to You cannot call Start more than once.. - - - - - Looks up a localized string similar to You cannot configure a shared web asset group.. - - - - - Looks up a localized string similar to You must have to call Start prior calling this method.. - - - - - Initializes a new instance of the class. - - The default path. - - - - Finds the group with the specified name. - - The name. - - - - - Finds the item with the specified source. - - The source. - - - - - Adds the specified source as . - - The item source. - - - - Adds the specified source as in the specified . - - Name of the group. - The item source. - - - - Inserts the specified source as at the specified index. - - The index. - The item source. - - - - Inserts the specified source as at the specified index in the specified . - - The index. - Name of the group. - The item source. - - - - Inserts an element into the at the specified index. - - The zero-based index at which should be inserted. - The object to insert. The value can be null for reference types. - - is less than zero. - -or- - is greater than . - - - - - Replaces the element at the specified index. - - The zero-based index of the element to replace. - The new value for the element at the specified index. The value can be null for reference types. - - is less than zero. - -or- - is greater than . - - - - - Gets or sets the default path. - - The default path. - - - - Gets the asset groups. - - The asset groups. - - - - Gets the asset items. - - The asset items. - - - - Defines the fluent interface for configuring web assets. - - - - - Initializes a new instance of the class. - - Type of the asset. - The assets. - - - - Performs an implicit conversion from to . - - The builder. - The result of the conversion. - - - - Returns the internal collection. - - - - - - Adds a new web asset - - The source. - - - <%= Html.Telerik().ScriptRegistrar() - .Scripts(scripts => scripts.Add("script1.js")) - %> - - - - - - Adds a new web asset group. - - The name. - The configure action. - - - <%= Html.Telerik().ScriptRegistrar() - .Scripts(scripts => scripts.AddGroup("Group1", group => - { - group.Add("script1.js"); - } - )) - %> - - - - - - Adds the specified shared group. - - The name. - - - <%= Html.Telerik().ScriptRegistrar() - .Scripts(scripts => scripts.AddShareGroup("SharedGroup1")) - %> - - - - - - Executes the provided delegate that is used to configure the group fluently. - - The name. - The configure action. - - - - Initializes a new instance of the class. - - The name. - if set to true [is shared]. - - - - Gets or sets the name. - - The name. - - - - Gets or sets a value indicating whether this instance is shared. - - true if this instance is shared; otherwise, false. - - - - Gets or sets the default path. - - The default path. - - - - Gets or sets a value indicating whether Telerik content delivery network would be used. - - - true if [use Telerik content delivery network]; otherwise, false. - - - - - Gets or sets the content delivery network URL. - - The content delivery network URL. - - - - Gets or sets a value indicating whether this is disabled. - - true if disabled; otherwise, false. - - - - Gets or sets the version. - - The version. - - - - Gets or sets a value indicating whether this is compress. - - true if compress; otherwise, false. - - - - Gets or sets the cache duration in days. - - The cache duration in days. - - - - Gets or sets a value indicating whether this is combined. - - true if combined; otherwise, false. - - - - Gets the items. - - The items. - - - - Class used to build initialization script of jQuery plugin. - - - - - Initializes a new instance of the class. - - The id. - The type. - The text writer. - - - - Starts writing this instance. - - - - - - Appends the specified key value pair to the end of this instance. - - The key value pair. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and nullable value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - The default value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - if set to true [value]. - - - - - Appends the specified name and value to the end of this instance. - - The name. - if set to true [value]. - if set to true [default value]. - - - - - Appends the specified name and only the date of the passed . - - The name. - The value. - - - - - Appends the specified name and only the date of the passed . - - The name. - The value. - - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The action. - - - - - Appends the specified name and value to the end of this instance. - - The name. - The action. - - - - - Appends the specified name and value to the end of this instance. - - The type of the enum. - The name. - The value. - - - - - Appends the specified name and value to the end of this instance. - - The type of the enum. - The name. - The value. - The default value. - - - - - - Completes this instance. - - - - - Defines members that a class must implement in order to provide helper methods for resolving relative path. - - - - - Returns the relative path for the specified virtual path. - - The URL. - - - - - HTMLHelper extension for providing access to . - - - - - Gets the Telerik View Component Factory - - The helper. - The Factory - - - - Gets the Telerik View Component Factory - - The helper. - The Factory - - - - Container of scriptable component. - - - - - Registers the specified component. - - The component. - - - - Defines members that a class must implement in order to act as wrapper for script, - - - - - Gets the on page load start. - - The on page load start. - - - - Gets the on page load end. - - The on page load end. - - - - Gets the on page unload start. - - The on page unload start. - - - - Gets the on page unload end. - - The on page unload end. - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The style sheet registrar. - - - - Performs an implicit conversion from to . - - The builder. - The result of the conversion. - - - - Returns the internal style sheet registrar. - - - - - - Sets the asset handler path. Path must be a virtual path. - - The value. - - - <%= Html.Telerik().StyleSheetRegistrar() - .AssetHandlerPath("~/asset.axd") - %> - - - - - - Configures the . - - The configure action. - - - <%= Html.Telerik().StyleSheetRegistrar() - .DefaultGroup(group => group - .Add("style1.css") - .Add("style2.css") - .Combined(true) - ) - %> - - - - - - Executes the provided delegate that is used to register the stylesheet files fluently. - - The configure action. - - - - - Renders the - - - - <% Html.Telerik().StyleSheetRegistrar() - .Render(); - %> - - - - - - Manages ASP.NET MVC views style sheet files. - - - - - Used to ensure that the same instance is used for the same HttpContext. - - - - - Initializes a new instance of the class. - - The style sheets. - The view context. - The asset merger. - - - - Writes the stylesheets in the response. - - - - - Writes all stylesheet source. - - The writer. - - - - Gets or sets the asset handler path. Path must be a virtual path. The default value is set to WebAssetHttpHandler.DefaultPath. - - The asset handler path. - - - - Gets or sets the default group. - - The default group. - - - - Gets the stylesheets that will be rendered in the view. - - The style sheets. - - - - Gets or sets the view context. - - The view context. - - - - Class used to resolve relative path for virtual path. - - - - - Returns the relative path for the specified virtual path. - - The URL. - - - - - Wrap the script for the jQuery ready/unload events. - - - - - Gets the on page load start. - - The on page load start. - - - - Gets the on page load end. - - The on page load end. - - - - Gets the on page unload start. - - The on page unload start. - - - - Gets the on page unload end. - - The on page unload end. - - - - Defines the fluent interface for configuring the . - - - - - Initializes a new instance of the class. - - The asset item group. - - - - Performs an implicit conversion from to . - - The builder. - The result of the conversion. - - - - Returns the internal group. - - - - - - Sets whether Telerik content delivery network would be used. - - if set to true [value]. - - - - - Sets the content delivery network URL. - - The value. - - - <%= Html.Telerik().ScriptRegistrar() - .DefaultGroup(group => group.ContentDeliveryNetworkUrl("http://www.example.com")) - %> - - - - - - Enables or disables the group - - - - <%= Html.Telerik().ScriptRegistrar() - .DefaultGroup(group => group.Enabled((bool)ViewData["enabled"])) - %> - - - - - - Sets the version. - - The value. - - - <%= Html.Telerik().ScriptRegistrar() - .DefaultGroup(group => group.Version("1.1")) - %> - - - - - - Sets whether the groups will be served as compressed. By default asset groups are not compressed. - - - - <%= Html.Telerik().ScriptRegistrar() - .DefaultGroup(group => group.Compress(true)) - %> - - - - - - Sets the caches the duration of this group. - - The value. - - - <%= Html.Telerik().ScriptRegistrar() - .DefaultGroup(group => group.CacheDurationInDays(365)) - %> - - - - - - Sets whether the groups items will be served as combined. - - - - <%= Html.Telerik().ScriptRegistrar() - .DefaultGroup(group => group.Combined(true)) - %> - - - - - - Sets the defaults path of the containing . - - The path. - - - - - Adds the specified source as . - - The value. - - - <%= Html.Telerik().ScriptRegistrar() - .DefaultGroup(group => group.Add("script1.js")) - %> - - - - - - Manages ASP.NET MVC javascript files and statements. - - - - - Used to ensure that the same instance is used for the same HttpContext. - - - - - Initializes a new instance of the class. - - The scripts. - The scriptable components. - The view context. - The asset merger. - The script wrapper. - - - - Registers the scriptable component. - - The component. - - - - Writes the scripts in the response. - - - - - Writes all script source and script statements. - - The writer. - - - - Gets the framework script file names. - - The framework script file names. - - - - Gets the validation script file names. - - The validation script file names. - - - - Gets or sets a value indicating whether [exclude framework scripts]. - - - true if [exclude framework scripts]; otherwise, false. - - - - - Gets or sets a value indicating whether [exclude validation scripts]. - - - true if [exclude validation scripts]; otherwise, false. - - - - - Gets or sets the asset handler path. Path must be a virtual path. The default value is set to . - - The asset handler path. - - - - Gets the default script group. - - The default group. - - - - Gets or sets a value indicating whether [enable globalization]. - - true if [enable globalization]; otherwise, false. - - - - Gets the scripts that will be rendered in the view. - - The scripts. - - - - Gets the on document ready actions. - - The on page load actions. - - - - Gets the on document ready statements that is used in RenderAction. - - The on page load actions. - - - - Gets the on window unload actions. - - The on page unload actions. - - - - Gets the on window unload statements.that is used in RenderAction. - - The on page load actions. - - - - Gets the view context. - - The view context. - - - - Gets the script wrapper that is used to write the script statements. - - The script wrapper. - - - - Defines the fluent interface for configuring the component. - - - - - Initializes a new instance of the class. - - The script registrar. - - - - Performs an implicit conversion from to . - - The builder. - The result of the conversion. - - - - Returns the internal script registrar. - - - - - - Sets the asset handler path. Path must be a virtual path. - - The value. - - - <%= Html.Telerik().ScriptRegistrar() - .AssetHandlerPath("~/asset.axd") - %> - - - - - - Configures the . - - The configure action. - - - <%= Html.Telerik().ScriptRegistrar() - .DefaultGroup(group => group - .Add("script1.js") - .Add("script2.js") - .Combined(true) - ) - %> - - - - - - Enables globalization support. - - if set to true [enable]. - - - <%= Html.Telerik().ScriptRegistrar() - .Globalization(true) - %> - - - - - - Includes the jQuery script files. By default jQuery JavaScript is included. - - - Telerik Extensions for ASP.NET MVC require jQuery so make sure you manually include the JavaScript file - if you disable the automatic including. - - if set to true [enable]. - - - <%= Html.Telerik().ScriptRegistrar() - .jQuery(false) - %> - - - - - - Sets whether the jQuery validation script files will be registered. By default jQuery Validation JavaScript is included, if needed. - - - Telerik Extensions for ASP.NET MVC use jQuery validation - - if set to true [enable]. - - - <%= Html.Telerik().ScriptRegistrar() - .jQueryValidation(false) - %> - - - - - - Executes the provided delegate that is used to register the script files fluently in different groups. - - The configure action. - - - - - Defines the inline handler executed when the DOM document is ready (using the $(document).ready jQuery event) - - The action defining the inline handler - - - <% Html.Telerik().ScriptRegistrar() - .OnDocumentReady(() => - { - %> - function() { - alert("Document is ready"); - } - <% - }) - .Render(); - %> - - - - - - Defines the inline handler executed when the DOM document is ready (using the $(document).ready jQuery event) - - The code of the inline handler wrapped in a text tag (Razor syntax) - - - @(Html.Telerik().ScriptRegistrar() - .OnDocumentReady( - @<text> - alert("Document is ready"); - </text> - }) - ) - - - - - - Appends the specified statement in $(document).ready jQuery event. This method should be - used in Html.RenderAction(). - - The statements. - - - - - Defines the inline handler executed when the DOM window object is unloaded. - - The action defining the inline handler - - - <% Html.Telerik().ScriptRegistrar() - .OnWindowUnload(() => - { - %> - function() { - // event handler code - } - <% - }) - .Render(); - %> - - - - - - Appends the specified statement window unload event. This method should be - used in Html.RenderAction(). - - The statements. - - - - - Renders the - - - - <% Html.Telerik().ScriptRegistrar() - .Render(); - %> - - - - - - Web asset types. - - - - - None, used for internal purpose. - - - - - Stylesheet - - - - - Javascript - - - -