|
|
hi
friends few days back i have posted the question of cross browser compatibility got answers too (sending only the part of html which browser supports)
sorry to ask again
I am having 4 table each with 4 textboxes and 4 labels
on the next button click i am hiding one table and showing second
Now these things work rite in I.E please suggest how to make it working in Firefox..?
i am struck with these .... please please tell me how to solve it
i know this is a hectic question for people who have worked on these things many times still i am desperately waiting for replys
Thank You
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
ALT + F4 wrote: on the next button click i am hiding one table and showing second
Are you using javascript for that ?
Could you post your javascript code ?
Check this code might helpfull
to show
document.getElementById(groupid).style.display="";
document.getElementById(groupid).style.visibility="visible";
to hide
document.getElementById(groupid).style.display="none";
document.getElementById(groupid).style.visibility="hidden";
It would be better if you explain how you are using javascript code
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
If you are hiding through javascript then possibly u are using the statements not supported by Firefox...i mean Firefox dom doesn't support all the elements as IE supports..so u have to debug each statement in your javascript and find where the error is there
.....
|
|
|
|
|
all the things are working fine ...but in firefox controls are moving towards the menu-bar...i mean to say touching top..of the windows they are loosing there positions ...how to solve it
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
ohhh if that is the problem...
simply create a main table and keep the four tables that you have inside it according to the need. Using rows and columns in tables gives you a fixed UI
i hope that helps!
Aditya
|
|
|
|
|
are you getting any errors on the java error console in firefox? If so, post the error messages that you are getting... this would help us to help you better.
Aditya
Aditya
|
|
|
|
|
NO ERRORS ! only Display Problem
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
If your css code isn't too large can you post it so we can try and replicate the error.
|
|
|
|
|
thank u .netman . but here i am using only style associated with the control ..not an external one ...
should i use External Style sheet ?
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
OK
can you post the code for the controls because it must be the style you have set for them which is causing them to appear at the top of the page
I dont think you have to use an external style sheet although its usually better coding practice to do so
|
|
|
|
|
<table id="layer1" bgcolor="#ffffff" style="z-index: 105; left: 140px; width: 575px;
position: absolute; top: 168px; height: 300px" bordercolor="#99cc00">
http://www.rakshanllc.com/webbooking/booking.aspx
u can see the difference in IE and FireFox
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
You have the position set to absolute, perhaps try changing this
|
|
|
|
|
No Positive Result
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
Actually ..Td tag also need to be set to position : absolute ..Thank You
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
Hi,
I have a requirement, I have to display radio buttons dynamically. In my xml file I have Country,paymentGateway(Radio button),and CreditCards(Radio Buttons). If I add new paymentGateway and New creditcards in xml file I have to show these as Radio buttons in browser. I have to display CreditCards in first panel and to display PaymentGateway panel below the CreditCards panel. am using Asp.net 2.0 and C#. Can any one help me.
Thanks,
|
|
|
|
|
Hi
Use <asp:radiobuttonlist>. you can add each paymentGateway node as a ListItem to this list on pagelaod event.
|
|
|
|
|
As above post you can have RadioButton List to add in the Page Dynamically
Now if you want to use ViewState of these radio buttons then you will have to add these buttons in page init event.
If you can't add these in Page init on account of any reasone then you will have to maintain state of these controls using State Management
Hope i didn't confuse you
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
I was trying to pass a boolean type array in the Session object.
I create the array, assign the values then pass it.
When the other page loads - I fetch it using a boolean array.
But when I try to access this array on this new page, it gives me null reference error.
I tested with a single boolean variable as well - does the same thing.
Any ideas?
Thanks.
Ekjon
|
|
|
|
|
Yeah, your code is broken You can pass an array into the session, definately. What's the code look like ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi Christian,
Here's what I'm trying:
On page 1
<br />
bool[] panels = new bool[size];
for (int i = 0; i < size; i++)
{<br />
panels[i] = true;<br />
}<br />
<br />
Session["Panels"] = panels;
Server.Transfer(....);<br />
Then on page 2
<br />
bool [] panels = (bool [])Session["Panels"];<br />
pnlAcct.Visible = panels[0];
I could pass them thru url as well, i know but there are 6 or more of them.
Thanks.
Ekjon
|
|
|
|
|
If you step through the first page, can you pull the array out of the session ? That's just odd.
What if you use List<bool> ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Arite..I'll try that, thanks.
|
|
|
|
|
Hi,
Hope you can help me
I have a tab container (ajax tool kit) with three
tabs
tab1 tab2 tab3
-
under tab3 I have a IFRAMME from which I call hyper.aspx where I have 3 hyperlinks
tab3
------
hyperlinke1
hyperlink2
hyperlink3
---------------
when I click hyper link1 under tab3 only
a different webpage should appear in the same tab3 container (panel)
there should not be pop up window effect. That is achieved.
tab3
------
label1 : textbox1
label2: textbox2
button
If i click on tab3 again again my hyperlinks (IFRAMME with hyper.aspx) should appear. I tried to put a javascript for OnClientClick event of tab but then webpage doesnt show my tab container.
Also I want to put a java script on textbox from tab1 where a javascript will check if the entered key is enter key (13) but it doent except the it.
how to achieve this?
regards
Vijay
My code of startup page is
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<script type="text/javascript" language="javascript">
function GoToHyperLinks()
{
alert('hi');
}
</script>
</head>
<body>
<form id="form1" runat="server">
<ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" />
<div>
<ajaxToolkit:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1" Height="322px">
<ajaxToolkit:TabPanel ID="TabPanel1" runat="server" HeaderText="TabPanel1">
<ContentTemplate>
<asp:TextBox ID="TextBox1" runat="server" ></asp:TextBox>
<asp:CheckBox ID="CheckBox1" runat="server" />
<asp:RadioButton ID="RadioButton1" runat="server" />
<asp:Button ID="Button1" runat="server" Text="Button" />
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">
<ContentTemplate>
<IFRAME SRC="default3.aspx" NAME="myframe" FRAMEBORDER=0 style="width: 285px; height: 285px">
</IFRAME>
</ContentTemplate>
</ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer></div>
</form>
</body>
</html>
|
|
|
|
|
Hello there!
On my first page (called Home.aspx) I have a gridview that has a column that uses button for the user to click on and be directed to page 2 (called BookReviews.aspx). I do have it set up & working where the user clicks on a button in the gridview on Home.aspx and through a session variable it passes the bookID to display in a label on BookReviews.aspx. However, the problem is I would like ONLY the bookReviews for that given bookID to be displayed in a gridview on BookReviews.aspx. I am not sure how I should go about doing this. Thanks for your help in advance!
**Book Table**
bookID
bookName
**Book Reviews**
bookID
bookReviewID
bookReviewDescription
bookReviewUserName
.......and this is what I have on my second page so far....
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
}
labBookId.Text = Session["bookID"].ToString();
labBookReviewDesc.Text = Sessoin["bookReviewDescription"].ToString();
{
}
modified on Wednesday, April 23, 2008 4:38 PM
|
|
|
|