Faraz Shah Khan

MCP, MCAD.Net, MCSD.Net, MCTS-Win, MCTS-Web, MCPD-Web

Browse by Tags

All Tags » ASP.NET 2.0 (RSS)
Error: Inconsistent accessibility: return type
In one of my projects I found this error Inconsistent accessibility : return type...................... is less accessible than method ......... It was a quite strange error for me as I have not seen the same in past. My classes were defined as: class...
Authentication using web.config Credentials
In one of my projects I have been asked to implement temporary security on sepcific module for internal usage and it was also suggested that I will not be putting more efforts on the same. First thing came in my mind was Membership/RoleProvider, but as...
File Upload control AJAX effect
Since long I was wondering on how I will be able to use FileUpload control inside UpdatePanel and I am sure there will be lot of other people who were expecting the same to be working. I found an intersting video article by Joe Stagner in which he described...
Mutually exclusive checkbox in GridView using Javascript
I response to one of my blog post entry I received few queries regarding mutually exclusive checkbox within GirdView, meaning if there are two checkboxes in a row only one can be selected at a time. If checkbox1 is selected and you select checkbox2 then...
Login through cookies
Different forums are filled with the questions regarding how to manually implement cookies for login or in other words how to implement "Remeber me" option. Following is the code that will give the idea of how to achieve this task. Controls used 1. TextBox...
Javascript to add bookmark option on your website
If you want to add an option that users can click a button on your website and it will open up bookmark option. Following is the code that will perform this task. <html> <body> <SCRIPT LANGUAGE="JavaScript"> function bookmark(url, description...
Javascript Enable/Disable Dropdown in Gridview using Checkboxes
If you come up with some requirement in which you have a Checkbox and a DropDownList in GridView control and you are requried to enable disable the DropDownList on the basis of the CheckBox value you can use following Code. --------------------------...
More Posts