Search:

Type: Posts; User: wey97

Page 1 of 13 1 2 3 4

Search: Search took 0.55 seconds.

  1. Replies
    7
    Views
    2,359

    VS 2010 Re: validation with default button and enter press

    I feel we're starting to split hairs here but did you read my last reply to your comment? I moved on from only having required validators. If you add other validators to any of the input text boxes...
  2. Replies
    7
    Views
    2,359

    VS 2010 Re: validation with default button and enter press

    I added a compare validator along with the required validator and actually even though I type a value and the required validation is satisfied, if the value typed doesn't satisfy the compare...
  3. Replies
    7
    Views
    2,359

    VS 2010 Re: validation with default button and enter press

    If you disable client script validation, give any textbox focus and press enter with no values then all validators fire. Why wouldn't you want validation to be consistent whether you have client...
  4. Replies
    7
    Views
    2,359

    VS 2010 validation with default button and enter press

    Searched for this a while but didn't find anything useful...


    <form id="form1" runat="server" defaultbutton="Button1">
    <div>
    <asp:TextBox ID="TextBox1" runat="server"...
  5. VS 2010 Re: web.config customErrors defaultRedirect not always redirecting

    I've used a snapshot several times before and saved a lot of hassle but I forgot this time. Thanks for the reminder!
  6. VS 2010 Re: web.config customErrors defaultRedirect not always redirecting

    I just setup a VM but it will be just a while before I get IIS and the site setup and tweaked. I'll let you know how it turns out.
  7. VS 2010 Re: web.config customErrors defaultRedirect not always redirecting

    Sorry, I currently have my win7 x64 dev machine setup as an IIS 7.0 server where the site is hosted. I'm not able to test on a remote server at the moment.
  8. VS 2010 Re: web.config customErrors defaultRedirect not always redirecting

    Resolving it to the root didn't help but I've found how to reproduce the problem. When I change <customErrors mode="On" defaultRedirect="~/Error.htm"> mode to Off or RemoteOnly and throw an error in...
  9. VS 2010 Re: web.config customErrors defaultRedirect not always redirecting

    In the post that's similar to my problem except it doesn't happen to me all the time. It looks like they never solved the problem so it isn't much help.
  10. VS 2010 web.config customErrors defaultRedirect not always redirecting

    <customErrors mode="On" defaultRedirect="Error.htm" >
    </customErrors>

    My site is running in IIS 7 and sometimes after an error is thrown I actually see my error page but other times I get the...
  11. VS 2010 Application_Start failure to load global data

    In Application_Start we call a static function DataCache.Load() that loads site data from a db such as settings, common messages, product info, etc. into static members so that they're available...
  12. VS 2010 Re: updating master page control from user control

    By putting an update panel on the master page :eek: how much overhead or bloat would this incur?
  13. VS 2010 Re: updating master page control from user control

    The quick answer is to wrap the master page label with an update panel (duh :rolleyes:) which seems a little wrong. I haven't quite figured out the best way to use triggers so that may be a better...
  14. VS 2010 [RESOLVED] updating master page control from user control

    I have a label on my master page (called mainMenu) that shows the number of items in a cart. The label wasn't getting updated when the cart was cleared until after an additional postback or redirect...
  15. VS 2010 Re: Binding a single item without using a FormView/DetailsView/Repeater

    The project has been upgraded to 4.0. When I hover over the data controls, the tooltip text shows v4.0. That's an interesting article on CSS control adapters though it doesn't look like they've...
  16. VS 2010 Re: Binding a single item without using a FormView/DetailsView/Repeater

    We're using v4.0 but unless I'm missing something, all the controls still use tables.
  17. VS 2010 [RESOLVED] Binding a single item without using a FormView/DetailsView/Repeater

    The title pretty much explains it. I want to bind a single item to a detail type control. I can bind to a repeater perfectly fine and obviously only one item will be displayed. It seems like there...
  18. Re: Disable Drag and Drop in Solution Explorer

    That's partly true but I don't notice much of a difference my machine is so slow anyway.
    I think quad core xeons are next for developers so I'll be happy soon ;)
  19. Re: Disable Drag and Drop in Solution Explorer

    Yep, I was already using it but totally forgot about this thread :)

    Two of my other favorites I found in the online gallery are DevExpress Tools and Productivity Power Tools. I didn't find VS2010...
  20. 3.0/LINQ Re: form designer inheritance form_load code error

    I found a solution to wrap if(!this.DesignMode) {} around the code but I don't really like it.
  21. 3.0/LINQ [RESOLVED] form designer inheritance form_load code error

    I have a base form which on form_load calls a database method. This form loads fine in the designer. I have a form that inherits from the base form and when I try to view the form in the designer,...
  22. Replies
    19
    Views
    5,709

    VS 2010 Re: [RESOLVED] web solution virtual path question

    That looks promising. I'll definitely be keeping an eye on it :)

    Thanks Gary.
  23. Replies
    19
    Views
    5,709

    VS 2010 Re: web solution virtual path question

    I didn't realize this but you're able to change the Start Options from the Website menu and select to change the default web server to use a custom web server and provide a base URL. Then provide...
  24. Replies
    19
    Views
    5,709

    VS 2010 Re: [RESOLVED] web solution virtual path question

    It's not that I think it's hard, I've actually done it before to test IE6 from a VM. Maybe we're stricter about how we develop here or maybe you can make those kinds of project wide decisions where...
  25. Replies
    19
    Views
    5,709

    VS 2010 Re: web solution virtual path question

    We have about ten developers but whether we use IIS or not is really out of my control. I have to use the Visual Studio server so I want it to work the way it should work. If not, then I would pick...
  26. Replies
    19
    Views
    5,709

    VS 2010 Re: web solution virtual path question

    Why are you still mentioning the port number? I know IIS requires no port number.

    IIS is not an option as I've explained to you that we are developing using the Visual Studio server. I realize...
  27. Replies
    19
    Views
    5,709

    VS 2010 Re: web solution virtual path question

    Yes it's working now...and at least I know what to do in the future.




    The port wasn't the issue. The port number is always stored in the .sln file. We have settings stored in our database for...
  28. Replies
    19
    Views
    5,709

    VS 2010 Re: web solution virtual path question

    That's correct, Gary. We're using VS dev server and a fixed port. My issue isn't with the port number though.

    When you create a new web site, the port is determined automatically and saved in...
  29. Replies
    19
    Views
    5,709

    VS 2010 Re: web solution virtual path question

    Through the website property window in the Developer Web Server section.

    I know this may seem trivial but we have a team of developers and if one of us changes the virtual path, it would be nice...
  30. Replies
    19
    Views
    5,709

    VS 2010 [RESOLVED] web solution virtual path question

    Where is the virtual path setting of the web solution stored? If you change the value, the .sln solution file isn't modified but if you change the port number the sln is modified :confused:

    For...
  31. 3.0/LINQ Re: overriding UpDownBase and hiding inherited event

    Yep, I meant inherited not override on a class. I guess I forgot my morning coffee ;)

    I thought of this:


    [Browsable(false)]
    [EditorBrowsable(EditorBrowsableState.Never)]
    public new event...
  32. 3.0/LINQ [RESOLVED] overriding UpDownBase and hiding inherited event

    I'm overriding the UpDownBase class to make an IntUpDown class. The UpDownBase class brings along a TextChanged event that is hidden in a class like the NumericUpDown and a new event 'ValueChanged'...
  33. Replies
    3
    Views
    1,028

    VS 2008 Re: Dynamic Control Loading

    I found a way to make this work but it's far from ideal. Before I add a control to the panelButtons control collection, I check to see if a control with the same text already exists.


    private...
  34. Replies
    3
    Views
    1,028

    VS 2008 Re: Dynamic Control Loading

    Page_Load could be simplifed to
    protected void Page_Load(object sender, EventArgs e) {
    LoadButtons(_PageState);
    }
  35. Replies
    3
    Views
    1,028

    VS 2008 Dynamic Control Loading

    I have a problem that I can't solve when I load controls dynamically. I have 3 states on a page that I traverse through and I load as many buttons on the page as the page state number + 1. For...
  36. Re: CSS Problem - DIV all over the screen

    What are you wanting to do with it? Show a translucent overlay to prevent the user from clicking the content shown under it? The MS Ajax toolkit has the ModalPopupExtender...
  37. Re: RegEx in MS SQL to not allow special characters

    I jumped a little ahead of myself...

    I was told to not allow the symbols <,>, and & as input. I, for some dumb reason, assumed it was to prevent sql injection, forgetting that we're hashing the...
  38. [RESOLVED] RegEx in MS SQL to not allow special characters

    I almost have my RegEx complete:

    ^(?=.{8,})(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*\W)(?!.*\s)(?!.*[<>&]).*$

    Require at least 8 characters.
    Require at least one lower case letter.
    Require at least...
  39. Replies
    1
    Views
    2,520

    ORM designer bloat

    I hate designers. Not so much that they're bad...they can be pretty nice to get the grasp of something entirely new like the ADO.NET Entity Framework. Enterprise ORM solutions do not usually involve...
  40. Re: Center vertical align controls with UserControl in designer

    Nick, you got me on the right track.

    You need to cast base.SnapLines to an ArrayList to manipulate it. I added an arbitrary baseline at the bottom of one of the TextBoxes:


    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width