Wouldn't you know, another wierd problem that appears _only_ in IE.
Tested on all other browsers, IE seems to want to ruin my day and night.
Anyways, to the point.
http://www.loadx.org/cardet is the website in development, and appears nice of (i.e.) FireFox 188.8.131.52 and many other browsers (tested from http://browsershots.org, great site for testing)
Well, if you've noticed, in IE, the color bar that appears on the top (immediately after the logo) has a white line under it, which should take only 1 pixel in width, but in IE, it likes to take (what appears to be) 2 more.
It causes a bigger problem than the ugly line, as it pushes all the content below.
Enough jibber-jabber, here's some html code.
i know there's some stuff missing to get the whole idea, but the point is that the colorbar always gets 14 pixels height, even though i specify 11. and if i specify a lower number it still shows 14, but any larger than 14 and it grows.
IE 6 has a strange notion that any element should be expanded to be at least one character high. You can specify overflow:hidden to keep it from doing that. (It will still make the contents of the element one character high, but the contents will not change the size of the element.)
I have a problem in Opera & Firefox..
I have to tables in my aspx page (actually they are two controls) and I want there bottoms to align with each other in the page so I added a row at the end of the table & set its height to 100% & this works fine in Internet Explorer but in other browsers it doesn't do anything and when I set the height in pixels rather than % the other browsers then see it but the height is dynamic & so I can't fix it in pixels.. So what should I do
When you are setting the height of a table row in percent, it would be a percentage of the height of the parent object, which is the table in this case. Have you specified a height for the table? Otherwise there is no measurement to derive percentage from.
I can add an attribute to each option in a drop-down list, using the System.Web.UI.WebControls.ListBox.Items.Item(ItemIndex).Attributes.Add() method, but they are ignored when the list is rendered to the web-page. How can I render them?
I'm currently adding the controls as childern to a span element, and then using the span.RenderControl(output) method to do the heavy lifting. Is there a method that I can override that specifically renders the options?
Also what attribute you want to add on ListItem since there is no JS event like onchnage , onclick for element in HTML all events are for element
Now, I want to include this capability in my component. I created a property that allows me to manage the UserProperties as an arrary. Then when the select list's children are created, I use the ListItem attribute.add method to push the array value into the option. Unfortunately, Mircrosoft let you add the attribute, but doesn't render tham.
I was hoping that there was a render for the option that I could override, and then create the tag strings myself. In the past, before linking all of my sub-components together as childern under a main span element and then letting the render method do all of the work, I was explictly was calling the render for each sub-component explicity, and adding 'little bits' of hard coded html to the output stream to implement to new features I wanted in my component.
Now that the sub-components are all linked up as childern of the main span, I need some way to get the render to call my render method for the options instead of the built-in one.
It seems to me that if good modular programming practices were employed that the option rendering would be a seperate routine from the select rendering routine, and that the option rendering routine would be overridiable.
The online help says "Gets a collection of attribute name and value pairs for the ListItem that are not directly supported by the class." But then goes on to say "Use the Attributes collection to manage the attribute name and value pairs declared in the opening and closing tags of the ListItem, but not directly supported by the class. You can programmatically add or remove attributes to the collection."
When I look at the Attributes collection, there is a render method, but its not clear to me how I could call get my code in to execute it.
I have a 3 columns in Gridview.I want to dispay the gridview with 1st and 2nd column as left aligned with header text and to display the 3rd column as right aligned with header text.I have adjusted the properties as row style -> Horizontal Align -> left and
Header Style -> Horizontal Align -> Left.
Now i want only 3rd column to be aligned right with header text.
Please tell me the property to be set or the code to be written in my HTML page. I am working in Visual Studio 2005 on vb.net platform. I have only .aspx pag and HTML page.I am not working in .vb page.
This is just a note to anyone else who might experience the same problem.
In a classic ASP environment, after installing SP2 to Windows Server 2003, the Session_OnEnd event in Global.asa no longer fires. I created the following demo web site (containing ONLY these two files) to demonstrate...
<SCRIPT LANGUAGE=JScript RUNAT=Server>
Application("Trace") = "WAITING FOR ANY SESSION TO END...";
Session("Dummy") = "Dummy"; // just so something is in the session
Application("Trace") = "SESSION END FIRED";
The web site will ALWAYS display "WAITING FOR ANY SESSION TO END...". No matter how long you wait and check back.
I see no solution. If anyone has one, please let me know. Thanks.
The original thread was a plea for help (one in which I did not know the answer).
This thread was posted separately, as a sort of "post mortem" -- to simply point out a bug in SP2 -- which will hopefully allow someone else experiencing the same problem to more easily become aware of the issue.
If I could delete the other thread entirely, I would -- as it is rather pointless now.
Well, it's done now, isn't it. What do you want me to do? I can go delete all of my previous posts in the other thread if you want -- but that will leave a rather ugly mess now won't it?
In regards to my code, specifically the example at the head of this thread -- it's ridiculous to even suggest that there is a bug in that code. It is the simplest possible example to illustrate the issue that I'm talking about.
And it is a bug in SP2 -- simply by the definition that similar code has been working perfectly fine for YEARS on Windows 2000 Server, then YEARS more on Windows Server 2003 -- then SP2 is installed and BAM! -- it no longer works. And the technique is something that was promoted by Microsoft in the past.
The culprit is SP2. And there is absolutely NO DOUBT in my mind that it is a bug -- either accidental -- or by intentional depreciation.
Now, if there is some sort of work around -- then that is another issue entirely -- however I'm not aware of one and no one else has been able to offer one either.
can i return a hashtable from my webservice to the client application .. i hav tried but iyt dsnt allow.. so i added the hastable in an arraylist and returned the arraylist but there is still a problem
Last Visit: 31-Dec-99 18:00 Last Update: 30-Sep-23 20:31