if your MessageBox is a "Windows Forms" messagebox it will not work in AJAX i don't think
 
or does the MessageBox class create a small popup Browser Window or maybe a <div> ?

 
On 16 Oct 2006 04:19:36 -0000, SenthilTN Kumar <[EMAIL PROTECTED]> wrote:

Hai,

I developed a messagebox class using this class i adding control to placeholder.
i want to do this using ajax . how to do.

I attached a class for your reference(messagebox.vb).

this is the code i used in vb.net
"newbox" is a class object

newBox.MessageBoxButton = 1
newBox.MessageBoxTop = 200
newBox.MessageBoxLeft = 300
newBox.MessageBoxWidth = 450
newBox.MessageBoxHeight = 150
newBox.MessageBoxButtonWidth = 100
newBox.MessageBoxIDYes = "yesno"
newBox.MessageBoxButtonYesText = "OK"
newBox.MessageBoxTitle = "CNH Purchase Requisition"
newBox.MessageBoxMessage = msg
newBox.MessageBoxImage = "images\excla-20.gif "
newBox.MessageBoxImageHeight = 70
newBox.MessageBoxImageWidth = 50

PlaceHolder1.Controls.Add(newBox)


with regards
senthil







--
.net noobie

You know this framework is not big enough for the two of us!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/

The open source project is now located at
http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro
-~----------~----~----~----~------~----~------~--~---

Reply via email to