Search

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

Matching Posts

  • databound textbox, how can I programmatically set the default value?

    In my form, I want to place a default value in one of the fields of a form when it goes into edit mode. This default value is computed, so I cant just hardcode a value into my edititem template. Also, this textbox already has a databound value - how do I programmatically update that databound value? All of my attempts at tying an update of my textbox to an event have failed. I believe it is because every event I tried to assign the default, a page refresh is occurring and the re-databinding overwrites
    Posted to Data Presentation Controls (Forum) by lutz2 on 11/12/2006
  • Re: need page design suggestions

    Thanks again, all very good answers helping me through this "putting it all together" phase. no worries about the VB/C#, its the concepts I'm unclear on. :) My only objection to stored procedures is having code/logic in several different places. I understand its value in a larger environment, but I want simplicity/consistency for now.
    Posted to Getting Started (Forum) by lutz2 on 5/8/2006
  • Re: need page design suggestions

    Thanks You said: "From your post it seems like getting this value to the NEXT page is your problem as I don't think you want to hit the DB again. " I'm not sure about that. - I want the results from the previously mentioned query to be available for an INSERT into a different table, but on the same page. One of the things I tried, which worked, was using an sqldataadapter for the membername query, and attaching it to a DetailsView - but then I had to write some convoluted code to access the values
    Posted to Getting Started (Forum) by lutz2 on 5/8/2006
  • need page design suggestions

    1) The page is intended to be a data entry form for inserting a new record in a table. I am using the sqldataadapter with a formview defaulted to insert mode to handle this. 2) Some of the values for fields in the record to be inserted are computed. I want to use the membername and memberid from the SQL statement below - the username parameter in the WHERE clause is getting the name of the current page user ( Page.User.Identity.Name) - This query works okay: SELECT dbo.aspnet_Users.UserName, MemberInfo
    Posted to Getting Started (Forum) by lutz2 on 5/8/2006
  • Re: N Tiered Environment

    I didn't look at the presentation, but in practice the busines logic often resides on a separate app server, not the web server. I'm sure there must some way in .NET to specify all your object data sources as being on a different machine, and I suppose the 'web services' abstraction provides other ways to deal with it.
    Posted to Club Web Site Starter Kit (Forum) by lutz2 on 4/28/2006
  • Re: CSS with content areas on master page gets hosed in weird spots

    I don't know if this is your exact problem, but I too had some right blocks posting below left blocks, rather than adjacent to. Here is how I fixed that problem: 1) In the visual design view (not the source code/html) of the .aspx page in question, click the div area that's misplaced. 2) Now that it is selected, right click it for the context menu and select "Properties". 3) In the properties pane of the div - make sure the Class property is "rightblock". 4) The Style property for the rightblock
    Posted to Club Web Site Starter Kit (Forum) by lutz2 on 4/27/2006
  • Re: Why are you profiteering?

    MaineOne. You are a professional. Somebody bought your product. Congrats! I respect your decision to charge whatever you like. I must admit that I went looking for your code and decided not to pay for it, mainly because I knew I needed to learn this stuff, and plowing through it on my own, killing errors every half-step of the way, makes for a memorable experience. Now let me give you some free marketing, and why my choice may not be the best for most people: For students who want to learn from it
    Posted to Club Web Site Starter Kit (Forum) by lutz2 on 4/27/2006
  • Re: Best Practices

    Yes, it exhibits every one of those traits to some extent. That may be a good thing for me. Those traits have given me many good lessons. For every page I've developed on my own, I managed to find an example of how to do what was needed in the Clubsite. The act of interpreting the code and pages to figure out what is going on gave the learning process more depth. The hassles with implementing the clubsite on a shared host and rooting out bugs was also helpful. However, I was committed to learning
    Posted to Club Web Site Starter Kit (Forum) by lutz2 on 4/22/2006
  • Re: Conversion from type 'DBNull' - quick fix

    Don't feel that way, I'm glad to help. I'm new to this. I've spent hours or even days of fighting with difficult issues, to find that the needed changes are "simple". Luckily I know pre-.NET VB, C and databases. Until just now, I did not know how to make the function global for the whole website, so that the function would not need to be declared in the script portion of every page where it is needed. The answer appears to be in ~/App_Code/Shared_routines.vb Place the function in Shared_ routines
    Posted to Club Web Site Starter Kit (Forum) by lutz2 on 4/12/2006
  • Re: Conversion from type 'DBNull' - quick fix

    1) in the Events_List.aspx, add the myCStr function to the code at the top of the page, inside the script tags <script runat="server"> (other code) ... function myCStr(... ... </script> In any of the lines that cause errors use the myCStr function. I dont recall what was there previously, probably the regular CSstr(...), but this example is shortly after the first <!-- begin news item --> < asp : Label ID ="descriptionLabel" runat ="server" Text =' <%# truncate(myCStr(Eval
    Posted to Club Web Site Starter Kit (Forum) by lutz2 on 4/12/2006
Page 1 of 2 (19 items) 1 2 Next >