User Profile

Collapse

Profile Sidebar

Collapse
wagswvu
wagswvu
Last Activity: Jul 13 '08, 03:31 AM
Joined: Mar 31 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • wagswvu
    replied to ASP.NET,AJAX, SPGridView
    in .NET
    Well after many of hours messing with this, I decided to just double check that the UpdatePanel was even working. So I added a TextBox and a Button with an EventHandler that would clear the text out of the TextBox. To my amazement, when I added those two controls the SPGridView started working... I did a few more experiments and soon I discovered that by just having a TextBox control visible on the screen would allow the SPGridView to work with the...
    See more | Go to post

    Leave a comment:


  • wagswvu
    started a topic ASP.NET,AJAX, SPGridView
    in .NET

    ASP.NET,AJAX, SPGridView

    I am trying to enclose SPGridView inside an UpdatePanel control in a user control page (.ascx), however whenever I click on the paging links for the grid, it still postbacks instead of partial page rendering. Also, this is not the first time I have used ajax in my project. I have taken the same code that has worked on other controls and applied them to the SPGridvew with no success. Below is a sample of the user control page in question with my override...
    See more | Go to post

  • somebody help me on another forum.. FYI, here is the answer:

    (((0[1-9]|1[012])[/]((0[1-9]|[12][0-9]|3[01])[/])?)?(19|20)\d\d (\s+)?)+...
    See more | Go to post

    Leave a comment:


  • No, I'm working a proof of concept for a business project. The reason I can't use the datetime picker is because the data that will be inputed in either MM/DD/YY, MM/YYYY, or YYYY.(this is document metadata, so it's need to be inputed as is) As for the code it's just a crappy concept I made to mess with the expression. What I am trying to figure out is how to get the RegularExpressi onValidator to validate my input when the user enters multiple dates...
    See more | Go to post

    Leave a comment:


  • I'm using a RegularExpressi onValidator.

    here is sample code

    Code:
    protected void Page_Load(object sender, EventArgs e)   
        {   
      
            TextBox textBox1 = new TextBox();   
            textBox1.ID = "textBox1";
            textBox1.TextMode = TextBoxMode.MultiLine;
            textBox1.Rows = 10; 
            form1.Controls.Add(textBox1);       
      
            Button
    ...
    See more | Go to post

    Leave a comment:


  • wagswvu
    started a topic Regular Expression Validator with MultiLine TextBox
    in .NET

    Regular Expression Validator with MultiLine TextBox

    I have created a regular expression to validate dates in MM/DD/YYYY, MM/YYYY, and YYYY. "((0[1-9]|1[012])[/]((0[1-9]|[12][0-9]|3[01])[/])?)?(19|20)\d\d " . How can I make this expression work with a multi-line textbox, so that a user would be able to enter multiple dates (each on a new line) and still be validated by my expression.

    Example: 3 dates entered into textbox, all be validated by expression.
    Multi-Line TextBox:...
    See more | Go to post

  • wagswvu
    started a topic Button Control using RenderControl with Events
    in .NET

    Button Control using RenderControl with Events

    I am writing a User Control in C# that dynamically generates some text boxes and two buttons. For all the html on the page I am overriding the render method, I also render my Button/Textbox controls as well using the “.RenderControl ”. However, when I do that I can’t seem to get my button click events to work.

    Code:
    protected void LoadSearchButtons(HtmlTextWriter htmlWriter)
            {
               searchButton = new Button();
    ...
    See more | Go to post
No activity results to display
Show More
Working...