July 2008 Entries

ASP.NET: Can't not logged in successful on a few computer

One of our ASP.NET web application goes to production for months. Last week, we received reports on a few computers , users can't log-in with their correct credentials. We asked them to have administrator control on a computer which problem happen. After make sure that their Browser security, Anti-spyware, Anti-Virus and anything might cause the problem. We have decided install a HTTP traffic monitor tool like IE Web Developer V2 to see what happening on this computer with our website The browser requests the specified login.aspx page The server responds with the...

.NET Framework 3.5 Training Kit

- The Visual Studio 2008 and .NET Framework 3.5 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2008 features and a variety of framework technologies including: LINQ, C# 3.0, Visual Basic 9, WCF, WF, WPF, ASP.NET AJAX, VSTO, CardSpace, SilverLight, Mobile and Application Lifecycle Management. - The .NET Framework 3.5 Enhancements Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the .NET 3.5 Enhancement features including: ASP.NET MVC, ASP.NET Dynamic Data, ASP.NET AJAX History, ASP.NET...

ASP.NET: Read Authentication Form Timeout value

When you write a custom Membership provider, you might need to know timeout value of authentication form which declared in Web.config tto fullfil to your custom authentication ticket Technorati Tags: ASP.NET,Authentication,Timeout,Custom Membership Provider

ASP.NET: Display Row Index number in GridView, DataGrid, Repeater, DataList

Solution #1 <asp:TemplateField>     <ItemTemplate>         <%# Container.DataItemIndex + 1 %>     </ItemTemplate> </asp:TemplateField> Solution #2 Template <asp:TemplateField>     <ItemTemplate>         <asp:Label runat="server" ID="lblRowIndex"/>        </ItemTemplate> </asp:TemplateField> Behind code protected void GridView1_RowCreated1(object sender, System.Web.UI.WebControls.GridViewRowEventArgs e) ...

AJAXToolKit: ModalPopupExtender and Form validation issues

Why Validation Controls Don't Work ? Found on http://www.myonlyblog.com/2007/07/modalpopup-validation-controls-dont.html: "The solution, it turned out is REAL simple, don't use either the OkControlID or OnOkScript. Basically you don't need the OkControlID or OnOkScript to be set unless you plan on doing some processing on the client side, this was why I was not firing the validation controls, I was posting back first because I had both of these set." Keep the ModalPopupExtender open when something wrong in Server processing For example, you lets user to enter a data entry form in a ModalPopupExtender (something like Matt Berseth...