Search

You searched for the word(s): userid:746794

Matching Posts

  • Re: Panel default buttons not working in IE

    [quote user="chintanpshah"] Set UseSubmitBehavior="false" : < asp : Button ID ="btnTest" runat ="server" UseSubmitBehavior ="false" /> [/quote] This makes no change in Firefox (ie. still works), but now in IE pressing Enter in either textbox does nothing. IE8 also says 'Page has errors' in the bottom-left, check it out .
    Posted to Web Forms (Forum) by jamesgurung on 7/6/2009
  • Re: Panel default buttons not working in IE

    Thanks for your reply. It seems that your page doesn't work in FF or IE (for me..). The point is that by grouping the controls into two Panels, different buttons should be clicked when you press the Enter key, depending on where the focus is. Panel1[DefaultButton="Button1"] { TextBox1, Button1 } Panel2[DefaultButton="Button2"] { TextBox2, Button2 } Label1 So if you press the enter key in TextBox2, it should have the effect of Button2 being clicked. Can anyone else reproduce
    Posted to Web Forms (Forum) by jamesgurung on 7/5/2009
  • Re: Cache-control private?

    Thanks for your reply. Which is your book (I'm sure you were hoping I'd ask!!)? The main reason I posted is because IE8 is being funny with my pages. I can always reproduce as follows: Open www.mydomain.com/test.aspx in IE8 (Safe Mode) Modify page in VS.NET, and upload Open www.mydomain.com/test.aspx in IE8 again (by clicking in the address bar and pressing Enter) No changes appear. Of course, I can see changes by clearing the cache, or pressing Ctrl-F5 - or even just navigating to another
    Posted to State Management (Forum) by jamesgurung on 7/5/2009
  • Re: Panel default buttons not working in IE

    You've lost me. We can't set focus while I'm still typing in the textbox because then the textbox would lose focus. There ought to be a simple solution using the Panel.DefaultButton property (which Microsoft obviously intended us to use).
    Posted to Web Forms (Forum) by jamesgurung on 7/5/2009
  • Panel default buttons not working in IE

    I've created a simple page to demonstrate this: test.aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %> <!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>Test Page</title> <meta name="ROBOTS"
    Posted to Web Forms (Forum) by jamesgurung on 7/4/2009
  • Cache-control private?

    I don't understand why by default ASP.NET sends a cache-control="private" header to the client? Surely .aspx pages should not be cached because they're dynamic. But then, it seems that browsers always go back to the server for each request anyway. What's going on?
    Posted to State Management (Forum) by jamesgurung on 7/4/2009
  • Re: Stop ASP.NET setting cookies

    Okay I've solved this. It turns out it was Google Analytics going overboard with cookies, and I was able to add a line of code to suppress it on the subdomain. The <br /> is just this forum doing funny things with my code. Thanks for your suggestions guys. :)
    Posted to State Management (Forum) by jamesgurung on 7/1/2009
  • Stop ASP.NET setting cookies

    I have an ASP.NET application on (say) mydomain.com which uses Forms authentication and cookies. I am trying to serve static content from a subdomain s.mydomain.com so that requests for images, stylesheets etc. don't all need to be accompanied by a cookie. However since I'm on shared hosting with no access to IIS, I've had to put an ASP.NET application in the subdomain to set cache headers and etags with Http Handlers. The trouble is that each request to a file on s.mydomain.com is still
    Posted to State Management (Forum) by jamesgurung on 6/29/2009
  • XHTML validation fails on JS code

    For some reason W3C is showing lots of errors for my site: http://validator.w3.org/check?uri=www.oxonacf.org.uk The autocomplete property I understand is not XHTML and it doesn't bother me. However most of the errors seem to come from a couple of lines of JavaScript: <script type="text/javascript"> if (!(navigator.oscpu && navigator.userAgent.match("rv:1\.9"))) document.write('<p style="margin: 35px 0 5px 0; text-align: center; color: #999999; font
    Posted to Client Side Web Development (Forum) by jamesgurung on 6/28/2009
  • Re: XHTML validation fails on JS code

    Okay thanks, that's sorted it :-) Two more quick questions: 1. On another page, the Validator is complaining about the line <script src="http://www.google.com/uds/api?file=uds.js&v=1.0&key=ABQIAAAARlZfy1u33oKuSQsbxmbFyxQTffCSu14Y2Q9VychNWHoeFNgnuxRMn5do5hf5CBTrQAS0EuR4oE05cA" type="text/javascript"></script> Is there a similar fix for this? 2. Any workaround for the autocomplete="off" validation error?
    Posted to Client Side Web Development (Forum) by jamesgurung on 6/28/2009
Page 1 of 2 (11 items) 1 2 Next >