Click here to Skip to main content
15,921,941 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: CLEAR A TEXTBOX on SETFOCUS IN ASP.NET with C#? Pin
John Sundar19-Mar-08 21:54
John Sundar19-Mar-08 21:54 
QuestionAssigning change/delete permission to a file in ASP.net applications Pin
sidbaruah19-Mar-08 19:58
sidbaruah19-Mar-08 19:58 
GeneralRe: Assigning change/delete permission to a file in ASP.net applications Pin
N a v a n e e t h19-Mar-08 20:16
N a v a n e e t h19-Mar-08 20:16 
GeneralRe: Assigning change/delete permission to a file in ASP.net applications Pin
sidbaruah19-Mar-08 20:29
sidbaruah19-Mar-08 20:29 
GeneralRe: Assigning change/delete permission to a file in ASP.net applications Pin
N a v a n e e t h19-Mar-08 20:33
N a v a n e e t h19-Mar-08 20:33 
GeneralRe: Assigning change/delete permission to a file in ASP.net applications Pin
sidbaruah19-Mar-08 20:40
sidbaruah19-Mar-08 20:40 
Questionhow to write code for ok button in confirmation box Pin
iswaryaramkumar19-Mar-08 19:28
iswaryaramkumar19-Mar-08 19:28 
AnswerRe: how to write code for ok button in confirmation box Pin
N a v a n e e t h19-Mar-08 20:11
N a v a n e e t h19-Mar-08 20:11 
You totally missed the concept. Keep it in mind, ASP.NET executes at the server and javascript at client. When you use ClientScript.RegisterStartupScript, supplied script is sent to the response and rendered in the page. You are seeing the confirmation message after ASP.NET finished it's processing. You need to consider the following alternatives

1 - Create a separate confirmation page with two buttons OK and Cancel. Write your code inside OK button. When user clicks the Update button, take him to the confirmation page.

2 - Use OnClientClick event of the button, hook a JS function which shows the confirmation and retuns.

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

QuestionHow to remove line breaks in TreeView? [modified] Pin
Sam.M19-Mar-08 19:16
Sam.M19-Mar-08 19:16 
GeneralRe: How to remove line breaks in TreeView? Pin
Paul Conrad21-Mar-08 9:22
professionalPaul Conrad21-Mar-08 9:22 
QuestionHow to add mouseover event on Hyperlink in a gridview? Pin
wajans19-Mar-08 19:08
wajans19-Mar-08 19:08 
GeneralRe: How to add mouseover event on Hyperlink in a gridview? Pin
N a v a n e e t h19-Mar-08 20:13
N a v a n e e t h19-Mar-08 20:13 
GeneralRe: How to add mouseover event on Hyperlink in a gridview? Pin
rahul.net1119-Mar-08 20:39
rahul.net1119-Mar-08 20:39 
GeneralRe: How to add mouseover event on Hyperlink in a gridview? Pin
Laddie19-Mar-08 22:39
Laddie19-Mar-08 22:39 
Generalexport crystal report in excel in asp.net(urgent) Pin
Milind Panchal19-Mar-08 19:01
Milind Panchal19-Mar-08 19:01 
GeneralRe: export crystal report in excel in asp.net(urgent) Pin
Anoop Brijmohun19-Mar-08 20:32
Anoop Brijmohun19-Mar-08 20:32 
GeneralRe: export crystal report in excel in asp.net(urgent) Pin
Vasudevan Deepak Kumar20-Mar-08 21:50
Vasudevan Deepak Kumar20-Mar-08 21:50 
GeneralReport Problem Pin
Usharva19-Mar-08 18:29
Usharva19-Mar-08 18:29 
GeneralGenerate and render reports to PDF in a loop using ReportViewer in VS2005 Pin
SlamDunk2319-Mar-08 17:15
SlamDunk2319-Mar-08 17:15 
GeneralRe: Generate and render reports to PDF in a loop using ReportViewer in VS2005 Pin
sidbaruah19-Mar-08 20:36
sidbaruah19-Mar-08 20:36 
Questionhow to export data to powerpoint using vs2005 Pin
27185324119-Mar-08 16:21
27185324119-Mar-08 16:21 
AnswerRe: how to export data to powerpoint using vs2005 Pin
sidbaruah19-Mar-08 21:47
sidbaruah19-Mar-08 21:47 
GeneralParse the selected value from ddl and fill another ddl with information + NHibernate + C# Pin
Thommie.h19-Mar-08 11:16
Thommie.h19-Mar-08 11:16 
GeneralRe: Parse the selected value from ddl and fill another ddl with information + NHibernate + C# Pin
Marco van der Linden19-Mar-08 11:50
Marco van der Linden19-Mar-08 11:50 
GeneralRe: Parse the selected value from ddl and fill another ddl with information + NHibernate + C# Pin
Thommie.h20-Mar-08 5:40
Thommie.h20-Mar-08 5:40 

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.