From end user perspective, client side validation is absolutely giving better user experience with UI. But, technically who can trust the user inputs? Because JavaScript is the key player behind the client side valuation and also anyone can bypass the JavaScript by disabling it. Not only that, brilliant hacker can swap the JavaScript validation functions through automated process.
Solution with ASP.NET 2.0:
When Page.Validate() is fired, it automatically check the CausesValidation = True controls and return the page validation status through Page.IsValid() property. Here you have another option to call Page.Validate() method for specific validation group and get the status.
FYI: Don’t forget to call Page.Validate() before the checking
Page.IsValid().
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Yes, what is that…? Yes, you canot do anything bit with it. But if
you really think about the user experience in ASP.NET AJAX UI, then better to
consider about this property.
As you know some ASP.NET AJAX application’s UI loads bit
fast but it takes few seconds to interact with user. In other hand some
application’s UI takes more times to load, but user can interact with UI as
soon as it loads. So, simply you can choose the option with ASP.NET AJAX
ScriptManager like below…
If you set ScriptManager.LoadScriptsBeforeUI = True, then
script load first and next UI markup. If you set ScriptManager.LoadScriptsBeforeUI=False,
then UI load first and next Script. So, UI will load some fast but have to wait
till script load.
FYI: LoadScriptsBeforeUI default value is TRUE.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
In our ASP.NET applications, we may have to run time consuming queries like big and nested database transactions, payment gateway data passing, bulk data loading, etc... So we have to make sure the client connection is still alive or not after the process. Coz there is a gap between client request time and server response time.
So, we better to check the client connection status after running complex / time consuming process. Otherwise, server unnecessarily keeps the client’s response and it really affects to the server performances. With ASP.NET you can do it simply like below.
FYI: IsClientConnected is a read only property. If IsClientConnected is true, that means client has live connection with the server in given session. If IsClientConnected is false then you can release the server by ending the client response.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Let say, I want to see the last modified date or time of my web site or specific physical page. Normally we can show it around the footer so somewhere”. Simply, you can do it like below…
If you place the above mentioned code in ASP.NET Master Page or user control, then you can easily display the fact at single place.
FYI: this code doesn’t support for non ASPX pages or dynamic ASPX pages (like URL rewriting).
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

"
The International SharePoint Professionals Association (“ISPA”) is the first independent, community-run, not-for-profit organization designed specifically for SharePoint Professionals. ISPA is a professional association dedicated to the promotion and global adoption of Microsoft SharePoint Products and Technologies. The Association provides support and guidance to the community by establishing connections between SharePoint professionals and groups, resources, education and information."
http://www.sharepointpros.org/Pages/Default.aspx
There are more to come on this way. Anyway, just go and have a look. Coz, it may make big sense in your mind about the SharePoint Community.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5

This is the newest Sri Lankan blog aggregator for FOSS/Geeks blogs. Actually
http://www.lkgeeks.org/ runs among technical blog contents and it is not like
Kottu. (I am also big fan of KOTTU) In Kottu, we can see blogs posts in various categories by representing its real name KOTTU. Anyway,
Nazly is the man who plays behind this site and I wish fabulous popularity for LkGeeks.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Microsoft Source Code Analyzer for SQL Injection is a static code analysis tool for finding SQL Injection vulnerabilities in ASP code. Customers can run the tool on their ASP source code to help identify code paths that are vulnerable to SQL Injection attacks.
Download Here
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5
Currently rated 2.0 by 1 people
- Currently 2/5 Stars.
- 1
- 2
- 3
- 4
- 5