PDA

View Full Version : Message box on client side using class library of .net


suren_smh
09-21-2004, 12:01 PM
Message box on client side using class library of .net

hi to all,

Can any one of u solve my problem.
I have written the code that but it is giving the message boxes on server side only.

I want to show the message bow on client side, my part of code is as
follows...
--------------------------------------------------------------------------Public Class eventsink
Public Sub OnEvent(ByVal listevent As Microsoft.SharePoint.SPListEvent)

Select Case listevent.Type
Case SPListEventType.Insert
--------------------------------------------------------------------------Now I wanted a message which should be seen by the client .
i am been able to show it on server.
this is class library from the template ob vb.net.
so here we could not include scripts.
then how to include and show it is a major problem for me.

Reply soon
regards
surendra

Roelf
09-21-2004, 12:37 PM
I have written the code that but it is giving the message boxes on server side only

That is because the code executes on the server. If you want a client side messagebox, you have to output a javascript which presents a messagebox, or (more complex) pops-up a page where you can put some more info than just some text and an ok-button

Roy Sinclair
09-21-2004, 05:27 PM
http://www.codingforums.com/showthread.php?t=44950

I recommend you read the links on the Rules & Posting Guidelines so you don't make any more mistakes like this.