Click here to Skip to main content
15,890,043 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPlease guide how to Print Html Text?? Pin
mr_muskurahat21-Nov-08 20:22
mr_muskurahat21-Nov-08 20:22 
AnswerRe: Please guide how to Print Html Text?? Pin
Christian Graus21-Nov-08 20:51
protectorChristian Graus21-Nov-08 20:51 
QuestionHeaders in datagrid Pin
BalasubramanianK21-Nov-08 19:51
BalasubramanianK21-Nov-08 19:51 
AnswerRe: Headers in datagrid Pin
Christian Graus21-Nov-08 20:52
protectorChristian Graus21-Nov-08 20:52 
Questionfind out the coordinates in ImageMap Hotspot Pin
nicetohaveyou21-Nov-08 5:22
nicetohaveyou21-Nov-08 5:22 
AnswerRe: find out the coordinates in ImageMap Hotspot Pin
Christian Graus21-Nov-08 8:47
protectorChristian Graus21-Nov-08 8:47 
GeneralRe: find out the coordinates in ImageMap Hotspot Pin
nicetohaveyou23-Nov-08 23:52
nicetohaveyou23-Nov-08 23:52 
QuestionProblems with ClientScript.RegisterStartupScript. Please help Pin
Gaurav Agrawal198421-Nov-08 3:40
Gaurav Agrawal198421-Nov-08 3:40 
Dear friends,

I m facing a problem while developing my application for which i need u people's help.


I have a master page for all the webpages of my application. In one of my page named default.aspx there is a button on whose click event i have used the clientscript as

ClientScript.RegisterStartupScript(typeof(Page), "ShowMessage","javascript: alert('Button clicked');");


now the sequence of events that take place on the button click event is:

1. Default.aspx page load takes place.
2. MasterPage Page load event takes place.
3. Button click event code (the clientscript written above)

The problem is :
after the above 3 steps executes the Alert message showing "Button Clicked" is coming on a blank page and when we click OK of the alert then only my Default.aspx page comes. I don't want the alert to pop up on a blank page. Instead first the page should get loaded and then only the alert message should come.


While working on this problem, i removed the master page and then checked. The page was successfully getting loaded first and then only the alert messgae was coming. I guess the presence of the master page has something to do with it.

Please help me in solving this problem.
AnswerRe: Problems with ClientScript.RegisterStartupScript. Please help Pin
Brij21-Nov-08 4:57
mentorBrij21-Nov-08 4:57 
GeneralRe: Problems with ClientScript.RegisterStartupScript. Please help Pin
Gaurav Agrawal198422-Nov-08 19:57
Gaurav Agrawal198422-Nov-08 19:57 
AnswerRe: Problems with ClientScript.RegisterStartupScript. Please help Pin
Nishant Singh23-Nov-08 4:34
Nishant Singh23-Nov-08 4:34 
Questionreset button is getting fired 2nd time Pin
peter rankel21-Nov-08 2:45
peter rankel21-Nov-08 2:45 
AnswerRe: reset button is getting fired 2nd time Pin
Nishant Singh21-Nov-08 3:27
Nishant Singh21-Nov-08 3:27 
QuestionHow to integrate fax with my asp.net application Pin
shames(Sam)21-Nov-08 2:37
shames(Sam)21-Nov-08 2:37 
AnswerRe: How to integrate fax with my asp.net application Pin
Christian Graus21-Nov-08 8:48
protectorChristian Graus21-Nov-08 8:48 
QuestionJavaScript problem for IE 6.0 Pin
thomasa21-Nov-08 2:36
thomasa21-Nov-08 2:36 
AnswerRe: JavaScript problem for IE 6.0 Pin
Christian Graus21-Nov-08 8:49
protectorChristian Graus21-Nov-08 8:49 
QuestionDropdownlist problem Pin
Kissy1621-Nov-08 1:11
Kissy1621-Nov-08 1:11 
AnswerRe: Dropdownlist problem Pin
praveensri21-Nov-08 1:50
praveensri21-Nov-08 1:50 
AnswerRe: Dropdownlist problem Pin
Nishant Singh21-Nov-08 3:17
Nishant Singh21-Nov-08 3:17 
Questionimage drag and drop .Compose,crop,roteted, adjust on other image Pin
sanjay3021-Nov-08 1:01
sanjay3021-Nov-08 1:01 
AnswerRe: image drag and drop .Compose,crop,roteted, adjust on other image Pin
Christian Graus21-Nov-08 8:49
protectorChristian Graus21-Nov-08 8:49 
GeneralRe: image drag and drop .Compose,crop,roteted, adjust on other image Pin
sanjay301-Dec-08 22:01
sanjay301-Dec-08 22:01 
QuestionMenu Problem Pin
krishnaveer21-Nov-08 0:49
krishnaveer21-Nov-08 0:49 
AnswerRe: Menu Problem Pin
Christian Graus21-Nov-08 8:51
protectorChristian Graus21-Nov-08 8:51 

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.