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 wOOdy-Soft 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: *

  • Users: fletchsod
  • Content: Threads
  • Order by date
  1. fletchsod

    What's the best way to optimzie this query for less overhead and better performance?

    Hi! I wrote this sql-query script the best I could and I couldn't figure out a way to minimize the script. The script is way overkill. I'm using too many query for locations and I only need the 1st record result. I'm not proud of it. I wonder is there a way to fetch the 1st record...
  2. fletchsod

    routes.MapPageRoute("route1","support","~/Support.aspx") does not work

    I noticed trying to route the url to a physical webpage does not work. routes.MapPageRoute("route1","support","~/Support.aspx") but works when others is used... routes.MapPageRoute("route1","contact","~/ContactUs.aspx") routes.MapPageRoute("route1","about","~/AboutUs.aspx")...
  3. fletchsod

    Update unique row data in table using multiple rows data?

    With this script... No problem... Update tblDealership SET tblDealership.Address1 = tblDms.Address1, tblDealership.Address2 = tblDms.Address2, tblDealership.Address3 = tblDms.Address3 FROM tblDms INNER JOIN tblDealership ON tblDms.Id = tblDealership.Id But if I have mutliple...
  4. fletchsod

    Search Like Pattern for matching word in company name??

    It had gotten more complicated than I thought it on writing a sql-query script. I have a "manufacturer's make" table that need to match against the "dealership's company name" table to get a matching hit. Let's say I have "dealership's company name" table, example below. --snip--...
  5. fletchsod

    ASP.NET - Response.Redirect() broke the UpdatePanel's add_endRequest()

    I noticed that when calling ASP.NET's "Response.Redirect()" script effectively prevent the "Sys.WebForms.PageRequestManager.getInstance().add_endRequest()" from firing. Since Response.Redirect is ASP.NET server-side event while add_endRequest() is ASP.NET Ajax client-send event, so that make...
  6. fletchsod

    Content Page - How to find ContentPlaceHolder ID for Master Page?

    I'm getting a bit miffed over this... I'm using the Master Page and Content Page. I need to pass WebControl ID from Content Page to JavaScript caller in the Master Page. For this, I need to build a string variable, that way JavaScript can use getElementById to find this WebControl. (I'm...
  7. fletchsod

    .net mvc - need to catch old requested downloadable file w/ new path

    I'm moving everything over to new website, problem is full-file path for downloadable files from the old website does not exist in new website as they are put in different directory path. So, how do I use the mvc route to catch the browser's requested file and redirect so the downloadable file...
  8. fletchsod

    MVC - Question about Url.Action() and advanced EF Model.

    I have 2 questions... 1) I noticed this "Url.Action(...)" doesn't seem to support the "Area" value other than "Controller" & "Action" value. So, how do I make it support the "Area" value? --snip-- Url.Action("Login", "Member", null, "http", Request.ServerVariables["HTTP_HOST"]) --snip-- 2)...
  9. fletchsod

    MVC - Entity (EDMX) - Questions on database connection

    Hi! A few questions here... 1) In EDMX (model) designer, how to you change the database connection (different server, different password, etc.) after the model is already created. 2) Is there a way for EDMX (model) designer not to save database name, username and password to web.config...
  10. fletchsod

    JQuery - How to find $(#...) id by filter/wildcard?

    Let's say I have those ids... <span id="spanHtmlForm_rbSoftware">...</span> <span id="spanHtmlForm_txtCompany">...</span> How would I find those two "span" ids with a filter/wildcard in JQuery? I tried the "*" and it doesn't do the trick, so I welcome suggestion or help...
  11. fletchsod

    MVC - Model (EDMX) Is there a way to prevent data update to database?

    I have created an EDMX layout (Generate from Database) in Visual Studio 2010. I have a problem, it have too many fields, I only need 4 fields in the EDMX. Can it be done? I have another problem, this layout would allow updating of the data to the database which I don't want. How to prevent...
  12. fletchsod

    Difference with ASHX (generic handler) vs wcf?

    What's up with difference between generic handler (ashx) and window communication foundation (wcf)? What their purpose? THanks...
  13. fletchsod

    MVC - What's your preferred method to asychronous form submission??

    I'm looking at AJAX asychronous form submission as the prefer method for partial update. I see JQuery and MS-Ajax. I'm leaning toward JQuery as some research tells me it works faster and is more effiicient. So, penny for your thought!! Thanks...
  14. fletchsod

    MVC - button/form submission?

    I'm learning MVC and I have a problem. When I have 1 button on the same form, how do you guys submit the form? (& have the controller process the data). When I have 2 or more buttons on the same form, how do you guys submit the form? (& have the controller process the data).
  15. fletchsod

    MVC error - The controller for path '/' was not found or does not impl

    When I deploy the MVC website to IIS 6 and type the URL address like this "www.domain.com" then I got an error... --snip-- The controller for path '/' was not found or does not implement IController --snip-- As you can see, the IIS 6 does not redirect to "www.domain.com/default.aspx". So, how...
  16. fletchsod

    ASP.NET MVC - No App_Code directory?

    I'm learning ASP.NET MVC and I noticed there's no App_Code directory. So, where do I put the C# class files instead? Documentation or something to point me to the right direction? Thanks...
  17. fletchsod

    How do you translate &quot;window.onerror&quot; to JQUERY?

    How do you translate this to JQUERY? window.onerror = ftnJavascriptErrorNotification; THanks..
  18. fletchsod

    File Upload in 2nd &lt;form&gt; while no flashing postback in 1st &lt;form&gt;??

    In the 1st <form> have an <UpdatePanel> so that cause problem when a file upload (synchronous) cause a postback that undo the changes within the <UpdatePanel>. So, have anyone of you ever try having file upload in the 2nd <form> that does the synchronous postback without affecting the 1st...
  19. fletchsod

    ASP.NET Update Panell - RegisterStartupScript doesn't seem to work

    Hi! I noticed this doesn't work and I'm a little puzzled on how to make this work. The javascript alert() should work but it doesn't... So, is there a way to make this work? Thanks... //Aspx webpage <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin33.aspx.cs" Inherits="Admin1"...
  20. fletchsod

    Instead of .NET sql bulk copy, is it possible with Stored-Procedure?

    Hi! I've been writing the .NET application/window-service to start using bulk copy instead of line-by-line sql insertion, when reading from text file. It works pretty fast and beautifully. Now I'm wondering if it can be done with the .NET script to do bulk stored-procedures? If so, what...

Part and Inventory Search

Back
Top