Search

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

Matching Posts

  • Re: Bind property of usercontrol

    Put your control in another usercontrol and let this new usercontrol inherit from ViewUserContorl, then using the <% Html.RenderPartial(...) %> to render the new control. Default all the viewdata and tempdata is passed on the new control. Then within new control Page_Load Method, you can bind the properties to the control you want. This is a generic solution for all asp.net webform usercontrols used in MVC projects. For Ex. I have a <%@ Control Language="C#" AutoEventWireup="true"
    Posted to ASP.NET MVC (Forum) by singlewind on 11/25/2009
    Filed under: MVC HTML helper User Control
  • Re: Ajax update panel & Double postback.

    Yes. This is bug only happend in firefox, when you enable or disable buttons in UpdatePanel. The golden rules is alaways disable button, or have some method handel the duplicate submit.
  • Re: Session cross Subdomain

    No need do that. I just stated my solution, not ask a question. use sql server for session state is bad performance. And we can still achieve cross subdomain based on based on InProc mode.
    Posted to State Management (Forum) by singlewind on 10/13/2008
  • Session cross Subdomain

    I have read a lot of articles on google how to share session cross subdomain. Most of them are wrong way, like hack a "ASP.NET_SessionID" cookie or setup state server and use url rewrite to embed session id in url. Yes, these are working, but not a good solution. Put < httpCookies domain = " .yourdomain.com " /> in your web.config is the only thing you need to do. If you need to let form authentication cross domain as well, just set domain attribute of forms element as well
    Posted to State Management (Forum) by singlewind on 10/12/2008
    Filed under: sessions, ASP.net Session, asp.net. sessions, asp.net.net session usage, authentication, authentication page-redirection session state stale page target redirection
Page 1 of 1 (4 items)