Click here to Skip to main content
16,006,535 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: m working on a project of serial communication related matters in asp.net .. plz help me out Pin
Richard MacCutchan13-Jul-11 23:27
mveRichard MacCutchan13-Jul-11 23:27 
QuestionGoogle Map in asp.net Pin
lalit1413-Jul-11 20:37
lalit1413-Jul-11 20:37 
AnswerRe: Google Map in asp.net Pin
Pete O'Hanlon13-Jul-11 22:25
mvePete O'Hanlon13-Jul-11 22:25 
QuestionCan we show validation message differently in MVC3 Pin
Jagz W13-Jul-11 19:02
professionalJagz W13-Jul-11 19:02 
AnswerRe: Can we show validation message differently in MVC3 Pin
Anurag Gandhi13-Jul-11 20:44
professionalAnurag Gandhi13-Jul-11 20:44 
QuestionPartial views(.ascx) in MVC in vs2008 or 2010 Pin
siva45513-Jul-11 16:47
siva45513-Jul-11 16:47 
AnswerRe: Partial views(.ascx) in MVC in vs2008 or 2010 Pin
Anurag Gandhi13-Jul-11 20:57
professionalAnurag Gandhi13-Jul-11 20:57 
QuestionProblem hosting a Silverlight movie properly in aspx and html Pin
Vimalsoft(Pty) Ltd13-Jul-11 8:30
professionalVimalsoft(Pty) Ltd13-Jul-11 8:30 
Good Evening All

I have Silverlight application and it is rendering better(not Good) in IE and it renders differently from different browsers, like IE8,Firefox 3, 4, and worse in Chrome. i tried different examples , i used one example that was good , but the moment i view this in different browsers its just a mess.

here is my Page

<%@ Page Language="C#"      AutoEventWireup="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>EchashDev</title>
    <style type="text/css">
    html, body {
	    height: 100%;
	    overflow:auto;
	    float:left;
    }
    body {
	    padding: 0;
	    margin: 0;
    }
    #silverlightControlHost {
	    height: 100%;
	    text-align:left;
    }
    </style>
    <script type="text/javascript" src="Silverlight.js"></script>
    <script type="text/javascript">
        function onSilverlightError(sender, args) {
            var appSource = "";
            if (sender != null && sender != 0) {
              appSource = sender.getHost().Source;
            }
            
            var errorType = args.ErrorType;
            var iErrorCode = args.ErrorCode;

            if (errorType == "ImageError" || errorType == "MediaError") {
              return;
            }

            var errMsg = "Unhandled Error in Silverlight Application " +  appSource + "\n" ;
             
            errMsg += "Code: "+ iErrorCode + "    \n";
            errMsg += "Category: " + errorType + "       \n";
            errMsg += "Message: " + args.ErrorMessage + "     \n";

            if (errorType == "ParserError") {
                errMsg += "File: " + args.xamlFile + "     \n";
                errMsg += "Line: " + args.lineNumber + "     \n";
                errMsg += "Position: " + args.charPosition + "     \n";
            }
            else if (errorType == "RuntimeError") {           
                if (args.lineNumber != 0) {
                    errMsg += "Line: " + args.lineNumber + "     \n";
                    errMsg += "Position: " +  args.charPosition + "     \n";
                }
                errMsg += "MethodName: " + args.methodName + "     \n";
            }

            throw new Error(errMsg);
        }
    </script>
</head>
<body background="http://ecash.ebam.co.za/Silverlight/images/MainBackground.jpg">
    <form id="form1" runat="server" style="height:100%">
    <div id="silverlightControlHost" >
        <object  data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
		  <param name="source" value="ClientBin/EchashDev.xap"/>
          <param name="background" value="transparent" />
		  <param name="minRuntimeVersion" value="4.0.50826.0" />
          <param name="onerror" value="OnErrorEventHandler"/>
          <param name="Windowless" value="True" />
		  <param name="uiculture" value="<%= System.Threading.Thread.CurrentThread.CurrentUICulture %>" />
          <param name="culture" value="<%= System.Threading.Thread.CurrentThread.CurrentCulture %>" />
		  <param name="autoUpgrade" value="true" />
		  <a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50826.0" style="text-decoration:none">
 			  <img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Get Microsoft Silverlight" style="border-style:none"/>
		  </a>
	    </object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
    </form>
</body>
</html>


and the Live website is http://ecash.ebam.co.za/Silverlight

i am using Firefox 5,when i run the page, the Silverlight movie does not get rendered, but in IE9 it does not get rendered but not nicely. you will see what i mean when you browse to the give Url.

Thanks
Vuyiswa Maseko,

Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/

QuestionURL Rewriting ?? Pin
Sanjay Kunjam13-Jul-11 5:03
Sanjay Kunjam13-Jul-11 5:03 
AnswerRe: URL Rewriting ?? Pin
Not Active13-Jul-11 5:27
mentorNot Active13-Jul-11 5:27 
GeneralRe: URL Rewriting ?? Pin
Sanjay Kunjam13-Jul-11 5:36
Sanjay Kunjam13-Jul-11 5:36 
Questionexport dataset to excel without using htmltextwriter Pin
sujitdeshpande_1913-Jul-11 3:49
sujitdeshpande_1913-Jul-11 3:49 
QuestionImport Data From sql to Excel using Microsoft.Office.Interop Pin
sujitdeshpande_1912-Jul-11 22:18
sujitdeshpande_1912-Jul-11 22:18 
SuggestionRe: Import Data From sql to Excel using Microsoft.Office.Interop Pin
Shameel12-Jul-11 23:44
professionalShameel12-Jul-11 23:44 
QuestionValidating Email without the use of regular Expression ? Pin
Rameez Raja12-Jul-11 20:14
Rameez Raja12-Jul-11 20:14 
SuggestionRe: Validating Email without the use of regular Expression ? Pin
Blue_Boy12-Jul-11 21:07
Blue_Boy12-Jul-11 21:07 
AnswerEmail validation WebService Pin
David Mujica13-Jul-11 2:52
David Mujica13-Jul-11 2:52 
QuestionXML Deserialization Pin
indian14312-Jul-11 9:58
indian14312-Jul-11 9:58 
QuestionOnFocus server side event for textbox in datagrid Pin
minckle12-Jul-11 8:53
minckle12-Jul-11 8:53 
AnswerRe: OnFocus server side event for textbox in datagrid Pin
Viral Upadhyay12-Jul-11 23:36
Viral Upadhyay12-Jul-11 23:36 
Questionresolving class using interface using UNITY container to implement ioc pattern???? Pin
siva45512-Jul-11 7:43
siva45512-Jul-11 7:43 
QuestionRepeater Control - formatting columns problem Pin
Richard Blythe12-Jul-11 6:25
Richard Blythe12-Jul-11 6:25 
QuestionDeploying website on Windows XP computer? Pin
kbalias12-Jul-11 1:13
kbalias12-Jul-11 1:13 
AnswerRe: Deploying website on Windows XP computer? Pin
Pete O'Hanlon12-Jul-11 1:22
mvePete O'Hanlon12-Jul-11 1:22 
GeneralRe: Deploying website on Windows XP computer? Pin
kbalias12-Jul-11 19:44
kbalias12-Jul-11 19:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.