Geeks With Blogs
Moez Mousavi
The old mate decided to move on, I firstly found this but a bit afterward found the Telerik one, JustDecompile . However, the output I got from the old mate (http://www.reflector.net/) for extraxting code, on a same DLL was different. Redgate one's out put compiled straight away with much better solution structure output, indeed better ......

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; ......

JQuery is probably the most popular JavaScript library ever. I was facing a bad "time" requirement change tonight and that was poping up "Terms and Conditions" pop up as a mandatory option for registration. I just picked up fife minute solution: You will need Fancy box (fancybox.net) but just whatch out to not overwriting JQuery references, they need ......

Design Patterns sounds like an Italian recipies. If you you tell your grand mother that you cooked Bolognese and Pasta for evening, she wouldn't ask you how, as the recipie is famous enough to make scence to everyone. She wouldn't expect a creamy pasta with chicken unless you decided to make her surprise. Same story when you coding. In fact the benefit ......

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; ......

I love enums, they are organising my head, sometime you might need to traverse through all enum members for any reason. Say you would like to dynamically add controls to the form on the base of enum... foreach (MyTypeEnum myType in Enum.GetValues(typeof(MyTyp... { //myType.ToString() } Or say put all enum values in a list box var lst = Enum.GetValues(typeof(MyTyp... ......

This HttpContext is is a very useful creature, look at this one: HttpContext.Current.Request... For example you might want to change a CSS class of a control at runtime depend to url, you could specify this code in the master page and observe the url in the PageLoad for say ......

Empty data in repeater doesn't have a template. Have a look at this: if (rptMyRepeater.Items.Count < 1) { if (e.Item.ItemType == ListItemType.Footer) { Label lblFooter = (Label)e.Item.FindControl("... lblFooter.Visible = true; } } I found the above code is usefull if you need to show something like "There is no record" is your data source ......

Wish you ever validate the page using .NET validation controls in JS for any reason? Just use Page_ClientValidate in a javascript function or something. Page_ClientValidate('Valida... ......

I got stocked passing parameter to one master page for some reasons, seems the page lifecycle and dynamic loading of the master pages has got some issues with defining public properties in the masterpage within my project. It did not set my values and as a result, properties became useless. A collegue just mentioned using HttpContext. have a look what ......

Copyright © MoezMousavi | Powered by: GeeksWithBlogs.net