protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack && !GridWeb1.IsPostBack) { LoadData(); // ExStart:SpecifySessionStorePath GridWeb1.SessionStorePath = "mytempdir/session"; // ExEnd:SpecifySessionStorePath } }