To add some Java Script from code behind file, we can use RegisterStartupScript.
dim s as string = "<script language="JavaScript">alert(""hai"");</script>"
Page.ClientScript.RegisterStartupScript(Me.GetType(), "JScript", s)
To add some Java Script from code behind file, we can use RegisterStartupScript.
dim s as string = "<script language="JavaScript">alert(""hai"");</script>"
Page.ClientScript.RegisterStartupScript(Me.GetType(), "JScript", s)
To make an array an add the value to it from the code behind file, we can use RegisterArrayDeclaration function
In the below example, dttable is a datatable. value in the data table is assigned to the array.
For Each dr As DataRow In dtable.Rows
Page.ClientScript.RegisterArrayDeclaration(“ImageArray”, “‘” & dr(“Name”).ToString() & “‘”)
Next
Here, value in the column “Name” on the data table gets added to the “ImageArray”
1979 – Mrs. Margaret Thatcher transferred the telecommunication net work of the country in the hands of private enterpreneurs.
December 1986 – British gas
Feb 1987 - British Airways
June 1987 – Rolls Royce
July 1987 – British Airports Authority
India
1996 – Disinvestment commission was set up
1999 – Classification of strategic areas were redefined by the govt. to include only defence related, atomic energy undertakings and railway transport among strategic
2000 – Dept. of Disinvestment
Nearly 25 percent of the world’s farmers are in India.
Two-thirds of the India’s population of 1.1 billion depend on crop and animal husbandry, forestry and agro-forestry, fisheries and agro-processing for their livelihood.
Suicides mainly in AP
Causes are shift towards increasingly unreliable cash crops, the decline in institutional credit, the problems with input supplies and crop marketing, and the lack of alternative non-agricultural income opportunities, all contributing to the generalized agrarian crisis.
Over use of ground water
Blindly aping the World Bank model of agriculture, pumping huge finances to push in an industry – driven agriculture that has only exacerbated the crisis leading to an environmental catastrophe but also destroyed millions of rural livelihoods.
The WTO agreements, especially the removal of Quantitative Restrictions on imports, and as a result, the thoroghly unequal competition with heavily subsidized big corporate farmers from the Western countries have aggravated the crisis.
An accordion is created using Ajax control tool kit. Ajax tool kit is downloaded from the Codeplex site. Then added the “AjaxControlToolkit.dll” to the toolbox. The code is given below
<form id=”form1″ runat=”server”>
<asp:ScriptManager ID=”ScriptManager1″ runat=”server” />
<cc1:Accordion ID=”Accordion1″ runat=”server” SelectedIndex=”0″ HeaderCssClass=”AccordionHeader” ContentCssClass=”AccordionContent” FadeTransitions=”true” FramesPerSecond=”40″ TransitionDuration=”250″ AutoSize=”None” >
<Panes>
<cc1:AccordionPane runat=”server”><Header>
<a href=”" onclick=”return false;” class=”accordionLink”>Section 1</a>
</Header>
<Content>
Hai everybody</Content>
</cc1:AccordionPane>
<cc1:AccordionPane runat=”server”>
<Header>
<a href=”" onclick=”return false;” class=”accordionLink”>Section 2</a>
</Header>
<Content>
Hello everybody\
</Content></cc1:AccordionPane>
</Panes>
</cc1:Accordion>
<div>
</div>
</form>
Bodoland is an area located in the north bank of Brahmaputra river in the state of Assam in the north east region of India, by the foothills of Bhutan and Arunachal Pradesh
March 2 1987 – Official Bodoland movement started under leadership of Upendranath Brahma of All Bodo Students’ Union(ABSU)
Feb 20 1993 - ABSU/BPAC leadership ended with bipartite Bodo Accord and the BAC created
Feb 10 2003 – Bodo Territorial Council formed under the Sixth Schedule of the constitution of India
Dec 6 2003 – Bodo Liberation Tigers Force laid down weapons and its chief, Hagrama Mohilary, was sworn in as the Chief Executive Member of the interim BTC
2006 – Success of Mohilary faction in the Assam Assembly elections
Telangana - Telugu speaking areas of Hyderabad
3000 villages and 41,000 sq km area involved in revolt
1947 – Nizam tried to keep Hyderabad as separate state
July 1947 – Guerilla squads overthrowing local feudal village regimes
Sep 1948 – central govt. sent army
Nov 1949 – Forced to accede to India
Oct 1951 – Telangana movement had been suppressed
1952 – communist electoral victory
1953 – Based on recommendation of States Reorganisation Commission, Telugu speaking areas were separated from the former Madras states to form Andhra.
1956 – Telangana merged with Andhra to form Andhra Pradesh
Jan 1969 – Student agitation formed for the continuation of the ‘gentlemans agreement’ began at Osmania University in Hyderabad
M. Chenna Reddy founded Telangana People’s Association ( Telangana Praja Samiti)
1972 – Supreme court reversed the AP High Court ruling that the Mulki rules were unconstitutional
1982 – Telugu National Party by N.T.Rama Rao was formed
1983 – Victory of Telugu National Party in state election ended Congress domination
Hi All!! This is my first post. Hope this is a good idea for me.