The scenario is something like this.
1. On one page I have a tree view.
2. I select a node and add the node vale in a session variable.
3. On another page I have the treeview.
4. Here I fetch the session variable i.e. the selected node value.
Now I have to use this variable to automatically select the same node.
i wanted to do the same thing last year trying to port the examination system we used at my collage to C#... if your writing an exam you dont want students googling the questions... so thats a perfectly legit reason to want this...
Harvey Saayman - South Africa
.Net, C#, SQL
When i run my MDIChild style window the second time, it occured an error:
OutOfMemoryExcpetion-Create handle failed.I don't known why, because some child windows can't occured this error.
Code like below:
dlg.MdiParent = this;
The first time i run this code it work correctly, but when i run it again that error occured.
Thanks in advance!
I want to show my one child window twice, and the first time it worked correctly, but then:
at this code, it occured error "OutOfMemoryExcpetion" -Create handle failed.
ps: my some other windows like it wouldn't show suck error. And this is a child window of one MDI window.I don't known why?
Gareth, I think i need to get a new project to reproduce such problem because my original project has as many as 40 windows.Some work ok while others not.I don't known which code cause such errors and I will find out the codes exactly.
Later, I will show you more information for the errors.
Gareth,Thank you very much.