Telerik ASP.NET MVC's Combobox page-loading - combobox

Does Telerik has a plan to make ASP.NET MVC's combobox have a feature of only fetching the data brought into view(as scrolled by user). The current ASP.NET MVC combobox fetch all rows even though they are not brought into view by the user. If they don't have that feature yet, I'm worried that ASP.NET MVC combobox would not scale in real-world usage.
contrast this ASP.NET MVC combobox:
http://demos.telerik.com/aspnet-mvc/combobox
with this ASP.NET combobox:
http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx

This feature is not available yet in the MVC combobox. You can specify some minimum number of characters that should be entered before an ajax request is made. Then on the server side filter the data so you don't return it all to the end user.

Related

Using the same ViewModel for a HTML and WPF view

It it possible to use the same ViewModel for a View implemented in C# (WPF) and a View in HTML ?
My goal is to be able to switch to a web View in the future, without rewriting everything.
Read about ASP.NET Core Blazor framework. Blazor allows you to mix C# code with HTML together, but it's not longer *.html format - the new format is called razor.

Know what changes are made into a database table, using Entity Framework Core

I am using Entity Framework Core for my project, and most of the things are customizable in my project like the public portal UI, and widgets, and these customization changes are reflected back to my database.
Now I want to be notified when a user makes any change to any of the widgets or styling from admin panel and also what changes he made.
Does Entity Framework Core provide such a functionality to track change of data?

Silverlight + WCF RIA service: Insert new data

My question look stupid... but let's ask:
I'm developing a Silverlight website... Data are on the server and I use WCF RIA and Linq to Entities to attack my data.
In My domain service of cource enable Modification on my several tables
I drop on my Silverlight app a Datagrid that fetch data on my table (let's call it tblCustomer for the example)
I've several webcast showing how easy it is to fetch data, update data BUT
I don't know how to INSERT data!!!
My grid is in edit mode.. but I'm not able to add a new row... and if I use the detail view.. it's the same...
Any one could provide help
Regards;
For adding new item you should do it manually: add button within which create and add new Item to collection that you're representing in DataGrid and you'll get new item in grid.
Note: If you're attempting to use MVVM - do same within ViewModel instead code-behind.

fill combo box in silverlight from database by coding in Service file

I have my Application in VS 2010 using Silverlight and lang C#.
My requirement is i have combo box on one of my XAML page name it as First.
I want to fill these combo box from the database,but as i cant access SQL client on XAML pages i will have to code in Service file and then use that in XAML to populate the combo box.
Can anyone provide me with code or method of how to complete this task.
Even a video tutorial will do.
Please answer at the eartliest.
These are a good place to start:
How to Consume WCF and ASP.NET Web Services in Silverlight
Get Started with WCF RIA Services.

can we add silverlight application in tool box of asp.net web application

can we add silverlight application to tool box of asp.net web form application so that instead of writing HTML to include silverlight application i can just drag n drop it from tool box.
You can't add a silverlight app directly to the tool box. However its fairly simple to create a WebControl whose Render method writes out the appropriate <object> element with the source param pointing at your applications xap.
You can even add some properties from which that your render code could generate an initparams <param> element.
This WebControl would automatically end up in the ToolBox allowing you to drag it on the design surface.
You might even consider detecting that the control is rendering in the design time and change the output to display a reasonable placemarker for it in the designer.
Some versions ago Silverlight had a Silverlight Server control.
There is still one available here.

Resources