Search

You searched for the word(s): userid:246167

Matching Posts

  • JQuery - Create and Populate a List

    I am trying to use jQuery to create a list, populate it using a JSON object, display it in the current browser page, put the focus into the list, allow the user to select a value, put the selected value into text box, then have the list go away. This is not a quickfill, just a list populated via a JSON object. Does anyone know of a simple example of this? I have found a couple of quick fill type plugins, but have not been able to reverse engineer them yet. Thanks Mike Thomas
    Posted to Client Side Web Development (Forum) by GeyikBaba on 6/3/2009
  • Re: A C# Function to Copy Files as Soon as They Hit Folder?

    Many thanks Darrell - this looks good. Mike Thomas
    Posted to C# (Forum) by GeyikBaba on 5/30/2009
  • A C# Function to Copy Files as Soon as They Hit Folder?

    We have a situation where text files are deposited more or less continually into a directory. An application periodically polls the folder, processes each file, then MOVEs it to an archive. We now have a need to COPY each file to another directory as soon as it hits the directory. Polling will not work, we want to copy the file out as soon as it is deposited. The copy will go elsewhere, while the original will stay behind to be processed in the existing way. I am hung up on how to code something
    Posted to C# (Forum) by GeyikBaba on 5/29/2009
  • Re: Idea for Client Side PIck Box

    Many thanks - I had not seen that one. I'll se if I can figure out exactly what it's doing behind the scenes. Mike Thomas
    Posted to Client Side Web Development (Forum) by GeyikBaba on 5/20/2009
  • Idea for Client Side PIck Box

    In a form, we have occasions when users need to select vendors, customers etc. These tables are too large to load a drop down list on the server side, so we've set up this scenario: - User enters first letters of entity name in a text box - Call a web service which searches the table and returns all matching ID's and names in a JSON object. If there is only one match, populate a hidden field with the ID and the text box with the entity name. All done. If there are no matches, put up an alert
    Posted to Client Side Web Development (Forum) by GeyikBaba on 5/20/2009
  • Re: How to Serialize Several Rows of Data

    Answer was pretty simple, even though this code does not look very gracefull to me: Get the search string from the client: [WebMethod] public Object businessFetch(String sSeek) { ListOfBusinesses l = new ListOfBusinesses (); List<Business> b = l.listBusinesses(sSeek); JavaScriptSerializer s = new JavaScriptSerializer(); return s.Serialize(b); } Instantiate the class, get the records, return the list to the proxy: public Business(String sBupk, String sBu_name) { this.Bupk = sBupk; this.Bu_name
    Posted to Client Side Web Development (Forum) by GeyikBaba on 5/20/2009
  • How to Serialize Several Rows of Data

    Learning jQuery and Web Services, I've been able to create an object on the server side in C#, serialize it with JavaScriptSerializer s = new JavaScriptSerializer(); return s.Serialize(theObject); send it back to the browser, and display it. That's one object. How do I do the same if there is more than one object. For example, three rows are returned from a table rather than one? How can I make an 'array' of objects, then have JavaScriptSerializer serialize it so that it can be sent
    Posted to Client Side Web Development (Forum) by GeyikBaba on 5/18/2009
  • Re: How to Return a String Var from Web Svc to Client

    Sorry - that should have been Encosia. MST
  • Re: How to Return a String Var from Web Svc to Client

    Thanks very much for your answer and especially for the pointer to Encona - that looks like a great website for what I'm doing right now. Mike Thomas
  • How to Return a String Var from Web Svc to Client

    In ASP.NET 3.5, I am sending form fields to the server via jquery as below. The server updates the record, then sends a success or failure message back to the client. But, the client is interpreting a simple string returned to the 'success' function saveResults() on the client as an object, not a string. I would expect s to equal "OK", but what I am getting is s.d === "OK", where d is an element of s, apparently. The web service is returning a simple string. I've verified
Page 1 of 23 (229 items) 1 2 3 4 5 Next > ... Last »