Click here to Skip to main content
15,891,316 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Question[Message Deleted] [modified] Pin
srinandan..1-May-07 23:05
srinandan..1-May-07 23:05 
AnswerRe: ajax web extensiom problem (pls urgent) Pin
Gamzun1-May-07 23:45
Gamzun1-May-07 23:45 
GeneralRe: ajax web extensiom problem (pls urgent) Pin
srinandan..2-May-07 0:03
srinandan..2-May-07 0:03 
AnswerRe: ajax web extensiom problem (pls urgent) Pin
Gamzun2-May-07 0:10
Gamzun2-May-07 0:10 
QuestionSearch code using Asp.Net and SQL 2000 Pin
Stormint1-May-07 22:58
Stormint1-May-07 22:58 
AnswerRe: Search code using Asp.Net and SQL 2000 Pin
Paddy Boyd1-May-07 23:23
Paddy Boyd1-May-07 23:23 
GeneralRe: Search code using Asp.Net and SQL 2000 Pin
Paddy Boyd2-May-07 3:48
Paddy Boyd2-May-07 3:48 
QuestionJava script for confirm Pin
ramyasangeet1-May-07 22:39
ramyasangeet1-May-07 22:39 
hi all,

I have a Dropdown box(Active/Inactive) in Asp updateform.If the user selects Inactive and updates the form,then SP gives an output message that Inactive is selected.
Here i need to keep an confirm box using java script.This should be called only when Inactive is selected.
So i wrote code like this

<br />
//.cs<br />
protected void FormView1_ItemUpdating(object sender, FormViewUpdateEventArgs e)<br />
    {<br />
 if (myCommand_update.Parameters["@out_Message"].Value != DBNull.Value)<br />
                    {<br />
 Status_Msg.Text = Convert.ToString(myCommand_update.Parameters["@out_Message"].Value);<br />
 update_btn.Attributes.Add("onclick","return confirm_update();")              <br />
                        <br />
                     <br />
                    }<br />
}<br />
//java script<br />
function confirm_update()<br />
{<br />
  if (confirm("Would you like to Inactive the same?")==true)<br />
    return true;<br />
  else<br />
    return false;<br />
}<br />
<br />
<br />


but it is not working.

If active is selected there will be no ouput meaasge.


Plz help me to find the solution

Thanks in advance,




cheers

sangeet

AnswerRe: Java script for confirm Pin
Gamzun2-May-07 2:07
Gamzun2-May-07 2:07 
QuestionBest senario Pin
samerh1-May-07 21:52
samerh1-May-07 21:52 
Question.Net 1.1 and .Ne 2.0 Pin
Saranya B1-May-07 21:31
Saranya B1-May-07 21:31 
AnswerRe: .Net 1.1 and .Ne 2.0 Pin
N a v a n e e t h1-May-07 23:20
N a v a n e e t h1-May-07 23:20 
GeneralRe: .Net 1.1 and .Ne 2.0 Pin
Saranya B2-May-07 1:24
Saranya B2-May-07 1:24 
GeneralRe: .Net 1.1 and .Ne 2.0 Pin
RichardGrimmer3-May-07 5:52
RichardGrimmer3-May-07 5:52 
AnswerRe: .Net 1.1 and .Ne 2.0 Pin
Guffa2-May-07 0:45
Guffa2-May-07 0:45 
GeneralRe: .Net 1.1 and .Net 2.0 Pin
Saranya B2-May-07 1:44
Saranya B2-May-07 1:44 
GeneralRe: .Net 1.1 and .Net 2.0 Pin
N a v a n e e t h2-May-07 3:26
N a v a n e e t h2-May-07 3:26 
AnswerRe: .Net 1.1 and .Net 2.0 Pin
Guffa2-May-07 3:30
Guffa2-May-07 3:30 
Questionneed help with inheriting 'System.MarshalByRefObject' for remoting Pin
neodeaths1-May-07 20:18
neodeaths1-May-07 20:18 
QuestionImport Excel Sheet datas into mysql Pin
vijay_831-May-07 20:17
vijay_831-May-07 20:17 
AnswerRe: Import Excel Sheet datas into mysql Pin
VaibhavTiparadi1-May-07 21:08
VaibhavTiparadi1-May-07 21:08 
QuestionProblem with webclienet class uploadfile method? Pin
.NetRams1-May-07 20:11
.NetRams1-May-07 20:11 
AnswerRe: Problem with webclienet class uploadfile method? Pin
N a v a n e e t h1-May-07 21:06
N a v a n e e t h1-May-07 21:06 
QuestionError when trying to send mail Pin
anujose1-May-07 19:48
anujose1-May-07 19:48 
AnswerRe: Error when trying to send mail Pin
N a v a n e e t h1-May-07 21:07
N a v a n e e t h1-May-07 21:07 

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.