Showing posts with label Microsoft Visual Studio 2010. Show all posts
Showing posts with label Microsoft Visual Studio 2010. Show all posts

Sunday, 23 September 2012

GridView with static images

First: this should not be an image filed!
Second: Template Field



<Columns>
    <asp:TemplateField>
 <ItemTemplate>
  <img src="Images/Application_16.gif" />
 </ItemTemplate>
    </asp:TemplateField>
.
.
.
.
</Columns>

Wednesday, 15 August 2012

AJAX Control Toolkit Resizable Control handle disappears behinde Control

Increase X and\or Y offsets:


<ajaxToolkit:ResizableControlExtender ID="ReportViewer_Main_ResizableControlExtender" runat="server" Enabled="True" TargetControlID="ReportViewer_Main" HandleCssClass="HandleHand" HandleOffsetX ="16" HandleOffsetY ="0" MaximumHeight="600" MinimumHeight="600">



Note: Microsoft Report Viewer did not scale well when vertically re-sized, therefore I limited the re-size horizontally!

[OLE DB Source_Access [29]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.


That was an SSIS to transfer data from an Access DB 2007 into SQL Server 2012 using SSIS


[OLE DB Source_Access [29]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.
The AcquireConnection method call to the connection manager XXX"" failed with error code 0xC0209303.
There may be error messages posted before this with more information on why the AcquireConnection method call failed.


SET RUN 64 to False from the project properties:






Wednesday, 1 August 2012

Easy way to install AjaxControlToolKit for Visual Studio 2010



Now you have new menu item "Library Package Manager" inside "Tools" menu for Visual Studio 2010.
Visual Studio 2010--> Tools --> Library Package Manager


PM> Get-Package -Filter AjaxControlToolkit -ListAvailable
PM> Install-Package AjaxControlToolkit 

If you are behind a proxy, most probably you will be prompt for your account to pass it into downloading the package.

"Downloading..." in Visual Studio Status bar

Successfully installed 'AjaxControlToolkit 4.1.60623'.
Successfully added 'AjaxControlToolkit 4.1.60623' to Source.

References:
http://docs.nuget.org/docs/start-here/using-the-package-manager-console

Monday, 30 July 2012

Disable line wrap in Visual Studio 2010


Tools -> Options -> Text Editor -> HTML -> Formatting -> Tag Wrapping -> Wrap tags when exceeding specified length (uncheck, or adjust length)