Problem in Displaying msgBox.
-
Hello Friends.. I'm using alert script to display a msgbox. the problem is when i press the button to display msgbox it is not working but if i press the button twice the msgbox is displayed . I'm using updatepanel. Code written is ButtonName.Attributes.Add("onclick","alert('USER MSG')"); how to solve this problem
ArunVijay
-
Hello Friends.. I'm using alert script to display a msgbox. the problem is when i press the button to display msgbox it is not working but if i press the button twice the msgbox is displayed . I'm using updatepanel. Code written is ButtonName.Attributes.Add("onclick","alert('USER MSG')"); how to solve this problem
ArunVijay
ButtonName.Attributes.Add("onclick","alert('USER MSG');");
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
-
ButtonName.Attributes.Add("onclick","alert('USER MSG');");
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
-
Hello Friends.. I'm using alert script to display a msgbox. the problem is when i press the button to display msgbox it is not working but if i press the button twice the msgbox is displayed . I'm using updatepanel. Code written is ButtonName.Attributes.Add("onclick","alert('USER MSG')"); how to solve this problem
ArunVijay
Why not just define the button as pure HTML ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Why not just define the button as pure HTML ?
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Could be many things. I suspect at the core, it's that you're fighting the framework, which wants to add it's own onclick handler. Either way, it seems like the ASP.NET control is superfluous here.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )