Click here to Skip to main content
15,911,531 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to do two tasks in same buton Pin
Irshad Sulaimani23-Aug-06 23:01
Irshad Sulaimani23-Aug-06 23:01 
GeneralRe: how to do two tasks in same buton Pin
Kissy1624-Aug-06 1:16
Kissy1624-Aug-06 1:16 
GeneralRe: how to do two tasks in same buton Pin
_AK_24-Aug-06 1:19
_AK_24-Aug-06 1:19 
GeneralRe: how to do two tasks in same buton Pin
Irshad Sulaimani24-Aug-06 2:09
Irshad Sulaimani24-Aug-06 2:09 
GeneralRe: how to do two tasks in same buton Pin
Kissy1624-Aug-06 20:23
Kissy1624-Aug-06 20:23 
GeneralRe: how to do two tasks in same buton Pin
Irshad Sulaimani24-Aug-06 20:29
Irshad Sulaimani24-Aug-06 20:29 
GeneralRe: how to do two tasks in same buton Pin
Kissy1624-Aug-06 21:50
Kissy1624-Aug-06 21:50 
GeneralRe: how to do two tasks in same buton Pin
Irshad Sulaimani25-Aug-06 0:22
Irshad Sulaimani25-Aug-06 0:22 
It looks fine.
I hope u'd written like this for update button

Public Sub Update_Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Add_Button.Click

Page.RegisterStartupScript("SetFocus", "document.getElementById('" & nameBox.ClientID & "').focus();")
add_Button.Enabled = False
savemode = "updte"
End Sub

If after this also , it is not working, please check that save mode variable has been declared as 'static' (I guess in VB.net , it'll be 'shared').

Hope it works....Smile | :)

Irshad Ahmad
GeneralRe: how to do two tasks in same buton Pin
Kissy1625-Aug-06 1:24
Kissy1625-Aug-06 1:24 
GeneralRe: how to do two tasks in same buton Pin
Irshad Sulaimani25-Aug-06 2:02
Irshad Sulaimani25-Aug-06 2:02 
GeneralRe: how to do two tasks in same buton Pin
Irshad Sulaimani25-Aug-06 2:03
Irshad Sulaimani25-Aug-06 2:03 
GeneralRe: how to do two tasks in same buton Pin
Paddy Boyd23-Aug-06 23:21
Paddy Boyd23-Aug-06 23:21 
QuestionHow to identify location of controls in asp.net 2.0 Pin
Kuricheti23-Aug-06 20:17
Kuricheti23-Aug-06 20:17 
QuestionDrag and drop items between two listboxes in asp.net with c# Pin
Kuricheti23-Aug-06 20:10
Kuricheti23-Aug-06 20:10 
QuestionJavascript, dropdown menu layer gets displayed behind server controls Pin
varun_khanna1723-Aug-06 19:38
varun_khanna1723-Aug-06 19:38 
Questionfolder browsing using TreeView Control Pin
248912823-Aug-06 19:15
248912823-Aug-06 19:15 
QuestionNeural Networks[Modified] Pin
Vsree23-Aug-06 18:58
Vsree23-Aug-06 18:58 
Questionexport to excel using xslt when the column name contains blank?? Pin
steven_wong23-Aug-06 16:54
steven_wong23-Aug-06 16:54 
QuestionASP.NET Cookies Pin
Socheat.Net23-Aug-06 16:51
Socheat.Net23-Aug-06 16:51 
AnswerRe: ASP.NET Cookies Pin
steven_wong23-Aug-06 17:14
steven_wong23-Aug-06 17:14 
GeneralRe: ASP.NET Cookies Pin
Socheat.Net25-Aug-06 15:15
Socheat.Net25-Aug-06 15:15 
GeneralRe: ASP.NET Cookies [modified] Pin
steven_wong25-Aug-06 15:32
steven_wong25-Aug-06 15:32 
QuestionDoubt on debug [modified] Pin
dhulipudi23-Aug-06 16:45
dhulipudi23-Aug-06 16:45 
AnswerRe: Doubt on debug Pin
Navi1523-Aug-06 18:58
Navi1523-Aug-06 18:58 
AnswerRe: Doubt on debug Pin
Neeraj Arora23-Aug-06 21:24
Neeraj Arora23-Aug-06 21:24 

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.