Search

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

Matching Posts

  • Re: Calling action and popups

    Hi, I have done some testing and just changing the parameter name for the action and changing it in the redirect call will work. I don't understand how that is possible but it will work that way. Anyone have an idea what could be going on? Thanks
    Posted to ASP.NET MVC (Forum) by JPEvans on 8/19/2009
  • Calling action and popups

    Hi, First off sorry I won't be able to give all the code for this. My problem comes when I am trying to call an action from my controller. I have a modal popup that displays a list of items with a radio button linked to an "id" that is passed to the action when a selection is made at first. This has changed since the selection reloads the page and any changes need to be saved. So a popup delima wrapped around calling actions/popups. So the first popup listing the items still occurs
    Posted to ASP.NET MVC (Forum) by JPEvans on 8/18/2009
    Filed under: Asp.net MVC General
  • Re: Moving groups of items or items through a linked list

    Hi, I think I found my own solution: while (next != null) // && next != terminator) { node = next; next = next.Previous; if (IDs.Contains(Id)) { move.Add(node); list.Remove(node); } else { foreach (var item in move) { list.AddBefore(node, item); node = node.Previous; } move.Clear(); } if (next == null) { foreach (var item in move) { list.AddFirst(item); } move.Clear(); } }
    Posted to C# (Forum) by JPEvans on 7/30/2009
  • Moving groups of items or items through a linked list

    I'm trying to move items in my list but when I compare against the last option I exit out before I move the items in my move linked list. Is there a way to do that before the node gets put at the end and can't loop through to move the items? When I get to the start of the linked list I exit out before the items are moved. LinkedList<BD> list = new LinkedList<BD>(b[arg].Values); LinkedListNode<BD> node, terminator, next = null; List<LinkedListNode<BD>> move =
    Posted to C# (Forum) by JPEvans on 7/29/2009
    Filed under: c #
  • popup for data in the middle of controller action

    Hi, If I have called an action and the model data has changed. I want to display a popup before I continue to ask the user if they would like to save the data. How would that be handled in the middle of an action? Can I call and wait for a response before continuing with the action? Thanks
    Posted to ASP.NET MVC (Forum) by JPEvans on 7/21/2009
    Filed under: asp.net mvc actionfilters
  • Using ajax.BeginDynamicForm and calling ajax for update

    Hi, I have been doing the following: using(Ajax.BeginDynamicForm("MyForm") { ... } Now when I try and update I call a controller action with a DynamicAjaxOptions. I send the partial view result with the model for the above page but when I try it I get a htmlfile: Unknown runtime error in the MicrosfotAjax.js file. I'm wondering if the BeginDynamicForm is messing things up for a AJAX call or is it something else? Thanks
    Posted to ASP.NET MVC (Forum) by JPEvans on 7/17/2009
    Filed under: "ASP.NET MVC 1.0", "AJAX"
  • Re: ASP.NET MVC Model data

    What do you mean by hitting my persistence layer again to get the data? Thanks
    Posted to ASP.NET MVC (Forum) by JPEvans on 7/13/2009
  • ASP.NET MVC Model data

    hi, i have an application where my model passed to the main Index page contains List<t> to populate and call other partial pages. Now from those partial pages I'm using a mvc contrib grid with the list data. I need to sort on the columns. I have setup the action link and parameters but how can I get the list of data back to sort in the controller (Please show some code)? and can I just return a Partial for that action to repopulate that grid? Thanks
    Posted to ASP.NET MVC (Forum) by JPEvans on 7/12/2009
    Filed under: "ASP.NET MVC v1.0", "AJAX"
  • Re: Unload event example

    Hi, Do you know of an example I could look at for that? ****EDIT**** I found one never mind. Thanks for the answer. Thanks
    Posted to ASP.NET MVC (Forum) by JPEvans on 6/3/2009
  • Unload event example

    Hi, First I know the usual events like unload is not available with MVC but I'm trying to save the current data on a page if a user goes to a different website or closes the browser. I have found the following link https://jabbify.com/docs/classes/MVC.Controller.Action.Event.html but looking for an example of how this is setup with MVC or am I going to have to create a jquery window unload in the view? Thanks
    Posted to ASP.NET MVC (Forum) by JPEvans on 6/2/2009
Page 1 of 2 (13 items) 1 2 Next >