Get groups of entities from an entity collection with Linq and C#

0 Comments

If you want to get groups of entities from an entitycollection in C# you can use Linq: Assignment class using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Rvl.HelperTools.Common.BE { public class Assignment { public

Use javascript in *.ascx user control for a Telerik RadGrid EditForm

3 Comments

If you use an *.ascx user control to add new rows to the Telerik RadGrid and want to use javascript dynamically loaded, you can use the Telerik “RadScriptBlock”: <telerik:RadScriptBlock ID="radScriptBlock" runat="server"> <script language="javascript" type="text/javascript"> alert('Hello');

Keyboard Shortcuts

0 Comments

Microsoft Office Outlook http://office.microsoft.com/en-us/outlook/HP012303961033.aspx?pid=CH100788871033

Vertical align label (as block element) text and textbox text with CSS in ASP .NET

0 Comments

If you use a label and an input element as block element with CSS, you can’t use vertical-align, border-top, padding-top or margin-top for vertical alignment of the text values.   <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Rvl.HelperTools.Website._Default"

Alter CSS class with javascript for usage in ASP .NET

0 Comments

To alter a CSS class with javascript, you can use the following function: // Find the first css class based on parameter [className]. function GetStyleClass(className) { // Loop all loaded css style sheets for (var