Click here to Skip to main content
15,888,610 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: converting asp.net code from 2003 - 2005 problem.... Pin
Abhijit Jana25-Dec-08 21:03
professionalAbhijit Jana25-Dec-08 21:03 
GeneralRe: converting asp.net code from 2003 - 2005 problem.... Pin
MS Lee25-Dec-08 21:53
MS Lee25-Dec-08 21:53 
GeneralRe: converting asp.net code from 2003 - 2005 problem.... Pin
Abhijit Jana25-Dec-08 22:06
professionalAbhijit Jana25-Dec-08 22:06 
GeneralRe: converting asp.net code from 2003 - 2005 problem.... Pin
MS Lee25-Dec-08 23:03
MS Lee25-Dec-08 23:03 
GeneralRe: converting asp.net code from 2003 - 2005 problem.... Pin
Abhijit Jana25-Dec-08 23:41
professionalAbhijit Jana25-Dec-08 23:41 
QuestionCustom Role Management problem Pin
Mogaambo25-Dec-08 19:59
Mogaambo25-Dec-08 19:59 
QuestionJava Script MessageBox and confirmation Box using ASP.NET with C# Pin
pragya_chaubisa25-Dec-08 18:32
pragya_chaubisa25-Dec-08 18:32 
AnswerRe: Java Script MessageBox and confirmation Box using ASP.NET with C# Pin
Brij25-Dec-08 18:54
mentorBrij25-Dec-08 18:54 
For javascript message box ,Do as following
Register the javascript code as below in the button_Save_click() function after saving the data(i e last line in thios function)

string strMsg="data Saved";
Page.ClientScript.RegisterStartupScript(this.GetType(), "ShowMessage", "alert('" + strMsg+ "');", true);

For confirmation box
You use confirm instead of alert and if its true then delete else not as
<input id="btnSave" style="display:none" type="Button" value="Save" onclick="javascript:var blnValid = SaveDataAfterValidation(); if(!blnValid){return;}" onserverclick="SaveData_Click" runat="server"/>


Here SaveDataAfterValidation(); is a javascipt function showing the confirmbox

Cheers!!
Brij

GeneralRe: Java Script MessageBox and confirmation Box using ASP.NET with C# Pin
pragya_chaubisa26-Dec-08 0:05
pragya_chaubisa26-Dec-08 0:05 
GeneralRe: Java Script MessageBox and confirmation Box using ASP.NET with C# Pin
Brij26-Dec-08 0:50
mentorBrij26-Dec-08 0:50 
AnswerRe: Java Script MessageBox and confirmation Box using ASP.NET with C# Pin
koolprasad200325-Dec-08 23:34
professionalkoolprasad200325-Dec-08 23:34 
Questionhow to display sticky posts in a forum( in a DBgrid) Pin
pragya_chaubisa25-Dec-08 18:28
pragya_chaubisa25-Dec-08 18:28 
AnswerRe: how to display sticky posts in a forum( in a DBgrid) Pin
Brij25-Dec-08 19:05
mentorBrij25-Dec-08 19:05 
QuestionCan't access classes/objects? Pin
Arcdigital25-Dec-08 18:19
Arcdigital25-Dec-08 18:19 
AnswerRe: Can't access classes/objects? Pin
Brij25-Dec-08 19:00
mentorBrij25-Dec-08 19:00 
GeneralRe: Can't access classes/objects? Pin
Arcdigital26-Dec-08 2:50
Arcdigital26-Dec-08 2:50 
AnswerRe: Can't access classes/objects? Pin
Abhijit Jana25-Dec-08 19:06
professionalAbhijit Jana25-Dec-08 19:06 
QuestionFollow up on a previous post regarding the CSV files processing using Microsoft.VisualBasic.FileIO.TextFieldParser class Pin
Tina P25-Dec-08 16:52
Tina P25-Dec-08 16:52 
AnswerRe: Follow up on a previous post regarding the CSV files processing using Microsoft.VisualBasic.FileIO.TextFieldParser class Pin
N a v a n e e t h25-Dec-08 17:41
N a v a n e e t h25-Dec-08 17:41 
Questionlogin controls Pin
valli rajya lakshmi25-Dec-08 8:46
valli rajya lakshmi25-Dec-08 8:46 
AnswerRe: login controls Pin
Lars Brandt Stisen25-Dec-08 9:37
Lars Brandt Stisen25-Dec-08 9:37 
GeneralRe: login controls Pin
valli rajya lakshmi25-Dec-08 12:28
valli rajya lakshmi25-Dec-08 12:28 
GeneralRe: login controls Pin
Lars Brandt Stisen25-Dec-08 13:56
Lars Brandt Stisen25-Dec-08 13:56 
GeneralRe: login controls Pin
valli rajya lakshmi26-Dec-08 10:26
valli rajya lakshmi26-Dec-08 10:26 
QuestionWeb user Control Problem Pin
cmpemikail25-Dec-08 7:16
cmpemikail25-Dec-08 7:16 

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.