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: 8/6/2007 5:28:28 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 30 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
"mrajeshbabu" <
NewsGroup User
Click Event web parts in asp.net 2.08/6/2007 5:28:28 AM

0

 

i problem with the web parts

 when ever i click on one web part i must get the   web part in the same page to be minimized

how can i handel the click event of that web part to give notification to other web part

thanks

 

"Nai-Dong Jin -
NewsGroup User
Re: Click Event web parts in asp.net 2.08/8/2007 6:16:03 AM

0

Hi,

when ever i click on one web part i must get the   web part in the same page to be minimized  

First, i guess what you mean is get the other webparts in the same page to be minimized, right? In the event, you may get the WebParts name which you clicked first, and make a loop against all WebPart controls on your page, if set all WebPart control's ChromeState attribute to Minimized except the one you clicked. See the following sample:

            foreach (GenericWebPart gwps in this.WebPartManager1.WebParts) {

                // based on your own codes,try to verify if gwps.ID equals to the webpart's ID you clicked, if not {
            
                        gwps.ChromeState = PartChromeState.Minimized;
                }    
 Hope that helps. Thanks.
Sincerely,
Michael Jin.
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
"mrajeshbabu" <
NewsGroup User
Re: Click Event web parts in asp.net 2.08/8/2007 7:46:06 AM

0

hi

thanks worked fine

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


Free Download:













strange behavior when programmatically adding webpart to a webpartzone

webpartzone inside webpartzone - it is possible

live@edu in moss

personalization

what are web parts ?

configurable webpart in sharepoint

'untitled' showing up in web part catalog

tableprofileprovider on sandbox

webpartzone bgcoloring?

textbox with custom properties

custom catalogzone: how to skin?

webpartconnections with dynamically created parts

create a webpart in multiple languages

sharepoint masterpage

home page with out toolbar,address bar, menubar,title bar. status bar

large text input in property property grid editor part

web.config problem

save webpartzone width after posting

autoeventwireup and profile

how can i setting profile properties for others

datagrid hyperlinkcolumn popup

missing verbs on titlebar for webparts

remembering information using profile

accessing profile from a server control

custom catalog parts

please help! the webpart disappears when trying to move it

personalization with sql server

unable to change webpartdisplaymode when webform uses master page

using table profile provider: how to get the same user_id as in membership?

profile provider in

custom catalog zone

to webpart or not to webpart

i need to force the page_init method to run every time the page is accessed

nullreferenceexception when trying to access profile setting

dynamic pages of web parts

custom webpartzone properties reinitializing

passing parameter to pageviewerwebpart - change pageviewerwebpart contentlink programatically

profile settings safe for e-commerce?

mozilla firefox browser

when should i be using web parts

firefox and webparts

generic list in custom profile error

new to web parts - please help

setting profile properties programmatically

error:name 'ucase' not declared webpart vs 2005

custom webparts and their events

web part not registered as safe - namespace

web parts

good web parts demo (with code)

drag and drop web parts tutorial...

   
  Privacy | Contact Us
All Times Are GMT