Another option is you can compre url such while you are showing the login page first time and after logout you will have the same url. So just compare both if both are same than again put the user on login page.
If you think that my answer is good enough and can be helpful for other then don't forget to vote.
I want to use a dropdownlist server control with a datagrid server control sothat when i change the dropdownlist the grid changes but using AJAX. I can do it if the datagrid is a simple html table but i can't implement it if the grid is a server control datagrid. Is there anyway to display the grid as a server control using AJAX or it must be html table to display it with AJAX?
If the application has been properly architected it should just be a matter of rewriting the presentation (UI) layer - perhaps with the odd addition elsewhere to support a stateless model of working. If it hasn't been well architected then you are looking at rewriting the whole application.
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 126.96.36.199 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?
Last Visit: 31-Dec-99 18:00 Last Update: 21-Sep-23 1:20