Posts

escaping character in javascript

escape ( "It's me!" ) Have Fun!

custom modal in ext.net

in ext.net you can use window for modal http://examples.ext.net/#/Window/Basic/Show/ but also sometimes this is handy :p     var winPanel = Ext.getCmp('panelWindowId');     if (!winPanel) {         winPanel = new Ext.Window({             title: 'SLA-Einhaltung gesamt in % nach Onsite Gruppen', //Title of the Window             id: 'panelWindowId', //ID of the Window Panel             autoHeight: true, //Height of the Window will be auto             width: 450, //Width of the Window             x: 400,             y: 120,             resizable: true, //Resize of the Window, if false - it cannot be resized             closable: true, //Hide close button of the Window         ...

get all the drop down list id and value from place holder c#

            // Retrieve the selected product options             string options = "";             foreach (Control cnt in Place.Controls)             {                 /*                 if (cnt is Label)                 {                     Label attrLabel = (Label)cnt;                     options += attrLabel.Text;                 }                 */                 if (cnt is DropDownList)                 {                     ...

dynamic dropDown

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.dropdownlist.dropdownlist.aspx

well c# data query site

http://coderscooler.com/2011/02/09/programmatically-querying-ms-sql-in-c/

ajax loader c#

Page: <% @ Page Title = "" Language = "C#" MasterPageFile = "~/RoseindiaMaster.master" AutoEventWireup = "true" CodeFile = "UpdateProgress.aspx.cs" Inherits = "UpdateProgress" %> < asp : Content ID = "Content1" ContentPlaceHolderID = "head" runat = "Server" > </ asp : Content > < asp : Content ID = "Content2" ContentPlaceHolderID = "ContentPlaceHolder1" runat = "Server" > < div > < h2 style = "color: Green" > UpdateProgress in ASP . NET 4 , C #</ h2 > < asp : ScriptManager ID = "ScriptManager1" runat = "server" > </ asp : ScriptManager > < asp : UpdateProgress ID = "UpdateProgress1" runat = "server" AssociatedUpdatePanelID = "UpdatePanel1" > < ProgressTemplate > < img alt = "" src = "Images/...

asp code standard

Nice .net coding standard tutorial Site Click Here