Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Deloittte Interview Questions on .. Net {3+yrs experienced}

Answer Posted / abhinaw kaushik

3)How to call javascript from c# code under button_click
without using Button1.Attributes.Is there any method?

Ans : Easiest way will be call the javascript function
omClientClick oh button.

e.g.
test.aspx page

<script type="text/javascript">
function something()
{
if(true) //your logic goes here
{
return true
}
else
{
return false
}
}
</script>

<asp:button id="btnHit" runat="server" text="check"
OnClientClick="return something();">


----------------
Q. How to call javascript function from webform1 to webform2?

Ams : Put that javascript in a separate file e.g text.js

refer this src to all your aspx pages.
e.g.
<script type="text/javascript" src="test.ja"></script>

Is This Answer Correct ?    29 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i want the sample placement paper of goldman sachs urgently. please send it to me

4419


What kind of Issues/bugs arise in ETL projects? I would like to know few issues (critical to somewhat bugs ) normally occur in ETL process especially when testing? Domains can be banking, retail or any.

1902


what is difference between uv and visible spectroscopy and how to differentiate the drug compounds in uv visible region

2117


how did you celebrate your last birthday?

1796


Danlaw placement questions and answers

1870


If anybody knows the recruitment procedure of IOTL & POWER MECHANICAL. send me the placement papers if u hav... very urgent ...

4400


printf("%d",printf("%d",printf("%d",printf("%s","ILOVECPROGRAM")))); whats the output

1963


Hi.. Guys Im pranitha, presently im working in a organisation & im look for job at MNC's like DELL, Delloitte, Bank of America, Genpect, etc., I have completed B.com . Pls help me...

1642


why didn't get placed so far?

1701


what you will do when you struck in traffic ?

1485


Recently conducted Apptitude test

1953


what is bidirectional?

1880


email me previous question papers of bob bank for po exams

2498


aptitude

1143


What are the frequently asked questions for interview in capital iq company ?

1879