Click here to Skip to main content
15,891,905 members
Home / Discussions / C#
   

C#

 
GeneralActive Directory Pin
Member 130283917-Aug-04 1:05
Member 130283917-Aug-04 1:05 
GeneralRe: Active Directory Pin
Dave Kreskowiak17-Aug-04 5:16
mveDave Kreskowiak17-Aug-04 5:16 
GeneralPopup Message in web Pin
dabuskol16-Aug-04 22:12
dabuskol16-Aug-04 22:12 
GeneralRe: Popup Message in web Pin
Valeria Bogdevich17-Aug-04 2:59
Valeria Bogdevich17-Aug-04 2:59 
GeneralRe: Popup Message in web Pin
Steve Maier17-Aug-04 7:37
professionalSteve Maier17-Aug-04 7:37 
GeneralRe: Popup Message in web Pin
dabuskol17-Aug-04 19:14
dabuskol17-Aug-04 19:14 
GeneralRe: Popup Message in web Pin
Steve Maier18-Aug-04 1:58
professionalSteve Maier18-Aug-04 1:58 
GeneralRe: Popup Message in web Pin
dabuskol18-Aug-04 2:12
dabuskol18-Aug-04 2:12 
Hi Guys,

I'm happy to inform you all that I found the solution. I missed the 3 last lines. Now I can say that it's 100 working. Hope this will help you and the other new web programmer of .net like me.

private void DisplayErrorMessage(string strMesg)<br />
{<br />
  string strScript = "<script language=JavaScript>"  +<br />
  		     "alert('" + strMesg + "');" +<br />
		     "</script>" ;<br />
  if (!Page.IsStartupScriptRegistered("clientScript"))<br />
  {<br />
    Page.RegisterStartupScript("clientScript", strScript) ;<br />
  }<br />
}


/Dabuskol
GeneralUser32 API Window List Pin
Robin Day16-Aug-04 22:03
Robin Day16-Aug-04 22:03 
GeneralRe: User32 API Window List Pin
yetanotherchris17-Aug-04 5:25
yetanotherchris17-Aug-04 5:25 
GeneralSimple XML browser Pin
clatten16-Aug-04 21:12
clatten16-Aug-04 21:12 
GeneralRe: Simple XML browser Pin
Nick Parker17-Aug-04 3:23
protectorNick Parker17-Aug-04 3:23 
GeneralRe: Simple XML browser Pin
clatten17-Aug-04 4:10
clatten17-Aug-04 4:10 
GeneralADOCE for C# Pin
Stastlivec16-Aug-04 20:31
Stastlivec16-Aug-04 20:31 
GeneralDatagrid Selection Pin
sreejith ss nair16-Aug-04 18:51
sreejith ss nair16-Aug-04 18:51 
QuestionHow to implement a registration key with the following requirement? Pin
ting66816-Aug-04 16:04
ting66816-Aug-04 16:04 
AnswerRe: How to implement a registration key with the following requirement? Pin
Christian Graus16-Aug-04 17:10
protectorChristian Graus16-Aug-04 17:10 
GeneralMS Access Password Pin
Johnnypvan16-Aug-04 13:43
Johnnypvan16-Aug-04 13:43 
GeneralRe: MS Access Password Pin
S Sansanwal16-Aug-04 14:57
S Sansanwal16-Aug-04 14:57 
GeneralRe: MS Access Password Pin
Johnnypvan17-Aug-04 2:10
Johnnypvan17-Aug-04 2:10 
GeneralNtier app Pin
StephenMcAllister16-Aug-04 11:42
StephenMcAllister16-Aug-04 11:42 
Generaldatareader to datagrid Pin
kings_116-Aug-04 11:41
kings_116-Aug-04 11:41 
GeneralRe: datareader to datagrid Pin
S Sansanwal16-Aug-04 15:07
S Sansanwal16-Aug-04 15:07 
GeneralPrint blank page Pin
Titan516-Aug-04 10:34
Titan516-Aug-04 10:34 
GeneralVS 2005 beta - warnings galore Pin
Judah Gabriel Himango16-Aug-04 9:45
sponsorJudah Gabriel Himango16-Aug-04 9:45 

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.