Home All Groups Group Topic Archive Search About

ASP.NET web controls

microsoft.public.dotnet.framework.aspnet.webcontrols
Score Validators and JavaScript
Nathan Sokalski - 27 Sep 2008 9:36 PM - 2 messages
When writing a validator by inheriting from the BaseValidator class, you need to include a JavaScript function that takes one parameter (the span tag generated by the validator) and returns true or false. This is great for validators that can do validation client-side, but I am writing a validator ...
Score Control name attribute changing automatically
BeanoKing - 27 Sep 2008 4:13 PM - 2 messages
I have this on my aspx form: <input type="hidden" name="order-input" id="orderinput" value="" runat="server" /> When the page renders my source now reads: <input type="hidden" name="orderinput" id="orderinput" value="" /> Why is the name attribute changing?  It's causing issues with Amazon ...
Score populate control in ascx
Peter - 26 Sep 2008 8:57 AM - 4 messages
Hi I have an ascx file, which has a "hyperlink", eg: <asp:HyperLink ID="myLink" Text="LINK" runat="server" NavigateUrl="" /> Is it possible to set the navigate-url dynamically in the ascx, or is it only possible in the code-behind? ...
Score How do I format a negative number during in the Eval
ssmith - 25 Sep 2008 9:21 PM - 2 messages
I am trying to format a negative value with parentheses during the databinding process in the code behind.  Here is an example of what I have tried: <asp:Label ID="lblAmount" runat="server" Text='<%# Eval("TotalAmount", "{0:N0; (0:N0)}") %>'></asp:Label> ...
Score Validating user controls
Brazda Jiri - 25 Sep 2008 10:01 AM - 3 messages
Hi, I have created some user controls. These controls contain two textboxes and two buttons with some functionality. Until now everything has worked fine. Now I need to use RequiredFieldValidator that Validates these controls. I have tried to implement solution described in this article: ...
Score Gridview won't update after inserting new record to MS Access database using OLEDB
ggoldab - 22 Sep 2008 6:57 AM - 2 messages
Hi, Here is my code on a button click in the EmptyDataTemplate of a Gridview. It saves the record to the database does not appear in the gridview after the calling the databind method. Any ideas ? Below is my code ...
Score Re: CustomValidator problems
Epetruk - 22 Sep 2008 2:49 AM - 3 messages
Still no answer... Anyway, I found out some more - I notice that the client validation function (ValidateName) *is* triggered when I enter a value in the text box (that is supposed to be validated), but it is *not* triggered when the text box is ...
Next » 2 3 4 5 6 7 8 9 10