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.
Unfortunately, activation email could not send to your email. Please try again.

Grid - issue with styles

Thread ID:

Created:

Updated:

Platform:

Replies:

105865 Nov 24,2012 06:02 AM Nov 27,2012 07:36 AM ASP.NET MVC (Classic) 1
loading
Tags: Grid
Kamil Bedkowski
Asked On November 24, 2012 06:02 AM

Hi,
I'm trying to add grid to my aplication.
Did all steps from:
http://help.syncfusion.com/User%20Interface/ASP.NET%20MVC/Grid

and from "behind" site everything seems to be ok.

BUT:

grid looks really bad-i'm pretty sure,that it don't see any css styles. But why?



Gowri S [Syncfusion]
Replied On November 27, 2012 07:36 AM

Hi Kamil,

 

Thanks for using Syncfusion Products.

 

We have created a sample for your convenience to display a grid. The same can be dowloaded from the following link :

 

http://www.syncfusion.com/downloads/Support/DirectTrac/101444/MvcApplication1-1787057034.zip

 

We suggest you to add reference for Syncfusion.Theme.Base.dll for versions 10.3.0.43 and 10.4.0.53 while using Grid.

 

In the above sample, we have added the following scripts in layout.cshtml :

 

    <script src="@Url.Content("~/Scripts/jquery-1.4.2.min.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/MicrosoftAjax.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/MicrosoftMvcAjax.js")" type="text/javascript"></script>

 

and added Syncfusion StyleManager and ScriptManager as :

 

    @(Html.Syncfusion().StyleManager()

        .Register(stylesheets =>

        {

            stylesheets.Add(ComponentType.Grid);

        }))

   

…………………………………………

…………………………………………

 

    @{Html.Syncfusion().ScriptManager().Render();}

 

Please let us know if you have any other concerns.

 

Regards,

 

Gowri S.

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.

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.

;