Web Forms :: Behavior Of DropdownList In Firefox?

Mar 16, 2011

I am facing an issue. I have a web application in ASP.NET and C#. On a page I have a drop down list, which works fine in IE. However in firefox if I click on the dropdown, it get expanded, now if i type some charcter, relevant value get selected, now if i click out side the dropdown anywhere on my page, dropdown collpased, new value is shown as selected but no post back occurs. I even put a client side function to call on change of value, but that also didn't get called. However if i again click on my page post back occurs and selectedindexchanged event of that dropdown is called.

View 8 Replies


Similar Messages:

Different Behavior Between IE6 And Firefox For HTML Tables?

Mar 17, 2010

I'm doing the first bit of web-page development I've done in years, in VS2008, using VB.net. I have a fairly simple layout, which is using several nested tables. IE6 displays the layout just fine, but Firefox for some reason shows the whole thing in a small panel at the top of the page, with a scrollbar.

View 1 Replies

Forms Data Controls :: AppendDataBoundItems On DropDownList Causes Odd Behavior?

Sep 14, 2010

I may just thinking wrong about this but I have a problem that is causing me to want to pull my hair out:

I have two DropDownLists. Call them ddl1 and ddl2. I am binding ddl1 to a DataTable on page_load using if not IsPostBack and allowing view state to keep it populated.

I am then binding ddl2 to another DataTable based on the selected item in ddl1 on the SelectedIndexChanged event on ddl1. My problem is that when I set ddl2's AppendDataBoundItems="true", it just appends the items in the DataTable each time I select a new ddl1 item, so that if I change the selected item in ddl1 3 times, I end up with items in ddl2 from the 2 previous selections as well as the current ddl1 selection.

This doesn't happen when I set ddl2's AppendDataBoundItems="false". Obviously, this is not desiariable behaviour.

View 3 Replies

Asp.net - Getting DropDownList Value Is Generating Strange Behavior?

Jan 3, 2010

I have a DropDownList on a page

[code]...

The problem I am having is that the following code is setting ParentID to 0 (which to me, obviously shouldn't be happening.

View 1 Replies

Web Forms :: Firefox Browser / How To Make Selection From The Dropdownlist

Apr 16, 2010

I have a dropdown list placed in Update Panel the issue is that when i am trying to make selection from the dropdownlist i am not able to select the items under it(i.e. after clicking on the dropdownlist the items get displayed but when i move the mouse over it the dropdownlist gets closed).

This issue is observed in Fire Fox only (works fine in IE and Google Chrome).

View 2 Replies

Forms Data Controls :: DropDownList And AutoPostBack: IE8 Vs Chrome And Firefox?

Feb 18, 2011

I have a DropDownList in a GridView with AutoPostBack="true" and on SelectedIndexChanged fires an event.

[Code]....

Everything works fine across browsers as long as the user is scrolling through the DropDownList using a mouse.In IE8, things start to go haywire when the user is navigating the DropDownList using up/down arrows on the keyboard. The SelectedIndexChange event is fired with nearly every up/down key pressed. In Firefox 3 and Chrome 9, the behavior is more like what I would expect, that the event isn't fired until the user stops on DropDownList selection and hits the enter key.

Is there something that I should be doing in IE, short of setting AutoPostBack="false", so that the event is fired every time the up/down arrows are used on the keyboard?

View 4 Replies

Ie Dropdownlist Won't Show All Items And Firefox Will?

Apr 14, 2010

On the home page as I on work, I have a dropdown list which act as a menu. But in Internet Explorer can not figure out how to display all text in my dropdown list How it looks in Internet Explorer

How it looks in firefox, chrome and opera Do you know how to do so that Internet Explorer also displays all the text in my dropdown list like in firefox and the other

View 2 Replies

Firefox - Finding Firebug Addon Automation / How To Interact With Firefox Addons

Nov 16, 2010

has any one done any automation related to Firefox - Firebug

I am trying to automate some task using C#

I found these two open source projects related to automating firefox

[URL]

how to interact with firefox addons

View 2 Replies

Custom Server Controls :: Firefox (Firefox/3.6.13 ) Not Saving Cookies For Https In Logi Report(It's A Reporting Software0?

Feb 7, 2011

I am using Logi Reports for creating reports in my application. I am passing cookies from web application to these logi reports. Cookies were workign correctly before, but after the release of this version. Cookies are not working in these logi reports.

View 1 Replies

Web Forms :: FileUpload Behavior

Mar 26, 2010

I've been having several doubts with how fileupload control works internally. I've been trying to implement some kind of progress bar with iframes and such but I have noticed that when a local file is selected in the fileupload control and a postbackoccurs the file content is sent to the server wheter you choose save it or not.I have tested this with some examples and postback time seems to be the same in both cases, and the only difference is the time the servers needs to write the file on disk through the "FileUpload.SaveAs()" method.

View 4 Replies

Web Forms :: Odd Behavior Of The Button Control?

Jan 16, 2011

I am having a peculiar problem with the button when i click it i am getting script generated in source and i have some other button in my page even i have written code but now if i click them i am getting the script i dont know why

[Code]....

View 1 Replies

Web Forms :: How To Force Reload Of Pop Window - Odd Behavior In IE

Jan 13, 2010

I have a gridview control where clicking on a specific row saves an ID number to session("ReportID") and then brings up a popup window. The popup window checks session("ReportID") on load and then displays the correct report information. This setup seems to work fine in Firefox and Safari, but for some reason IE is not refreshing the popup window. I'm trying to figure out a way to force IE to refresh/reload the popup window like it does in firefox/safari. If the popup is not refreshed then it won't update the information on page_load. Code below:

[Code]....

I thought that window.open should automaticly reload the page in the called popup window as this is what FF and safari seems to do, but maybe not. I think that the javascript .reload() may force IE to refresh the popup, but I don't know what the correct syntax would be.

View 9 Replies

Web Forms :: Unexpected Behavior With Login Control?

Oct 26, 2010

I am developing an ecommerce site that is utilizing PayPal's sandbox environment. I have a login control in the header section of a master page. Everything works as expected until I am redirected back to my site from PayPal. The login control doesn't work as expected. When I click on logout it doesn't change to login or it does change but the user still appears to authenticated.

View 2 Replies

Web Forms :: Putting Common Behavior In All Pages?

Feb 13, 2010

i want to add this functionality in all asp.net pages

1.if xyz cookie missing , return empty html (<html></html>)

2.if abc query string parameter missing ,return empty html.

similary .....

where should i put this conditional logic and where should i define to return empty html and not the page content .

View 5 Replies

Web Forms :: File Download Using Response.BinaryWrite() - Odd Behavior

Jan 8, 2010

I am using a gridview to display (open or save) files that have been uploaded into a SQL 2005 server. I have a templatefield within the gridview that contains a linkbutton that does a postback to GetUploadedFile.aspx that then fires the response.binarywrite() code. The code seems to work fine and opens/saves the files correctly. But once this has completed and I try and click on another button on the page, instead of doing the appropriate action it re-fires the getuploadedfile.aspx binarywrite code and opens up the "Open/Save/Cancel" dialog again.

[Code]....

[Code]....

[Code]....

View 4 Replies

Web Forms :: Calendar Behavior - No New Date As Result Of Event

Oct 12, 2010

In VS 2008 using VB I am using the standard calendar. In my program the user will be changing the date, especially between months, before entering new data. The problem I have is that when you change just the month, the calendar does not give you a new date until you select a specific day of the month. Thus if I go from October 14th back to September, there is no new date as a result of that event. Ideally it should default or give you the oportunity to allow it to defualt to the 1st day of the month. Is there anyway around this. I don't want my users to have to change the month then select a date. I would like the code: m = MyCal.SelectedDate.Month to assign the month to m when the month is changed.

View 4 Replies

Web Forms :: Strange Behavior MultiLine TextBox And GridView?

Nov 15, 2010

I have strange behavior when changing from ItemTemplate to EditItemTemplate. both the ItemTemplate and EditItemTemplate contain the same textbox with multiline. Except the ItemTemplate got the ReadOnly parameter. When the row is getting in EditMode and I enter the textbox everything is disabled. I click on another column that contains a label instead of a multiline textbox and get back in the textbox I can do everything. When I enter in the same row another MultiLine textbox I cannot do anything until I click on a label and get back in that TextBox. When the textboxes are in normal mode I don't seem to be having this issues. What is changed between the MultiLine and SingleLine textbox? What kind of PostBack or something could cause this strange behavior?

View 2 Replies

Web Forms :: Unexpected Behavior With Dynamic Textboxes In Multiview Page

Mar 23, 2010

I have a multiview page. Page 1 basically gives you the option of selecting if you want to enter percentages or amounts. Page 2 you can select a productgroup page 3 creates dynamically a table with textboxes in the first row and radiobuttons in the next rows. In the textboxes you enter a percentage or an amount depending on the choice on page 1. Because these textboxes and radiobuttons depend on the data present in a database, I have to create them dynamically, so far so good.

The textboxes also have the textchanged event and autopostback, because there needs to be a check if an entered value is valid. Now when I enter a value in a textbox, click on a button that directs me to page 2 (view 2) and select another productgroup, the same value I entered also pops up in the textbox in the same position.

And I don't get it, the table is cleared every time I enter page (view) 3 and the function that creates the table and fills it with data is also correct (with the correct values), but when its displayed the value from the previous productgroup is in the textbox. Is this behavior someone recognizes ? maybe I forgot something simple?

View 1 Replies

Web Forms :: Strange Dropdown List Behavior On Page Load?

Apr 3, 2010

I have a page with 14 dropdown lists. In the first page load (ie. not isPostback) I set the selectedIndex of the dropdownlists individually but I find that they are all set to the value I use for the last dropdownlist set. Here is the code

comboFirstJudge1.SelectedIndex = 0
comboFirstJudge2.SelectedIndex = 0
<so on for all the dropdown lists until the last one>
comboFirstJudge14.SelectedIndex = 4

The result is that all dropdown lists have SelectedIndex = 4. If I run the same code on a postback it works just fine (the first lists have SelectedIndex = 0 and the last one = 4).

View 6 Replies

Forms Data Controls :: Strange Behavior After Upgrading To Win 7/Framework 4.0?

Feb 9, 2011

I have a site that was sucesfully upgraded to Framework 3.5 on Vista with VS2008. Now however after installing VS2010 and upgraded to Win 7 wierd things are happenning and was wonderring if any of you have experienced this and how you've dealt with it.First thing I notice in my main page that the four user controls are not in alignment. They should appear side by side in a single row, however now they spread acros two rows with one on top and three on the bottom. Also my graphics and navigation is not where they supposed to be. Just for comparison, if run the existing solution on Win 2003 with VS2008, it works like it supposed to. All the formatting is handled in .css and that didn't change either.

[Code]....

[Code]....

View 1 Replies

Forms Data Controls :: Implement Editing Behavior To Gridview?

Apr 29, 2010

I am trying to implement a online shopping Cart which enables editing and deletion of products. I created a datatable programatically and bind it to a Griview control. (datatable is stored in a session variable ). When clicking the edit button of the Gridview nothing happened. How can I impement editing behaviour to the gridview?

Griview code -
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White"
BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1"
DataSourceID="ObjectDataSource1" GridLines="None" DataKeyNames="id">
<RowStyle BackColor="#DEDFDE" ForeColor="Black" Font-Size="Small" />
<Columns>
<asp:CommandField ShowEditButton="True" />
<asp:BoundField DataField="serial" HeaderText="serial" SortExpression="serial"
Visible="False" />
<asp:BoundField DataField="product" HeaderText="product"
SortExpression="product" />
<asp:BoundField DataField="image" HeaderText="image" SortExpression="image" Visible="False" />
<asp:BoundField DataField="price" HeaderText="unitPrice'"
SortExpression="price" />
<asp:TemplateField HeaderText="Quantity" SortExpression="quantity">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("quantity") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="quantityLabel1" runat="server" Text='<%# Bind("quantity") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" ReadOnly="True"
SortExpression="id" Visible="False" />
<asp:TemplateField HeaderText="סה"כ">
<ItemTemplate>
<asp:Label ID="lineTotal" runat="server" Text=""></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>

View 5 Replies

C# - Serving An Exe To Firefox From An Aspx. Firefox Downloads It As "Content". Incorrect Filename And No Extension?

Mar 28, 2011

I'm trying to server an exe to Firefox from an aspx page. The aspx page handles the headers and the page is launched by our Flex GUI. Flex correctly launches the link for all browsers (including Firefox) so I'm certain that's not the issue.

The problem I'm having is when I try to download the file from within Firefox, FF downloads the file fine but it names it "Content". It has no extension and the file name is incorrect. All the other browsers download it with the file name I specified in the aspx page and they all have the .exe extension. I should note that if I rename the "Content" file to "Content.exe" it runs correctly.Below is the code I'm using in my aspx page -

protected void Page_Load(object sender, EventArgs e) {
string fileName = Request.QueryString["file"];
System.IO.FileInfo fileInfo = new System.IO.FileInfo(Server.MapPath(fileName));

[code]...

View 2 Replies

Web Forms :: CheckBox Oncheckedchanged Event Causing Strange Behavior On Postback?

Jun 11, 2010

I have an issue that seems to only happen on my production server. I show or hide table rows whenever the buttons are clicked. However, when I do a postback on the checkbox, all of the rows become visible and the textbox stays empty. It works correctly on my test server and local workstation, just not in production.

Here is the markup...

[Code]....

Here is the code behind...

[Code]....

Here are the unexpected results whenever I check the chkShow2 checkbox... I am guessing this is a configuration issue on the server.

View 1 Replies

Security :: Membership Behavior With PHP?

May 5, 2010

I have a test site that is using the sqlprovidermembership. It is now working as expected. one of our clients has a site that was written in PHP. They created a link to our test site and when you click on one of there menu items it places the login page in a frame on there site for instance (http://www.client.com/staff.php). Now when the user enters their username and password the validation does not work. It simply continues to bring up the login page. it does not even say that they login was unsuccessful.

View 1 Replies

AJAX :: Change The Id Of A Sys.UI.Behavior?

Mar 27, 2010

when I try to change the Behavior component's id in $create() I receive an exception when running the web page with the component control on it:

Microsoft JScript runtime error: Sys.InvalidOperationException: The id property can't be set on this object.

how then to change the Behavior's id? I know it is impossible to change the id of a Sys.UI.Control component, but the web control I created has a Behavior client side API.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved