WebControls.Shared.Window

Hi,
can i use Window (WebControls.Shared.Window) in ASP.NET with same funciton a MessageBox in WinForms?

I need following funcionality in ASP.NET:


protected void Button1_Click(object sender, EventArgs e)
{
if (ConfirmNeed())
{
//Here i need help, I need:
//Show window with buttons Yes and No and check if user click on Yes or No.
}
code [...]
}

Can it be done with ASP.NET component WebControls.Shared.Window? How?


1 Reply

RP Rekha P Syncfusion Team August 19, 2008 08:42 AM UTC

Hi Michal Straka,

Thank you for your interest in Syncfusion Products.

Yes, this can be achieved using the Window control. The Essential Tools Window control is a fully customizable control with dialog like functionality.It can be dislayed in modal dialog or non modal dialog mode.I have created a sample using Window Control and please refer the below link,

http://websamples.syncfusion.com/samples/Tools.Web/6.3.0.32/F75927/main.htm

Also please refer the below link for online samples which illustrates the idea of Window control,

http://www2.syncfusion.com/infrastructure/web/tools.web/samples/2.0/NotificationPackage/Window/WindowDialogBoxes/CS/WindowDialogBox.aspx

Please let me know if you have any concerns.

Thanks,
Rekha


Loader.
Up arrow icon