Suresh Behera

The Microsoft .Net Junkies

News

Blogroll

Reading

May 2010 - Posts

Deselect first row on gridview onload

I had situation to deselect the first gridview row on load and came to know IsSynchronizedWithCurrentItem on Gridview should able to that but some how i missed on gridview.

Mean while below one should work

        void gvMain_RowLoaded(object sender, RowLoadedEventArgs e)
        {
            try
            {
                GridViewRow row = e.Row as GridViewRow;
                if (row != null && !firstItemExpanded)
                {
                    row.DetailsVisibility = Visibility.Collapsed;
                    firstItemExpanded = false;
                }
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

Thanks,

Suresh Behera

Technorati Tags: ,
Is this bug or by design on Excel

try this –

- save/create two excel files
- Open one and edit a cell and keep it like that on edit mode
- now go and try to open the 2nd excel file, it won’t until you close editing first one.

how i had this situation? Well i was filling something on 1st one and recall that i need to copy some text from 2nd excel.

any feedback ?

Thanks,

 

Suresh Behera

Technorati Tags: ,
Silverlight hierarchy gridview with MVVM

Since few days i have been struggling to bind a gridview from a simple WCF async call.
Following article look promising…

http://blogs.telerik.com/vladimirenchev/posts/09-10-16/how_to_silverlight_grid_hierarchy_load_on_demand_using_mvvm_and_ria_services.aspx

I conclude binding is not simple traditional databind() method call from gridview if you don’t know howto ;)

Thanks,

Suresh

Visual studio add-in

I was looking for a add in which could help to file the filename and found following few links for add-in

All Visual Studio gallery
http://www.visualstudiogallery.com

Do you have any recommended add-ons/plug-in for Microsoft Visual Studio?
http://stackoverflow.com/questions/2767/do-you-have-any-recommended-add-ons-plugins-for-microsoft-visual-studio

Visual Studio Add-Ins Every Developer Should Download Now
http://msdn.microsoft.com/en-us/magazine/cc300778.aspx

Post here if you have any other extra add-in

Enjoy..

Suresh Behera

Test post

got new laptop setting up windows live writer.Hope this work to post on weblogs.asp.net

Thanks,

 

Suresh

Posted: May 19 2010, 01:39 AM by Suresh Behera | with no comments
Filed under:
More Posts