Click here to Skip to main content
15,893,486 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Need a Button in .cs like 'Browse' Pin
Abubakarsb27-Mar-07 2:45
Abubakarsb27-Mar-07 2:45 
GeneralRe: Need a Button in .cs like 'Browse' Pin
Marcus J. Smith27-Mar-07 3:09
professionalMarcus J. Smith27-Mar-07 3:09 
AnswerRe: Need a Button in .cs like 'Browse' Pin
Marcus J. Smith27-Mar-07 2:44
professionalMarcus J. Smith27-Mar-07 2:44 
QuestionUpload file with Atlas problem Pin
MHASSANF27-Mar-07 1:23
MHASSANF27-Mar-07 1:23 
QuestionError while connecting to the database in server machine Pin
Najeed27-Mar-07 1:19
Najeed27-Mar-07 1:19 
AnswerRe: Error while connecting to the database in server machine Pin
enjoycrack27-Mar-07 2:16
enjoycrack27-Mar-07 2:16 
AnswerRe: Error while connecting to the database in server machine Pin
Paddy Boyd27-Mar-07 3:09
Paddy Boyd27-Mar-07 3:09 
QuestionExecuting JavaScript on asp:button_click event Pin
gauthee27-Mar-07 0:50
gauthee27-Mar-07 0:50 
Hi,

I have a button named btn1, now under the btn1_click event i wrote the following:

if(condition)
{
}
else
{
this.RegisterClientScriptBlock("",DisplayAlert());
}
-------------
public string DisplayAlert()
{
string script="";
script += ;
script += "alert('Text');";
script += "
}

Now the alert is being displayed but the entire page is being blank when displaying the alert box.
The requirement is that original page should be at the background while displaying the alert message.

Thanks

Gautham

AnswerRe: Executing JavaScript on asp:button_click event Pin
_AK_27-Mar-07 0:51
_AK_27-Mar-07 0:51 
AnswerRe: Executing JavaScript on asp:button_click event Pin
hakonvik27-Mar-07 3:10
hakonvik27-Mar-07 3:10 
AnswerRe: Executing JavaScript on asp:button_click event Pin
MihirV27-Mar-07 4:35
MihirV27-Mar-07 4:35 
QuestionHelp Regarding Server Error "Unable to open resource file in ASP .net Temporary Files" Pin
RAO KAMRAN ANWAR27-Mar-07 0:33
RAO KAMRAN ANWAR27-Mar-07 0:33 
AnswerRe: Help Regarding Server Error "Unable to open resource file in ASP .net Temporary Files" Pin
enjoycrack27-Mar-07 2:18
enjoycrack27-Mar-07 2:18 
GeneralRe: Help Regarding Server Error "Unable to open resource file in ASP .net Temporary Files" Pin
RichardGrimmer27-Mar-07 5:33
RichardGrimmer27-Mar-07 5:33 
Questionpopup window with return value Pin
regin27-Mar-07 0:32
regin27-Mar-07 0:32 
AnswerRe: popup window with return value Pin
_AK_27-Mar-07 0:50
_AK_27-Mar-07 0:50 
Questionadding javascript popup to asp:button Pin
Alice@mywonderland27-Mar-07 0:04
Alice@mywonderland27-Mar-07 0:04 
AnswerRe: adding javascript popup to asp:button Pin
_AK_27-Mar-07 0:18
_AK_27-Mar-07 0:18 
QuestionHow to achieve impersonation for windows 2000 without SSP Pin
Zahid Mir27-Mar-07 0:04
Zahid Mir27-Mar-07 0:04 
QuestionHandling server timeout exception Pin
davidnr26-Mar-07 23:55
davidnr26-Mar-07 23:55 
AnswerRe: Handling server timeout exception Pin
sathesh pandian27-Mar-07 0:43
sathesh pandian27-Mar-07 0:43 
GeneralRe: Handling server timeout exception Pin
davidnr27-Mar-07 9:27
davidnr27-Mar-07 9:27 
QuestionWant to display based on date............... Pin
Member 387988126-Mar-07 23:33
Member 387988126-Mar-07 23:33 
AnswerRe: Want to display based on date............... Pin
RaviJJain26-Mar-07 23:43
RaviJJain26-Mar-07 23:43 
GeneralRe: Want to display based on date............... Pin
Member 387988127-Mar-07 0:34
Member 387988127-Mar-07 0:34 

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.