Click here to Skip to main content
14,737,694 members
Home » Discussions » ASP.NET
   

ASP.NET

 
AnswerRe: I have thousands of user who are accessing my site, How should I handle a load ? Pin
deepankarbhatnagar23-Aug-16 1:20
professionaldeepankarbhatnagar23-Aug-16 1:20 
GeneralRe: I have thousands of user who are accessing my site, How should I handle a load ? Pin
Abhijit Mindcraft23-Aug-16 1:48
MemberAbhijit Mindcraft23-Aug-16 1:48 
GeneralRe: I have thousands of user who are accessing my site, How should I handle a load ? Pin
deepankarbhatnagar23-Aug-16 4:43
professionaldeepankarbhatnagar23-Aug-16 4:43 
GeneralRe: I have thousands of user who are accessing my site, How should I handle a load ? Pin
Abhijit Mindcraft23-Aug-16 21:45
MemberAbhijit Mindcraft23-Aug-16 21:45 
GeneralRe: I have thousands of user who are accessing my site, How should I handle a load ? Pin
jkirkerx25-Aug-16 10:20
professionaljkirkerx25-Aug-16 10:20 
Questionadd data to more table relation in same time Pin
ahmed_sa20-Aug-16 13:05
Memberahmed_sa20-Aug-16 13:05 
AnswerRe: add data to more table relation in same time Pin
ahmed_sa21-Aug-16 6:11
Memberahmed_sa21-Aug-16 6:11 
Questionweb form message using master pages message and/or JavaScript message Pin
dcof18-Aug-16 13:07
Memberdcof18-Aug-16 13:07 
In a vb.net 2010 web form application, I want to display a message to the user when a student has more than one record in the database for the current school year. The database problem is caused by a user not entering the data correctly using vendor software. The user can fix the problem by using the vendor software. The database problem is only allowed to be updated by the user by using the vendor software.

My goal is to generate the message to be displayed in the same format in the two locations where this message needs to be displayed.
**Note: I can not change the locations of where the error messages need to be generated without needing to do a major rewrite of the application.

I would prefer for the javacript code to be able to place the message in _master.ErrorMessage of the master page.
However my second choice would be for the vb.net 2010 web form code to be able to generate the javacript alert message.

The following 2 places is the code that I know works right now:

1. The following is vb.net 2010 web form code using the error message in the Mater Pages:
 If (gvAttendanceLetters.DataKeys(0).Values(3) = "999") Then
        _master.Visible = True
       _master.ErrorMessage = "You have entered more the one  record for the current school year for the student you selected "
End If

2. The following is javacript code that is placed at the start of the default.aspx page:
function GetStudentLetterTemplate(scyear, scnum, milestone, studentnum) {
     if (milestone == '999') {
         alert('You have entered more the one  record for the current school year for the student you selected ');

     }

     });

 }

Thus would you me tell me what option would work along with the code that will solve the problem? If the code needs to stay the way,
I listed above just let me know.
AnswerRe: web form message using master pages message and/or JavaScript message Pin
John C Rayan19-Aug-16 3:24
professionalJohn C Rayan19-Aug-16 3:24 
GeneralRe: web form message using master pages message and/or JavaScript message Pin
dcof19-Aug-16 10:30
Memberdcof19-Aug-16 10:30 
GeneralRe: web form message using master pages message and/or JavaScript message Pin
John C Rayan21-Aug-16 23:16
professionalJohn C Rayan21-Aug-16 23:16 
Questionweb form using javacript Pin
dcof17-Aug-16 17:16
Memberdcof17-Aug-16 17:16 
AnswerRe: web form using javacript Pin
Peter Leow17-Aug-16 17:49
professionalPeter Leow17-Aug-16 17:49 
AnswerRe: web form using javacript Pin
F-ES Sitecore17-Aug-16 23:48
mveF-ES Sitecore17-Aug-16 23:48 
RantRe: web form using javacript Pin
Richard Deeming18-Aug-16 2:48
mveRichard Deeming18-Aug-16 2:48 
GeneralRe: web form using javacript Pin
Richard MacCutchan18-Aug-16 3:34
mveRichard MacCutchan18-Aug-16 3:34 
AnswerRe: web form using javacript Pin
Richard MacCutchan18-Aug-16 3:32
mveRichard MacCutchan18-Aug-16 3:32 
QuestionHow to create a Join, or place a datatable within a datatable for ReportViewer Pin
jkirkerx17-Aug-16 8:38
professionaljkirkerx17-Aug-16 8:38 
Questionhow to encrypt and decrypt the file through pkcs Pin
Member 1268779016-Aug-16 0:42
MemberMember 1268779016-Aug-16 0:42 
AnswerRe: how to encrypt and decrypt the file through pkcs Pin
Kornfeld Eliyahu Peter16-Aug-16 3:25
professionalKornfeld Eliyahu Peter16-Aug-16 3:25 
QuestionVS2012 cannot open MVC4 application - the system cannot find the file specified (exception from HRESULT 0x80070002) Pin
Usman ali15-Aug-16 20:37
MemberUsman ali15-Aug-16 20:37 
SuggestionRe: VS2012 cannot open MVC4 application - the system cannot find the file specified (exception from HRESULT 0x80070002) Pin
Richard MacCutchan15-Aug-16 22:28
mveRichard MacCutchan15-Aug-16 22:28 
GeneralRe: VS2012 cannot open MVC4 application - the system cannot find the file specified (exception from HRESULT 0x80070002) Pin
Usman ali15-Aug-16 22:57
MemberUsman ali15-Aug-16 22:57 
GeneralRe: VS2012 cannot open MVC4 application - the system cannot find the file specified (exception from HRESULT 0x80070002) Pin
Richard MacCutchan15-Aug-16 23:37
mveRichard MacCutchan15-Aug-16 23:37 
GeneralRe: VS2012 cannot open MVC4 application - the system cannot find the file specified (exception from HRESULT 0x80070002) Pin
Kornfeld Eliyahu Peter16-Aug-16 1:29
professionalKornfeld Eliyahu Peter16-Aug-16 1:29 

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.