User Profile

Collapse

Profile Sidebar

Collapse
Pittaman
Pittaman
Last Activity: Jan 19 '10, 06:55 PM
Joined: Aug 9 '07
Location: Belgium
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hey, thanks for the explanation...

    I actually ended up solving the issue in a very different way.

    I add my context menu buttons to a panel and add that panel to the Controls collection of my server control before the CreateChildCont rols is called (so in OnInit). At that point, I also attach my event handlers to each of the buttons. This ensures me that the handlers will be called. Although the menu is shown without adding...
    See more | Go to post

    Leave a comment:


  • I'm not very familiar with AJAX programming, could you explain to me what the functionalities would be of the "javascript object" and how it would help solve the problem? Would it pop-up a new screen in which we can freely change the content with Response.Write? Or is it another approach?
    See more | Go to post

    Leave a comment:


  • I know, that is what I might be doing, but it would kind of defeat the purpose of using an update panel, as most postbacks will happen in the grids.

    Thanks for the link by the way! Then I know some stuff to exclude. I will keep you updated, because we'll have another look at it.
    See more | Go to post

    Leave a comment:


  • Pittaman
    replied to Convert encoded text to image
    If you're reading in a base64 encoded binary string (the content of the GIF), decode it and then write it to a wherever you're writing the jpeg and bmp to, it should really be exactly the same for a GIF file I guess.

    What is the exact problem when doing it with the GIF file as opposed to doing it with a JPEG or BMP?
    See more | Go to post

    Leave a comment:


  • I see what you mean, but the problem is that the Grid is actually a server control. And I do not think it is possible to embed that other page inside the control, which is a requirement.

    This was the first approach we took but I think it's not possible, but maybe I'm mistaking?

    Thx
    See more | Go to post

    Leave a comment:


  • Pittaman
    started a topic UpdatePanel with dynamically added buttons

    UpdatePanel with dynamically added buttons

    Here's the problem,

    We're still using .NET 2.0. I have a custom grid view whichs includes a context menu. Each item in the menu is a Button.

    One button action, the export to excel, wants to do some Response.Write calls, but this does not work as it's giving me the "Sys.WebForms.P ageRequestManag er" exception whichs tries to parse whetever I write to Response as some kind of Ajax I guess (don't know the full...
    See more | Go to post

  • Pittaman
    replied to RaiseEvent
    in .NET
    You can debug a service by attaching the debugger to the process (Tools -> Attach to Process).
    See more | Go to post

    Leave a comment:


  • Pittaman
    replied to RaiseEvent
    in .NET
    Hello,

    Firstly, I would suggest handling the file creation event or whatever immediatly and then do further processing on a different thread (however, maybe somebody disagrees?). This to ensure the release of the filesystemwatch er's resources as soon as possible, as it's not extremely scalable as it is.

    Which leads me to another idea. If you're monitoring to much files at once, the buffer flows over and you won't get...
    See more | Go to post

    Leave a comment:


  • Embedding Multiple Office Documents In Windows Forms

    Hello,

    We're developing an application (.NET 2.0) that let's users drop documents in the application and allows users to show some document types "embedded". For example, a textfile would appear as a text box.

    We also want this for office documents, and want to give the user the possibility to edit these documents inline, so they will not have to work in a separate excel window.

    We've been using...
    See more | Go to post

  • Hello,

    Answering to my own post again. I think I found a solution to the problem. Using the following link:

    http://social.msdn.microsoft.com/For...-1b7aaaad8678/

    I configured a bunch of Parameters to define the number format (you can use a formula on the fields for number formatting to insert the value of the parameter). I then set each of these parameters...
    See more | Go to post

    Leave a comment:


  • Hello

    For normal tables (so not cross-tables) I'm already able to use a formula to convert the number to text, which allows me to specificy the amount of rounding in the formula itself. This works well for regular tables (and it can even help me to solve another problem, empty cells when the value is invalid, instead of showing a 0).

    However, this approach seems not possible for cross-tables because we need a summarize...
    See more | Go to post

    Leave a comment:


  • Crystal Reports Custom Rounding/Default Number Formatting in crosstable

    Hello

    I am creating some crystal reports (for visual studio 2005) based on the content of certain .NET objects. I'm doing this in .NET 2.0.

    For one of them I'm using a Cross-table to summarize the information of a bunch of objects. The actual data is numeric. Since these reports are meant to be flexible number formatting must be configured as defined by the requirements.

    For example, sometimes the values...
    See more | Go to post

  • Pittaman
    replied to C# client with a C++ server
    in .NET
    It shouldn't matter if the server is in C++ and the client is in C#, normally.

    But maybe the C++ server is waiting for an EOF of a newline character not provided by the C# client? I think this is more a matter of what you're sending trough and what the server expects. Ofcourse, to know what is wrong, more information about both client and server would be required.

    But it should have little to do with the actual programming...
    See more | Go to post

    Leave a comment:


  • You need to disable those other controls (.Enable = False). If the controls are in a groupbox, disabling the groupbox should be enough...

    Setting the wait cursor only changes the appearance of the cursor.
    See more | Go to post

    Leave a comment:


  • First of all, webservices are functions offered by a server to a client application. This means that all the functionality of the webservice is centralised. Which makes it easier to maintain as an update of that server-side software doesn't always require a software roll-out at the client-side.

    Secondly, the webservices use the SOAP protocol for communications. This basically means the client application sends XML files (SOAP request)...
    See more | Go to post

    Leave a comment:


  • Windows Server 2003: Shared Folder Access Rights For .NET apps

    Hello, I've searched the net (and this site in particular) but haven't found anything useful yet. I guess this could be a .NET question too, but I believe it's a windows permissions question in the first place.

    We have a .NET application that read/writes files to a shared folder. It doesn't use a mapped drive, so it accesses the folder using the \\hostname "scheme". I've read that the .NET application should run as a domain...
    See more | Go to post

  • Pittaman
    replied to XmlTextWriter, XmlDocument
    in .NET
    Hi

    If you mean XmlDocument by XmlTextDocument , then let me first briefly explain the difference.

    XmlTextWriter (and XmlTextReader) are used for fast access to XML files, the writing and reading is done forward only... so the writer/reader goes trough the file element by element. XmlDocument will read the contents of the Xml file into memory, what you then get is a datastructure in memory representing the xml information...
    See more | Go to post

    Leave a comment:


  • Thanks for the reply.

    I know they are sealed classes, I was just wondering if there was a good reason for it.

    A DataSet was out of the question because of the size of the tables it'll be exporting... a DataReader is more efficient in such a case, but with some drawbacks obviously.

    Don't worry, I'm doing this forum in my spare time ;) just out of interest....
    See more | Go to post

    Leave a comment:


  • Pittaman
    started a topic Make a DataReader internally preformat every record
    in .NET

    Make a DataReader internally preformat every record

    Hello,

    Sorry about the title, I had a hard time explaining this.

    I've done a little trick to solve a problem I was having with this third party control, and was wondering if anyone here could come up with a better solution. Because it never felt like the best solution...

    I'm using System.Data.Ora cleClient and some third party control to export the data retrieved with a SQL command to an Excel file....
    See more | Go to post

  • Pittaman
    replied to Installing a Windows Service in C#
    in .NET
    Hi there (my first post ever here!), I'm not sure what you are trying to do. But if you want to have your webservice as a normal exe which installs itself using InstallUtil you could try and go to the "Program.cs " (by the default) code in which the Service is created and started. It should look something like this:

    Code:
            /// <summary>
            /// The main entry point for the application.
    ...
    See more | Go to post
    Last edited by Pittaman; Aug 9 '07, 09:14 PM. Reason: Formatting wasn't good enough

    Leave a comment:

No activity results to display
Show More
Working...