Click here to Skip to main content
15,903,385 members

Comments by Member 13461662 (Top 7 by date)

Member 13461662 13-Oct-17 15:22pm View    
It's working now..I did two mistakes.
1.order of the scripts.i have changed all scripts to header part of the layout page.earlier few scripts was rendering below the body part.
2.jqGrid id "Importtbl", i was mentioned it as class.

Thank you so much Bryian for your support.

Member 13461662 13-Oct-17 14:01pm View    
I have removed all the scripts related to jquery css,jqgrid,migrate and browser.js.
and uncommented the jquery scripts in bundle.config.
I got error saying "Uncaught TypeError: $(...).jqGrid is not a function"


Then I added JqGrid related plugins jqgrid.css,grid.locale-en.js,jqgrid.min.js in layout page after rendering the jquery scripts from bundle.config.
I got error saying " Cannot read property 'msie' of undefined"

Then I added jquery-migrate-1.4.1.js file in layout page before jqgrid scripts.
It's showing like warning msg"JQMIGRATE: jQuery.browser is deprecated" and not calling importDATA method.

Now I am not using jquery.mb.browser.js.still i have issue..
Member 13461662 13-Oct-17 13:27pm View    
Do you want me to remove below scripts..?

jquery-ui-1.12.1.custom/jquery-ui-1.12.1.custom/jquery-ui.css
jquery.jqGrid-3.8.2/css/ui.jqgrid.css
jquery-3.2.1.min.js
jquery-migrate-1.4.1.js
jquery.mb.browser.js
jquery.jqGrid-3.8.2/js/i18n/grid.locale-en.js
jquery.jqGrid-3.8.2/js/jquery.jqGrid.min.js
Member 13461662 13-Oct-17 11:56am View    
This is my BundleConfig.cs

public static void RegisterBundles(BundleCollection bundles)
{
//bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
// "~/Scripts/jquery-{version}.js"));

//bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
// "~/Scripts/jquery.validate*"));

//// Use the development version of Modernizr to develop with and learn from. Then, when you're
//// ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
"~/Scripts/modernizr-*"));

bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
"~/Scripts/bootstrap.js",
"~/Scripts/respond.js"));

bundles.Add(new StyleBundle("~/Content/css").Include(
"~/Content/bootstrap.css",
"~/Content/site.css"));
}

I have commented Jquery scripts.because i am using scripts from layout.But I am using bootstrap and css from bundle which is rendered in layout page
Member 13461662 13-Oct-17 11:46am View    
I don't know some how my scripts are not posting here.
But i am using below scripts in layout page after
Styles.Render("~/Content/css")
jquery-ui-1.12.1.custom/jquery-ui-1.12.1.custom/jquery-ui.css
jquery.jqGrid-3.8.2/css/ui.jqgrid.css
jquery-3.2.1.min.js
jquery-migrate-1.4.1.js
jquery.mb.browser.js
jquery.jqGrid-3.8.2/js/i18n/grid.locale-en.js
jquery.jqGrid-3.8.2/js/jquery.jqGrid.min.js

Thank you so much for your response.