I'm trying to set the foreground color for all treeview nodes in css but cannot get it to work. I'm using the following: { color:black } How can I get this to work?
dptalt
Posts
-
Treeview style forecolor nodes -
Cannot open Server ExplorerFor some reason my Server Explorer is gone VS 2008 and when I select it from the menu it does not appear. How can I get it back?
-
Stretching html table column will not fitI have an asp label in a table as shown below. The label text is set in the codebehind. I would like the table column to stretch when the label text is to long to fix instead of it wrapping to the next line. How can this be accomplished? <table cellpadding="0" cellspacing="0" style="width: 100%;"> <tr> <td style="width: 250px">> <asp:Label ID="Label2" runat="server" Text="Label" Font-Size="9pt"></asp:Label>
-
Enable asp menu with javascriptAfter adding
-
Enable asp menu with javascriptMy page uses an asp .net menu that is not enabled like this:
-
Right clicking for context menuIs there a way to beable to right click a row in a gridview to bring up a context menu?
-
Hiding AJAX extender iconI have created a user control that uses an AJAX extender. The problem is when I place the user control on a page a rectangle shaped CalendarExtender icon is shown in the designer. This moves other controls out of place in the designer making it hard get things lined up correctly. When the page runs the CalendarExtender icon is not shown but how can I removed it in the designer?
-
Getting local printers on clientI would like to get the local printers on the client computer in order for the client to pick from in a dropdown box and then print to. Is this possible?
-
Template field in codebehindHow can I create a templatefield in the code behind?
-
Running with 64 bitWe have a aspx website written in VS 2008 and have been asked if it will run on 2008 Server, Enterprise, 64 bit. Will it work? Does the website need to be compiled into 64 bit?
-
Update top rowI want to update the top row in a table. I'm trying to get this to work: update top (1) mytable set myfield="test" This does not seem to compile. We have Microsoft SQL Server 2000. How can I accomplish this?
-
Dual running application using same databaseI have an application that looks for the next job to process by querying a que table. If it finds a record it does some processing for the corresponding job and then removes that record from the que table. I want to have this application running on more then one server but I'm not sure the best way to keep each instance of the application from trying to process the same record in the que table. Somehow when one instance of the application begins processing a record in the que table it needs to flag that record so that another instance of the application will not process it. What is the best way to do this?
-
Dealing with browser back button after logging outDoes this mean when you have a logout feature you cannot use the browser cache?
-
Dealing with browser back button after logging outAfter logging out of my web application I do not want the user to be able to get back into it simply by clicking the browser Back button. After doing some reading I don't think javascript will allow you to clear browser cache. Do I have to prevent all my asp pages from being cached? On commercial sites it seems that caching is on because the Back button does work. However, after logging out and hitting the Back button an expired page is displayed. How do they do this?
-
Object does not support this property or methodThe following code runs fine on my development computer but when I publish the website to the server it throws the error 'Object does not support this property or method' var OLECMDID = 7; var PROMPT = 1; // 2 DONTPROMPTUSER var WebBrowser = ''; document.body.insertAdjacentHTML('beforeEnd', WebBrowser); WebBrowser1.ExecWB(OLECMDID, PROMPT); WebBrowser1.outerHTML = ""; If I debug it throught the browser the following line is where it has trouble: WebBrowser1.ExecWB(OLECMDID, PROMPT); How can I get this to run on the server?
-
Uploading a fileThe file name and path to be uploaded is stored in a session variable. In the code behind I would like to have a method that uploads this file.
-
Uploading a fileI want to programatically upload a file from the local computer to the server without any intervention from the user. I tried using the FileUpload control but it requires the user to click the browse button to select a file. Can't I programatically set the file to be uploaded? Or is there another way to do this?
-
JavaScript Shift + :When I say Shift + : I mean when the user presses and holds the Shift key while pressing the Colon/Semi colon key.
-
JavaScript Shift + :Is there a way in JavaScript to detect if the users press Shift + :? The below code does not seem to work. if (event.shiftKey && event.keyCode == 186) event.keyCode = 9;
-
Edraw Viewer componentHas anyone used the Edraw component? I'm trying to save a Word document over http and cannot get it to work.