How to get the id of a webpart?

Sunday, May 30, 2010


WebPartManager1.WebParts(0).ClientID
this will get the ID of the first webpart in the webparts collection.


www.codecollege.NET

What is an Anti-Pattern?


In software engineering, an anti-pattern (or antipattern) is a pattern that may be commonly used but is ineffective and/or counterproductive in practice.


www.codecollege.NET

What is POX?


Plain old XML


www.codecollege.NET

What is POJO?


Plain old Java Object


www.codecollege.NET

What is POCO?


Plain Old C# Object


www.codecollege.NET

what are the 2 programming models supported by Silverlight?


1. JavaScript API for Silverlight
2. Managed API for Silverlight


www.codecollege.NET

What are the various generations in garbage collection?


0,1,2


www.codecollege.NET

Solution for WCF Configuration Editor error : "Configuration binding extension 'system.serviceModel/bindings/basicHttpBinding ' could not be found. "

<h4>
Change the binding from "WsHttpBinding" to "basicHttpBinding" in the web.config file or app.config file as follows,

<endpoint address="" binding="basicHttpBinding"
</h4>
<a href="http://www.codecollege.NET">www.codecollege.NET</a>

What are the transport mechanisms supported by WCF?


1. HTTP (ex : http:// or https:// )
2. TCP (ex : net.tcp :// )
3. Peer network (ex: net.p2p://)
4. IPC (Inter-Process Communication over named pipes) (ex: net.pipe://)
5. MSMQ (ex: net.msmq://)


www.codecollege.NET

What are the 4 main types of contracts in WCF?


1. Service
2. Data
3. Fault
4. Message


www.codecollege.NET

LinkWithin

Blog Widget by LinkWithin

Recommended Books