Today i came across strange problem of Asp.net treeview webcontrol. I prefer to use Telerik/infragistics tree instead of Asp.net treeview control. but this time i had to use it. , Dotted line for first node would not show as shown in screenshot.
Cause: Height is automatically set to 1 px for problematic node Solution: Add following Code to your page.
<style type=”text/css”>
#TreeView1 TD Div
{
height: 20px !important;
}
</style>
Thats it!! it worked !!
Hope fully this blog post will someone with same problem.
Business Intelligence Demonstration with case study of court
Just What Are Cubes Anyway? (A Painless Introduction to OLAP Technology)
http://msdn.microsoft.com/en-us/library/aa140038%28office.10%29.aspx (One of the best article)
which says that design simplicity should be a key goal and unnecessary complexity should be avoided. It serves as a useful principle in a wide array of disciplines, mainly in software development, because sometimes we end up building something stupid and complex software which is no way usable by actual user and there’s no way we back to redesign whole stuff.
some people also describe it as “Keep It Sweet & Simple”, “Keep It Short & Simple”, and “Keep It Super-Simple”.
Worse is better, also called the New Jersey style was conceived by Richard P. Gabriel to describe the dynamics of software acceptance but it has broader application. The phrase is a play on words representing the concept that “quality” is relative. Because of this, something can be “inferior” but still “better”.
For example, to a particular market or user, software that is limited but exceptionally simple to use may be “better” than software that is more comprehensive but harder to use.
You Ain’t Gonna Need It (YAGNI)
In software engineering, YAGNI, short for ‘You Ain’t Gonna Need It’, suggests to programmers that they should not add functionality until it is necessary. Ron Jeffries writes, “Always implement things when you actually need them, never when you just foresee that you need them. Don’t repeat yourself (DRY)
particularly in computing. The philosophy emphasizes that information should not be duplicated, because duplication increases the difficulty of change, may decrease clarity, and leads to opportunities for inconsistency. When the DRY principle is applied successfully, a modification of any single element of a system does not change other logically-unrelated elements. Additionally, elements that are logically related all change predictably and uniformly, and are thus kept in sync.
Asp.net MVC seems very easy but it’s not because we are used to Webforms.. MVC’s got lots of advantage over Normal Webform style.
like Webform
does Postback (which adds unnecessary more than 20 kb of javascript )
has Viewstate (performance issue)
has to go through whole page life cycle
Uses Event based model
which are stuffs built by microsoft guys to simplify development for VB 6 User which are really not required to make a great site, although i appreciate those thing because it helps in rapid development.
Where As Asp.net MVC is
RESTful architecture
Doesn’t Compromise with Performance and flexibility
Search Engine Friendly
Provides full control over application
drowback of RESTful architecture of ASP.net MVC
Any public method in a controller is exposed as a controller action. You need to be careful about this. This means that any public method contained in a controller can be invoked by anyone with access to the Internet by entering the right URL into a browser. e.g. wwwxyz.com/shop/delete/10 will delete shop with ID 10.
Here are few KB articles & resources that you should not miss
Recently i faced problem in validating Address Control which basically depends on selection of radio button.below is the figure of problem.
Here All controls below Gift to this AddressRadiobutton should not fire validation if it is not checked. Asp.net Simply does all validation and shows all errormessage even if Gift to this Address is not selected, so all you have to do is create validation group for left address block called “ADDRESS” by assigning ValidationGroup Property value of “ADDRESS”.
Put this code for Button named “Done”
OnClientClick=”EnableDisableValidation();”
javascript function EnableDisableValidation() looks like below.
Ms. Dewey is a
cool interactive search engine. What you see, in the totally flash
based website, is a smart lady Ms Dewey. She prompts you to enter few
keywords in the search box and if you linger she gets impatient and
teases you, with “hellooo, type something here..” kind of sentences.
She will speak on various keywords in her own style. Use the best of
button to see some of the best expressions which will make you smile
atleast once. It is funniest search engine I ever saw. Unfortunately
they haven’t mentioned the contact details of the lady
Few days before I was trying to send database mail via sql server 2005 Express with SP2.BUt it didn’t Work.
as Procedure [dbo].[sp_send_dbmail]requires a Parameter @profile_name which is of datatype sysname .
@profile_name sysname = NULL,
@profile_name can be found in table sysmail_profile(select * from sysmail_profile)
but Procedure is not accepting default ProfileName ‘DBMailProfile’
and After a little bit of google i found below article.
SQL Server 2005 Features Not Supported in SQL Server Express
The following table lists the additional SQL Server 2005 database features that are not supported in this version of SQL Server Express. It also lists database features from previous versions of SQL Server that are not supported.
SQL Server 2005 features not supported in SQL Server Express
SQL Server features from previous versions not supported in SQL Server Express