Hi Dudes i need a javascript code for code behind using c#.When user click on delete button the popup dialog open Do you really want to delete Yes/No on Yes i want to put my Delete Method there.Pls help me.Thanks in advance.
Moss ali
0
Newbie Poster
Recommended Answers
Jump to Postif you are using Update Panel then
ScriptManager.RegisterClientScriptBlock(this,getType(),"Key","alert('it is working')","true");
if not using update panel then
page.clientscript.registerstartupscript(getType(),,"Key","alert('it is working')","true");
hope that helps
All 4 Replies
jbisono
51
Posting Pro in Training
omar isaid
0
Light Poster
dnanetwork
18
Practically a Master Poster
Banned
nakor77
commented:
i like it, but should there be an empty space between two commas on the second example?
+2
nakor77
21
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.