14 July 2008

08 July 2008

Create Online HTML from

Get all CSS free!!!


Click here

05 July 2008

Don't type too much in aspx page!

just write

asp: Label

and press enter

asp:Label runat=”server” id=”asp_Label2943″ />

Download this add-in from here

Unzip download and copy to :

C:\Documents and Settings\[USER]\Application Data\Microsoft\MSEnvShared\Addins

if you did not found "MSEnvShared" and "Addins" folder then create it manually.

24 June 2008

private void ThisAddIn_Startup(object sender, System.EventArgs e)
{

Office.CommandBarComboBox webControl1 = (Office.CommandBarComboBox)this.Application.ActiveExplorer().CommandBars.FindControl(26, 1740, missing, missing);

webControl1.Text = "www.sa-action.blogspot.com";

}

10 June 2008

Find, Download Cool Icon over the net,


Click Here.

02 June 2008

See this example:

This is a simple two classes "Property" and "Customer", you can see that "Cusomer" class has a method named "PropertyTest" and it will return "Property" class.

See the intelsense list.


but now this the same method intelsense list.



this is coding stuff for C#

29 April 2008

Convert code C# to VB and VB to C# online.



Click Here

02 April 2008

This is one kind of RSS Reader software.

Using MSDN Reader we can brows MSDN Magazine very easily.

This is available on WidowsClient.net







Download MSDN Reader

12 March 2008

Check that how strong or best password you have!!!



Click here

04 March 2008

I have a web page with master page.

Now there is a functionality to "Print This Page", but not full page only one table form that. and it's value comes form database.

There is one want to open a page and load that same information form database. but using javascript, it's become so easier.

Let's check...



you can see that, there is some content with master page, Now I just want to print detail page, but not master page.

so I need to give ID to that control which one I want to print,

for example:

table id="tblResult"

and right down some javascript into this page.

script language="javascript">

function OpenWindow()
{

var printContent = document.getElementById("tblPrint");
var sFeatures = "height=200,width=300,status=no,toolbar=no,menubar=no,location=no";

win = window.open("","Print", sFeatures);
win.document.write(printContent.innerHTML);
win.document.close();
win.focus();
win.print();
win.close();

}

script>


Now, right down onClick event = " OpenWindow()" in button.

Finally you click on "Print" button, It will open a new popup window and it will see also open a print dialogbox.




getElementById(IDName).innerHTML will do this job.

Now Visual Studio 2008 have small name of "
getElementById" and that is "$get".