Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web Part Zone

Status
Not open for further replies.

asiruvur

Programmer
Mar 24, 2005
9
US
I'm developing a custom Web Part. Can I set the Web Part Zone always to the "Left Column" i.e., users cannot be able to drag and drop or add to any other column except the "Left Column". I tried adding the following lines to my web part onPreRender method:

this.ZoneID = "LeftColumn";
this.AllowZoneChange = false;

But this didn't work.
Any help is highly appreciated.
 
PLease share how you did it.
Thankx

When fustrated remember, In the computer world there is allmost always a backdoor.
 
Its pretty simple add those two line in the onLoad() overloaded method. It will work :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top