Click here to Skip to main content
15,890,557 members

Comments by Albert83 (Top 3 by date)

Albert83 16-Mar-14 1:17am View    
Thank you for your reply. I know about WebMethods. But it's not a solution for this case.
I actually want to have an aspx or html file and in that file have placeholders to replace C# code.
For example:
<html>
...
<p> Course Name: { $courseName } </p>

$courseName will be retrieved from a C# code page.
..
</html>
Albert83 10-Nov-11 9:50am View    
Thank you. Someone offered to use the following approach:
Set Validator's SetFocusOnError to true. Like this..
<asp:RequiredFieldValidator
ID="ReqValidator1"
ControlToValidate="TextBox1"
ErrorMessage="First name is required."
Display="Dynamic"
EnableClientScript="false"
SetFocusOnError="true"
ValidationGroup="bug"
Text="*"
runat="server"
/>
Albert83 9-Nov-11 10:46am View    
Thanks for your response. But that doesn't address my question. I need java script code that will identify which required field is activated...i.e which fields were left blank.