Results 1 to 14 of 14

Thread: Browser compatibilty

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Location
    Karachi
    Posts
    551

    Browser compatibilty

    see the link

    http://www.gfln.org/Regsiteration.aspx[/URL] and click on radio button(http://www.gfln.org/Regsiteration.aspx) from 1 to 7 IE produces div (as many as clicked) but in forefox it got some how hang .please post back me if i need explain any thing else in my problem

    any urgent reply is highly appreciated
    There is no achievement without goals

  2. #2
    Frenzied Member brin351's Avatar
    Join Date
    Mar 2007
    Location
    Land Down Under
    Posts
    1,293

    Re: Browser compatibilty

    You should really provide details of the page/code and exception not just a link. You can not expect people to give you much help if you don't put in much effort to post the basic details.

    This may help : http://weblogs.asp.net/leftslipper/a...-avoid-it.aspx
    The problem with computers is their nature is pure logic. Just once I'd like my computer to do something deluded.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Location
    Karachi
    Posts
    551

    Re: Browser compatibilty

    here is the attachemnt of code
    Attached Files Attached Files
    There is no achievement without goals

  4. #4
    Frenzied Member brin351's Avatar
    Join Date
    Mar 2007
    Location
    Land Down Under
    Posts
    1,293

    Re: Browser compatibilty

    Did you review the article in the link I posted?

    If you view the javascript error in firefox that your page is causing that article appears to address the problem.
    The problem with computers is their nature is pure logic. Just once I'd like my computer to do something deluded.

  5. #5
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Browser compatibilty

    ERUM,

    Is this related to your other post here:

    http://www.vbforums.com/showthread.php?t=635162

    If they are the same question, please don't post two threads for the same question.

    Gary

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Location
    Karachi
    Posts
    551

    Re: Browser compatibilty

    no ,actually i m facing two different problems in same project ,one is browser based problem and other is functionality type of problem

    secondly @brin351 is thsi artcile there are few reason mention due to which problem occur but in my project i found no reason like one of them
    There is no achievement without goals

  7. #7
    Frenzied Member brin351's Avatar
    Join Date
    Mar 2007
    Location
    Land Down Under
    Posts
    1,293

    Re: Browser compatibilty

    It appears your using asp ajax, updatePanel, scriptManager etc to effect the DOM manipulation when the user selects the radio buttons. To debug this I'd suggest using "Fiddler" so you can inspect exactly what is being passed from client to server and vice versa. You first need to isolate where the problem is occuring.

    http://www.fiddler2.com/fiddler2/
    The problem with computers is their nature is pure logic. Just once I'd like my computer to do something deluded.

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Location
    Karachi
    Posts
    551

    Re: Browser compatibilty

    well im using firebug for it ,seems to me bit easy !! what actual need to check in the tree of DOM( NEW to these ADDONS)
    There is no achievement without goals

  9. #9
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Browser compatibilty

    Hello,

    I think brin was actually suggesting that you look at the requests and responses that are coming and going from your page? Fiddler will report any errors that it sees, this might give you a clue about what is going on.

    Gary

  10. #10

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Location
    Karachi
    Posts
    551

    Re: Browser compatibilty

    yes i start using fiddler and hook it to the firefox ,but how to figure out the error /problem
    what actually need to analyse in rite pane

    quite new to all stuff
    There is no achievement without goals

  11. #11

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Location
    Karachi
    Posts
    551

    Re: Browser compatibilty

    let me update the error snashopt now !!
    Attached Images Attached Images  
    There is no achievement without goals

  12. #12
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Browser compatibilty

    Hey,

    Yes, those errors are definitely a place to start.

    You would want to not see any errors at all in there.

    Gary

  13. #13

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Location
    Karachi
    Posts
    551

    Re: Browser compatibilty

    i have problem that i wanted to hide all old dates (date old from today's date) in javascript calender


    i have following chunk of code

    Code:
    <div id=date_check visible=true runat=server>
              <strong>Check-In Date</strong> <asp:TextBox  ID="txt_checkin"  runat="server" onchange="checkdate(this);"></asp:TextBox>
    <a  href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkin','calendar_window','width=554,height=488');calendar_window.focus()">
    <img alt=""  src="images/calendar.png"    />  
            </a> 
                  
      <strong>Check-Out Date</strong> <asp:TextBox  ID="txt_checkout"  runat="server" onchange="checkdate(this);"></asp:TextBox>
    <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkout','calendar_window','width=554,height=488');calendar_window.focus()">
    <img  alt=""  src="images/calendar.png"   />  
            </a>  
         
             </div>

    and i next page i have write following

    Code:
    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="calendar.aspx.vb" Inherits="gfln1.calendar_aspx" %>
    
    <!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></title>
         <script runat="server">
        Protected Sub Calendar1_DayRender(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DayRenderEventArgs) Handles Calendar1.DayRender 
                      If e.Day.Date < DateTime.Today.Date Then 
                                 e.Cell.Enabled = False        
                                 e.Cell.ToolTip = "This date is not available"                      
                     End If 
        End Sub
    
    Private Sub Calendar1_SelectionChanged(sender As Object, e As EventArgs)
        Dim strjscript As String = "<script language=""javascript"">"
        
            strjscript &= "window.opener." & _
                  HttpContext.Current.Request.QueryString("form1") & ".value = '" & Calendar1.SelectedDate & "';window.close();"
            strjscript = strjscript & "</script" & ">" 'Don't Ask, Tool Bug
    
            Literal1.Text = strjscript  'Set the literal control's text to the JScript code
    
    End Sub
    
    </script>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
         <asp:Calendar id="Calendar1" runat="server" 
                         OnSelectionChanged="Calendar1_SelectionChanged" 
                        
                         ShowTitle="true" DayNameFormat="FirstTwoLetters" 
                         SelectionMode="Day" BackColor="#ffffff" 
                         FirstDayOfWeek="Monday" BorderColor="#000000" 
                         ForeColor="#00000" Height="60" Width="120">
            <TitleStyle backcolor="#000080" forecolor="#ffffff" />
            <NextPrevStyle backcolor="#000080" forecolor="#ffffff" />
            <OtherMonthDayStyle forecolor="#c0c0c0" />
        </asp:Calendar>
        <asp:Literal id="Literal1" runat="server"></asp:Literal>
    </div>
        </form>
    </body>
    </html>

    but i m unable to select any date....and hide old one ..see an eror as an attached image
    Attached Images Attached Images  
    There is no achievement without goals

  14. #14
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Browser compatibilty

    Hello,

    How about this:

    http://www.kelvinluck.com/assets/jqu...icker/v2/demo/

    The first example would seem to do exactly what you want.

    Gary

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width