BT Summit 2008 @ Bangalore Started in Grand Style

BT Summit

BT Summit

I had been this morning 8.30 am to the eagerly awaited BT Summit 2008 at Nimhans convention center and got registered. The inaugration ceremony was 10 mins late due to the Chief Guest got struck up in the bangalore traffic. The summit has been started with lightening the lamp by the chief guests Honourable Minister for Science & Technology, Shri. Asnotikar Anand Vasant &
Shri. M N Vidyashankar, CEO & E/o Principal Secy. to Govt., DPAR (Elections) .

Later the honurable chief minister given a welcome address and just briefed quickly about the software exports happening in Karnataka and I am so proud when he mentioned that 1/3 of software techies from india are working at Karnataka .More to enjoy was when he mentioned the plan to launch nano technology park which is really a great news for business enterprenurs,Software companies and IT enabled companies.

The first session started by 9.40 am with Manoj Saxena Vice President, Global Solutions and Assets, he leads the Business Solutions and Assets group for IBM’s industry solutions business. He was talking on a topic Business Transformation vs. SOA Transformation – Can I do Both? which was really good to know how the business needs can be transformed into SOA to take the advantages. He mentioned a real class example of telephone devices usage on later 1900 by plugging the jacks for to receive and send a call which is tightly coupled architecture and now we use mobile phones where when we press the call button the call gets immediately connected by identifying the services from the catalogue and creates a session until the call get hangs up which is loosly coupled architecture.

Corporations are transforming their business models in an attempt to increase revenue, operational efficiency and global competition by designing innovative business models and processes to be disruptive in their market space. The business leaders are looking for IT to provide and support the disruptive business models.

I will write more about the upcoming sessions in my next post…Watch out here

Ajax User Control in SharePoint

I have got a problem from one of my friend on using Ajax control on top of SharePoint and below is problem

Basically his user control consists of an update panel. The user control renders properly at the beginning & when I click on some button it posts back asynchronously and the things work as they should. The second time I click on any  button it does not posts back. He was also using a JavaScript control in the Page. In the web application “__doAsyncPostBack()function” works which is being called from “NodeClicked()function” but this function is not working on SharePoint site (It once/twice worked when I run through the debugger). So he made it working using “__doPostBack()function” in place of “__doAsyncPostBack()function”.


Solution for the above problem

By default sharePoint allow single post back for the AJAX update panel. This is because WSS emits submit wrapping javascript that tampers with how your page submits. It does this to ensure that urls that involve double byte (read unicode) characters post back appropriately. To get your  update panels working need  to remove this script. You can disable it by emitting the following javascript:

<script type=’text/javascript’>_spOriginalFormAction = document.forms[0].action; _spSuppressFormOnSubmitWrapper=true;</script>

Deploying ASP.NET UserControls(.ascx) declared in custom aspx pages into MOSS 2007 sites

Consider you are developing a custom  application in out of the box SharePoint for the ease of UI development and deployment ,you might need to also create user controls and use into your aspx pages.

While you are deploying usercontrols(.ascx) file ,you can follow below steps to get the usercontrols rendering in the custom aspx pages I found this way more simple and working 100% fine.

1. Create a Directory called “UserControls” in the root of your SharePoint web site on the file system E.g. C:\Inetpub\wwwroot\wss\VirtualDirectories\80\UserControls

2. Open IIS manager and in the root of your SharePoint site create a VirtualDirectory called “_controls” and point it to that newly created directory.

3. Put your user control in that newly created directory on the filesystem.

4. Open the web.config file and add the following:

<SafeControl src=”~/_controls/*” IncludeSubFolders=”True” Safe=”True” AllowRemoteDesigner=”True” />

Also make sure the trustlevel entry is set to the below

<trustLevel name=”WSS_Medium” policyFile=”C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\config\wss_mediumtrust.config” />
5. In your ASPX page change the existing register directive with the following:

<%@ Register src=”~/_controls/SomeControl.ascx” TagName=”somecontrol” TagPrefix=”uc1″ %>

6. Run your ASPX page and your control should render correctly.

Write me if you have any diffculties.

BT Summit 2008

From Sep 23-26 2008, Business Technology Summit will focus on some of the hottest technologies on India’s business technology radar that are charting pronounced inflection points in their evolution: SOA & Web Services, Virtualisation, SaaS/PaaS, and Enterprise Content Management (ECM). 

The summit presents a unique opportunity to learn and assimilate technology know-how, augment executive decision-making, understand best practices and case studies, and absorb the innovation excellence of experts from India, Europe, US, and Asia Pacific, in focused settings.

Luckily I have got registered through a company, TAROBY.

Awaiting for the summit eagerly.  I will write more after I attend the meet.