What is the difference between <%#%> and <%=%>?

Answer Posted / archana

The <%= expressions are evaluated at render time
The <%# expressions are evaluated at DataBind() time and
are not evaluated at all if DataBind() is not called.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define common type system?

574


Explain the difference between the web config and machine config.

614


What is the significance of attaching a profile while creating a user?

553


What is the usie of activex control in .net?

538


Is there any alternative to avoid name collisions other then Namespaces?

558






What is the namespace to create thread in .net?

514


How can you make sure that web api returns json data only?

506


Disable Mouse right click on web page in asp.net?

572


What is http pipeline in asp.net?

501


What is state management react?

499


What is directive in asp net?

529


Explain About WebService

641


Explain about asp.net caching?

562


How is the asp.net mvc architecture different from others? : asp.net mvc

468


Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?

536