amma.NETtami

.NET walkabout
posts - 12, comments - 21, trackbacks - 0

My Links

News

giossi.com - Two steps ahead

↑ Grab this Headline Animator

Tag Cloud

Archives

Post Categories

Code repository websites

Websites

ASP.NET

ASP.NET world
10 source code highlighters

While writing your new post to your blog, you need to highlight a piece of source code. Now, what? Here is a list of 10 online services which could save you. ToHtml.com by Oleg Parashchenko The most "usable" online code highlighter service, supports a LOT of different languages including SQL, scripts, ancient language (*asm) and newest (.NET) Quick HighLighter by Veign A very easy to use website, supports a lot of languages, including PHP, ASP, VB.NET, C#, Ruby and "robots.txt" <--LOL CodeColor by Asp.NET Resources It has not many languages to work with and I don't like the idea to have a popoup window with the final highlighted...

posted @ martedì 16 ottobre 2007 3.16 | Feedback (3) | Filed Under [ ASP.NET ASP VbScript Visual Basic ]

ShowModalDialog and ASP.NET, a full working example

Here is a simple working example explaining how to use ShowModalDialog and asp.net with Visual Studio 2005. Start with default.aspx, which has a single button. Once clicked, it will popup a modal window which will show a single button labeled "Close me!". The postback will redirect the user to a new page, whose purpose is to close the modal window and return the string value '1' which will be evalueted by the parent window using the returnValue property. If returnValue is '1' then the form will be submitted to itself, just to show how to reuse local values and force a timer label...

posted @ domenica 2 settembre 2007 21.54 | Feedback (4) | Filed Under [ ASP.NET ShowModalDialog ]

ShowModalDialog and ASP.NET postback

Whenever you use a postback in a modal window, magically Internet Explorer fires the event in a new page. To avoid Internet Explorer to act like that, just add... <base target="_self" /> ... wherever you want, just before the HTML Tag or simply in between the HEAD tag of your HTML page.

posted @ mercoledì 22 agosto 2007 17.28 | Feedback (1) | Filed Under [ ASP.NET ShowModalDialog ]

Powered by: