We can use metadata to add functionality to entities by adding properties in a metadata class with attributes that we can affect the behavior of entities implemented with partial class called metadata classes.
You can overwrite entity framework data model class by defining separate class using partial keyword.
If you want to get the data id value from the html element like anchor tag, button or li when the user clicks, you can get using $(this).attr(“data-id”) and in newer versions >=1.4.3 we can use $(this).data().
I got the following error while running the application; we needed to add Async attribute to the page directive and set the value is set to true.
You can create design dynamically popup dialog using jQuery on delete button click using the following script block. When the user clicks the yes button you can write code for deletion.
This JavaScript function helps you to check whether the domain name is valid or not using RegExp.
You must add type=”button” for the
You can get favicon.ico from the root folder of the website using Google web service, but this service is not guarantee they might remove it at anytime.
You can use HTML agility pack or XmlDocument and get favicon. The following code will bring the path of website’s icon.
A Linq query is translated to SQL to be performed against the database. Make sure you need to assign session or form request to a variable first and use this variable in the query