ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
How do you add a javascript function for a link button in a
datagrid ?
 Question Submitted By :: Geethu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do you add a javascript function for a link button in a datagrid ?
Answer
# 1
onClintClick()
add the java funtion name and call it...
 
Is This Answer Correct ?    1 Yes 2 No
Rana Rashid
 
  Re: How do you add a javascript function for a link button in a datagrid ?
Answer
# 2
you can add a javascript function in the link button of the
datagrid under the itemdatabound event as below


e.item.findcontrol("linkbtnname")
linkbtn.attribute.add("onclick",javascript:returnfuctionname()");
 
Is This Answer Correct ?    1 Yes 1 No
Vishal Jani
 
 
 
  Re: How do you add a javascript function for a link button in a datagrid ?
Answer
# 3
After finding the link button
LinkButton.attribute.add("onclick",javascript:return 
testfunction();");
 
Is This Answer Correct ?    0 Yes 0 No
Subhash Saini
 
  Re: How do you add a javascript function for a link button in a datagrid ?
Answer
# 4
you can add a javascript function in the link button of the
datagrid under the itemdatabound event as below


linkbutton linkbtn=(linkbutton)( e.item.findcontrol
("linkbtnname"))
linkbtn.attribute.add("onclick",javascript:returnfuctionname
()");
 
Is This Answer Correct ?    0 Yes 0 No
Vidit Tyagi
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
One application have three forms for registration .submit button is at third form.after filling three forms only u have to click submit button.After clicking the submit button all the values in first,second& third form saved on sql server.how to handle this situation . TCS6
Where does Web.Config Info stored? Will this be stored in the registry? Accenture1
How would one do a deep copy in .NET? TCS4
version information is mentioned in which file AG-Technologies3
what are the levels of securities need to be considered for the finincial web application?  1
Explain autherization levels in .net ?  2
Which control would you use if you needed to make sure the values in two different controls matched?  3
what is diference between the .net1.0 & .net2.0 ? EMax2
What are different ASP.NET Web Forms with the technology different from though ASP (1.0-3.0)?  1
What are the different types of Session state management options available with ASP.NET?  1
What is view state and how this can be done and was this there in asp? Accenture8
Types of store procedure in Sqlserver?  2
Define ViewState and how can it be used?  3
what is difference between User Control,Custom Contro1,Web server control and template controls  1
Describe a diffgram ? Write any one use of that?  2
What are the disadvantages of view state / what are the benefits?  2
What is the difference between control and component?  2
In which form does the dataset store data in it? Verinon-Technology-Solutions3
When would you set a control's AutoPostBack property to true?  1
What?s a bubbled event? Visual-Soft5
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com