We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Size of Diagram WebControl

I want to increase width and height of Diagram WebControl.

If i specify the width and height for Diagram WebControl, after a specific measurement, Diagram control stops increasing in dimensions only the only the Div tag is increasing.

I attached a JEPG image which shows the problem.

I want the width for diagram webcontrol as 500px.

I hope you guys understood my problem...





Size Problem.zip

6 Replies

YG Yavanaarasi G Syncfusion Team January 17, 2008 10:33 AM UTC

Hi Sasi,

Thank you for your interest in Syncfusion products.

Diagram control stops increasing in dimensions only the only the Div tag is increasing:

I am not able to reproduce the issue that you mentioned here. I have created a simple sample to test this issue in our latest version 6.1.0.34 and it is available in the following link:

http://websamples.syncfusion.com/samples/Diagram.Web/6.1.0.34/F71115/main.htm

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample and send us the modified sample so that we could sort out the cause of the issue and provide you a solution?

Regards,
Yavana.G




SA Sasi January 18, 2008 06:13 AM UTC

Hi G.YavanaArasi,

Thank you for your fast response

Im using 5.2.0.25 Version.
can you please try your example in this version

Thanq
Sasi




YG Yavanaarasi G Syncfusion Team January 18, 2008 01:12 PM UTC

Hi Sasi,

Thank you for your interest in Syncfusion products.

I am not able to reproduce the issue in 5.2.0.25 version. Please refer the below video clip:

http://websamples.syncfusion.com/samples/Diagram.Web/5.2.0.25/diagram/main.htm

Please have a look at the above video clip and let me know if I am missing something.

Regards,
Yavana.G



SA Sasi January 21, 2008 05:14 AM UTC

Hi G.YavanaArasi,

I think i didn't explain my problem correctly.

Dimensions of diagram control which you have send me are 500px and 600px and it has scrollbars enabled.

I need the diagram control with width:5000px and height:2000px and scrollbars enabled
when the diagram control is created with the above dimensions, it is not showing the scrollbars

I saw that Diagram control is creating a div tag internally
and now
I want to fix the dimesions of this div, width:1000px and height:700px

so that it fixes into the webpage perfectly


I think you understood my problem


Thankyou for the Response
Sasi



YG Yavanaarasi G Syncfusion Team January 21, 2008 01:16 PM UTC

Hi Sasi,

Thank you for your interest in Syncfusion products.

1.I need the diagram control with width:5000px and height:2000px and scrollbars enabled:

I have created the diagram control with width 5000px and height 2000px and also the scrollbars enabled. Please refer

the sample in the below link which illustrates the above:


http://websamples.syncfusion.com/samples/Diagram.Web/5.2.0.25/F--71115/main.htm


2.I want to fix the dimesions of this div, width:1000px and height:700px

As per your requirement I have fixed the dimesions of this div, width:1000px and height:700px. Please refer the code

snippet:


$sdw:DiagramWebControl ID="DiagramWebControl1" runat="server" Height="700px" Width="1000px" />


Note:Instead of greater than symbol I have used $.


If I have misunderstood your requirement, could you please explain me in detail, so that I can work in
depth and try to send a better solution?

Regards,
Yavana.G



SA Sasi January 22, 2008 06:51 AM UTC


Hey YavanaArasi,

I got it...
we need to specify the size of diagram control dynamically.

Thanx for the Fast Response
Sasi


Loader.
Live Chat Icon For mobile
Up arrow icon