Geeks With Blogs

News My Blog has been MOVED to
Michael Freidgeim's OLD Blog My Blog has been MOVED to October 2008 Entries
Manipulation with cells, generated by GridView DataControlField derived classes.
I've previously posted "Access to BoundField value when GridView row is selected." Sometimes you need to customise DataControlField derived field (e.g. HyperLinkField or ButtonField )to show it differently then default behavior, but you don't want to create template for the field. If you customization requirements are compex, use TemplateField. Below there is an example, how you can access cell, generated by HyperLinkField and change content of the cell. E.g for HyperLinkField column you normally ......

Posted On Friday, October 31, 2008 12:10 AM

My Javascript Tips
Check if object is null or undefined. I had an understanding that to check if variable not null in JavaScrip, you need to check if (typeof SomeObject !='undefined') . But it is wrong, because null is not the same as 'undefined'. From The shortest way to deal with this, and also the one that best expresses your intention of checking if an object is safe to use is probably to just rely on the ......

Posted On Wednesday, October 22, 2008 12:03 AM

Issues converting Visual Studio 2005 Projects to Visual Studio 2008.
Previously I wrote about Problems after Installing VS 2008 side-by-side with VS 2005 and that Visual studio conversion wizard opens each time for converted 2008 solution. There were a few Web Application Projects that failed to convert without any reason. The Upgrade file was just like this: <?xml-stylesheet type='text/xsl' href='_UpgradeReport_Files/... <UpgradeLog> <Event ErrorLevel="3" Project="TSA.Testing.Assemb... Source="main\TSA\Testing\TS... ......

Posted On Tuesday, October 21, 2008 11:51 PM

Generics function to work with the list of rows of Typed Dataset
I wanted to create common function, that will work with the list of rows of Typed Dataset, e.g. List<MyTypedDataSet.MyTa... I've created a function that expects as a parameter List of base DataRow objects, i.e. List<DataRow>. But compiler showed error, that it unable to cast List<MyTypedDataSet.MyTa... to List<DataRow>. It does make sense, but what are the valid options? The one, that I've used, is actually collect MyTableDataRow into the list of base DataRow records. ......

Posted On Saturday, October 4, 2008 10:52 PM

Use WCF Message Logging
The post based on How to enable WCF tracing article Open WCF Service Configuration Editor under VS 2008 Tools menu or directly from installation folder (typically C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin\SvcCo... - subfolder v6.0 can be different depending on which version of Windows SDK has been installed) To enable WCF message logging Click the Diagnostics node, and expand it. Enable Message Logging on the right Tab To edit Message Logging settings, click the Message Logging ......

Posted On Friday, October 3, 2008 2:26 PM

Copyright © Michael Freidgeim | Powered by: