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
i want the sample placement paper of goldman sachs urgently. please send it to me
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.
what is difference between uv and visible spectroscopy and how to differentiate the drug compounds in uv visible region
how did you celebrate your last birthday?
Danlaw placement questions and answers
If anybody knows the recruitment procedure of IOTL & POWER MECHANICAL. send me the placement papers if u hav... very urgent ...
printf("%d",printf("%d",printf("%d",printf("%s","ILOVECPROGRAM")))); whats the output
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...
why didn't get placed so far?
what you will do when you struck in traffic ?
Recently conducted Apptitude test
what is bidirectional?
email me previous question papers of bob bank for po exams
aptitude
What are the frequently asked questions for interview in capital iq company ?