14 July 2008
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.
just write
asp: Label
and press enter
asp:Label
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";
}
{
Office.CommandBarComboBox webControl1 = (Office.CommandBarComboBox)this.Application.ActiveExplorer().CommandBars.FindControl(26, 1740, missing, missing);
webControl1.Text = "www.sa-action.blogspot.com";
}
02 June 2008


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
Using MSDN Reader we can brows MSDN Magazine very easily.
This is available on WidowsClient.net


Download MSDN Reader
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">
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".
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".
Subscribe to:
Posts
(
Atom
)