Click here to Skip to main content
15,894,539 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: asp.net Password textbox Pin
N a v a n e e t h3-May-07 3:43
N a v a n e e t h3-May-07 3:43 
GeneralRe: asp.net Password textbox Pin
aransiola3-May-07 3:49
aransiola3-May-07 3:49 
AnswerRe: asp.net Password textbox Pin
enjoycrack3-May-07 3:52
enjoycrack3-May-07 3:52 
AnswerRe: asp.net Password textbox Pin
Tarakeshwar Reddy3-May-07 3:57
professionalTarakeshwar Reddy3-May-07 3:57 
QuestionAdding a tooltip to a datagrid row Pin
Christer Claesson3-May-07 2:51
Christer Claesson3-May-07 2:51 
AnswerRe: Adding a tooltip to a datagrid row Pin
N a v a n e e t h3-May-07 2:58
N a v a n e e t h3-May-07 2:58 
AnswerRe: Adding a tooltip to a datagrid row Pin
RichardGrimmer3-May-07 5:24
RichardGrimmer3-May-07 5:24 
QuestionHow to provide confirmation box to a template Dropdownlist Pin
NetBot3-May-07 2:40
NetBot3-May-07 2:40 
Hi all,
I am displaying a datagrid that contains a dropdown list in the 1st column.The user select the operation on the data from the dropdown.For this purpose i wan`t to provide a confirm box for each DDl.

I tried using the following code in the Item DataBound event of the datagrid...

if(e.Item.ItemType == ListItemType.AlternatingItem ||
e.Item.ItemType == ListItemType.Item)
{
DropDownList list=(DropDownList)e.Item.Cells[0].FindControl("DDAction");
list.Attributes.Add("onchange","return confirm('Are u sure?');");

This code gives the dialog box but the postback doesn`t occur if user selects OK and hence the onselectionchanged event on the server is not fired.

How do i go about this???

AnswerRe: How to provide confirmation box to a template Dropdownlist Pin
_mubashir3-May-07 2:47
_mubashir3-May-07 2:47 
GeneralRe: How to provide confirmation box to a template Dropdownlist Pin
NetBot3-May-07 2:53
NetBot3-May-07 2:53 
GeneralRe: How to provide confirmation box to a template Dropdownlist Pin
enjoycrack3-May-07 3:55
enjoycrack3-May-07 3:55 
GeneralRe: How to provide confirmation box to a template Dropdownlist Pin
NetBot3-May-07 5:43
NetBot3-May-07 5:43 
GeneralRe: How to provide confirmation box to a template Dropdownlist Pin
enjoycrack3-May-07 13:48
enjoycrack3-May-07 13:48 
Questionregarding datareader Pin
Sebastian T Xavier3-May-07 2:18
Sebastian T Xavier3-May-07 2:18 
AnswerRe: regarding datareader Pin
_mubashir3-May-07 2:52
_mubashir3-May-07 2:52 
GeneralRe: regarding datareader Pin
Sebastian T Xavier3-May-07 4:33
Sebastian T Xavier3-May-07 4:33 
GeneralRe: regarding datareader Pin
_mubashir4-May-07 22:50
_mubashir4-May-07 22:50 
AnswerRe: regarding datareader Pin
kubben3-May-07 2:59
kubben3-May-07 2:59 
GeneralRe: regarding datareader Pin
Sebastian T Xavier3-May-07 4:35
Sebastian T Xavier3-May-07 4:35 
AnswerRe: regarding datareader Pin
Guffa3-May-07 3:46
Guffa3-May-07 3:46 
GeneralRe: regarding datareader Pin
Sebastian T Xavier3-May-07 4:36
Sebastian T Xavier3-May-07 4:36 
QuestionHow to update datagrid using xml file to populate the datagrid in asp.net using c# Pin
attalurisubbu3-May-07 2:04
attalurisubbu3-May-07 2:04 
JokeRe: How to update datagrid using xml file to populate the datagrid in asp.net using c# Pin
ToddHileHoffer3-May-07 4:31
ToddHileHoffer3-May-07 4:31 
QuestionPrinting in .net Pin
vijay_833-May-07 1:00
vijay_833-May-07 1:00 
AnswerRe: Printing in .net Pin
Guffa3-May-07 1:15
Guffa3-May-07 1:15 

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.