Click here to Skip to main content
15,917,642 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Data Getting Error - Any one help me???? Pin
Saksida Bojan2-Nov-07 6:58
Saksida Bojan2-Nov-07 6:58 
QuestionHow to handle security for login logout. Pin
Tutul Biswas2-Nov-07 2:38
Tutul Biswas2-Nov-07 2:38 
AnswerRe: How to handle security for login logout. Pin
N a v a n e e t h2-Nov-07 3:37
N a v a n e e t h2-Nov-07 3:37 
Questionhow to set background image Pin
ps.srinivasan2-Nov-07 2:37
ps.srinivasan2-Nov-07 2:37 
AnswerRe: how to set background image Pin
Unknown Ajanabi2-Nov-07 3:19
Unknown Ajanabi2-Nov-07 3:19 
GeneralRe: how to set background image Pin
ps.srinivasan2-Nov-07 18:49
ps.srinivasan2-Nov-07 18:49 
QuestionI need to display the menuitem by horizontally. please help me Pin
PeriyasamyRamachandran2-Nov-07 2:19
PeriyasamyRamachandran2-Nov-07 2:19 
QuestionProblem with Update Panel [modified] Pin
M_Menon2-Nov-07 2:15
M_Menon2-Nov-07 2:15 
Hi Friends

I am using Ajax in C#.NET.

I have recently noticed that. I cannot fire Messagebox(Javascript-JS) if inside Update Panel.

I am using Update Panel on my GridView.
Only click of Delete Button i am firing one JS asking "Are You Sure"
My Code

LinkButton l = (LinkButton)e.Row.FindControl("lbtnDelete");
l.Attributes.Add("onclick", "javascript:return " +
"confirm('Are You Sure You want to Delete ? ')");

The Above Code works perfectly. But then i make a DataBase Check if that Record is used anywhere else.
So its like
if(CheckRecord)
Response.Write("<script>alert('Are you sure youw want to Continue?')</script>");


It doesnt work.
i tired another dll for msgbox, which also doesnt work.
I suspected for the Update panel. And i was right. If i remove the Update Panel both the options fire MessageBox for me.

But i am using Edit,Delete,AddNew methods in GridView henceforth i need Update Panel.

Now i have no Idea what should i do?

Any solutions would be appreciated.

Thanks


-- modified at 8:22 Friday 2nd November, 2007

Cheers

Menon

AnswerRe: Problem with Update Panel Pin
Venkatesh Mookkan2-Nov-07 17:42
Venkatesh Mookkan2-Nov-07 17:42 
GeneralRe: Problem with Update Panel Pin
M_Menon4-Nov-07 0:15
M_Menon4-Nov-07 0:15 
QuestionNeed comment for Viewstate Pin
dataminers2-Nov-07 2:09
dataminers2-Nov-07 2:09 
AnswerRe: Need comment for Viewstate Pin
N a v a n e e t h2-Nov-07 3:38
N a v a n e e t h2-Nov-07 3:38 
GeneralRe: Need comment for Viewstate Pin
dataminers2-Nov-07 5:13
dataminers2-Nov-07 5:13 
Questionproblem with session time out Pin
vsaran2-Nov-07 1:48
vsaran2-Nov-07 1:48 
AnswerRe: problem with session time out Pin
r a j u u2-Nov-07 2:08
r a j u u2-Nov-07 2:08 
GeneralRe: problem with session time out Pin
vsaran2-Nov-07 3:04
vsaran2-Nov-07 3:04 
AnswerRe: problem with session time out Pin
Braulio Dez3-Nov-07 6:25
Braulio Dez3-Nov-07 6:25 
QuestionReporting options for ASP.NET 2 website? Pin
Baz2-Nov-07 1:28
Baz2-Nov-07 1:28 
AnswerRe: Reporting options for ASP.NET 2 website? Pin
r a j u u2-Nov-07 2:04
r a j u u2-Nov-07 2:04 
GeneralRe: Reporting options for ASP.NET 2 website? Pin
Baz2-Nov-07 2:37
Baz2-Nov-07 2:37 
Questioncheckboxlist Pin
RajeevKumarSharma2-Nov-07 1:24
RajeevKumarSharma2-Nov-07 1:24 
AnswerRe: checkboxlist Pin
Christian Graus2-Nov-07 1:35
protectorChristian Graus2-Nov-07 1:35 
GeneralRe: checkboxlist Pin
RajeevKumarSharma2-Nov-07 1:42
RajeevKumarSharma2-Nov-07 1:42 
AnswerCheckboxlist Pin
Sarani Ravindran2-Nov-07 2:26
Sarani Ravindran2-Nov-07 2:26 
GeneralRe: Checkboxlist Pin
RajeevKumarSharma2-Nov-07 2:32
RajeevKumarSharma2-Nov-07 2:32 

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.