Below is the code to left align the text in UIAlertView.
UIAlertView *someAlert = [[UIAlertView alloc] initWithTitle:@”Alert" message:@”Here long Description goes." delegate: self cancelButtonTitle: @"Ok" otherButtonTitles: nil];
[someAlert show];
[someAlert release];
((UILabel*)[[someAlert subviews] objectAtIndex:1]).textAlignment = UITextAlignmentLeft;//left alignment
Thursday, December 2, 2010
Thursday, February 4, 2010
DevFest 2010 developer conference in Hyderabad and Pune
Google is excited to announce DevFest 2010 developer conference in Hyderabad and Pune in the month of february and march. This event is focused on sharing latest offerings for Google developer products : App Engine, Maps APIs, Chrome Extensions and Orkut APIs.
More information and to register click here
http://sites.google.com/site/devfest2010/
More information and to register click here
http://sites.google.com/site/devfest2010/
Sunday, January 17, 2010
Configuration file is not well-formed XML-ApplicationHost.config
This is totally IIS configuration related issue as applicationHost.config marked as corrupted. You may get this error due to various reasons unmanaged restoration, erroneous editing of applicationHost.config, etc. Here I am going to show you quick recovery method without going any deep. Technically we are going to restore the applicationHost.config file form IIS generated backups by using AppCmd.exe command line tool.
Go to the Command Prompt.
Change the path to > %windir%\system32\inetsrv\
Find the current backup list > %windir%\system32\inetsrv\appcmd.exe list backup
Select the latest backup by sequence number
Restore the backup > %windir%\system32\inetsrv\appcmd.exe restore backup
Go to the Command Prompt.
Change the path to > %windir%\system32\inetsrv\
Find the current backup list > %windir%\system32\inetsrv\appcmd.exe list backup
Select the latest backup by sequence number
Restore the backup > %windir%\system32\inetsrv\appcmd.exe restore backup
Wednesday, October 21, 2009
Dotnet Nuke
Recently started working on Dotnet Nuke CMS.
DotNetNuke provides extensive functionality out-of-the-box to create rich, functional and easy to use web sites. The content management system allows non-technical users to create and edit content, add custom features and personalize the site look and feel. It can be further expanded with addition of third party modules and tailored with custom graphics and layouts in a form of skins.
The DotNetNuke Corporation provides a free, open-source version of DotNetNuke called the Community Edition. It includes access to the source code of the entire framework and basic modules, and a BSD-style license [3] allowing very flexible modification and distribution rights.
DotNetNuke provides extensive functionality out-of-the-box to create rich, functional and easy to use web sites. The content management system allows non-technical users to create and edit content, add custom features and personalize the site look and feel. It can be further expanded with addition of third party modules and tailored with custom graphics and layouts in a form of skins.
The DotNetNuke Corporation provides a free, open-source version of DotNetNuke called the Community Edition. It includes access to the source code of the entire framework and basic modules, and a BSD-style license [3] allowing very flexible modification and distribution rights.
Wednesday, June 24, 2009
Disabling an ASP.Net Validators through Javascript
If you want disable the asp.net validator through javascript then use below code.
function doSomething()
{
var myVal = document.getElementById('myValidatorClientID');
ValidatorEnable(myVal, false);
}
function doSomething()
{
var myVal = document.getElementById('myValidatorClientID');
ValidatorEnable(myVal, false);
}
Subscribe to:
Posts (Atom)