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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Using Grid in Dialog not showing scrollbar

Thread ID:

Created:

Updated:

Platform:

Replies:

118443 Mar 9,2015 10:49 AM UTC Mar 11,2015 01:25 PM UTC ASP.NET MVC (Classic) 3
loading
Tags: Grid
Sutthipong
Asked On March 9, 2015 10:49 AM UTC

I was using grid control inside Dialog control and enable scrolling in grid but when dialog was shown scrollbar disappear.
I must resize dialog to cause the scrollbar of grid to appear.

This is the grid code
@(Html.Syncfusion().Grid<FeedbackDetail>("tblDefect")
                .Datasource((IEnumerable<FeedbackDetail>)ViewData["DEFECT_LIST"])
                .Column(col =>
                {
                    col.Add(p => p.CreateDate).TextAlign(Syncfusion.Mvc.Grid.TextAlignment.Center).Width(100).HeaderText("Create Date").HeaderAlign(HeaderAlignment.Center);
                    col.Add(p => p.CreateTime).TextAlign(Syncfusion.Mvc.Grid.TextAlignment.Center).Width(100).HeaderText("Time").HeaderAlign(HeaderAlignment.Center);
                    col.Add(p => p.BodyNo).TextAlign(Syncfusion.Mvc.Grid.TextAlignment.Center).Width(100).HeaderText("Body").HeaderAlign(HeaderAlignment.Center);
                    col.Add(p => p.ItemName).TextAlign(Syncfusion.Mvc.Grid.TextAlignment.Center).Width(100).HeaderText("Item").HeaderAlign(HeaderAlignment.Center);
                    col.Add(p => p.DefectName).TextAlign(Syncfusion.Mvc.Grid.TextAlignment.Center).Width(100).HeaderText("Problem").HeaderAlign(HeaderAlignment.Center);
                    col.Add(p => p.Rank).TextAlign(Syncfusion.Mvc.Grid.TextAlignment.Center).Width(100).HeaderText("Rank").HeaderAlign(HeaderAlignment.Center);
                    col.Add(p => p.Type).TextAlign(Syncfusion.Mvc.Grid.TextAlignment.Center).Width(100).HeaderText("Type").HeaderAlign(HeaderAlignment.Center);
                    col.Add(p => p.CabType).TextAlign(Syncfusion.Mvc.Grid.TextAlignment.Center).Width(100).HeaderText("CAB").HeaderAlign(HeaderAlignment.Center);
                    col.Add(p => p.LotCode).TextAlign(Syncfusion.Mvc.Grid.TextAlignment.Center).Width(100).HeaderText("Lot").HeaderAlign(HeaderAlignment.Center);
                    col.Add(p => p.Color).TextAlign(Syncfusion.Mvc.Grid.TextAlignment.Center).Width(100).HeaderText("Color").HeaderAlign(HeaderAlignment.Center);
                    col.Add(p => p.Destination).TextAlign(Syncfusion.Mvc.Grid.TextAlignment.Center).Width(100).HeaderText("Destination").HeaderAlign(HeaderAlignment.Center);
                }).Width(750).Height(150).EnableScrolling())


Shanmugaraja K [Syncfusion]
Replied On March 10, 2015 08:52 AM UTC

Hi Sutthipong,

Thanks for using Syncfusion products.

Before we start to provide you a solution, could you please give the following information.

1.       Which dialog you have been using in your sample Syncfusion dialog or Jquery dialog?

2.       Did you using External Jquery script files in your sample?

Please let us know the above information with us. If you have using Jquery scripts explicitly in your sample, we suggest you to prevent loading of Syncfusion source jquery script files. The source scripts files can be unloaded by using the following code snippets in web.config file.

[Web.config]

<appSettings>

    <add key="webpages:Version" value="1.0.0.0"/>

    ….

   <add key="sfJqueryload" value="false"/>

</appSettings>

Also, please refer the below documentation link for further reference.

Documentation Link:  http://help.syncfusion.com/ug/asp.net%20mvc/documents/howtocustomizethejqu.htm

Please let us know if you need further assistance.

Regards,

Shanmugaraja K



Sutthipong
Replied On March 10, 2015 11:37 AM UTC

For your information I use Syncfusion Dialog with external Jquery script files.

And I will try using what was you suggest. I will feedback the result later.

Shanmugaraja K [Syncfusion]
Replied On March 11, 2015 01:25 PM UTC

Hi Sutthipong,

Thanks for your update.

We sorry about the inconvenience caused. We are unable to reproduce your reported issue with Syncfusion Dialog. We have created simple sample and video demonstrating of the working sample and the same can be downloaded from the following link.

Sample link: http://www.syncfusion.com/downloads/support/directtrac/118443/MvcApplication10-324262502.zip

Video link: http://www.syncfusion.com/downloads/support/directtrac/118443/dialog-175161599.zip

Please try the above sample and get back to us whether you are able to reproduce the issue. If not, could you please give more information about the issue if possible please provide your issue replicated sample with us. So that we can work on this and provide you a better solution.

Please let us now if you need further assistance.

Regards,

Shanmugaraja K



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;