Xcode Day 1: Tab Application
1. drag imageview to layout screen 2. select attribute inspector and chose image (right top layout) 3. ctrl+drag & drop imageview to Editor (FirstViewController.h ) 4. drag button to Editor…
1. drag imageview to layout screen 2. select attribute inspector and chose image (right top layout) 3. ctrl+drag & drop imageview to Editor (FirstViewController.h ) 4. drag button to Editor…
result out put // // ViewController.m // MyApplication2 // // Created by Local Admin on 7/8/56 BE. // Copyright (c) 2556 Local Admin. All rights reserved. // #import "ViewController.h" @interface…
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using DevExpress.Web.ASPxGridView; using DevExpress.Web.Data; using System.Drawing; using System.Collections; using System.Data; public partial class _Default : System.Web.UI.Page { protected…
เริ่มจากปรับในส่วนของ Events ของ Gridview แล้วใส่ Code protected void ASPxGridView2_DataBound(object sender, EventArgs e) { //if (Convert.ToBoolean(Session["expandAll"])) //((ASPxGridView)sender).DetailRows.ExpandAllRows(); ((ASPxGridView)sender).ExpandAll(); ((ASPxGridView)sender).SettingsDetail.ShowDetailButtons = true; //ASPxGridView gridView = sender as ASPxGridView; //gridView.JSProperties["cpSummary"] = gridView.GetTotalSummaryValue(gridView.TotalSummary["Used"]); }…