Showing posts with label firefox. Show all posts
Showing posts with label firefox. Show all posts

Monday, March 26, 2012

Dynamic Accordion works perfect in Firefox, but not in Internet Explorer

Hi people,

first all, i apologize my language but i not write english very well..

Well,I have an accordion with panels generated in dynamic form, in whicheach headercontainer it contains a set of labels and eachcontaincontainer it has only textbox hidden at load time.

The objective is to load gridview within containercontent according tothe appropriate identifier. When the user makes click onheadercontainer of the panel, calling to an event that is the one incharge to refresh the content of contentcontainer, but the event neverhappens.

Notice that I have created only event to handler, assigned eachlinkbutton to refresh his to contentcontainer with data bound to a gridview.
I have tried of different forms, but no successful one, beingimportant to stand out that if I put linkbutton in contentcontainer ofthe panel, the event works; but if it return to headercontent, theevent lets go off

Notethat the problem only arises in Internet Explorer, not in Firefox. Thislast one works perfect. I've been loosing my hair for two days and I donot have left more ideasSad .. please help me..


anyone, any idea?

Hi anouk,

Could you try this with the Accordion from the latest Toolkit release? We just updated with a major overhaul of the Accordion that fixed a lot of known issues. If that doesn't help, perhaps you could post a simple sample here that I can take a look at to get a better idea of what's going wrong.

Thanks,
Ted


Thanks!! it works!

The 10301 release it works perfectand now I can put the contents in real time in the accordion panel, bythe server event linkbutton.click

Thank you again

dropshadowextender showing up awkward

Hello,

Having an issue with the dropshadowextender...in Firefox, it's working fine, but when using IE, the dropshadow is appearing above the panel, instead of below it. By that, I mean the shadow is at the very top of the panel, instead of the very bottom. Here's a live example so you can see what I am talking about:

head to: http://moglme.com/viewList.aspx?lid=195 and then click on any of the "Shop this store" links on the right hand side. the shadow starts how it's supposed to be, but moves to the top shortly after. any help would be appreciated :)

anyone? this is a issue that we need to get solved immediately, and i'm having trouble figuring out what is wrong


Hi,

I have looked at this in both IE version 7.0 and Firefox version 2.0.0.4 and the web page displays exactly the same in both. (The shadow is in the correct place.)

What version of IE are you using?

Cheers,

Matt


hello,

after about a week or 2, without changing anything in the code related to the drop shadow, it started behaving as intended. it's like it just magically started to work, don't know how it happened though

Saturday, March 24, 2012

DropDownList inside UpdatePanel Performance Issue (IE7 vs. FireFox)

hey,

I have a weird performance issue that i just don't know how to explain:

I built a simple page that has a dropdownlist and a button controls, both of them are inside an update panel.

When a user clicks on the button for the first time, it loads the dropdownlist with 2000 items (just for testing purposes). On the second click, it clears the dropdownlist and fill it with only 2 items. The code is very simple. All in the code behind

I tried the page on IE7 and FireFox. In IE7: the page pauses on the second load (the clear of the 2000 items and the load of the 2 items), while firefox is so much faster.

I removed the update panel and tried the page again, its fast on both IE7 and FireFox. Also tried to add some javascript code to clear the list on the client side, its also too slow.

Does anyone knows a way how to improve it on IE7 :) beside uninstalling it and use FireFox instead :)


thnx 4 ur time

Honestly, I had a lot of performance issues with IE with several of the AJAX controls. We ended up buying a product that is much better than the free one.


i've never seen a dropdownlist that has 2000 items in it before.

what you might want to do is categorizing the items into group(s) and use 2 or more dropdownlist(s). definitely will increase your performance.


Thanks 4 the reply. But its not just about 2000 items, even if you make them 1000 (unfortunately, this is the business logic, that i have to display all the items). Why does FireFox is so much faster, is there something i can do to optimize it.

Thanks

Wednesday, March 21, 2012

DropDownExtender cannot work correctly in IE6 and Firefox 2.0. Theme cannot change in Fire

Hi there,
A week later, I begin develop a new shop cart application with Ajax enabled.
My problem is:
1. My Page option feature (to change site's theme) is put in a panel with a DropDownExtender.
It cannot show/hide correctly:
- In Internet Explorer 6.0, italway show a "area" at top or bottom in the page.
Click on darkblue and pink icon still can change page skin.
- In Firefox browser, my application hide/show "area" correctly. But, when click on any icon
(an asp:ImageButton), after a postback,page's theme doesn't change.
- In Opera, and IE 7, everything is fine.

Please help me.
This is my demo site url:
http://ajaxshop-1.at.vwdhosting.net/
"Page option" in my language is: "Tùy ch?n trang" - under the search bar.

My source code:

1/*2* This is my user control aspx code3*/4"C#" AutoEventWireup="true" CodeFile="SelectTheme.ascx.cs" Inherits="UserControls_SelectTheme" %>5"AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>6

"right">7

class="PageOptionTextStyle">8 "HyperLinkPageOption" runat="server" Text="Tùy ch?n trang "9 Width="100px">10 "DropDownExtender1" runat="server" DropDownControlID="PanelPageOption"11 TargetControlID="HyperLinkPageOption" HighlightBorderColor="transparent" >1213 "PanelPageOption" runat="server" Width="100px">14

"vertical-align:middle;text-align:center; background-color:LightYellow; height:20px; border-right: gray 1px ridge; border-top: gray 1px ridge; border-left: gray 1px ridge; border-bottom: gray 1px ridge;" align="left">15

16"middle" height="20px">17"middle">18class="innerlink"> Màu s?c: 19"ImageButtonDarkBlueSeclect" runat="server" SkinID="DarkblueSkinSelectButton" OnClick="ImageButtonDarkBlueSeclect_Click">20 21"ImageButtonDarkRedSelect" runat="server" SkinID="DarkredSkinSelectButton" OnClick="ImageButtonDarkRedSelect_Click">222324

2526

2728

29

303132/*33* This is code behind34*/35public partialclass UserControls_SelectTheme : System.Web.UI.UserControl36{37protected void Page_Load(object sender, EventArgs e)38 {3940 }41protected void ImageButtonDarkBlueSeclect_Click(object sender, ImageClickEventArgs e)42 {43 MySetTheme("Darkblue");44 }45protected void ImageButtonDarkRedSelect_Click(object sender, ImageClickEventArgs e)46 {47 MySetTheme("Darkred");48 }4950protected void MySetTheme(string themename)51 {52//Apply new theme53 Profile.CurrentTheme = themename;5455//Transfer to previous page56 Server.Transfer(Page.AppRelativeVirtualPath.ToString());57 }58}5960

Sorry, y writing "A week later, I begin developing a new shop cart application with Ajax enabled.
" i mean "A week before, I began develop a new shop cart application with Ajax enabled"

And, if you don't want to check my error in my web page, you can view this image

Error in IE6

DropDownExtender breaks table in Firefox

Hi!

I'm using the DropDownExtender over a tablerow.
It's working ok in IE7 but not in Firefox.

All columns get merged into the first one when the DropDownExtender is created.
I'm using the latest release (Feb 01)
Here's an example

<%

@dotnet.itags.org.PageLanguage="C#"AutoEventWireup="true"CodeFile="Default.aspx.cs"Inherits="_Default" %>

<!

DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.1//EN""http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<

htmlxmlns="http://www.w3.org/1999/xhtml">

<

headrunat="server"><title>Untitled Page</title><styletype="text/css">.ContextMenuPanel

{

border:1pxsolid#868686;z-index:1000;background:url(pics/menu-bg.gif)repeat-y00#FAFAFA;cursor:default;padding:1px1px0px1px;font-size:11px;

}

.ContextMenuBreak

{

margin:1px1px1px32px;padding:0;height:1px;overflow:hidden;display:block;border-top:1pxsolid#C5C5C5;

}

a.ContextMenuItem

{

border:0;margin:1px01px0;display:block;color:#003399;text-decoration:none;cursor:pointer;padding:4px19px4px33px;white-space:nowrap;

}

a.ContextMenuItem-Selected

{

font-weight:bold;

}

a.ContextMenuItem:hover

{

background-color:#FFE6A0;color:#003399;border:1pxsolid#D2B47A;padding:3px18px3px32px;

}

</style>

</

head>

<

body><formid="form1"runat="server"><asp:ScriptManagerID="ScriptManager1"runat="server"/><asp:UpdatePanelID="updatePanel"runat="server"><ContentTemplate><asp:PanelID="DropPanel"runat="server"CssClass="ContextMenuPanel"Style="display :none; visibility: hidden;"><asp:LinkButtonrunat="server"ID="Option1"Text="Option 1"CssClass="ContextMenuItem"/><asp:LinkButtonrunat="server"ID="Option2"Text="Option 2"CssClass="ContextMenuItem"/><asp:LinkButtonrunat="server"ID="Option3"Text="Option 3 (Click Me!)"CssClass="ContextMenuItem"/></asp:Panel><ajaxToolkit:DropDownExtenderrunat="server"ID="DDE1"TargetControlID="row2"DropDownControlID="DropPanel"/><asp:TableID="table"runat="server"Border="1"><asp:TableHeaderRowID="row1"><asp:TableHeaderCell>Column 1</asp:TableHeaderCell><asp:TableHeaderCell>Column 2</asp:TableHeaderCell><asp:TableHeaderCell>Column 3</asp:TableHeaderCell><asp:TableHeaderCell>Column 4</asp:TableHeaderCell></asp:TableHeaderRow><asp:TableRowID="row2"><asp:TableCell>Value 1</asp:TableCell><asp:TableCell>Value 2</asp:TableCell><asp:TableCell>Value 3</asp:TableCell><asp:TableCell>Value 4</asp:TableCell></asp:TableRow><asp:TableRowID="row3"><asp:TableCell>Test 1</asp:TableCell><asp:TableCell>Test 2</asp:TableCell><asp:TableCell>Test 3</asp:TableCell><asp:TableCell>Test 4</asp:TableCell></asp:TableRow></asp:Table></ContentTemplate></asp:UpdatePanel><div></div></form>

</

body>

</

html>

Does anyone know why this is happening?

/Mathias

Same exact issue here.