Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. UIPAB problems, please help

UIPAB problems, please help

Scheduled Pinned Locked Moved ASP.NET
questionhelpcsharphtmlcss
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Steven Campbell
    wrote on last edited by
    #1

    I realise this is a somewhat specialized question, but am hoping that someone can shed some light on this for me... I am using Microsoft's UIP Application Block in an ASP.NET project. I have a grid, with code-behind that looks like this: OnStartTask("EditItemTask", myArgs); where myArgs depend on the grid item that was clicked. This then successfully starts the EditItem Task. My problem is that if the user presses the browser's back button, and then selects another item from the grid, then the same (previous) item will display instead of the selected one. In fact, if they execute ANY LinkButton, it will do the same thing. After some debugging, I determined that my form's codebehind is not getting executed. This is because the WebFormView (from which the page inherits) determines that "EditItemTask" is the active task, and just redisplays the appropriate view for that task. So I guess my question is, how do I get a new task to be created every time I click a codebehind, rather than just resuming the old one? I am on the brink of re-writing this app to use plain-old querystrings, session variables etc, because of the pains of using UIPAB.


    my blog

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups