Quantcast
Channel: Amir Aryani » ASP.NET
Browsing latest articles
Browse All 10 View Live

Image may be NSFW.
Clik here to view.

Not Authenticated => Redirect to login page

In the ASP classic, it is a common practice to use Session variable for the Authentication status and check the variable on each page to avoid unauthorized access. However, moving forward to ASP.Net...

View Article



Image may be NSFW.
Clik here to view.

Conflict in Form Authentication between two web sites

  I faced a problem with authentication which sounds like conflicting between  user identity between two web sites. Problem description: Two ASP.Net 2 web sites were deployed to the  production...

View Article

Image may be NSFW.
Clik here to view.

Order of events from Parent to Child ASP Pages

I wonder in which order the Form_Load events get fired when there is a hierarchy of pages, i.g., MyPage is inherited form ParentPage class, and ParentPage class is inherited from ParentParentPage . The...

View Article

Image may be NSFW.
Clik here to view.

Repair .Net 2: missing Netfx20a_x86.msi

In my previous post I mentioned about a repair process for .Net 2 in order to host WCF in IIS . However, after following Microsoft instruction on repair process you may face an annoying issue where...

View Article

Image may be NSFW.
Clik here to view.

ASP.Net menu does not work in IE8

The first problem which I found with the ASP.Net applications runing on IE8 was the dynamic menu. It does not invoke correctly as the default value for Z-Index is no longer valid for IE8. The problem...

View Article


Image may be NSFW.
Clik here to view.

Align a table in the middle of an HTML | XHTML page

In the past it was common to align a table in the middle of a HTML page using the following code: <div align="center"> <table> <tr> <td> Test String</td> </tr>...

View Article

Image may be NSFW.
Clik here to view.

Make the ASP:Login control centre

Following my previous post you cannot use “p” or “div” tags to align a ASP:Login control to the center of the page. So to get this done, you need to set the margin property of the control to “auto”....

View Article

Image may be NSFW.
Clik here to view.

White space (blank line) top of the ASP.Net Menu in IE8

Following my previous post about applying a hot fox for ASP.Net menu control, I discovered that the z-index is not the only issue to fix. ASP.Net control when it gets rendered in IE8 shows a gap on top...

View Article


Image may be NSFW.
Clik here to view.

Font size problem in exporting Crystal Report to PDF using ASP.Net

http://forums.asp.net/t/1212106.aspx I noticed a font size problem in exporting Crystal Report using Crystal 11.5 and ASP.Net 3.5.  In this case I needed to export a Crystal Report contains some...

View Article


Image may be NSFW.
Clik here to view.

How to push (insert) HTML to a UpdatePanel

It is often useful to insert HTML code in an ASP.net page from the code behind. This can be achieved using an update panel as demonstrated below: UpdatePanel1.ContentTemplateContainer.Controls.Add(new...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images