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. brucegonewild

    Create Graphics object from User Control

    Thanks for the reply. Yes that would be a very logical approach. My problem is really combining my Chart-Image and the data-image. So let's say both images are created. How would I create a final image of the two? My problem is really the lack of experience with the Graphics library, as well...
  2. brucegonewild

    Create Graphics object from User Control

    Hi there, I have a form made up of two web-user-controls. In one web-user control, I have a third party graph (saved as an image). In the other user-control I have a data-grid displaying very simple set of rows with some text and numbers in it. What I have to do is to export the content of my...
  3. brucegonewild

    Opening a server file on client machine...

    Hi there, My users generate certain reports through our website. Once they're done creating these reports, they need to export these reports back to their local box. So what I need to do is: 1. Create a temp file and write the contents of the report to this file 2. Get user to "Save" this temp...
  4. brucegonewild

    Sending web-content to PDF, Excel, Flash, JPG?

    I display a set of data through a Chart (using Telerik Chart) and a data-grid... What I'm required to do is to save everything displayed on the page (as displayed on the page) in the following formats: .pdf .xls flash and jpeg. Any idea on how to go about this?? I was hoping to be able to get...
  5. brucegonewild

    dynamic pivoting

    hey Tyson, thanks for the quote... however, unfortunately i have just learned a very painful listen: http://www.sqlmag.com/article/articleid/94856/94856.html Are you reading this Uncle Bill!!! Get your slaves fixing it! Static pivoting is really useless (to me)! cheers!
  6. brucegonewild

    dynamic pivoting

    hey there, I need to turn this following table: Col1 |Col2 |Col3 -----|-----|---- r11 |row12|row13 -----|-----|---- r21 |row22|row23 -----|-----|---- into: Col1 | r12 | r22 -----|-----|---- Naturally, I would have to use "PIVOT". Except, when using the pivot functionality I have to...
  7. brucegonewild

    Dynamic Pivoting

    hey there, I need to turn this following table: Col1 |Col2 |Col3 -----|-----|---- r11 |row12|row13 -----|-----|---- r21 |row22|row23 -----|-----|---- into: Col1 | r12 | r22 -----|-----|---- Naturally, I would have to use "PIVOT". Except, when using the pivot functionality I have to...
  8. brucegonewild

    handling window.closed

    This must be super easy for you javascript wizards! here's my code: var myHandle = window.open(url); if (myHandle.closed) { alert("aloha"); } Just a note, myHandle is a local function variable. Is there an onClosed event that I can handle? Any help is much apreciated!!
  9. brucegonewild

    Calling a javascript function from Code-behind...

    How can I call a javaScript function that I've registered through this.Page.RegisterClientScript("key", scriptText)? To be more precise, I need to pop up an error message (an alert) when a SystemException occurs in my code behind. Ideas? cheers!
  10. brucegonewild

    Auto Generated datasets and Formul field in DB

    yes I can definitly change the code in the designer mode no problem.... however, next time that the dataset has to be regenerated same errors will popup. Besides our code is in Source Safe... so should one of my colleagues decide to regenerate the dataset, all the designer code changes that I...
  11. brucegonewild

    Auto Generated datasets and Formul field in DB

    I'm using .NET 2005, 2.0;
  12. brucegonewild

    Auto Generated datasets and Formul field in DB

    Unfortunately at this point, due to VERY strict (and might I add stupid) company-policies, we are not allowed to write Stored-procedures! the bottom line is I'm limited to Generated datasets. There's absolutly no other option... Just to save my behind fromg getting fired, I decided to remove...
  13. brucegonewild

    Auto Generated datasets and Formul field in DB

    Hi there... So our company has decided to continue on using the dreadfull generated datasets that come with .NET (instead of using something like entity-spaces etc)... In any event, I have a field in my DB-Table which is a "Computed field". Meaning, its value is calculated. So obviously when...
  14. brucegonewild

    Adding <asp:ListItem> to <asp:dropdown> from Javascript

    hey there, So I have this javascript function that does an Ajax call to get a bunch of data... this part is fine... I get the following (from my ajax-responseText), and I thought I could simply populate my drop-down by setting its innerHtml (or innerText) to responseText... no luck. here's what...
  15. brucegonewild

    Accessing HTML-Controls...

    hmmm, well i'll be darned! you see, you kep on mentioning to turn on the runat=server on my control... I kept on doing it and I kept on getting an error, thinking it's the javascript that can't access it!! well it wasn't... I had a couple of other functions accessing this same control and so I...
  16. brucegonewild

    Accessing HTML-Controls...

    Guys, you're looking at this to be a very simple problem... It's a bit trickier than a simple access from EITHER the client-side OR the server-side. The problem is I need to access the control both from the client-side (for fast-javaScript interactivity) and from the server-side (so I can save...
  17. brucegonewild

    Accessing HTML-Controls...

    Yes, control.ClientID definitly works; however, once the control is registered to be a server-control, then I can't assign a JavaScript event handler to the control: Example: <script> function JavaHandler() { document.getElementById('<% GetServerCtrlCLientID() %>').style.display = 'none'...
  18. brucegonewild

    Accessing HTML-Controls...

    right... i read that everywhere... Unfortunately I don't think this method really helps me though. I mean even if I do register the javascript at run time, I would still need to handle the control-events using javaScript and access users-input in code-behind. Handling the events through...
  19. brucegonewild

    Accessing HTML-Controls...

    Yes, but I'm trying to handle the html-control through my JavaScript not <%= %> which is in fact code-behind... I'm starting to think an ajax call is the only option... but I'm trying to avoid that due to some internal-politics!
  20. brucegonewild

    Accessing HTML-Controls...

    I just tried it... but no dice: The only thing I changed on one of thse HTML-controls is: runat='server' Then my JavaScript that accesses the html-control failed: document.getElementById('ctrlID') Are you suggesting I should use <%= ctrlID.ClientID %>

Part and Inventory Search

Back
Top