Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/uy/public_html/wp-includes/functions.php on line 6121
Devexpress Grid Layout save and restore – Umut Yazılım - Ümit AYDIN

Devexpress Grid Layout save and restore

Devexpress Grid Layout save and restore

private void btndizaynkatdet_Click(object sender, EventArgs e)
{
string yol = Application.StartupPath;
string fileName = yol + “\gridlayout\MarkaBazliSatislar.xml”;
pivotGridControl1.SaveLayoutToXml(fileName);
// …
}

    private void btnmarkabazlisatis_Click(object sender, EventArgs e)
    {
        string yol = Application.StartupPath;
        string fileName = yol + "\\gridlayout\\MarkaBazliSatislar.xml";
        try
        {
            pivotGridControl1.RestoreLayoutFromXml(fileName);
        }
        catch (Exception)
        {

        }

    }

Registry ye yazma okuma

string regKey = "DevExpress\\XtraGrid\\Layouts\\MainLayout";
advBandedGridView1.SaveLayoutToRegistry(regKey);
// ...
advBandedGridView1.RestoreLayoutFromRegistry(regKey);

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir