Click here to Skip to main content
15,914,066 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: cursor position in asp.net Pin
Sun Rays6-Nov-07 17:57
Sun Rays6-Nov-07 17:57 
GeneralRe: cursor position in asp.net Pin
rameshdontagani6-Nov-07 17:59
rameshdontagani6-Nov-07 17:59 
GeneralRe: cursor position in asp.net Pin
Sun Rays6-Nov-07 18:09
Sun Rays6-Nov-07 18:09 
GeneralRe: cursor position in asp.net Pin
rameshdontagani6-Nov-07 18:25
rameshdontagani6-Nov-07 18:25 
QuestionJavascript Pin
ysunil_746-Nov-07 17:08
ysunil_746-Nov-07 17:08 
AnswerJavascript Pin
Sarani Ravindran6-Nov-07 17:37
Sarani Ravindran6-Nov-07 17:37 
GeneralRe: Javascript Pin
ysunil_746-Nov-07 19:42
ysunil_746-Nov-07 19:42 
GeneralJavascript Pin
Sarani Ravindran6-Nov-07 22:50
Sarani Ravindran6-Nov-07 22:50 
AnswerRe: Javascript Pin
InsDev6-Nov-07 18:08
InsDev6-Nov-07 18:08 
QuestionFile Saving??????? Pin
Vanamaindia6-Nov-07 16:50
Vanamaindia6-Nov-07 16:50 
AnswerRe: File Saving??????? Pin
N a v a n e e t h6-Nov-07 18:23
N a v a n e e t h6-Nov-07 18:23 
QuestionExporting Crystal Report in PDF with TextBoxes in PDF Pin
Mayank Prajapati6-Nov-07 16:45
Mayank Prajapati6-Nov-07 16:45 
AnswerRe: Exporting Crystal Report in PDF with TextBoxes in PDF Pin
N a v a n e e t h6-Nov-07 18:24
N a v a n e e t h6-Nov-07 18:24 
QuestionLandscape printing orientation Pin
Aavesh Agarwal6-Nov-07 16:12
Aavesh Agarwal6-Nov-07 16:12 
AnswerRe: Landscape printing orientation Pin
N a v a n e e t h6-Nov-07 18:26
N a v a n e e t h6-Nov-07 18:26 
QuestionApplication Session Object and Web Services Pin
paulray6-Nov-07 14:26
paulray6-Nov-07 14:26 
Questionsend data to asp.net form when user click the link Pin
dataminers6-Nov-07 11:17
dataminers6-Nov-07 11:17 
AnswerRe: send data to asp.net form when user click the link Pin
Mircea Grelus6-Nov-07 11:48
Mircea Grelus6-Nov-07 11:48 
GeneralRe: send data to asp.net form when user click the link Pin
dataminers6-Nov-07 12:33
dataminers6-Nov-07 12:33 
Questionhow to fetch contiguous numbers from a string Pin
yogesh_softworld1236-Nov-07 7:22
yogesh_softworld1236-Nov-07 7:22 
AnswerRe: how to fetch contiguous numbers from a string Pin
Christian Graus6-Nov-07 9:21
protectorChristian Graus6-Nov-07 9:21 
GeneralRe: how to fetch contiguous numbers from a string Pin
yogesh_softworld1236-Nov-07 16:19
yogesh_softworld1236-Nov-07 16:19 
AnswerRe: how to fetch contiguous numbers from a string Pin
Guffa6-Nov-07 9:57
Guffa6-Nov-07 9:57 
QuestionMessage box in C# [modified] Pin
Deepak Koduri6-Nov-07 6:30
Deepak Koduri6-Nov-07 6:30 
AnswerRe: Message box in C# Pin
Guffa6-Nov-07 7:52
Guffa6-Nov-07 7:52 
Deepak Koduri wrote:
When I am Using Response.Write("alert('Employee ID already Exits');"); Font of my Label's in the ASP.Net page getting changed...


That's because you are writing out the code before the code of the page. That makes the browser ignore the doctype tag and render the page in quirks mode.

Use the Page.ClientScript.RegisterStartupScript method to put the script in the page.

Deepak Koduri wrote:
What I trying to get is that when I am trying to Insert a Duplicate record (i.e Same Employee ID which is already present)a message Box Show that Record already present.


Either check for the id before you add the record, or handle the exception that is the result of trying to add a duplicate id.

Experience is the sum of all the mistakes you have done.

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.