Search

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

Matching Posts

  • Re: TreeView menu in the Master Page - how to keep menu state navigating to another page?

    Yeah, since the only sitemap in the web.config file is the one that is working you will need to find another way to get access to current what node you are currently on, based on the sitemap provider you are using as this is the only one that will have a non-null reference to the current node property. You could always recurse through the nodes and find the current node based on the page addy but that is more code. Another way might be to, on the TreeNodeDataBound event, check to see if e.node.datapath
  • Re: TreeView menu in the Master Page - how to keep menu state navigating to another page?

    Hey there, While I don't have your code in front of me to test, I would assume that the problem is related to your multiple sitemaps. Since the sitemap provider is an application level object, I am assuming that you are doing some other method of attaching your sitemap to your application. If this is the case, the currentnode property will not function as one would expect because the currentnode property comes from the application as well -- therefore the currentnode is not being found. Have
  • Re: Developing a Framework?

    OtM meaning One to many relationships vs. MtoM meaning many to many relationship. Basically, this means if you are using linking tables for your entities or not. For example.. linq will create the object heirarchy(sp) User.Addresses If the Address table has the foreign key relationship UserID in the address table. However, if you have a link table that has something like AddrID and UserID in it, so three tables, you would have a many to many relationship, in that a user could have multiple addresses
    Posted to Architecture (Forum) by jasonjanofsky on 3/23/2009
  • Re: Developing a Framework?

    Looks like you are on the right path. While I have never used NetTiers myself, I hear it works pretty well. Regarding the regenerate DAL issue. Since I write my own code for CodeSmith, etc.. I don't usually encounter this issue -- but, if I did, I would probably look into using partial classes for the pre-generated stuff and just having another directory for overrides and extra classes. On the data relationships issue, this is, generally, the biggest architecture question you will ask yourself
    Posted to Architecture (Forum) by jasonjanofsky on 3/20/2009
  • Re: GridView OnRowUpdating warnings pointing to unrelated Item properties

    Sorry man, I gave you some misinformation there. I wasn't looking closely enough and didn't notice the formview control you have in there above the gridview. Since you have a template inside of a template you will, indeed need to use the onRowUpdatingEvent reference inside the gridview tag. The only difference is you will not have the handles statement in code. You will, however still use the protected void OnRowUpdating(object sender, gridviewroweventargs e) sub declaration. To test all
  • Re: Understanding ListBox controls working with the database ?

    Well, I don't see the Development Environment column on your table desc. there but I am going to assume you had it as some kind of varchar or something. The mentor wants a type field, which is generally an int and can be linked by an FK to another table called something like (using your existing naming scheme) tbl_DevelopmentEnvironmentType. This table would just have a PK int and a varchar name. You would then throw up your listbox and databind it to your results from the dev env. type table
    Posted to Web Forms (Forum) by jasonjanofsky on 3/20/2009
  • Re: Login failed for user 'Domain\ComputerName$'

    On the directory security tab in your IIS application directory, you need to set "Integrated Windows Authentication" to true so it knows to ask for your username and password.
    Posted to Security (Forum) by jasonjanofsky on 3/20/2009
  • Re: GridView OnRowUpdating warnings pointing to unrelated Item properties

    Couple things here. First, the Sub declaration you have is wrong, it needs to be protected sub UpdatingCustShipTo(byval sender as object, byval e as gridviewupdateeventargs) handles gridview1.onrowupdating or something along those lines. Second, since you are using vb, you can click up in the top of your edit window where you see the control names, find gridview1 in the dropdown and select it, to the right you will see its events. Select from this dropdownlist to select the event you want to use
  • Re: Master Pages Across Several Web Applications

    This is, certainly, possible to do. If all the apps are on the same web server or, alternately, have access to the same files (mapping or something) you can create a virtual path in your web server to your master page directory and then the reference to the master page file should work. I am not sure what would happen, in the case of pre-compiling your site, but it doesn't sound like that is what you want to do, right?
  • Re: Developing a Framework?

    I think you are close to the right answer. To me they are looking for a n-Tier architecture API platform that they can, like you said, use to create thier programs and insert business logic. Since there are so many different apps which are probably all related in many ways, this makes a ton of sense vs. just throwing SQLdatasources all over your code. I think you also assume correctly with the custom control angle. If you have a standardized architecture, you can, generally, build controls that will
    Posted to Architecture (Forum) by jasonjanofsky on 3/20/2009
Page 1 of 14 (140 items) 1 2 3 4 5 Next > ... Last »