Posts Tagged ‘ASP.Net’

ASP.Net MVC installation failures continue

Microsoft officially released ASP.Net MVC 1.0 a few days after I unsuccessfully tried to install ASP.Net MVC RC2. I thought maybe the official version would work where RC2 failed, but alas, I got the same error from installation of 1.0. I scoured the Internet for information and found that the “Microsoft .NET Framework [...]

Continue reading »

ASP.Net MVC installation failure

I thought I should do some self-improvement by reading up on ASP.Net MVC framework. Step 1, download and install ASP.NET MVC Release Candidate 2.
Step 1a went smoothly – downloading a 1.7mb file typically works fine over broadband. Step 1b, installation, failed with the following errors in the log:

MSI (s) (24:50) [20:15:15:255]: Invoking remote custom [...]

Continue reading »

GridView DropDownList OnSelectedIndexChanged

I worked on a bug today that ‘bugged’ me for hours.  Basically I had a table (GridView) with a dropdown list (DropDownList) in each row.  The action associated with dropdown list change (OnSelectIndexChanged) only worked for rows on the first page.  The OnSelectedIndexChanged event was simply not triggered on page 2 onwards.
At first I thought [...]

Continue reading »

Must…read…till…the…end…

The project I just took over at work makes use of ASP.Net 2.0’s async page support. I haven’t had hands-on experience with this technology before, so I wanted to research on the web first. (Interesting how I have stopped reading technical books for research.)
I found a nice MSDN article and started reading. The first few [...]

Continue reading »

GridView, border-collapse, IE, and empty-cells

I came across two issues with Microsoft applications while trying to eliminating vertical cell borders in HTML tables using CSS.
GridView and border-collapse
ASP.Net 2.0’s GridView always emits something like the following:
<table style="border-collapse:collapse;" >
Turns out GridView is hardcoded to emit the style attribute and there is no way to override the behavior in layout [reference, reference].
There is [...]

Continue reading »

WebForm_PostBackOptions is undefined

Lately fellow developers had been experiencing "WebForm_PostBackOptions is undefined" JavaScript error when they access the web application that I am working on. This happened both in IIS and Cassini (VS2005’s test web server). While resources from the Internet told me that it’s a problem with accessing ASP.Net 2.0’s WebResource.axd, none of the suggested solutions (e.g. [...]

Continue reading »