CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.web_parts_and_personalization Tags:
Item Type: Date Entered: 10/31/2009 7:15:15 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 0 Views: 9 Favorited: 0 Favorite
8 Items, 1 Pages 1 |< << Go >> >|
"4show" <>
NewsGroup User
Webpart,minimizeVerb and RestoreVerb10/31/2009 7:15:15 PM

0

 Can someone help me out. I really dont know what am doing wrong. I have a webpart that i have created. I added the webpartmanager and the webpartzone. I have utilised the minimizeVerb and restoreverb with the imageurl. when i go to view designer, i could see both the collapse and expand button but when i run it, I cant see them. what am i doing wrong. Please help.

"jaffal" <>
NewsGroup User
Re: Webpart,minimizeVerb and RestoreVerb11/1/2009 7:09:54 AM

0

what browser do you use?

and if you can post the code it would be appreciated. 


?First, solve the problem. Then, write the code.?
(John Johnson)
________________________________________________
Please mark as Answer if it helped you :)
"vinz" <>
NewsGroup User
Re: Webpart,minimizeVerb and RestoreVerb11/3/2009 12:45:05 AM

0

Try to add this line in page load:

WebPartManager1.DisplayMode = WebPartManager.DesignDisplayMode;


Regards, Vinz
SDE |Microsoft MVP - ASP/ASP.NET


~Currently looking for an overseas job opportunity~
"4show" <>
NewsGroup User
Re: Webpart,minimizeVerb and RestoreVerb11/3/2009 3:14:20 PM

0

 The browser that I am using is IE7

"4show" <>
NewsGroup User
Re: Webpart,minimizeVerb and RestoreVerb11/3/2009 3:15:25 PM

0

I will try adding that to the page load and see what happens. Thanks 

"4show" <>
NewsGroup User
Re: Webpart,minimizeVerb and RestoreVerb11/3/2009 8:01:09 PM

0

Hi, I have done what u said by adding the code snippet at the page load and when i run it i get this error; the specified dispay mode is currently disabled on this page.make sure personalisation is enabled for the current user.

 

"vinz" <>
NewsGroup User
Re: Webpart,minimizeVerb and RestoreVerb11/4/2009 1:57:16 AM

0

4show:
Hi, I have done what u said by adding the code snippet at the page load and when i run it i get this error; the specified dispay mode is currently disabled on this page.make sure personalisation is enabled for the current user.

Be sure to set  Authentication mode in your web config like:

 
<authentication mode="Windows" />
<authorization>
<allow users="*" />
<deny users="?" />
</authorization>

 

And set authorization scope for all users in your web.config file like:

    <webParts>
<personalization defaultProvider="SqlPersonalizationProvider">
<providers>
<add name="SqlPersonalizationProvider" type="System.Web.UI.WebControls.WebParts.SqlPersonalizationProvider" connectionStringName="AspNetDBConnectionString" applicationName="MSWebParts"/>
</providers>
<authorization>
<allow users="*" verbs="enterSharedScope"/>
<allow users="*" verbs="modifyState"/>
</authorization>
</personalization>
</webParts>

Please take a look at this post:Implementing ASP.NET WebParts with Different Authentication modes


Regards, Vinz
SDE |Microsoft MVP - ASP/ASP.NET


~Currently looking for an overseas job opportunity~
"4show" <>
NewsGroup User
Re: Webpart,minimizeVerb and RestoreVerb11/6/2009 2:49:44 PM

0

Thanks Vinz, it worked.

8 Items, 1 Pages 1 |< << Go >> >|


Free Download:







from a newbie cannot find system.web.ui.webcontrols.webparts

how to change the text of userscontrol's button which in a webpart?

advice about webpart developing methods

hi by puting the contreols in table for click event handling in web parts

sqltableprofileprovider issue

web parts personalization database errror

webpart layoutorientation="horizontal" add extra td

saving custom webpart properties

multiple tier web part connections

how to locate controls in zonetemplate?

how different is this from wss 2.0?

method inheritance (???)

cssclass for partchromestyle in webpartzone is useless?

creating pages

multi postbacks

is there a way to read out a webpart by its id?

smart navigation and moving web parts

image in title of webpart

web part not registered as safe - namespace

trying to add a verb menu to webpartverbcollection

duplicate webparts creation problem in asp.net 2.0

web part for share point

are any events fired when an editorzone updates personalization data?

url for personalization

default drag and drop enable in webparts

custom webparts and themes (pagetheme)

size of the verbs' panel.

profiles questions

sharepoint server portal 2007 and vb.net

web part .net 2.0 problem

webpart and partial postback

nested web parts

how can i show diffrent webparts for different groups in catalogpartzone

need help accessing other web parts titles

webpart question

how to store personalization information in custome tables.

web parts personalization conversion tool for nullable<t> beta 2 - to - rtm conversion issue

menu items are not attached to menu

programmatically setting groups on a site

how to set username for custom personalization provider

custom portal - how to

personalize profile settings

adding properties to the membership profile

move webpart problem

webparts do not work on mozilla firebird

finding webpart in pagecatalogpart of catalogzone

custom webpart like - www.bbc.co.uk

how to add webpart in zone on page load, page_prerender

need a few workarounds

modify style from code behind page

   
  Privacy | Contact Us
All Times Are GMT