Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:507885
More Search Options
RSS Available
Matching Posts
Re: problem in FireFox
Firefox is right. location.href is not a function. You should use location.href = "/Login.aspx" or location.replace("/Login.aspx"). This will work for both IE and Firefox. Remember that replace method replaces the current page in history by loading another page while href doesn't. IE can treat href as method also but that is not a standard and any other browser will be confused: http://msdn.microsoft.com/en-us/library/ms533867(VS.85).aspx
Posted to
Client Side Web Development
(Forum)
by
Rubo
on 8/7/2008
Re: Problem with height : 100%
Hmm... Seems something's wrong in your code. Could you fully provide it?
Posted to
Client Side Web Development
(Forum)
by
Rubo
on 6/23/2008
Re: Problem with height : 100%
kipo is right. Also do use HTML 4.0 DOCTYPE for IE6 to enable height: 100% attribute instead of XHTML DOCTYPE.
Posted to
Client Side Web Development
(Forum)
by
Rubo
on 6/16/2008
Re: xp style influences button appereance
Try to explicitly set the border style, i.e. border: solid 1px #FFFFFF;
Posted to
Client Side Web Development
(Forum)
by
Rubo
on 12/18/2007
Re: xp style influences button appereance
You can use < meta http-equiv ="msthemecompatible" content ="no"> to force IE and Firefox use classic Windows style without any CSS. This tag force to classic style not only buttons but textboxes, comboboxes, checkboxes, etc (in a nutshell, disables theme support for the document). However, Opera and Safari ignore this tag and use their own styles. So, CSS is better way to be cross-browser.
Posted to
Client Side Web Development
(Forum)
by
Rubo
on 12/17/2007
Re: Help Vertially Centering a SPAN inside a DIV
These links might be helpful for you: http://www.jakpsatweb.cz/css/css-vertical-center-solution.html and http://www.student.oulu.fi/~laurirai/www/css/middle/
Posted to
Client Side Web Development
(Forum)
by
Rubo
on 11/29/2007
Re: Client side .Net Framework version
You can detect it on server side as well as on client side using IE (!) user agent string. I see no need to tailor JavaScript code and server-side code in this case. On server side you can put the following code into the Page_Load event handler to detect .NET on client side: if (Request.UserAgent.IndexOf(".NET CLR 2.0") != -1) { // everything is alright } else { // warn user to install .net framework }
Posted to
Client Side Web Development
(Forum)
by
Rubo
on 11/21/2007
Re: Client side .Net Framework version
Here is a sample code to detect .NET version in IE: < script type ="text/javascript"> if (window.navigator.userAgent.indexOf( ".NET CLR 2.0" ) != -1) alert( ".NET Framework 2.0 is installed." ); else alert( "You have to install .NET Framework 2.0 and above." ); </ script >
Posted to
Client Side Web Development
(Forum)
by
Rubo
on 11/19/2007
Re: Client side .Net Framework version
You can check it through javascript from web app. .NET embeds its version information to IE user agent. So, in IE you can check for .NET with window.navigator.userAgent. For example use the following line in JavaScript to detect .NET 2.0: if (window.navigator.userAgent.indexOf(".NET CLR 2.0") != -1) { // some code goes here } or you can use a simple regular exression to get versions info. IE userAgent sample: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727;
Posted to
Client Side Web Development
(Forum)
by
Rubo
on 11/19/2007
Re: How can I lock my whole page?
In this script you never check the window resize. If you enlarge browser window your modal div will be small and won't cover entire page or vice versa. I suggest you better approach. Create a css class div.ModalBack { background-color: #000000; height: 100%; filter: alpha(opacity=40); left: 0; opacity: 0.4; position: fixed; width: 100%; top: 0; z-index: 1000; } set height: 100%; for html and body elements and the element you put div.ModalBack in. instead of calling javascript on before postback
Posted to
Client Side Web Development
(Forum)
by
Rubo
on 11/15/2007
Page 1 of 10 (91 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
ASP.NET:
Visual Studio 2010 and .NET 4 Update
WindowsClient:
Microsoft’s product placements in The Big Bang Theory
Channel 9:
Channel 9 Live at PDC09: Martin Cron
Channel 9:
Channel 9 Live at PDC09: Erik Meijer and Thomas Lewis
WindowsClient:
Download Data Services Update for .NET 3.5 SP1
Silverlight:
Extending the SMF for the HVP
Silverlight:
Extending the SMF for the HVP
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 12 of 13
Channel 10:
Bing Maps Update: Map Embeds and Draggable Routes
WindowsClient:
New WPF Showcase: WEB Touch
ASP.NET:
ASP.NET MVC 2 RC Released
WindowsClient:
Very exciting Microsoft Pivot from Live Labs
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online