Click here to Skip to main content
15,894,291 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: EOF in Dataset Pin
Imran Khan Pathan9-Jul-08 1:59
Imran Khan Pathan9-Jul-08 1:59 
QuestionError with Button onClick Pin
Member 36750479-Jul-08 0:39
Member 36750479-Jul-08 0:39 
AnswerRe: Error with Button onClick [modified] Pin
meeram3959-Jul-08 0:55
meeram3959-Jul-08 0:55 
QuestionImage maps Pin
Michael Bookatz9-Jul-08 0:32
Michael Bookatz9-Jul-08 0:32 
QuestionHow To get Clients' IP Pin
kadkir9-Jul-08 0:28
kadkir9-Jul-08 0:28 
AnswerRe: How To get Clients' IP Pin
Eduard Keilholz9-Jul-08 0:38
Eduard Keilholz9-Jul-08 0:38 
GeneralRe: How To get Clients' IP Pin
AprNgp9-Jul-08 6:35
AprNgp9-Jul-08 6:35 
QuestionReturning a Notification or Error Message to the User Pin
Waleed Eissa9-Jul-08 0:24
Waleed Eissa9-Jul-08 0:24 
I'm looking for a clean way to return a notification message to the user. For example, if I have a forum and the user adds a post to the forum I return something like "the post was added successfully". Now, in order to do this, I usually create three panels, one for the controls needed to add the post and another one for the notification message in case of success and the third one is an error message in case something goes wrong. When the user clicks the "Add Post" button I hide the controls panel and show the panel that contains the notification message (if the post was added successfully) or show the panel that contains the error message (if the add post failed). I wonder if there's a better way to do that. I thought about two alternatives and I would like to have some feedback from you. The first alternative is to use Server.Transfer(), ie. when the user clicks the "Add Post" button, the request is transferred to another page that contains the notification message (or to a page that contains an error message if the add post failed). The other idea is by using ContentPlaceHolder controls. I always use a masterpage with one ContentPlaceHolder control for page contents, I was wondering whether it's possible to clear all contents from the ContentPlaceHolder control in a content page and just add the success notification or error message.

Do you have alternatives other than those two? Which approach of the three (if any) do you think is better? And what do of the advantages and disadvantages of each of them?

Your feedback is really appreciated ..


Questioncreate a link in a aspx page Pin
hvkrishna8-Jul-08 23:14
hvkrishna8-Jul-08 23:14 
AnswerRe: create a link in a aspx page Pin
eyeseetee8-Jul-08 23:20
eyeseetee8-Jul-08 23:20 
QuestionGetting some Parser Error Pin
hemant hardas8-Jul-08 23:03
hemant hardas8-Jul-08 23:03 
AnswerRe: Getting some Parser Error Pin
eyeseetee8-Jul-08 23:21
eyeseetee8-Jul-08 23:21 
GeneralRe: Getting some Parser Error [modified] Pin
hemant hardas9-Jul-08 0:46
hemant hardas9-Jul-08 0:46 
QuestionInsert Dynamic row in gridview with Dropdownlist [modified] Pin
kimo code8-Jul-08 23:03
kimo code8-Jul-08 23:03 
Questionadd required validator to dynamically created textbox Pin
eyeseetee8-Jul-08 22:31
eyeseetee8-Jul-08 22:31 
AnswerRe: add required validator to dynamically created textbox Pin
Sherin Iranimose8-Jul-08 22:44
Sherin Iranimose8-Jul-08 22:44 
GeneralRe: add required validator to dynamically created textbox Pin
eyeseetee8-Jul-08 22:51
eyeseetee8-Jul-08 22:51 
GeneralRe: add required validator to dynamically created textbox Pin
N a v a n e e t h8-Jul-08 22:54
N a v a n e e t h8-Jul-08 22:54 
GeneralRe: add required validator to dynamically created textbox Pin
eyeseetee8-Jul-08 22:56
eyeseetee8-Jul-08 22:56 
GeneralRe: add required validator to dynamically created textbox Pin
N a v a n e e t h8-Jul-08 23:09
N a v a n e e t h8-Jul-08 23:09 
GeneralRe: add required validator to dynamically created textbox Pin
eyeseetee9-Jul-08 0:03
eyeseetee9-Jul-08 0:03 
GeneralRe: add required validator to dynamically created textbox Pin
N a v a n e e t h9-Jul-08 1:01
N a v a n e e t h9-Jul-08 1:01 
GeneralRe: add required validator to dynamically created textbox Pin
eyeseetee9-Jul-08 2:45
eyeseetee9-Jul-08 2:45 
GeneralRe: add required validator to dynamically created textbox Pin
Imran Khan Pathan9-Jul-08 3:03
Imran Khan Pathan9-Jul-08 3:03 
GeneralRe: add required validator to dynamically created textbox Pin
eyeseetee9-Jul-08 3:09
eyeseetee9-Jul-08 3:09 

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.