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

ASP.NET

 
Questionasp:LoginName Issue Pin
Brendan Vogt11-Jun-07 5:53
Brendan Vogt11-Jun-07 5:53 
Questionasp:LoginStatus Not Displaying Sign Out Page Pin
Brendan Vogt11-Jun-07 5:49
Brendan Vogt11-Jun-07 5:49 
Questionasp:Login Failure Text Colour Not Red Pin
Brendan Vogt11-Jun-07 5:41
Brendan Vogt11-Jun-07 5:41 
AnswerRe: asp:Login Failure Text Colour Not Red Pin
wEb GuRu...11-Jun-07 6:12
wEb GuRu...11-Jun-07 6:12 
QuestionHow to locate controls on a web form Pin
lune1211-Jun-07 4:22
lune1211-Jun-07 4:22 
AnswerRe: How to locate controls on a web form Pin
Tarik Guney11-Jun-07 4:47
Tarik Guney11-Jun-07 4:47 
GeneralRe: How to locate controls on a web form Pin
lune1211-Jun-07 5:05
lune1211-Jun-07 5:05 
AnswerRe: How to locate controls on a web form Pin
szukuro11-Jun-07 5:20
szukuro11-Jun-07 5:20 
1) Well it greatly depends how the layout itself is done. If you need a specific control, you can use the FindControl method. Then remove/add it from/to the desired collection or set its properties accordingly.

2.) Have a look at the javascript alert method. If you want to display a message after the page has loaded:
Page[.ClientScript].RegisterStartupScript(typeof(Page), "scriptname", "<script type=\"text/javascript\">alert('Your message');</script>";
For events:
CheckBox1.Attributes.Add("onclick", "alert('clicked');");
For situations where you might want to cancel postback depending on user interaction the confirm can be used
Button1.Attributes.Add("onclick", "return confirm('Are you sure you want a postback to happen?');");

QuestionHow to use the function "CallByName" in asp? Pin
Billypon11-Jun-07 4:08
Billypon11-Jun-07 4:08 
AnswerRe: How to use the function "CallByName" in asp? Pin
wEb GuRu...11-Jun-07 4:15
wEb GuRu...11-Jun-07 4:15 
QuestionSharpWebMail Integration Pin
wEb GuRu...11-Jun-07 4:06
wEb GuRu...11-Jun-07 4:06 
QuestionHow to use the function "CallByName" in asp? Pin
Billypon11-Jun-07 4:06
Billypon11-Jun-07 4:06 
QuestionPlease help me Exporting Excel from dataset - using workbook and xml template Pin
Hasan Ali11-Jun-07 3:41
Hasan Ali11-Jun-07 3:41 
AnswerRe: Please help me Exporting Excel from dataset - using workbook and xml template Pin
Sathesh Sakthivel11-Jun-07 3:50
Sathesh Sakthivel11-Jun-07 3:50 
AnswerRe: Please help me Exporting Excel from dataset - using workbook and xml template Pin
Jay_se11-Jun-07 18:40
Jay_se11-Jun-07 18:40 
QuestionDroping an individual session? Pin
markymark8211-Jun-07 3:33
markymark8211-Jun-07 3:33 
AnswerRe: Droping an individual session? Pin
Guffa11-Jun-07 6:28
Guffa11-Jun-07 6:28 
GeneralRe: Droping an individual session? Pin
markymark8211-Jun-07 22:04
markymark8211-Jun-07 22:04 
QuestionWebBrowser Control Problem Pin
John Gathogo11-Jun-07 3:23
John Gathogo11-Jun-07 3:23 
Questionhi Pin
sambi reddy bontu11-Jun-07 1:57
sambi reddy bontu11-Jun-07 1:57 
AnswerRe: hi Pin
_AK_11-Jun-07 2:00
_AK_11-Jun-07 2:00 
AnswerRe: hi Pin
Sathesh Sakthivel11-Jun-07 2:00
Sathesh Sakthivel11-Jun-07 2:00 
AnswerRe: hi Pin
Not Active11-Jun-07 2:02
mentorNot Active11-Jun-07 2:02 
GeneralRe: hi Pin
_AK_11-Jun-07 2:02
_AK_11-Jun-07 2:02 
GeneralRe: hi Pin
_AK_11-Jun-07 2:04
_AK_11-Jun-07 2:04 

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.