Search

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

Matching Posts

  • FormView OnDataBound - how to access select record field values in code behind

    Hi, Can someone help me out here. Maybe this is a dumb question but why does FormView OnDataBound not have RowEventArgs the same as RowDataBound on a GridView? Without RowEventArgs how can I access the values of the fields in the selected record when the FormView OnDataBound is fired? When the GridView RowDataBound fires before each row is rendered I can use DataBinder .Eval(e.Row.DataItem, "MyFieldNameHere" ).ToString() and then happily work with the data, but Im finding the FormView a bit limiting
    Posted to Data Presentation Controls (Forum) by kira1 on 2/16/2007
  • Re: Load Balaned Web Servers (or Web Farm) with "Fail-Over" versus Session Variables??

    Hi, Thanks for the response and the links to the KB articles - really helpful. However, the system is written to run off Oracle or SQL server as it is deployed at more than one site where they use different databases. So I can't rely on SQL Server although I have read that it the best way to solve this kind of problem. I would love it if it were allowed to be an 'all microsoft' solution but out here in the real world I wouldn't get ot work with .Net at all if that was a requirement. I have to look
    Posted to State Management (Forum) by kira1 on 1/22/2007
  • Load Balaned Web Servers (or Web Farm) with "Fail-Over" versus Session Variables??

    Hi, I like using Session variables to hold on to the current users ID (and prove they are logged in & valid etc). However Im working on a project which will be deployed using multiple web servers. All should be fine if load balancing is configured so that each new user is linked to the initial web server they get on their first request. Right? .. So that will be the load balancing taken care of. BUT.. users will be kicked off if that one web server goes down... not really the point of all those
    Posted to State Management (Forum) by kira1 on 1/19/2007
    Filed under: "Load Balaned" "Web Farm" "Fail-Over" "Session Variables"
  • Re: Name of DLL in (converted from 2003) VS2005 web application

    This forum is great because it makes you go off and find the answer yourself which is always the best approach! Anyway for anyone else newish to VS with a similar issue it turns out to be a simple matter of right clicking on the project, choosing PROPERTIES, and from there there is an APPLICATION tab (its the default tab anyway) and there you can simply specify the name of the DLL and the name of the default namespace.... phew... Thanks Al
    Posted to Getting Started (Forum) by kira1 on 12/27/2006
  • Re: Name of DLL in (converted from 2003) VS2005 web application

    Hi, Yes that is what I am asking. However I did rename the project and solution in VS2005 and recompiled and the .dll still has the same name it had in VS2003. Also, when I add a new web form to my converted 2005 project the default namespace that it gets is the original one (the same as the name of the dll). I need to change the name of the dll as I am still supporting the ASP.NET 1.1 version of the project built in VS2003 (because it is used live while the 2.0 version gets created/enhanced). I
    Posted to Getting Started (Forum) by kira1 on 12/22/2006
  • Name of DLL in (converted from 2003) VS2005 web application

    Hi, Ive got a web app converted from VS2003. I want to change the name of the .dll which it gets complied down to and also the default namespace (same name as the dll) which is used when i add a new form. Is that an easy question? Cheers Al
    Posted to Getting Started (Forum) by kira1 on 12/20/2006
  • Re: Convert 2003 to 2005 problem: LinkButton JavaScript error: WebForm_DoPostBackWithOptions undefined

    Hi, In case anyone else experiences this problem and finds this post I have now fixed this. Problem was that the request to the server for WebResource.axd (which nows happens in .Net 2.0) actually triggers Application_PreRequestHandlerExecute from within Global.asax.cs So, not only does any code in there now get run twice but for some reason my refernce to a session variable != null was throwing a .Net 500 error 'null reference' which was not visible until I used Fiddler to examine the requests to
  • Convert 2003 to 2005 problem: LinkButton JavaScript error: WebForm_DoPostBackWithOptions undefined

    Hi, I have converted my project from .Net 1.1 in VS 2003 to .Net 2.0 in VS 2005 (web application). My link buttons which have validation on them now dont work. These are EDIT and ADD links in my datagrids. They fire a javascript called WebForm_DoPostBackWithOptions which is missing. I have googled a long time on this and cant find a definitive answer. Some say it is HTTP Modules that need removed from web.config but I am only using 1 NeatUpload by Brettle Development. I removed it anyway but this
    Posted to Migrating from Visual Studio .NET 2003 to Visual Studio 2005 (Forum) by kira1 on 12/13/2006
    Filed under: Validators, asp.net 2.0, 2003 to 2005 convertion
Page 1 of 1 (8 items)