Author: Hardeep Singh

Change Project Name in Visual Studio

Hello Guys, In this post, I am going to describe how we can rename any project under a visual studio solution. I often needed to rename the project name and each time I have to google it to find the correct solution and further often have to do some brainstorming to find out the correct solution, …

Useful SQL queries for every day use

Our application requirement changes from day to day and same we have to do our work on the database side. There are n numbers of SQL operations we do in a database like creating tables, updating table, add columns, add foreign key relation and many more as per our requirements. As requirement comes I have to …

Hidden field not getting updated

In web application development we often need to use the hidden fields inside the form, the field may contains any data like primary key of table, username etc. Any data that we don’t want people see. So what will happened if your Hidden field not getting updated ? You whole module work flow may affected due to this problem. …

Page LoadComplete event not getting fired

Page LoadComplete event not getting fired, it actually works until you got something wrong. We will get to know later in this post why Page_LoadComplete was not working. So let’s get started. What was happening in my case that I had one base class (inheriting page class as normal) and that base class was further being inherited …

Request.IsAuthenticated always returning false MVC

I created new project and I did setup routes and other necessary functions, now it was turn for form authentication. I follow up all necessary steps, required to validate the user like creating cookie etc like below: var userData = JsonConvert.SerializeObject(serializeModel); var expiryDate = model.RememberMe ? DateTime.Now.AddDays(14) : DateTime.Now.AddDays(1); var ticket = new FormsAuthenticationTicket(1, model.UserName, DateTime.Now, …

Auto select menu using jQuery

Hello guys, today we’ll learn about How we can auto select menu using Jquery. The most common functionality in almost all websites is that to show selected menu which was previously clicked. There are many ways to do this, either we can achieve this using server side language or we can use jQuery or javascript(Almost all …

Some Useful Jquery Stuff

Hello World in this post,  I will share Some Useful Jquery Stuff that could be helpful for developing  any web application. When we make a web application, then we have to manage two things (functionality and cool UI). User Interface is very important part for each application, so that each functionality of website could be accessed by user …