Click here to Skip to main content
12,751,306 members (34,744 online)
   

ASP.NET

 
QuestionIssue in web farm scenario deployment ASP.NET Pin
mukeshgaharwar21-Jan-13 20:20
membermukeshgaharwar21-Jan-13 20:20 
AnswerRe: Issue in web farm scenario deployment ASP.NET Pin
Sandeep Mewara22-Jan-13 3:41
mvpSandeep Mewara22-Jan-13 3:41 
QuestionWebResponse Pin
pit's_world21-Jan-13 2:50
memberpit's_world21-Jan-13 2:50 
AnswerRe: WebResponse Pin
Ali Al Omairi(Abu AlHassan)21-Jan-13 5:05
memberAli Al Omairi(Abu AlHassan)21-Jan-13 5:05 
Questioncolumn 'member_channel_name' does not belong to table Pin
Jassim Rahma20-Jan-13 10:57
memberJassim Rahma20-Jan-13 10:57 
AnswerRe: column 'member_channel_name' does not belong to table Pin
Brij20-Jan-13 22:52
mentorBrij20-Jan-13 22:52 
JokeRe: column 'member_channel_name' does not belong to table Pin
jkirkerx22-Jan-13 13:32
memberjkirkerx22-Jan-13 13:32 
QuestionPost and Get process ASP.NET MVC Pin
Patrik von Frieling20-Jan-13 6:10
memberPatrik von Frieling20-Jan-13 6:10 
Hello *,
I aked my question a few days ago on stack overflow but I'am not lucky with the one answer. Perhaps, someone can help me here.

My first controller method is:

[HttpGet]
public ActionResult Item()


In this method, I have some business logic like retrieve the user id with sql or watch out if a user has the permission to see some regions on the view or whatever.
I used bool variables in my viewbag and get these data with razor.
It's only one case..

Now, the user is going to fill data in a form, will make a post and then I call the same method, but with a [HttpPost()] flag (I saw it in many tutorials).

[HttpPost]
public ActionResult Item(FormCollection formCollection)


Ok, now I can collect the values out of the form and can work with them.
BUT if this function is ready, it gives as standard View() back and I can't made the business logic like in the Get() method or must I really copy/pase all these stuff or get it in a own function and call it two times?

Here is a link to my stack overflow question, perhaps you unterstand me better with that:

Stack Overflow question

Best regards, Patrik
AnswerRe: Post and Get process ASP.NET MVC Pin
deflinek21-Jan-13 4:23
memberdeflinek21-Jan-13 4:23 
QuestionResource files show empty content Pin
Ali Al Omairi(Abu AlHassan)20-Jan-13 0:19
memberAli Al Omairi(Abu AlHassan)20-Jan-13 0:19 
AnswerRe: Resource files show empty content Pin
Sandeep Mewara20-Jan-13 2:18
mvpSandeep Mewara20-Jan-13 2:18 
GeneralRe: Resource files show empty content Pin
Ali Al Omairi(Abu AlHassan)20-Jan-13 2:51
memberAli Al Omairi(Abu AlHassan)20-Jan-13 2:51 
GeneralRe: Resource files show empty content Pin
Sandeep Mewara20-Jan-13 4:01
mvpSandeep Mewara20-Jan-13 4:01 
QuestionViewState not working in UserControl Pin
Jassim Rahma19-Jan-13 6:29
memberJassim Rahma19-Jan-13 6:29 
AnswerRe: ViewState not working in UserControl Pin
jkirkerx19-Jan-13 19:35
memberjkirkerx19-Jan-13 19:35 
AnswerRe: ViewState not working in UserControl Pin
Richard Deeming21-Jan-13 3:07
memberRichard Deeming21-Jan-13 3:07 
QuestionHow can we export data into csv format in c#.net Pin
Er Atul Sharma19-Jan-13 0:31
memberEr Atul Sharma19-Jan-13 0:31 
AnswerRe: How can we export data into csv format in c#.net Pin
Sandeep Mewara19-Jan-13 6:54
mvpSandeep Mewara19-Jan-13 6:54 
QuestionSQL Server error Pin
Pritam Sankar Roy18-Jan-13 19:31
memberPritam Sankar Roy18-Jan-13 19:31 
AnswerRe: SQL Server error Pin
Nandakishorerao18-Jan-13 22:39
memberNandakishorerao18-Jan-13 22:39 
AnswerRe: SQL Server error Pin
Shameel23-Jan-13 5:51
memberShameel23-Jan-13 5:51 
QuestionHow to asp:Literal with more..? Pin
Jassim Rahma18-Jan-13 4:19
memberJassim Rahma18-Jan-13 4:19 
AnswerRe: How to asp:Literal with more..? Pin
Parwej Ahamad18-Jan-13 8:13
memberParwej Ahamad18-Jan-13 8:13 
AnswerRe: How to asp:Literal with more..? Pin
Nandakishorerao18-Jan-13 22:46
memberNandakishorerao18-Jan-13 22:46 
QuestionFindControl not working in Gridview ItemTemplate of Button Pin
Member 974870717-Jan-13 20:42
memberMember 974870717-Jan-13 20:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.170215.1 | Last Updated 21 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid