or
Hi I've a problem with RadDock persistance First i create form and attach raddock and RadMenu with 1 item to it public partial class Form1 : Form |
{ |
string file = "a.xml"; |
HostWindow hw = null; |
public Form1() |
{ |
InitializeComponent(); |
this.FormClosing += new FormClosingEventHandler(Form1_FormClosing); |
hw = radDock1.DockControl(new TextBox(), DockPosition.Left); |
if (System.IO.File.Exists(file)) |
radDock1.LoadFromXml(file); |
} |
void Form1_FormClosing(object sender, FormClosingEventArgs e) |
{ |
radDock1.SaveToXml(file); |
} |
private void radMenuItem1_Click(object sender, EventArgs e) |
{ |
radDock1.DisplayWindow(hw); |
} |
} Now I run such app and: 1. Change TextBox to floating window 2. Hide it by closing 3. Show it by radMenuItem1 click It works as expected, but when I: 1. Change TextBox to floating window 2. Hide it by closing 3. Restart application 4. Show control by radMenuItem1 click Control appears as toolbox at dock container When i closed application without hiding settings are persisted beetwen runs How can i make it work? |
Hi,
I have two comboboxs in my Grid and i have 2 tables which stores bank name in the 1st table and the bank branch in the second table.i want that when i select bank name in the 1st combobox it will shows me the assigned branches for the selected bank in the 2nd Combobox in the Grid?
Which means every row will have different data in the 2nd Combobox
Is it possible? Please reply as soon as possible
Thanks in advance