Author Archives: admin

Windows 8 preview

Microsoft is also baking cloud-based services like Windows Live, SkyDrive and Bing into all of its consumer products. Sign in on any device and you’ll have access to all of your content, apps, preferences and search history.

asp.net button: Open a popup window after a button click

<asp:button runat="server" ID="button1"  Text="popup"  ></asp:Button>

vb sample:


Protected Sub button1_Click(sender As Object, e As System.EventArgs) Handles button1.Click

Dim sb As New StringBuilder()
sb.Append("<script>")
sb.Append("window.open('http://www.galhano.com', '', '');")
sb.Append("</script>")

Dim cstype As Type = Me.GetType()

Page.ClientScript.RegisterStartupScript(cstype,"test", sb.ToString())

End Sub

Triggers in updatepanel (sample)

This sample shows how to trigger a updatepanel from a control outside of it:


<asp:UpdatePanel ID="uPanel1" runat="server" UpdateMode=Conditional >
<ContentTemplate>

<asp:TextBox ID="txtMyNumber" runat="server"></asp:TextBox>

<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID=uPanel1>
<ProgressTemplate>
<asp:Image ID="imgAjaxLoader" runat="server" ImageUrl="~/Icon/ajax-loader.gif"/> 
</ProgressTemplate>
</asp:UpdateProgress>

</ContentTemplate>

<Triggers>
<asp:AsyncPostBackTrigger ControlID ="btnUpdateMyNumber" />
</Triggers>

</asp:UpdatePanel>

<asp:Button  runat="server" ID="btnUpdateMyNumber" Text="Set My Number"  />

wp-plugin: SyntaxHighlighter

SyntaxHighlighter is a fully functional self-contained code syntax highlighter developed in JavaScript.

To get an idea of what SyntaxHighlighter is capable of, have a look at the demo page.

Easily post syntax-highlighted code to your site without having to modify the code at all. As seen on WordPress.com.

 

http://alexgorbatchev.com/SyntaxHighlighter/

Google Search by Image

Now you can explore the web in an entirely new way by beginning your Google search with an image. Learn more about images on the web and your own photos.

 

http://www.google.com/insidesearch/features/images/searchbyimage.html

Found Makes Searching For Files Anywhere Super Simple

 

http://techcrunch.com/

World Backup Day – March 31st

Don’t be an April Fool.
Backup your files.
Check your restores.

Remember to ensure your files are backed up on March 31st.

Backup your memories and financial information and check your old backup restores.

http://www.worldbackupday.com/

How to enable remote Connection sql server 2008

Error message:

“A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server)”

How to solve this issue?

There are a couple of things that might be going on here… (All of the following configurations are made on the computer running your SQL Server 2008 instance)

Allow remote connections to this server

The first thing you want to check is if Remote Connections are enabled on your SQL Server database. In SQL Server 2008 you do this by opening SQL Server 2008 Management Studio, connect to the server go to Properties -> Connections -> Check “Allow remote connections to this server”.

for further issues check  http://blogs.msdn.com/b/walzenbach

xRTML: eXtensible Realtime Markup Language is the language for Realtime.

xRTMLxRTML allows you to build real time enabled websites very easily in an html like language. With APIs for all the major server side languages such as ASP.Net, PHP, JSP and more.
Get to know more about xRTML! Go to Documentation

xRTML is just like HTML

Turn HTML into xRTMLUsing xRTML you can now unfold the power of Realtime and develop highly interactive websitesjust as if you were doing regular HTML. Adding our library is a breeze and, with as few as a single line of code, you can send and receive data to and from your users. One of them or ALL of them, simultaneously!”Part of the Realtime Framework, xRTML is a patented HTML-like markup language that allows you to add Realtime features to your website.”

Problem with Identity Specification in SQL…

Error message when changing the identity column to “Yes” and save the changes:

“Saving changes is not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table to be re-created.”

It’s not a bug. It’s a safety measure added to SQL 2008’s management studio to indicate that the change that you’ve requested to the table requires that the table be dropped and recreated.

It’s there so that people don’t ‘accidentally’ make changes in production that will take hours.

use “SET IDENTITY_INSERT” command, for more info, see SQL BOL.

Or turn off the warning under tools–>options–>designers–>table and database designers

uncheck prevent saving changes that require table re-creation