In ASP.NET we’ve become accustomed to web forms posting back only to themselves. Since this behavior tends to create big balls of mud, we’ve looked for ways to push data between forms.
In ASP.NET 2.0, there are three approaches: Response.Redirect, Server.Transfer (improved in 2.0), and the new 2.0 cross page postback feature. Each approach has pros, cons, and subtle nuances. I’m attempting a thorough examination of how to plan your attack in this post.
Roman Pelepei gives smart answers on questions about C# .Net, ASP .Net, WPF and Silverlight programming with examples and source code.
вторник, 28 апреля 2009 г.
воскресенье, 1 марта 2009 г.
Сделать стартовой кроссбраузерно
function setStartPage(obj)
{
if (document.all)
{
obj.style.behavior='url(#default#homepage)';
obj.setHomePage('http://www.mysite.ru');
}
else
if(!document.layers)
{
netscape.security.PrivilegeManager.enablePrivilege("UniversalPreferencesWrite");
navigator.preference("browser.startup.homepage", "http://www.mysite.ru");
}
}
{
if (document.all)
{
obj.style.behavior='url(#default#homepage)';
obj.setHomePage('http://www.mysite.ru');
}
else
if(!document.layers)
{
netscape.security.PrivilegeManager.enablePrivilege("UniversalPreferencesWrite");
navigator.preference("browser.startup.homepage", "http://www.mysite.ru");
}
}
понедельник, 23 февраля 2009 г.
вторник, 13 января 2009 г.
Подписаться на:
Сообщения (Atom)