Ive installed the trial version (2016.2 professional) and Idont have the ignite ui controller and view options available, how do i get these ?
Hi Mark,
Thank you for posting in our forums!
I realized you posted this thread before you came through on chat this morning asking about this issue.
During our chat, I suggested running the installer again and you chose to install all options.
Did installing everything help resolve this for you?
hi michael
im afraid it didnt fix the problem, I still have no scaffolding wizard
mark
Are you missing the whole scaffolding wizard, or just the options for the Ignite UI scaffolding?
Also, do you meet all 3 requirements listed on this page?
Looking forward to hearing from you.
I am sorry to hear you are experiencing some issues using the scaffolder. I am here to help you if you need it.
In regards to the grid not rendering, are you receiving any errors in the browser console when you run the page? I suspect the reason the grid is not rendering is because you have not included the required scripts on the page.
Our scaffolder will generate MVC wrapper widget declarations, as well as related Controller action methods. It will not include any script or CSS references.
You can find more information about what needs to be referenced in our documentation. I recommend going over the following documentation to get started:
1. http://www.igniteui.com/help/adding-netadvantage-controls-to-an-mvc-project2. http://www.igniteui.com/help/deployment-guide-javascript-resources3. http://www.igniteui.com/help/adding-the-required-resources-for-netadvantage-for-jquery
And about the semi-colon being added, I am able to reproduce this and am submitting it for the development team to address.
If you need any further assistance with this, please let me know and I will be glad to help.
finally managed to get the thing to build and run, loaded up the page with the grid on it, and.......nothing, no grid gets rendered, i give up !
looks like theres a bug in the scaffolder
.PrimaryKey("ContractId"); ---> its put a semi colon here
This whole thing is really flaky and is really putting me off purchasing these controls. The igniteUI scafolder adds a view (.cshtml page) this page contains no HTML whatsoever. The second time I used it, Im now getting these errors in the page
@using Infragistics.Web.Mvc; --> the namespace name Infragistics could not be found
@model IQueryable<CHPWeb.ViewModels.Contracts.ContractViewModel> ---> the type or namespace name IQueryable could not be found
@(Html.Infragistics() ---> the name HTML does not exist in the current context
.Grid(Model) ---> the name 'Model' does not exist in the current context
.PrimaryKey("ContractId"); ----> '} expected'
.UpdateUrl(Url.Action("SaveData")) ---> the name 'UpdateUrl does not exist in the current context'
how am I supposed to use these controls ? nothing seems to work
I still have a problem though, this is the code in the view that the scaffolder generated
@using Infragistics.Web.Mvc;@model IQueryable<CHPWeb.ViewModels.Contracts.ContractViewModel>@(Html.Infragistics() .Grid(Model) .ID("igGrid") .Width("600px") .Height("600px") .AutoGenerateColumns(false) .PrimaryKey("ContractId"); ---> error here .UpdateUrl(Url.Action("SaveData")) ----> error here .Columns(column => { column.For(x => x.ContractId).HeaderText("ContractId"); column.For(x => x.ContractEndUserOrg).HeaderText("ContractEndUserOrg"); column.For(x => x.ContractOrgName).HeaderText("ContractOrgName"); column.For(x => x.ContractStartDate).HeaderText("ContractStartDate"); column.For(x => x.ContractEndDate).HeaderText("ContractEndDate"); column.For(x => x.ContractCurrency).HeaderText("ContractCurrency"); column.For(x => x.ContractTradeUnitOfMeasure).HeaderText("ContractTradeUnitOfMeasure"); column.For(x => x.ContractRef).HeaderText("ContractRef"); column.For(x => x.ContractDate).HeaderText("ContractDate"); column.For(x => x.ClipSizePrdType).HeaderText("ClipSizePrdType"); column.For(x => x.ContractCommodity).HeaderText("ContractCommodity"); column.For(x => x.ContractBuySell).HeaderText("ContractBuySell"); column.For(x => x.ContractType).HeaderText("ContractType"); column.For(x => x.ContractMarket).HeaderText("ContractMarket"); column.For(x => x.ContractMarketLocation).HeaderText("ContractMarketLocation"); column.For(x => x.Strategy1Name).HeaderText("Strategy1Name"); column.For(x => x.Strategy1Percentage).HeaderText("Strategy1Percentage"); column.For(x => x.Strategy2Name).HeaderText("Strategy2Name"); column.For(x => x.Strategy2Percentage).HeaderText("Strategy2Percentage"); column.For(x => x.Strategy3Name).HeaderText("Strategy3Name"); column.For(x => x.Strategy3Percentage).HeaderText("Strategy3Percentage"); column.For(x => x.Strategy4Name).HeaderText("Strategy4Name"); column.For(x => x.Strategy3Percentage).HeaderText("Strategy4Percentage"); }) .Features(f => { f.AppendRowsOnDemand() .ChunkSize(25) .LoadTrigger(LoadTrigger.Auto); f.Filtering() .Mode(FilterMode.Advanced); f.Paging() .PageSize(25); f.Resizing(); f.Responsive(); f.Selection() .Mode(SelectionMode.Row); f.Updating() .EnableAddRow(true) .EnableDeleteRow(true) .EditMode(GridEditMode.Row); }) .DataBind() .Render())
there is no intellisense available so i cant modify the code myself to see what code options are available
also here
.PrimaryKey("ContractId"); -- > my IDE says '} expected'
and also here
.UpdateUrl(Url.Action("SaveData"))
my IDE says 'the name UdateUrl does not exist in the current context'
basically its unusable