Search

You searched for the word(s): userid:21917

Matching Posts

  • Introducing Versatile DataSources

    Versatile DataSources contains two DataSource controls that support Dynamic Data and establish a strong separation of concerns between UI and business logic. EntityDAODataSource improves upon the ideas behind the DomainDataSource. POCODataSource lets you work with POCO classes. EntityDAODataSource Features For use with Data Access Objects ("DAO") that handle the CRUD ("create, read, update, delete") actions. Starter DAO classes are supplied for ADO.NET, LINQ to SQL, and ADO.NET
    Posted to Announcements (Forum) by PLBlum on 11/4/2009
  • Re: Overriding a Control's Client Id to Append a Specific Suffix

    1. Please don't use the override code of Me.ClientID + "_" + suffix because within the ClientID property, you have a recursive infinite loop. Be sure to use MyBase.ClientID. 2. I don't recommend overriding the ClientID at all. Instead, learn the rules of ClientID. Its a merger of each ID from the NamingContainer controls and the actual control. [ParentNamingContainerControl.ID]_[Yourcontrol.ID] So to get the ID you want, simply define the ID to be the pattern. If both controls you
    Posted to Getting Started (Forum) by PLBlum on 9/26/2009
  • Re: EvaluateIsValid() not being called in my custom control

    My thoughts: 1. The button's validation group name is not matching the validation group on the validator. (Note: Textbox.Validationgroup is NOT used to enable a validator. its used when AutoPostback is true to fire validation and prevent autopostback when an error is detected.) 2. The button's Causesvalidation property was set to false. 3. The class "RequiredfieldValidator" used by your Textbox has two possible sources: ASP.NET and your new code. Make sure its creating YOUR code
    Posted to Hosting Open Forum (Forum) by PLBlum on 9/26/2009
  • Re: Range Validation Control

    [quote user="bartez35"] The comma is supported by this validator, but the dot (.) isn't. The RangeValidator has the parameter "Type" where you can type Double. For the dot you have to write your own validation code.[/quote] Allow me to clarify. The "thousands separator character" is not supported by RangeValidator or comparevalidator. The "decimal separator character" is. You have a culture that uses the period character as the thousands separator, which
    Posted to Getting Started (Forum) by PLBlum on 9/10/2009
  • Re: Disabling RequiredFieldValidator based on dropdown menu selection

    What exactly is not working? The only problem I see is that you always set start.Visible = false. One case should set it to true.
    Posted to Web Forms (Forum) by PLBlum on 9/2/2009
  • Re: How do I make my calendar stay visible after the user has clicked the previous/next month button?

    Absolutely do not use the ASP.NET calendar control for a popup calendar. It was never designed for that. You are seeing why: it posts back with each click, which loses the calendar. There are a multitude of free and commercial DatetextBoxes with popup calendars. You can find them at http://www.asp.net/community/control-gallery/. As for the suggestion about the Microsoft AJAX Control Toolkit calendar, its a great solution. It does *NOT* use AJAX. It uses script libraries built for the ASP.NET AJAX
    Posted to Web Forms (Forum) by PLBlum on 9/2/2009
  • Re: Validate a long type input

    So long as you don't need to do a range or compare test, you can confirm that the characters resemble a long integer by using a regularexpressionvalidator and the expression: ^\d+$ If you need ranges, its probably going to be easier to just use server side validation. Use the customvalidator and code just the server side function. Always remember to invoke server side validation. If you are using a button to submit, just test Page.IsValid is true in the button's click event.
    Posted to Web Forms (Forum) by PLBlum on 9/2/2009
  • Re: Validation of date entered in text box???

    I agree with Hans_v. The Comparevalidator web control is designed to confirm the date format, both on client and server side. Set its Operator property to DataTypeCheck and type=Date. I created an article on a variety of common validation questions for ASP.NET here: http://aspalliance.com/699
    Posted to Getting Started (Forum) by PLBlum on 9/1/2009
  • Re: CustomValidator -- Error on Page

    "Error on page" is a report of a javascript error. So you are tracking down the source of that error. You need to activate some debugging features of your browser. If you have Visual Studio, you can use it as a debugger. First, go to IE's Tools menu and select Internet Options then the Advanced Tab. Unmark "Disable script debugging" and mark "Display a notification about every script error". Now when you get an error, it will tell you more about the problem and prompt
    Posted to Web Forms (Forum) by PLBlum on 8/22/2009
  • Re: Where is the ASP.NET Control Library?

    Do you mean the AJAX Control Toolkit? http://www.asp.net/ajax/AjaxControlToolkit/Samples/ http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxControlToolkit
    Posted to Getting Started (Forum) by PLBlum on 8/22/2009
Page 1 of 534 (5337 items) 1 2 3 4 5 Next > ... Last »