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 SkipVought 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. Gruuka

    Linq + repository classes

    Greetings, In a current vs solution I have 2 projects, 1 holds the linq datacontext classes and another holds the business model. Inside the business model I created a class which inherits from my datacontext like so; Public Class <snip>DataModel Inherits <snip>DataContext In...
  2. Gruuka

    Nothing generated when using Excel 11.0 com

    That can be done by changing the response headers of your page. Response.ContentType = "application/vnd.ms-excel" Response.AddHeader("content-disposition", "attachment; filename=" & yourFileName) Response.BinaryWrite(fileContents) I think that you'd still need to save the file to the server.
  3. Gruuka

    Nothing generated when using Excel 11.0 com

    Did you try saving it to your server with the SaveAs method? Like xlWorkBook.SaveAs("path\filename") http://msdn.microsoft.com/en-us/library/microsoft.office.tools.excel.workbook.saveas(VS.80).aspx
  4. Gruuka

    Ajax:ModalPopupExtender and dropdowns

    Hello, I have a problem with the ModalPopupExtender control and dropdowns, it's the following issue: as soon as the modalpopupextender is shown Dropdownlists dissapear from the page itself and when the extender control is closed the Dropdownlists reappear again. The code on the page looks as...
  5. Gruuka

    Debugging url rewriting within Visual Studio 2005

    Thanks I will try that out, but there is one thing in your post that made me wonder about something. In IIS you have the option to create a Wildcard mapping for all files and directories (you get the option to let isapi respond to every request even if it could send a 404 back). Would you...
  6. Gruuka

    Best practice in creating an update form web page?

    What I usually do is the following. I create a Gridview with Hiddenfields that will contain the ID value of a certain item from the database, then another hiddenfield (the amount depends on the items you wish to edit in that tablerow). Once the hiddenfields are made you add the textboxes or...
  7. Gruuka

    Debugging url rewriting within Visual Studio 2005

    Hello all, I was wondering about the following issue, at the moment an url rewrite module is being implemented into one of the company's sites. However this site will need future updates so the use of debugging is needed. The problem starts with the use of the response.rewritepath method...
  8. Gruuka

    mshtml application speed

    I think that I might have found out what's going wrong here, the Init method is being called twice in the HttpModule.
  9. Gruuka

    mshtml application speed

    No I made an url crawler once for a sitemap generator that uses mshtml aswell (windows app) and the only thing that slowed the app down was the axwebbrowser(sp?) object that would be responsible for downloading the HTML code. Parsing the html went as fast as any normal string operation given...
  10. Gruuka

    mshtml application speed

    Not 100% sure about that, since I do have to include the reference of the mshtml dll file into the project. But I just recalled something I made an vb.net windows application once that read a bunch of links in with mshtml and that went pretty smoothe. So my guess is that it can be a threading...
  11. Gruuka

    mshtml application speed

    Hello all, I am using mshtml in a asp. Looping trough every element, changing it/writing it back to the page seems to work fine but there is one annoyance. Calling the mshtml object and filling it makes the page's loading time alot longer (say 4-5 seconds). Now for the company's site this is...
  12. Gruuka

    HttpModule + render method

    Looking into that right now, thanks for the tip.
  13. Gruuka

    HttpModule + render method

    I am currently developing a Httpmodule for url rewriting and I would like to have an extra feature with it: the module should both handle the url rewrites and if possible access the htmlsource of the page so it can move the viewstate and actually rewrite links on the site. I found out that the...
  14. Gruuka

    RowNum() and Order by

    My colleague made an sql query where he uses Rownum to sort the selection with, now his query is setup like the following: Select *,RowNum From (select rownum() over(id) from test) as RowNum where -- order by RowNum The thing that is happening in this code is that a subtable is selected...
  15. Gruuka

    Unexpected query results

    Cheers! That worked, but just wondering why is the isnull comparison needed? I mean if the values of the table columns are null shouldn't you be able to select on those values?
  16. Gruuka

    Unexpected query results

    Hello, I am facing a problem with one stored procedure that I made using a method in the WHERE clause that worked in other queries. ALTER PROCEDURE backend_GetReferrers -- Add the parameters for the stored procedure here @Filialen_ID varchar(6) = null, @Omschrijving varchar(100) = null...
  17. Gruuka

    what am i supposed to do in a .vb file

    http://www.codeproject.com/index.asp has some nice articles about asp.net/vb ranging from beginner to advance. To create your own .vb file that holds your own classes in Visual Studio you right click on the project name in the solution explorer. Then you select "Add new item" and a new form will...
  18. Gruuka

    Nul? Page does not display

    Just taking a wild guess here, but if your html output is shown in the source view but not on the page then you probally forgot to add/close a body/html/header tag or left one open like so "<body" (just a guess).
  19. Gruuka

    PHP variable isn't being passed between files

    You can try the following, on index.php you create hiddenfields and set the value of those according to the variables you have on that page, then in menu.php you set the variable values there by requesting the hiddenfield values in index.php.
  20. Gruuka

    Gridview dynamic controls on Masterpage

    Sorry but I don't understand that part, the controls I have on the gridview are all dynamicly created on page_init so setting those as public prop on the masterpage would be somewhat impossible? (unless I am mistaken ofcourse).

Part and Inventory Search

Back
Top