Click here to Skip to main content
15,883,336 members

Articles by Bahram Ettehadieh (Tip/Tricks: 7)

Tip/Tricks: 7

RSS Feed

Average article rating:

No articles have been posted.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.30

.NET
2 Aug 2011   Updated: 2 Aug 2011   Rating: 3.85/5    Votes: 20   Popularity: 5.00
Licence: CPOL    Views: 159,627     Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
This shows how to set or change the connection string for Entity Framework at run time (programmatically)
Web Development
ASP.NET
12 Jul 2011   Updated: 12 Jul 2011   Rating: 4.88/5    Votes: 7   Popularity: 4.12
Licence: CPOL    Views: 61,271     Bookmarked: 17   Downloaded: 0
Please Sign up or sign in to vote.
Using this code block, you can prevent simultaneous logins by a single User ID.
20 Jul 2011   Updated: 20 Jul 2011   Rating: 3.00/5    Votes: 3   Popularity: 1.43
Licence: CPOL    Views: 34,423     Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
By putting your intended content in a division as bellow, the button you set as default button will be hit when you hit enter button on any element which is in the division.
13 Jul 2013   Updated: 14 Jul 2013   Rating: 4.64/5    Votes: 9   Popularity: 4.43
Licence: CPOL    Views: 55,032     Bookmarked: 21   Downloaded: 0
Please Sign up or sign in to vote.
A simple way to implement "Dynamic Authorization" with the ability to assign permissions for actions to roles or users.
5 Jul 2011   Updated: 5 Jul 2011   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 12,810     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Maintain Query String after forms authentication cookie expires and the user is redirected to the login page.
4 Jul 2011   Updated: 25 Dec 2011   Rating: 4.88/5    Votes: 25   Popularity: 6.74
Licence: CPOL    Views: 94,386     Bookmarked: 32   Downloaded: 0
Please Sign up or sign in to vote.
This Tip/Trick shows how to make the website available only for the local clients
HTML
27 Jun 2011   Updated: 29 Jun 2011   Rating: 4.88/5    Votes: 16   Popularity: 5.74
Licence: CPOL    Views: 53,702     Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Make text of an html checkbox clickable (like ASP.NET control)

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
Web Developer
Iran (Islamic Republic of) Iran (Islamic Republic of)
I hold a BS degree in software engineering and am a Microsoft Certified Solution Developer(MCSD).
I have more than 8 years of experience in .NET developement, mostly web develop using C# and ASP.NET.