Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kristofdielis

    MVC 4 - jQuery - Complex type client-side post. Serverside result is instantiated but empty.

    Hi, I have a JS function that posts a contractcode + an array of a ComplexType to the server: function PostContractServiceCatalogue(contractCode, lines) { var dto = { "contractCode": contractCode, "lines": lines }; //prompt("", JSON.stringify(dto)); $.ajax({ type...
  2. kristofdielis

    VMWare VIM SDK .Net, update CustomFieldValue

    Hi, I am not sure if this is the correct forum for SDK questions, please redirect me to a correct one if not, but here goes: I have this code: public void SetFieldValue(int key, string value) { var customField = (CustomFieldStringValue)this.VirtualMachine.CustomValue.Single(cv => cv.Key...
  3. kristofdielis

    Occasional IKVM runtime errors after adding AJAX UpdatePanel

    Hi, An updatepanel was added to allow dynamic filtering of a datagrid based on user input. It generally works as expected, but occasionally we now get a IKVM runtime error. Refreshing the page fixes this, but we can't expect the users to figure this out, especially since on the server we...
  4. kristofdielis

    CSS - Content div not taking 100%

    Hi, I have a simple masterpage structure, one div for the menu and one for content. The Menu div has a fixed height, the content should take 100%: <div id="divMasterMenu"> <span class="MasterMenuItemSelected"><a href="">Menu 1</a></span> <span class="MasterMenuItem"><a...
  5. kristofdielis

    WPF - Drawing

    Hi, Is there some way to draw with WPF, like you could with GDI? I mean, not add a rectangle object to a stackpanel (which is how it's apparently often done), but really draw a rectangle or whatever, on the surface of a control, at a specified point. I mean like it was in 'the old days'...
  6. kristofdielis

    TwoWay binding on CommandParameter works on objects, but not on string

    Hi Jason, Thanks for the response, to be honest, I didn't really expect one, so you get a star at least for trying. I'll check it out.
  7. kristofdielis

    TwoWay binding on CommandParameter works on objects, but not on string

    Hi everyone, I have several controls on a WPF user control, most of these are comboboxes. Behind each control, there is a button, that will open up a new window, which will return a user selected value. Consider, one of these comboboxes contains a list of sites: These sites are defined like...
  8. kristofdielis

    Select of 1 million rows, how long?

    Hi George, Thanks for the feedback. I am working on a new app, that involves building things from scratch, although it heavily depends on a similar older application. Usage is Business Objects reports, which depend on views which I found to be (very) slow, on the old system. These forms need a...
  9. kristofdielis

    Select of 1 million rows, how long?

    Yes exactly. But regardless, you should have a gut feeling of about how long you want your queries to take. Personally, I think that a 1M select should at the most take 10 seconds. And I typically would expect faster.
  10. kristofdielis

    Select of 1 million rows, how long?

    Fair enough. Since this is hypothetical, let's assume a simple employee table: employee_id bigint firstname nvarchar(50) lastname nvarchar(50) function nvarchar(200) salary float hire_date datetime Employee_id is the primary key, the table is totally stand-alone, there are no foreign keys or...
  11. kristofdielis

    Select of 1 million rows, how long?

    > Basically - its too vague. Exactly, that's the point. A query may run 30 seconds, one person may find that acceptable, I may find that way to slow. Any measurement of elapsed time is subjective by default, unless you manage to reach optimal performance every single time, and that is rarely...
  12. kristofdielis

    Select of 1 million rows, how long?

    How long do you feel should a single table select of 1 million rows take? A simple SELECT * FROM 1M_ROWS_TABLE, on a SQL Server 2008 R2, straight within the Management Studio. 1, 2, 5, maybe 10 seconds? What is acceptable in your opinion?
  13. kristofdielis

    LINQ query based on combobox selecteditem

    I fixed it by creating Stored Procedures and adding them to the LINQ model.
  14. kristofdielis

    WPF - Don't render certain controls in design viewer

    Hi, On our views, we have custom converter controls, that don't render visually. The result is that they currently break the design view, because the design tries and fails to render them. Is there a way to prevent rendering? Something like, for instance, 'IsDesignTime="False"' would be...
  15. kristofdielis

    LINQ query based on combobox selecteditem

    Hi Jason, Thanks for the response, but I don't see that as truely making use of the strengths of LINQ*. The code I posted is the easiest version, deeper in, there would something like this: var sections = from d in db.DRAWING where (site == null ||...
  16. kristofdielis

    LINQ query based on combobox selecteditem

    Hi, I have two comboboxes, one containing all sites, the other contains all units. The units depends on the sites, so if a site is selected, only those units that belong to the selected site should be fetched. First I check if there is a selected item: WPF.Model.SITE site =...
  17. kristofdielis

    Crystal Reports 2011, table.ApplyLogOnInfo has no effect

    All data is fetched within the report(s), I only (try to) set the database credentials and the parameters. Essentially, the code works, that has been proven for many years now, except, it just doesn't anymore on my own pc, with the new CR 2011 version (= 13). That seems to suggest that CR no...
  18. kristofdielis

    Crystal Reports 2011, table.ApplyLogOnInfo has no effect

    Hi, I don't know if this forum is the right place for development questions, but ... I'm writing a 'general purpose' back-end, that needs to provide basic operations, to load a Crystal Reports report. Using the connection string I get from the client app (a test program, at the moment), I...
  19. kristofdielis

    Crystal Reports 2011, table.ApplyLogOnInfo has no effect

    Sadly I have no choice, the back-end is essentially an upgrade of existing functionality, with existing reports that can not be changed, that's just not going to happen. So, I have to make it work the way it is.
  20. kristofdielis

    Crystal Reports 2011, table.ApplyLogOnInfo has no effect

    Hi, I'm writing a 'general purpose' back-end, that needs to provide basic operations, to load a Crystal Reports report. Using the connection string I get from the client app (a test program, at the moment), I build a ConnectionInfo object and apply it to the table(s) of the selected report (+...

Part and Inventory Search

Back
Top