Is there a way to create a grid programmatically from the server side? All the examples are declarative.
For instance, I have a repeater control, and in the ItemDataBound event I'd like to conditionally render an igGrid and have control over it's initial settings/columns/etc... via the code-behind. The documentation is just as horrible as for the ASP.NET AJAX controls, worse in that it only has examples in C# too - so there's nothing I can find about doing this.
Hi,
Many of the examples have the grid configured fully in the controller, as opposed to the View. Some of them are, for instance:
http://samples.infragistics.com/jquery/grid/virtualization
Are you using the grid in an ASP.NET MVC application? we don't provide ASP.NET wrappers for the jQuery grids.
Also, all samples have VB.NET code generated and you can look at it by choosing the <Controller Name>.vb from the "Select Sample Source file to View" drop-down.
Thank you,
Angel
Ah, I was looking for ASP.NET not ASP.NET MVC. Will there be ASP.NET wrappers created in a later release?
We are not planning on writing wrappers for ASP.NET Web Forms around the jQuery product at the moment. The NetAdvantage for ASP.NET product is meant to cater that development platform.
We have created ASP.NET Web Forms warppers for a couple of jQuery controls like the Video Player & File Upload because there wasn't one available in that control stack. If we do build such controls down the road then we will continue to create ASP.NET Web Froms wrapper around it as well.
Hope this helps.
Regards,
Taz.
Can I put in my request/vote as a customer for ASP.NET Web Form wrappers? I use ASP.NET Web Forms, and while the WebDataGrid is nice, it doesn't fit the same niche that the jQuery grid does, even with its client-side binding. It'd be nice to be able to just configure the jQuery grid at the serverside for instances such as populating certain items in the itemdatabound event of a repeater control.
sure, we will keep your suggestion in mind. Thanks again