Ndrawingview in Normal layout not working as expected


https://www.nevron.com/Forum/Topic8581.aspx
Print Topic | Close Window

By Jaideep Tandon - 10 Years Ago
Hello Support,

I am using Ndrawingview component and set it layout to Normal (Fit, stretch etc are not useful for me). Following are some default behaviour which i want to change:

1) By default the first node (all child's under it are collapsed) is displayed at left-top location. How to set it to left-center (or left-middle)?
2) Decorators are added for few of the nodes. When those are expanded and collapsed again, the decorators still remain clickable in empty areas after collapse.
How to prevent this?
3) The output of Ndrawingview is image as shown in below example:
"img id="NDrawingView1_nevronImage" style="border: none;" src="NevronDiagram.axd?SessionGuid=034d108f-9abe-4ac4-b6cf-01ddca769fb3" alt="diagram image" title="" border="0""

a) By default if no size is given to this, it displays just as small DOT. And if some size is given (1024px X 768px), it displays contents within that size only. At runtime how to increase it?
b) whenever i click anywhere in empty area on image, it shows progressing circle. How i can avoid it and enables clicking only on decorator or node?

4) How to read state of a node (if it is collapse or expanded)? GetState is protected method hence we cannot use it.
5) How i can get click event on a particular node/shape? Once i get it, i want to drill down on a particular node. I want to make that as my root node. How to do that?
6) How i can export output of this nevron component into image?

It would be great if i get answers to all these at the earliest.

Thanks in advance.
By Nevron Support - 10 Years Ago
Hi,

Can you send a sample application that demonstrates the problem(s) to support@nevron.com. It is difficult to help you without having a sample application.