I am creating a Windows Store app using HTML & JS. Here I want to provide a grid like interface to user with inline editing. Is their any control which is similar to jqGrid? I tried with jqGrid but it seems that jqGrid is not compatible with Windows Store App.
What is the best way to implement it?
Related
I'm writing an UWP app, in C# netcore. targeting min API 1809, with VS2019
I'm trying to add a ContentDialog that performs operations with storage files. And I want to add a FileExplorer control in that dialog. For selecting multiple files.
The Controls available in the XAML library, (and in the Community Toolkit Library) seems to lack the File Explorer Control. Like shown in the following image (from a very old software):
I want to add to my app something like in the image. A Visual Control for displaying files and folders, and allow to select them. Does it exists?
Please guys, I beg don't tell me to use the UWP TreeView Control because I think it sucks.
Thanks and regards!
UWP - Is there a File Explorer control?
UWP does not has exactly the same control like above screenshot, but it has TreeView control that could implement similar feature. Please check this document for more detail. And we also provide Xaml Control Gallery app that you could refer.
I need help please with getting started with MVC 4. I was asked to create a responsive index HTML page.
The output must be responsive and compatible for browser and mobile devices including the graphics.
The website is only graphics with a description of the image - and stores the path of the image and description in SQL Server. So, I need to use CSS to layout the images and connect to SQL to get the description and location of the images.
I need to also use CSS and I see that the project's SCRIPTS folder contains JQuery and Knockout.
I have never used MVC but figured that if they think I can do it then I will take it as a chance to finally learn MVC.
How can I start?
Thanks
To get you started I'll try to make the story short:
Server side
Asp.net mvc (generated dynamic html based on data from DB or other data sources)
Learn about Asp.net templates and Razor view engine.
Currently the visual studio template for Asp.net MVC project comes with all components required to make a website responsive like bootstrap.js/css, jquery.js etc.
Client side
Finally all has to be transformed into the HTML so you must be familiar with HTML 5. As almost all browser supports it.
You must know CSS.
You must learn using Bootstrap library and it's grid system.
Specific to you requirement focus on Images and how bootstrap apply css based on device size.
Target for smallest and largest device to manage your content sizing and adjustments.
Good luck!!
I'm feeling a bit lost with my question about HTML5 code generation, and despite having put some efforts into my research I don't really feel much wiser.
I use VS2010 for the creation of ASP.NET pages, and I do know that there is an (unofficial) "Web Standards Update" for VS2010 SP1. Using this update I can change the settings of the "Target Schema for Validation" in the ASPX editor window to HTML5. The new elements / tags and semantics are then available via Intellisense, and I can nicely code away manually using all the fancy new stuff.
What I don't understand is how to get something like the ASP.NET controls to generate HTML5 code (where it makes sense). Is this at all possible or am I completely going in the wrong direction here? I would have expected that I do not have to "hand code" HTML5 as long as I use the existing controls (which tend to generate a lot of JavaScript in the background when the page is delivered to the client's browser).
Thanks in advance for a clarifying answer
G.
Some controls generate slightly different dialects of HTML based on the particular User-Agent. However, not all of them know about HTML 5 yet, and there's no specific property to enable HTML 5 generation, just as there isn't a property to enable other dialects of HTML.
If you want to generate HTML 5, you can do one of three things:
Create a new control that overrides the existing one, and either use it directly or replace the original with it everywhere in your app with tag mapping
Create a control adapter and modify the control's output as it's generated
Create a custom control
The controls you are referring in ASP.NET are what is commonly known as "webforms". They are basically server side controls that generates the javascript code needed to postback the data to the server, mantain the state of the controls between postbacks, and stuff like that. As you said, those controls generate too much code and a excessive number of roundtrips to the server, so it is not very recommended to use webforms.
HTML5 is mainly client side, so it has very little to do with the webforms server controls. It's a different approach than the old ASP.NET webforms. Because of this, ASP.NET is including on its newer versions the MVC framework, the razor engine, JQuery and another javascriprt libraries. MVC includes some helper classes and templates that helps you generating the client code, and many other features to support HTML5 enabled webs. So, I would recommend to start reading about it.
Anyway, now that jquery is fully integrated in Visual Studio, javascript coding is not so difficult.
I have built a dynamic data asp.net site and I have scaffolding on. I want to be able to validate specific fields using specific regular expressions when the rows in grid view are in edit mode. I cannot seem to find up to date documentation from Microsoft on how to do this. Where can I go to find out how to accomplish this?
I think you can use client side or server side (remote) validation with JQuery validation plugin.
http://docs.jquery.com/Plugins/Validation. You can do it for dynamically added elements and for individual elements in the form too.
Here are some examples
http://www.zachhunter.com/2010/06/jquery-validation-with-asp-net/
http://encosia.com/using-jquery-validation-with-asp-net-webforms/
Is it possible to create a webbrowser inside a Flex (not AIR!) application?
I want to display some links in a Flex application and when a user clicks the links, it should open a custom component with some sort of a webbrowsing component. Is it possible?
Check this out:
http://www.deitte.com/archives/2006/08/finally_updated.htm
has a great example
if that doesn't work for you, look at this:
http://code.google.com/p/flex-iframe/
Short answer - no. There are some simple html rendering capabilities built-in but that's probably not what you're looking for.
Long answer - it's possible inside browser, eg. using IFrame, or using AIR, which has a built in broswer. If having an exe file and not an AIR file is a problem, AIR 2.0 allows you to create native application installers. Check it at Adobe labs.