What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?



What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key..

Answer / Gaurav Kumar

Type/Key pairs in client script registration are used to uniquely identify registered scripts. The 'type' represents the MIME type of the script (usually 'text/javascript'), and the 'key' is a string that provides a unique identifier for the script. There should not be two scripts with the same type/key pair name because it would lead to overwriting or unexpected behavior.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is the difference between session.abandon() vs clear()?

1 Answers  


whats the purpose of AUTOPOSTBACK property for the controls in asp.net?

4 Answers  


Is asp.net 64-bit enabled? How?

1 Answers  


WHAT IS polymorphism

2 Answers   Fidelity,


What is asp.net version?

1 Answers  


List the major built-in objects in asp.net?

1 Answers  


Advantage of data Reader?

2 Answers  


What is sql data source control in asp.net?

1 Answers  


What is data reader in asp.net?

1 Answers  


How to retrieve user name in case of Window Authentication?

1 Answers  


How may clustered index we can create in table?

1 Answers  


What are asynchronous callbacks ?

6 Answers   Accenture, BirlaSoft,


Categories