Posts

Showing posts with the label ASP.NET AJAX

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 voi...

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 attrib...