Dec 10th, 2010, 09:25 PM
#1
Thread Starter
Fanatic Member
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
Dec 11th, 2010, 04:52 AM
#2
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.
Dec 11th, 2010, 09:48 PM
#3
Thread Starter
Fanatic Member
Re: Browser compatibilty
here is the attachemnt of code
Attached Files
There is no achievement without goals
Dec 12th, 2010, 03:47 AM
#4
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.
Dec 13th, 2010, 02:38 AM
#5
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
Dec 13th, 2010, 03:41 AM
#6
Thread Starter
Fanatic Member
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
Dec 13th, 2010, 03:53 AM
#7
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.
Dec 13th, 2010, 08:18 AM
#8
Thread Starter
Fanatic Member
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
Dec 13th, 2010, 04:39 PM
#9
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
Dec 13th, 2010, 09:16 PM
#10
Thread Starter
Fanatic Member
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
Dec 14th, 2010, 02:10 AM
#11
Thread Starter
Fanatic Member
Re: Browser compatibilty
let me update the error snashopt now !!
Attached Images
There is no achievement without goals
Dec 14th, 2010, 02:41 AM
#12
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
Jun 11th, 2011, 12:44 PM
#13
Thread Starter
Fanatic Member
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
There is no achievement without goals
Jun 13th, 2011, 03:33 PM
#14
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
Forum Rules
Click Here to Expand Forum to Full Width