Click here to Skip to main content
15,891,976 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: error with image button Pin
Bardy856-Aug-08 4:23
Bardy856-Aug-08 4:23 
AnswerRe: error with image button Pin
eyeseetee6-Aug-08 4:36
eyeseetee6-Aug-08 4:36 
GeneralRe: error with image button Pin
Bardy856-Aug-08 4:42
Bardy856-Aug-08 4:42 
GeneralRe: error with image button Pin
eyeseetee6-Aug-08 5:12
eyeseetee6-Aug-08 5:12 
QuestionMac, Safari problem with open files on webserver Pin
jooljool6-Aug-08 3:53
jooljool6-Aug-08 3:53 
Questionwebdav [modified] Pin
saritha19836-Aug-08 3:18
saritha19836-Aug-08 3:18 
AnswerRe: webdav Pin
eyeseetee6-Aug-08 3:26
eyeseetee6-Aug-08 3:26 
QuestionCustomValidator and Gridview problem Pin
kensai6-Aug-08 2:53
kensai6-Aug-08 2:53 
I have a customvalidator for textbox' in a gridview. The problem is, it doesn't fire up. I did put a break point to validation method but it never catches. The code is working fine in a single page with a single textbox but not in a GridView Can you please tell me what's wrong? Here's my code:

<asp:Content>

<script language="c#" runat="server">
private void NumericControl(object sender, ServerValidateEventArgs args)
{
if (Tools.IsNumeric(args.Value))
args.IsValid = true;
else
args.IsValid = false;
}
</script>

<asp:GridView>
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:TextBox ID="txtValue" runat="server" Width="50" /><br />
<asp:CustomValidator ControlToValidate="txtValue"
EnableClientScript="true"
ClientValidationFunction="NumericControl"
ErrorMessage="Not numeric"
OnServerValidate="NumericControl"
runat="server"
ValidationGroup="Kontor"
Display="Dynamic"
/>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>


</asp:Content>
AnswerRe: CustomValidator and Gridview problem Pin
Bardy856-Aug-08 3:01
Bardy856-Aug-08 3:01 
GeneralRe: CustomValidator and Gridview problem Pin
kensai6-Aug-08 3:22
kensai6-Aug-08 3:22 
AnswerRe: CustomValidator and Gridview problem Pin
eyeseetee6-Aug-08 3:30
eyeseetee6-Aug-08 3:30 
GeneralRe: CustomValidator and Gridview problem Pin
kensai6-Aug-08 4:07
kensai6-Aug-08 4:07 
GeneralRe: CustomValidator and Gridview problem Pin
eyeseetee6-Aug-08 4:21
eyeseetee6-Aug-08 4:21 
QuestionCSS Styles for drop down lists not working with IE Pin
jithusuji6-Aug-08 2:36
jithusuji6-Aug-08 2:36 
AnswerRe: CSS Styles for drop down lists not working with IE Pin
nibinki3336-Aug-08 22:47
nibinki3336-Aug-08 22:47 
Questionweb setup Pin
gaurav mangal6-Aug-08 2:14
gaurav mangal6-Aug-08 2:14 
GeneralDynamic Menu Contents Pin
Brady Kelly6-Aug-08 1:56
Brady Kelly6-Aug-08 1:56 
Question[Message Deleted] Pin
Neeraj Saluja6-Aug-08 1:52
Neeraj Saluja6-Aug-08 1:52 
AnswerRe: URGENT : How to Unit Test the HttpContext Response Data from Handler Pin
eyeseetee6-Aug-08 2:21
eyeseetee6-Aug-08 2:21 
General[Message Deleted] Pin
Neeraj Saluja6-Aug-08 2:26
Neeraj Saluja6-Aug-08 2:26 
GeneralRe: URGENT : How to Unit Test the HttpContext Response Data from Handler Pin
Colin Angus Mackay6-Aug-08 4:07
Colin Angus Mackay6-Aug-08 4:07 
AnswerRe: URGENT : How to Unit Test the HttpContext Response Data from Handler Pin
Paul Conrad6-Aug-08 5:35
professionalPaul Conrad6-Aug-08 5:35 
AnswerRe: URGENT : How to Unit Test the HttpContext Response Data from Handler Pin
N a v a n e e t h6-Aug-08 7:39
N a v a n e e t h6-Aug-08 7:39 
Answer[Message Deleted] Pin
Neeraj Saluja6-Aug-08 18:08
Neeraj Saluja6-Aug-08 18:08 
GeneralRe: How to Unit Test the HttpContext Response Data from Handler Pin
Paul Conrad6-Aug-08 20:48
professionalPaul Conrad6-Aug-08 20:48 

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.