javascript - Using TempData and deleting it in jQuery -
i have use tempdata 1 controller one. on last controller's view, using jquery script check value of tempdata , if value corresponds need do, popup shows up.
after popup, want delete value of temp data. have used @(tempdata["mykey"]).remove , tempdata.remove("mykey") in script, still no luck.
i know there alternatives(viewbag, viewdata,s ession) have use tempdata since user redirected.
thanks in advance.
Comments
Post a Comment