473,394 Members | 1,761 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to trap WebPart closed event?

Hi,

Is there a way to write some code to do some stuffs after a WebPart has been
closed? I want to store the state of the WebPart in the user's profile so
that I can determine if a particular WebPart is "visible" or not from other
Web pages.

Thanks,
Michael
Dec 12 '05 #1
1 1291
I was looking in the wrong places. The event is from the WebPartManager.
"Michael" <no****@nospam.com> wrote in message
news:eB**************@TK2MSFTNGP11.phx.gbl...
Hi,

Is there a way to write some code to do some stuffs after a WebPart has
been closed? I want to store the state of the WebPart in the user's
profile so that I can determine if a particular WebPart is "visible" or
not from other Web pages.

Thanks,
Michael

Dec 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: MuZZy | last post by:
Hi, How do i notify the main MDI form that one of the child forms got closed? Thank you Andrey
1
by: hernan.silberman | last post by:
Hi folks, I'm new to Windows programming and am diving into managed Visual C++. I'm trying to tie an event handler to the closing of a Form and I need help understanding what I'm doing wrong. ...
3
by: Denon | last post by:
How to trap browser close event in SERVER side? I read a lot of forum message, it talk about onclose(), onunload() and even onbeforeunload() event. However, all of theses are based on javascript...
2
by: Haim | last post by:
Is there a away to detect when the remote side closed the connection? in the old vb6 winsock object there was an Event raised when the remote side Closed the socket connection, Socket_Closed
1
by: YYZ | last post by:
I've got a form in my application. From this form, I showdialog another form, like this: dim f as new frmWhatever f.someprop = somevalue f.showdialog() f.OkToClose = True f.close f = nothing
4
by: Marc the Demi-Programmer | last post by:
I have a rather simple form that takes a user name and password, validates it, and loads another form. All this is done in the click event for the one and only button on the form. Everything...
2
by: fuehrer | last post by:
Hi guys, Is there any way i can trap the click event of the close, refresh, back,home and the forward button? Also i need this to work for both firefox and IE. I'm new to JS so please make it as...
1
by: JDeats | last post by:
If you create a new C# Windows Application project in Visual Studio.NET 2003 or 2005 and proceed to. 1. Make default form size 800x600 2. Drop a CheckBoxList control and dock it to the left 3....
0
by: suwish | last post by:
Hi, Do Any one know how to trap the window events of another application using C#......... My Senarios is to do some operation on the button click event of another application
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.