RSS-2.0

Dot Net KB: Archive

  • ViewState & posting with callbacks

    ASP.NET Ajax makes it easy since UpdatePanel is capable to keep ViewState in sync, but if you insist using callbacks, you might have something to think. Basically first issue is that with callbacks the data to post to the server is gathered at WebForm_InitCallback() method when the Page loads. So first issue you see is that it seems callback doesn't send updated information to the server, that is for the other fields on the form (you usually...

    Read more...
    5/28/2008 2:29:13 AM Published by FengLiN Category ASP.NET Comments 0 Views (217)
  • MICROSOFT SQL SERVER: Temporary tables in SQL Server vs. table variables

    When writing T-SQL code, you often need a table in which to store data temporarily when it comes time to execute that code. You have four table options: normal tables, local temporary tables, global temporary tables and table variables. I'll discuss the differences between using temporary tables in SQL Server versus table variables. Each of the four table options has its own purpose and use, and each has its benefits and issues: Normal tables...

    Read more...
    5/12/2008 4:13:12 AM Published by FengLiN Category Database Comments 0 Views (214)
  • Validating User Input In ASP.NET 2.0 Web Applications

    What you are going to learn in this tutorial? What is Validation? Why it's important? How to use ASP.NET 2.0 validation controls Why you cannot validate every possible input. Introduction Developing robust applications is the target of every serious developer. Being sure from the correctness of the input coming to your application is one of the major practices used to rise application robustness. In this tutorial we are going...

    Read more...
    5/7/2008 4:12:10 AM Published by FengLiN Category ASP.NET Comments 0 Views (233)
  • Focus in ASP.NET Controls

    To provide even better experience for your Web application users, you need to give them a logical and as simple as possible user interface. One of the common tasks when building effective and friendly web applications is management of control's focus, usually text boxes, buttons, dropdown lists etc. Whatever kind of application you build, you will always need make your UI more efficient. One simple and very familiar sample of using focus to provide...

    Read more...
    5/6/2008 3:01:24 AM Published by FengLiN Category ASP.NET Comments 0 Views (490)
  • Enter Key in ASP.NET

    One of the common requests in ASP.NET is to submit a form when visitor hits an Enter key. That could be a case if, for example you want to make Login Screen. It is expected that user just hit enter when he insert a user name and password instead to of forcing him to use a mouse to click login button. If you want to make search function on your web site, it is frequently required to give a possibility to hit enter after you insert a search terms instead...

    Read more...
    5/6/2008 2:58:30 AM Published by FengLiN Category ASP.NET Comments 0 Views (500)
  • Performance tuning tips for database developers

    Below is my list of the top 15 things I believe developers should do as a matter of course to tune performance when coding. These are the low hanging fruit of SQL Server performance – they are easy to do and often have a substantial impact. Doing these won’t guarantee lightening fast performance, but it won’t be slow either. Create a primary key on each table you create and unless you are really knowledgeable enough to...

    Read more...
    5/5/2008 10:23:22 PM Published by FengLiN Category Database Comments 0 Views (209)