Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

Bijesh

@Bijesh
About
Posts
203
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Finding usages of classes from a reference in Visual Studio (C#)
    B Bijesh

    I don't know if this is even possible, but..would be really nice if it were! I have a solution with multiple projects. The main project has references to these other projects,and presumably is using classes from those other projects. Now I can see from the using section, which namespaces are being used by which files. But I can't tell which classes from those namespaces are being used. Is there any way (direct or indirect) of finding out, from a namespace, which classes are being used inside a file? thanks Bijesh

    C# csharp visual-studio question

  • DataGrid Sort not updating automatically
    B Bijesh

    Hi Pete, Just tried out your sample. If I understood correctly you are manually editing the values? That works fine for me too. BEcause I think a manual edit ends up firing a collectionChanged event and this takes care of resorting the grid. This is probably fine performance-wise too as a manual edit is not doing to happen numerous times a second. My issue is with updates being done on the data programatically to a sorted column, do not seem to readjust the sorting. This seems like a generic requirement and it should do it automatically, or atleast provide an option to have it done automatically. Why would we want to have a grid that appears to be sorted but it actually not? Bijesh

    WPF question csharp css wpf announcement

  • DataGrid Sort not updating automatically
    B Bijesh

    Hmm that is really odd.. Thanks for posting the code sample. I'll try it out at the earliest.. (unfortunately had to get into some other work for now)

    WPF question csharp css wpf announcement

  • DataGrid Sort not updating automatically
    B Bijesh

    From what I've tried so far, gettng the efault view of the collection is what work, but the performance is not great. detaching and attaching, seems very wrong, but I might go for it, as it has the advantage that I can effectively suspend the grid, do a batch of updates to the underlying data and then refresh the grid, rather than have the grid continuously update itself.. Again thanks for the responses... Bijesh

    modified on Tuesday, June 23, 2009 8:40 AM

    WPF question csharp css wpf announcement

  • DataGrid Sort not updating automatically
    B Bijesh

    Thanks I will do that. If you have any opinion on what is the best way to refresh a grid, or refresh a collection please let me know, thanks.. Bijesh

    WPF question csharp css wpf announcement

  • DataGrid Sort not updating automatically
    B Bijesh

    Hi Mark, Thanks for the response. WE have implemented the INotifyPropertyCHanged on the item class. But unfortunately the grid does not look like it is updating the sorting on the event. I guess ideally it should handle the PropertyChanged event and check whether the changed column is being sorted on and then update the sorting, but it isn't. I also tested this on the DAtaGrid sample from here: http://blogs.msdn.com/vinsibal/archive/2008/10/22/wpf-datagrid-and-the-wpftoolkit-have-released.aspx[^] ..and got the same result. If I manually edit onthe grid it re-sorts because it fires a CollectionChanged event there I Think. But if I directly edit thte data in code it updates the value on the grid but does to update the sorting..

    WPF question csharp css wpf announcement

  • DataGrid Sort not updating automatically
    B Bijesh

    Hi, We are doing some grid evaluations for a project. I am trying out the DataGrid from Microsoft (the WPF Toolkit). We have it bound to an IOBservableCollection, and are simulating lots of updates to the data. The grid refresshes fine in most case. But if I have the grid sorted ona column, and I change the value of the column in the data, the grid data udpates but it does not re-apply the sort. It just shows the column as sorted but the values. I think this is because a property change on an individual item does not fire a collection changed event in the ObservableCollection. If I fire a collectionChanged event manually the grid does update. I can also make it sort by replacing the object itself. But both these appraches are very CPU expensive. So what is teh recommended way to reapply the sort on the grid on a data update? thanks and regards, Bijesh

    WPF question csharp css wpf announcement

  • GM Bankrupt
    B Bijesh

    code_wiz wrote:

    I just don't understand... if this was happening over a period of time and not just in 2008 January lets say, what were people like auditors and so-called "financial industry ahtorities" (FSA in UK for example) doing? Just taking salaries

    Interesting that you should mentionn FSA. Here is a news story on BBC from 2005, after UK Prime Minister Tony Blair criticized the FSA: http://news.bbc.co.uk/1/hi/business/4613661.stm[^] Blair claimed that "the actions of the regulator - which oversees mortgage, pension and insurance sales - were seen to be harming well-run businesses. " and "that the FSA was "seen as hugely inhibiting of efficient business by perfectly respectable companies that have never defrauded anyone". " Regulation is always a tricky thing. Nobody likes it when 'things are going well'. Bijesh p.s I think it is the corporate culture in general that is to blame for this mess.

    The Lounge com

  • A much better movie than I thought
    B Bijesh

    Brady Kelly wrote:

    Indeed. Why not waste only your money and walk out?

    But how do make that decision without spending the time? There is always the chance it might suddenly get good in the last hour, last 30 mins, last 15 mins, post endtitles, and so on..

    The Lounge com

  • Google Chrome 2...
    B Bijesh

    yeah these internets are great!

    The Lounge html com beta-testing announcement

  • Remove instance
    B Bijesh

    Removing instances from memory is the Garbage Collector's job. You don't have much control over when that gets done. But you can do cleanups inside the Dispose method. So basically you remove your event handlers in the Dispose method, and simply calle the Dispose method when you remove your control from the panel. (Typically Dispose is called for all the controls in a Form from within the Close method of the Form). Also if you control is hanging around in memory long after you have removed it, it could mean that you have some references to it somewhere in your program.

    C# performance

  • Indian girl, 16, 'killed herself over fears Big Bang experiment could lead to end of the world'
    B Bijesh

    Rajesh R Subramanian wrote:

    because an "item dance" that she performed for a movie was removed from that movie by the censor board. They were asking her "thoughts" about that.

    While an item dance in a bollywood movie might be a silly thing, the fact that it was removed from a movie by a Censor board is actually a quite serious matter(for a country that supposedly has freedom of speech and expression). On the other hand I recently saw a screen shot of an Indian TV news program that had a large headline screaming: "Polics Commisioner's Dog Found" :-D

    The Lounge html question announcement

  • c# Getting Data From Excel
    B Bijesh

    don't have the code to do the specific thing you want, but this link might have some useful information: http://support.microsoft.com/kb/302096/EN-US/[^]

    C# csharp tutorial question

  • Paws for thought...
    B Bijesh

    Dog: These people shelter me, feed me, bathe me, take care of my every need.. They are my Gods! Cat: These people shelter me, feed me, bathe me, take care of my every need.. I must be their God..

    The Lounge com cryptography tutorial

  • Source control and roaming the glens...
    B Bijesh

    If your source control supports branches, I would create a branch off your main development branch, and create a local view of that on your laptop. You could either check out all the source files and work on them, or manually keep track of which files you've changed. Then check everything back in to your once you are back, and merge from your branch to your main branch. Generally speaking most source control systems would allow multiple checkouts, although it relies on people being smart enough to be able to merge their changes in correctly

    The Lounge question sales regex help

  • Blu-ray releases really ramping up
    B Bijesh

    I believe the actual resolution of a big screen movie is about 10 times that of the HD format, so we have few iterations to go yet

    The Lounge html com

  • Crossing the line
    B Bijesh

    I think it is inevitable that at some point someone in the company is going to want a time breakdown of your activities. I don't think it is reasonable to expect your manager to have this information when you don't. Having said that, it is also not reasonable to ask for a breakdown of past activities going back months. It sounds like the result of some hare-brained scheme dreamed up in a managers meeting. In any case it is always good, as others have suggested, to use some tool to keep track of your activities. I use outlook tasks with some custom fields I have set for priority. About 10 minutes spent each day going over your tasks and priorities is time very well spent. (ok I got that from a book , but it is true!)

    The Lounge php visual-studio com collaboration help

  • Transferring data from Excel Sheet to SQL Server 2000 database
    B Bijesh

    If you are trying to do this by C# code, then I suggest looking at the Microsoft.Office.Interop.Excel namespace

    C# database sql-server sysadmin help tutorial

  • Aborting a running procedure
    B Bijesh

    If you are using a SoapHttpClientProtocol - derived class to invoke the web service you can set the Timeout property of it to 10 seconds.

    C# question

  • How bad...
    B Bijesh

    Rational Application Studio auto-inserts closing braces for java. It can get really annoying..

    The Lounge csharp visual-studio question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups