Search

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

Matching Posts

  • Re: ASP.NET 2.0 and Attributes

    I'm not sure how much control you have over the mapping code, but you may be able use properties to mask those fields. For example: [BusinessObject(typeof(PERSONRow), "Middle_Name")] public string MiddleName { get{ return txtMiddleName.Text } set{ txtMiddleName.Text = value } } It shouldn't be too difficult to modify your mapping code to support properties or to directly set the value instead of a specific field. If you require the full text box instead of just individual properties you could just
    Posted to Web Forms (Forum) by David Banister on 12/30/2005
  • Re: About RaiseBubbleEvent()

    You are partially correct. What you have to understand is that both ChildControl and ParentControl both derive from Control. ParentControl directly derives from Control, but ChildControl derives from Button which derives from WebControl which derives from Control. Either class has access to any of the protected members of the Control class. That includes any protected instance members on instances outside of itself. The RaiseBubbleEvent method defined on the Control determines the parent control
    Posted to Custom Server Controls (Forum) by David Banister on 12/29/2005
  • Re: About RaiseBubbleEvent()

    OnBubbleEvent is a protected member of the Control class. Because both C and P derive from Control, they have access to its protected members.
    Posted to Custom Server Controls (Forum) by David Banister on 12/28/2005
  • Re: What does EnableViewState actually do?

    Your example is not really testing the viewstate. TextBox is a postback handler and its Text property is populated on postback. In normal operations you should never have to use Request.Form to retrieve the postback information because the controls handle that for you. To truely test viewstate, use a label instead of a textbox. The label's Text property would be lost between postbacks. Note that if you set the Text property within the aspx page, then it's value will not appear to be lost because
    Posted to Web Forms (Forum) by David Banister on 12/23/2005
  • Re: Does Remoting prohibit good design?

    I believe this issue is a usage pattern issue and not a object abstraction issue. This happens in all pieces of software design. The more the usage pattern of an object is abstracted the poorer performance. For example, procedural code is faster than object oriented code 99% of the time, but that doesn't mean that we should stop using OOD. If you really feel that this is an issue then you should come up with a way to abstract away the remoting layer. Try creating an object used for remoting that
    Posted to Architecture (Forum) by David Banister on 12/22/2005
  • Re: How does viewstate work in base classes? thanks

    Control state does not deprecate view state. They are two different storage mechanisms that serve two different purposes. The control state is used to persist critical state information between postbacks. This should be used only for critical state information because it cannot be disabled. It should not be used as an alternativeto view state. The view state is used to configurably persist data between postbacks. The EnableViewState property allows a developer to disable view state for performance
    Posted to Web Forms (Forum) by David Banister on 12/22/2005
  • Re: Accessing the value of a constant in a .ASPX page?

    This may be nothing, but you're missing the closing double quotes on your constant. If the right conditions exist then the @ prefix would include "\n\t\}......" at the end of your constant which would be impossible to match.
    Posted to Web Forms (Forum) by David Banister on 12/22/2005
  • Re: Check services on remote machine

    The ASPNET account is a local account and has no privilidges on the remote machine. You need to use an account with permissions on the remote machine.
    Posted to Security (Forum) by David Banister on 12/22/2005
  • Re: Disable Caching Question

    The SetCacheability method will send the cacheability requirements in the HTTP response headers. There are many browsers that will ignore those meta tags. Additionally most proxy caches do not even look at the HTML so they would never see those tags. SetCacheability is the better option because it has a broader range of clients that will respect the setting.
    Posted to Web Forms (Forum) by David Banister on 12/22/2005
  • Re: DRM-esque Protection

    Have you looked into Windows Media Rights Manager ? It appears (I have not actually done this so I do not know for sure) that it is a free API. You just have to meet certain standards and sign an agreement with Microsoft.
    Posted to Security (Forum) by David Banister on 12/22/2005
Page 1 of 2 (15 items) 1 2 Next >