Posts

Showing posts from 2010

Resolving SSRS 2008 Deployment and Access Issues

If you are coming from SSRS 2005 background. You would be accustomed to the fact that SSRS is part of SQL server and at the same time, it is a web application in IIS.
So, when you want to configure the report server, you would tinker the IIS and SQL server management studio.

However, once you have upgraded the SSRS to be 2008. You would feel lost at first that all these familiar ways of doing things have changed. So, now, it is no longer depending on IIS seems. It has it's own http.sys.

These are all good as in term of technology improvement and progress but at developer end, it is nothing pleasant but confusion and frustration when trying to troubleshoot the problem developers encounter, especially for experienced SSRS developers. They suddenly have turned into rookies. Ok, to help those experienced developers out there. This is my take to experienced guys as this is what i have been through too.
First thing first, you have to accept the fact that technology advance quicker tha…

Roadblocks utilizing ASP.NET 3.5 and ASP.NET AJAX - part 2

This is a continuation of the previous post. (http://anthony-yio.blogspot.com/2010/03/roadblocks-utilizing-aspnet-35-and.html)


ASP.NET Dropdownlist with tooltip

Problem: Although it might occur to everyone that dropdownlist when the text in it is too lengthy, there should have some tooltip to show the text in the dropdownlist like "any" combobox in Windows. But to your surprise, this feature does not come for free on ASP.NET 1.1, 2.0, 3.0, 3.5 or may be even 4.0.

Resolution:

(quote from - http://forums.asp.net/p/903935/994720.aspx)

I have search many solutions, some used JQuery, some use CSS and etc. But i do not like to mess around too much with the CSS and Javascript/JQuery for this sort of thing since i am doing MVP+Controller model. A little or non scripting is preferred.
Therefore, it is to add the title attribute to the item

Add a ondatabound="ApplyOptionTitles" event to your DropDownList control.

Then implement in code-behind (C#) as follows:

protected void Ap…

Web Application Development - Browser Issues

I am sure anyone who have developed/run web application project before know how crucial the application compatible with the mainstream browser in the market. If you search in the google and look for the most rant about browser. It would be no surprise that IE is on top of the list. Ok. this is not a IE bash thread and never intended to be.
Because the relation of IE to the development team or business is actually a love and hate sentiment. Why?
thanks to IE, development team can focus only compatibility test on IE and ensure if it works there. The rest (not mainstream browser) on the other hand can be ignored (unfortunately, that would mean sayonara to my favorite Mozilla Firefox).

To cut the story short, let just explain based on my experience (it could vary on your experience, just my exposure) why people would rant about IE. They said, it is bad, but how bad is bad?

Most people would start off "trying" to make the application at least compatible with IE6. Because the older ve…

Continuous Integration Environment : Parser Error Message: The file XXX does not exist

This is something that definitely continuous integration able to identify.

Something to do with ASP.NET web page running well in development but not in the live environment or pre-screen - continuous integration environment.


Server Error in '/' Application.
--------------------------------------------------------------------------------

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The file '/XXX/XXXX.aspx.cs' does not exist.

Source Error:


Line 1:
Line 2: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="




For seasoned developers, if they have started development since .NET 1.1. This is something definitely they familiar with. Because, in the past, all this are not so automated in older version of Visual Studio.NET.So, in this case, it is the CodeFile direc…

Excel 2007 - Printing of excel sheet to fit to page size

The Ms Excel is a different animal when it comes to printing.
Because of the nature of the format, you could be selecting only a fraction of page/sheet or workbook to print.

For a casual excel user like me, this give inconvenient when all i care is to be able to print what i see on that particular page (or call sheet in excel).

Often time, you would see some fraction of the content is being crop out in the print out. Because of exceeded range, you need to resize the columns one by one so then to be able to see the print out in one page. This is time consuming and frustrating.

So, after some digging, I found my all time favorite Fit to Page printing function.

It is located in "Page Layout" segment.And then, there is a "Scale to Fit" band next to page setup band. (that is another frustration of using newer version of office , all the menu items have been revamped, need time to search for what you want like in the past version). However, this would not work magi…

My Experience of Prepaid Wireless Broadband

I do not hook up to internet that often after office hours, only once in a blue moon for research purposes. (after all, i get to connect to internet all day long in the office.)
It makes no sense for me to commit to the monthly flat rate plan , and thus I choose prepaid broadband for my non-office hours internet surfing.


Ok, I have done quite a bit of survey (that is just me, surveying even on these kind of menial stuff) - (comparison of packages as of today - 3 April 2010)

Oh, by the way, I have bought a D-Link WCDMA/HSDPA USB modem to test most of these packages. (No need to lock in to any packages just to get the bundled modem by any operator, it is the same standard HSDPA modem. It would work the same way. In fact, my D-Link modem has additional MicroSD card slot (for storage) and I can use the bundled software to send SMS. So, no need to top-up using my handphone, just the modem will do. )

Digi Limited Edition Prepaid Internet
-------------------------------------
RM10 5 days unlimit…

Roadblocks utilizing ASP.NET 3.5 and ASP.NET AJAX

Below is a listing of known bugs of the ASP.NET 3.5 and ASP.NET AJAX and the resolution.

Calendar control extender

http://forums.asp.net/p/1110311/2780472.aspx#2780472

Problem: Calendar extender would show random transparent weird popup upon clicking. (unbelievable that this can pass QA in the first place)
Resolution: Add a dummy CalendarExtender outside of updatepanel. The calendarextender might need to associate with a dummy invisible textbox and invisble image button too.

-----------------------------------------------------------

ASP.NET AJAX CalenderExtender again, this time on the days cells being blocked.

Problem: If you have a couple of CalenderExtender in your page and asking UI designer to design the CSS separately. You would be very likely getting this. The problem is the td, tr and div tag being overridden by the CSS .

Resolution: Have a more specific CSS for your calendarextender. The rule of CSS is the most specific one prevail.Use this (MyCalendar) in the CssClass attribute of …