Services
Portfolio
Blog
About
Contact
Login
November 05, 2005
next
3
2
1
Irocon
>
Blog
>
2005
>
November, 2005
>
November 05, 2005
HtmlEncode and HtmlDecode
Very handy functions for making user input safe.1) Add ValidateRequest="false" to the page declaration of your asp.net page2) Encode the input before saving it by using HttpUtility.HtmlEncode3) On the page that has to display the content, use HttpUtility.HtmlDecode
Last Updated:
Thursday, September 02, 2010
By:
alfero
#
Modal Dialogs in .NET [Windows Forms]
The article Building Windows Applications in VB.NET on InformtIT.com explains extensively how to work with modal dialogs in windows forms.1) You can create a Form variable in the dialog that you use to reference back to the calling form and you set it before showing the dialog, for example: frmDialog.Caller = Me2) You can use properties in the dialog to set its variables before showing, then...
Last Updated:
Thursday, September 02, 2010
By:
alfero
Source
#
Modal dialogs in .NET
A comment by Szymon Kobalczyk on this thread explains how to show modal dialogs in asp.net.I did this just last week. I had a little problem though: when you put aWebForm in a modal all postback or navigation will go to another, new windowinstead of the dialog. You can overcome this by puting the dialog inside ofa FRAME. So now I have a simple html page that I open in the dialog and thenit...
Last Updated:
Thursday, September 02, 2010
By:
alfero
Source
#
Archives
HtmlEncode and HtmlDecode
Modal Dialogs in .NET [Windows Forms]
Modal dialogs in .NET
Contact
+1 (647) 405-0515
info@irocon.com
Copyright © 2012 Irocon. All rights reserved.
Project Inquiries
Alfero Chingono
projects@irocon.com
Quotations
Get a quote online now!
Follow Us
Twitter
Facebook
LinkedIn