In my DBML, I added three tables with relationshiped established. However, when I do "myDataContext.", I do not see the fields of my other table showing up as being available in the intellisense. Any suggestion? Did I do it wrong? I want to update multiple table at the same time.
It seems that Intellisense just doesn't work within attributes in an ASP.NET page. I really like strong typing, because I like Intellisense, and so I generally make sure to bind to a strongly typed object in ASP.NET:
Intellisense just works within the body of the div, but no matter what I do it will not work to set that class attribute. This is very annoying, since attributes are pretty fundamental in HTML, and many of the built in controls use them heavily. I can't find anything about this, but I can't believe this isn't a pretty fundamental need. Is there any way to get this to work?
I'm so new at this it's pretty pathitic. I have Visual Studio 2008 Team edition and I'm following the walkthough in the help file about how to create your first basic site.All went well until I got to that part about "Put the insertion point after asp:Label in the <asp:Label> tag, and then press SPACEBAR.
A drop-down list appears that displays the list of properties you can set for aLabel control. This feature, referred to as IntelliSense, helps you inSource view with the syntax of server controls, HTML elements, and other items on the page. The following screen shot shows the IntelliSense drop-down list for theLabel control.IntelliSense for Label control"
I'm curious why the intellisense feature isn't available in the source view for the mark up. It would be nice if while you are typing something similar to the following could happen. While setting a property such as the DataSourceID that it would bring up the possible data sources that already defined on the page.
My problem is that the intellisense is not enabled within the App_Code folder, so to twick this problem I initially create a separate folder where I develop my classes then I move them to the App_Code but, but I'm convinced that this is not the right practice so how to configure visual studio 2008 to enable intellisense at the App_Code folder
I know I've seen this in one of the video tutorials but I have no idea which one and I have reinstalled VS since then. I think it was Chris Pels that showed how to set up VS so that you had IntelliSense for XML files. The reason I ask is because I'm going through the Security tutorials series and working on the web.config file and the editor doesn't highlight the closing or opening tag when you click on one or the other like it does for HTML or C#.
Not sure if I'm explaining this clearly or not. When working with HTML or C# I can click on the opening tag for an element, say a div tag and VS will bold the type of the closing div tag. This makes it easy to be sure that I'm not messing up my tags. Well this doesn't happen with an XML document. I saw in one of the videos where the author configured the settings in VS so that IntelliSense would work in an XML document. I just don't remember the path to those settings or what changes were made.
I think my main problem is actually more to do with master pages that anything else.. Below is a description:
If you use master pages in your website and you have pages in different sub directories then the simplest way to add JQuery references is using <script src='<%# ResolveUrl ("jq.js")%> /> in the master page header??
This means that the .js files are correctly referenced in all pages that use the master. My main problem is that intellisense only seems to work for JQuery when the JQ Script is actually referenced in the header and not by using ResolveUrl('') <script src="/scripts/jq.js" />
I dont want to have to live without intellisense, Surely there is a way to get around this. What am I doing wrong.
I am building a little app to upload a picture and various downloads for different file types for the photos, but I also need be able to select the catergory they will go into. So I have two tables one that stores the catergory names and one that holds the paths to the photos and downloads the tables are related through the catergoryID.
What I need is those catergories to show up in the photo's and downloads table so that when I go to upload the photos I will be able to select the categories.
I have also built the DataSet and the Business Logic.
I am using the new ASP control "Chart", but I have some problems with it: I can't see anything when I execute the aspx. The data is binded to a ObjectDataSource, like this:
I have a few validations with a validation summery. The client side validations shows up, after the user leaves the textbox for the validation. The server side validation shows never up. The Validation summery shows never up.
I have a page (not online but only on my mashine - and it is on all pages in the application ) when I load that page in IE and look at the clock I can see, that it use about 1 second to load the pageNow I load the page in Firefox or GoogleCrome and again I look at the clock and can see, it takes about 5 seconds to load the page.Then I thought I could use Trace=true on the page to see, where it hangs when loading the page in Firefox or GoogleCrome by comparing with the trace log from the IE page......But the only time differences I can see is, that Firefox uses LESS time than IE to load page.
i have a masterpage in my project when i want to set image's path i have to use for exmaple ../../Image/TopBanner.jpg but some page is in root and some page is in folder so dose not show pictures in the page.
I have a very simple ModalPopup (with checkboxlist) + LinkButton in a page. I did everything as per the video tutorial. However, it appears that the first click on my linkbutton triggers a reload of the page and only after that, it starts working. How can I have it working the first time ?
I am unable to view my grid view already linked to my data source. when i run it locally it does not show... Is there any thing else should i include when calling Grid view in Ajax ?
I've got two DropDownLists that are filled using a couple of SqlDataSources, like so:
[Code]....
The third DataSource, dsCriterias, is used to present a set of dynamically added DropDownLists depening on what's selected in the second DropDownList, subcategories. The set of dynamic DropDownLists are presented using this code:
[Code]....
The code works but there's little thing that's bugging me. When the page is first loaded the criterias belonging to the subcategory is not presented. I expect it to show the criterias but ther won't show until I make a choice in the categories-DropDownList meaning if I wan't the first subcategories criterias I have to choose different subcategory and then go back to the first one. It's a bit hard to explain.
An example: When the page is first loaded I get a category presented, eg. Vehicles. In the subcategories I get the alternatives "Bicycles", "Cars" and "Motorcycles". "Bicycles" will be the one presented when the page loads since the stored procedure used by dsSubcategories sorts the data by the subcategory names. The problem is that I don't get the criterias for the "Bicycles" subcategory at page load. To get them I first need to select "Cars" or "Motorcycles" and then choose "Bicycles".
I've tried putting a subcategories.SelectedIndex = 0 in in the OnLoad but nothing seems to do the trick.
I Have a UpdateProgress in my page. I have a button that save and show a alert message if a condition is true.
The problem is that If I use the UpdatePanel+UpdateProgress my alert does not show, if I remove the UpdatePanel+UpdateProgress from my page, the alert is display!
I have an ASP.NET application that uses a MasterPage. In the MasterPage I have an image. This displays well on the development environment and on the default page that inherits it. But now I have set the website to prompt for a login using Form Authentication. The Login page also inherits MasterPage but it can't seem to find the image. Both aspx files (default and login) are in the same directory as the MasterPage. There is only one image placed in the Images folder. Has anyone seen this before?
Basically ec.jpg is in a folder called Uploads which is in C:. When I run my web app the pic doesn't show. Ive been trying to figure how to fix this problem for a quiet some time but I cant seem to figure it out. Now if I put the image in my actual Project file and than I try viewing it , it shows just fine.
I was wondering if this could be a solution to my problem, I have a modalpopuextender in a content page, and it shows the panel of the popup, but not the background, also it is not placed in the center,
if you have any idea, I am a little under pressure here.
and on change of this dropdownlist i check if the its text equal to a string i show the 2 tr as below
function ValidateCity() { if ($('#<%= citiesDropDownList.ClientID %> :selected').text() == identity_CityOther) { $('#<%= otherCityTR.ClientID %>').show(); $('#<%= areasTR.ClientID %>').show(); } var city = $('#<%= citiesDropDownList.ClientID %>').val(); return IsValid((city.length != 0), '#<%= cityDiv.ClientID %>', identity_CityRequired); }
.show() isn't work at all and i don't the reason .. can any lead me to get the problem?
FYI : I tried $('#<%= otherCityTR.ClientID %>').show('slow'); and also $('#<%= otherCityTR.ClientID %>').css('visibility', 'visible'); but it doesn't work also.
I create a site map for my site but it only works three levels deep and I need at least six. How can I do that? Every time I add a child node under "Water Filters, Desalinators or Micropur" the sitemap doesn't show the child node. Until now my sitemap only works three levels deep: Home > Products > Water Filters But I need this: Home > Products > Water Filters > Katadyn > Personal Use > Pocket Turbo 1. This is my sitemap configuration:
I am developing an asp.net website on my local box using VS2010 Ultimate edition. Suddently, when I made Firefox as my default browser, none of the data or control show up!! The same pages work when I use IE8 and Opera, but not with Firefox or Safari. Usually I keep changing the browsers, to make sure that the pages work in all the browsers. Strangely, when I click on the "Outline block level elements" on the Firefox, the controls and data show up, and are highlighted! Once, I unselect the option, they are gone again!