You don't use WebAPI controllers to return HTML. You use them to load or change the raw data.
You can also use your WebAPI from other types of applications - WPF, Windows Store apps, mobile apps, etc.
Thanks for clearing all doubts my friend, its hard to do the things if we have done Web-farms long time and then worked only on back-end and middle tier for a while. I am sure I will enjoy programming the MVC and Web Api my friend, thanks again.
"There is already enough hatred in the world lets spread love, compassion and affection."
Use this code,
protectedvoid gv1_RowDataBound(object sender, GridViewRowEventArgs e)
Radiobuttonlb = e.Row.FindControl("rdbGVRow") as Radiobutton;
ClientIDMode="AutoID"for the Radiobutton
The basics of .NET Core are, that this framework is highly extensible. There is nothing, by default in it. You add everything from scratch. Angular, Node.js, NPM etc. They are all added by the developers and you have to add them yourself as well.
There are however, templates provided, that you can use to create a new project.
Just wondering if anyone has had some luck with integrating lightSlider, bootstrap and MVC.
I wrote something from scratch that worked better, but had trouble overlaying navigation over the pictures, otherwise it resized correctly with phones and desktops.
So I decided to try lightSlider since Sputnik was using it. Seems well written, but I can't figure out how to resize the pictures for various devices.
It's too tall for desktop use and wanted to scale it down. On phones in portrait, I get full picture height but it overflows hidden; and landscape it's just too tall for the screen.
Well I skipped over fixing the lightSlider and added the light-gallery to it. Then used my bower.json file to load both plugins automatically, and gulp to distribute the files correctly throughout the project. After getting all of that to work, I went back to doing research on the lightSlider and started going through a handful of tutorials.
Finally found this one Js Tutorial - lightSlider - A lightweight touchable responsive Content slider
Which seemed to offer the best information on how to set it up.
So if all boiled down to the config file. So to save any one having the same trouble, here's a sample of what I used.
Still messing with the responsive properties to see how they work. Now that I have a stronger foundation, I can now build it out.
Overall, this lightSlider plugin is pretty slick, and the guy did a nice job writing it.
im using grid view, i set page size to 10 record and also put search bar to search record, the problem is that when i search record it shows records that is about 30 on page change it is reset to the default rather then show record on page 2 related to my search
I don't have time to give you the table structures, but I can tell you that you want to design the solution with effective dates; meaning Emp A is currently earning 4 hrs per month towards his PTO (paid time off), next year he will be earning 4.25 hrs per month, etc.
You will need to have a background job which adds each employee's accrued hours to a current balance bucket, also you want to have an end of year job which zeros out any unused PTO (use it or lose it).
You will need to take into consideration that if Employee A is asking for a week of vacation in July, but it is only February, you will have to perform logic such as, Current Balance + future accrued balance is that enough time ?
Also take into consideration if 3 guys from the same department want to take time off the same week August to go fishing. Will you be able to run the business ?
Leave management is a tricky thing. Lots of things to consider.