Welcome to AspAdvice Sign in | Join | Help

June 2005 - Posts

How to prevent default button from firing

In my previous Tips and Tricks blog entry I talked about a workaround for ASP.NET not submitting when the Enter key is pressed on the keyboard. Now in this blog entry lets talk about how to prevent the button from submitting the form when you press ENTER
Posted by kreddi | 1 Comments
Filed under:

Pressing Enter key does not submit asp.net form

This is one of the first problem I encountered after I started working in ASP.NET . The webform does not submit or postback when I click “Enter” key on the keyboard when there is only one textbox on the form. I heard this as a bug in IE. It
Posted by kreddi | 6 Comments
Filed under:

How to Prefill password into TextBox web control

This is one of the commonly asked question I have seen recently on ASP.NET forums. Logically speaking you shouldnt try to prefill a password textbox field for security reasons. But, if the application size and scope warrant a cheap trick to prefill password
Posted by kreddi | 1 Comments
Filed under:

Hi Everybody

I used to blog @ http://kumarreddi.blogspot.com . I thought of changing the blog to some technology specific site. So, I requested the admin's to provide me with the blogspace in aspadvice servers. And they are kind enough to oblige to my request. Anyway,
Posted by kreddi | 1 Comments

MSDE 2000 install

Today I was installing MSDE 2000 Release A on my machine, since our company do not allow us to install SQL Server on our work stations. I noticed MSDE 2000 Release A does not come with the two highly mentioned sample databases "NorthWind" and "Pubs".
Posted by kreddi | 0 Comments

Application Domains in .NET

In .NET, the primary application boundary is not a process, but Application domain. Lets see some of the differences between these two Operating System Process Each process has its own virtual address space, executable code, and data A windows process
Posted by kreddi | 0 Comments

What is the need of extensions in the urls

Recently a user asked the following question in the microsoft's asp.net forum Can I serve the asp.net pages without the extensions, like http://site.com/page1 instead of http://site.com/page1.aspx I thought its an interesting post. I thought of writing
Posted by kreddi | 1 Comments

View State Is Invalid Error message when using Server.Transfer

This is a very common error message we get when we use Server.Transfer with the second parameter set to true, which indicates transferring QueryString as well as Form collection, which contains information about the Form elements. The common workaround
Posted by kreddi | 0 Comments

Session and Cookies

I have seen so many posts in newsgroups asking questions related to cookies and their relationship with asp.net session. So, I thought of making a small post explaining the role cookies play in asp.net session Typical SessionState element in a web.config
Posted by kreddi | 1 Comments