Search

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

Matching Posts

  • Re: How : Custom string format using calculated eval()

    Thank you. That worked great. I was wanting to know if there is an 'EVAL Cheatsheet' or extensive reference or something like that existing anywhere? I want to know every possible way to format a field using eval() or bind(), etc. I have found a few cheatsheets for Regular Expressions, but they don't seem to apply to eval.
    Posted to Data Presentation Controls (Forum) by bidware on 11/30/2009
  • Re: Regex validator for currency ONLY no $

    Thanks Nitin! Works great. Another question that is related: I want to allow user to enter up to 9,999,999,999.99 into a textbox, with or without commas but of course if they have a comma in one place, there should be commas in the rest of the field as well, for example: 456,545455.99 is invalid. And, also, it needs to strip out commas when saving. Actualy, come to think of it, should I be allowing commas at all when user is entering a numeric value like this?
    Posted to Web Forms (Forum) by bidware on 11/30/2009
  • Re: Gridview - save grid contents to database only when save button pressed

    Thanks, but I don't think a temporary table is an option. I'm thinking more of a data structure, or maybe just keep track of IDs and other non visible fields in hidden fields which are programatically generated. But, there has to be some logic at the end to move all changes, deletions and additions to the original table when that one save button is pressed. The reason I need this type of grid is that the user may want to edit all records before I enforce any validation to make it easier for
    Posted to Data Presentation Controls (Forum) by bidware on 11/26/2009
  • Re: Regex validator for currency ONLY no $

    Watana72, thanks! That works great. But, How about for displaying that same currency in a textbox? I tried '<%# Bind("BaseSalary", "{0:c2}")%>' but I do not want the $ in front of the currency. As, it should be the same for both input and display (dont display $ in display of value and dont allow $ in the input field, just commas and decimal points. Also, It seems that there is an unlimited amount of digits allowed after the decimal place, but when I save that in
    Posted to Web Forms (Forum) by bidware on 11/26/2009
  • Gridview - save grid contents to database only when save button pressed

    Hi all. I wanted to have a gridview control where the columns are not saved to a database until a save button is pressed. But, the grid should be able to allow the user to add rows, edit rows, and delete rows, but not save any data to the database of course until the button is pressed. So, there needs to be some sort of temporary data structure to bind to (or to save each row to), and then just save the contents of that data structure. Of course, if the user deleted a row, that data structure should
    Posted to Data Presentation Controls (Forum) by bidware on 11/25/2009
  • Re: adding a popup from server side in content page

    Thanks. But, I don't think that will work in a master page / content page scenario will it? And, how exactly would I call the method?
    Posted to ASP.NET AJAX UI (Forum) by bidware on 11/23/2009
  • Re: adding a popup from server side in content page

    Wait a minute. I tried the second method, and it seemed to have worked. Thanks. I didn't even have to place it in page load!
    Posted to ASP.NET AJAX UI (Forum) by bidware on 11/23/2009
  • Re: adding a popup from server side in content page

    Also, another question related to popups: If I want to get the return value from the popup, (Say a yes or no, or true false, etc.), how would I do that in a similar manner? I am thinking I would need confirm popup boxes eventually, for deleting records (e.g.: 'Are you sure you want to delete?' yes/no) I've looked around, but all solutions don't seem to work for me. Also, I am using an asp.net gridview, and the delete button is a command button inside the gridview, as follows: <
    Posted to ASP.NET AJAX UI (Forum) by bidware on 11/23/2009
  • Re: adding a popup from server side in content page

    I am guessing that popup is somehow called on postback, or some similar event? Would it be worth my time to convert the application to Ajax? What exactly would I gain? I know that the refreshes would go away, but the customer does not care at all about those. And, they don't care about having any custom popups or customizing the look and feel. It seems that if I start adding ajax, that it might take a lot of time to do, and I am on a very tight schedule, so that's why I'm not concerned
    Posted to ASP.NET AJAX UI (Forum) by bidware on 11/23/2009
  • Need a yes/no confirmation popup when deleting record from gridview

    If I want to get the return value from the popup, (Say a yes or no, or true false, etc.), how would I do that? I am thinking I would need confirm popup boxes eventually, for deleting records (e.g.: 'Are you sure you want to delete?' yes/no) I've looked around, but all solutions don't seem to work for me. Also, I am using an asp.net gridview, and the delete button is a command button inside the gridview, as follows: asp : CommandField HeaderText ="Delete" ShowDeleteButton
    Posted to Data Presentation Controls (Forum) by bidware on 11/23/2009
Page 1 of 8 (76 items) 1 2 3 4 5 Next > ... Last »