adsense

Thursday, December 19, 2013

Change Asp.net Ajax tab page header from javascipt

This is not as straightforward as you might have thought. To access the tab pages use get_tabs()[indexOfTab] as shown below.

$find('ctl00_cphMainContent_tc1').get_tabs()[0]) ; // tab 0
$find('ctl00_cphMainContent_tc1').get_tabs()[1]) ; // tab 1

To set the tab header use the _header of the tab
 $find('ctl00_cphMainContent_tc1').get_tabs()[0]._header.innerHTML='Tab 0';
 $find('ctl00_cphMainContent_tc1').get_tabs()[1]._header.innerHTML='Tab 1';

Cheers
Samitha

Saturday, December 7, 2013

asp.net 4.0 mobile development

With the release of asp.net 4.0 and MVC 3.0 there has been a major changes in the mobile development. Following whitepaper discusses in detail how you would develop mobile web pages with asp.net 4.0 and MVC 3.0 .

http://www.asp.net/whitepapers/add-mobile-pages-to-your-aspnet-web-forms-mvc-application

cheers
Samitha