Web Forms :: Is There A Trick To Gettting Listboxes To Work Right With Safari?
Mar 2, 2011All of my listboxes seem to work right in all browzers but Safari. Any trick to getting them to work with Safari?
View 3 RepliesAll of my listboxes seem to work right in all browzers but Safari. Any trick to getting them to work with Safari?
View 3 RepliesI have a input html file upload control for uploading image.
its working fine in my localhost, but its not uploading image when i upload the site on server.
its only not working in safari 4.0.5
in rest browser its working so nice.
I have the following code and when I click on "Edit" using Chrome or Safari, nothing happens.
[Code]....
I tried to remove my AJAX Updatepanel and the gridview worked.
Has anyone ever been able to get a button to work in an updatepanel for safari?
Clicking on the button does nothing.
Is there anyway to get the MaskedEditExtender to work with Safari or Chrome? Any kind of hack or workaround?
View 4 RepliesI have a Panel, which contains some form elements and is Visible=False on page load. When a button is pressed the Panel is made visible (the button and the panel are inside the same UpdatePanel). I have a PasswordStrength control within this Panel and on Safari it does not work once the Panel is made Visible=True. All other browsers work perfectly.
I've tried adding the PasswordStrength control at runtime but the same thing happens...
I have the following controller:
using System;
using System.Collections.Generic;
using System.Linq; [code]....
When I click the action link in IE the controller code runs but the div is NOT updated. Do it in ANY other browser and it works just fine. Is this (yet another) known problem/bug with IE??
I have confirmed that my Control Adapters are not triggering in Chrome and Safari. I've debugged, and the breakpoints inside the adapters just don't get hit in Chrome/Safari, when they work perfectly find in Firefox/IE. So, for Chrome/Safari, IIS is just ignoring the mapping.
My AdapterMappings.browser file looks like this:
<browsers>
<browser refID="Default">
<controlAdapters>
[...adapters here....]
</controlAdapters>
</browser>
</browsers>
This should provide mappings for all browsers, correct?
I used the Charles proxy to check what user agents were being sent. They are:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1064 Safari/532.5
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7
Any idea why this would be? Everything I've read tells me that my browser mappings are correct? And, as I said this works for IE/Firefox, so I know my configuration is technically correct.
I've used some Jquery scripts for toggling image on a web user control, it work fine in explorer but got no signs of life in firefox!
Here the code for a test form in plain html (this works on every browser):
[Code]....
and in post-behind:
[Code]....
this is the toggle.js:
[Code]....
I have created a class UserDetailsModel.cs in my folder model. I have populated a selectedList in the model class.
I have create a view which is both strongly-typed and partial and the view data class is the abc.cs
I have the following code in the view
[Code]....
However, i`m getting the error of
[Code]....
[Code]....
Im using Microsoft Expression Web 3 and am in the process of making a page for my Cab Company that basically calculates the price from an area in London (In listbox A) and an airport (In listbox B) along with the type of car used (Saloon, Estate, MPV) in a checkbox list.
If I were to set a value for each and every item in Listboxes A, B and Cars, is there some sort of autosum code I can use which calculates the price. The feature is only going to be a pricequote system for now untill we get some sort of booking system up and running so it is preferred that all calculations are done & displayed on the same page.
I have a Master page and a user control on it.and i have a ASP Button on Usercontrol,the has to fire when ever i click on thats the default behaviour ..Now when the home page of my website loads and then i click on the button ,It works perfectly fine but when i navigate to other pages which have same master page the and then click on button the button does no trick!!
View 7 RepliesI have 2 listboxes, when i add a item retrieved from database to Listbox1, i need to select the item and bring it to listbox2. But i do not want to have same records added again. In my case, i cannot use the codes below
[Code]....
because the text displayed on listbox1 and after transferring to listbox2 are different. So i come out with a logic which is "if listbox2 does not contain the item value in listbox1 then populate listbox2". So i tried the codes below, but it is not working as there are errors
[Code]....
I have a web app that has two listboxes on the page. The first listbox has selection items that can be chosen and moved over with back and forward buttons to the destination listbox.
I can't figure out how to validate the destination listbox for empty items on a postback. I have tried to use a custom validator, but I can't get the validator to fire unless I actually select one of the items with the mouse.
I have two drop down listboxes in a GridView control. I want to populate the second drop down listbox based upon the value that was selected in the first drop down listbox. Currently I have not been able to populate the second drop down listbox. I am attempting to do this in the C# code file. See line 26 below.
// Here is some of my Aspx code:
this first item template populates the first drop down listbox:
<ItemTemplate>
<asp:DropDownList ID="ddlFirstDropDown" runat="server"
DataSourceID="SqlDataSourceBodyBuild"
DataTextField="BodyPart" DataValueField="EmployeeId" AppendDataBoundItems="True"
Width="110px" AutoPostBack="True"
onselectedindexchanged="ddlFirstDropDown_SelectedIndexChanged">
[Code]...
I have two databound listboxes. I am able to move items between them using add and remove buttons using for loops. However I have no idea how to commit the items back to the db when the user finally clicks on the Save button on the form.
View 5 RepliesI have two listboxes on one panel. Box on the left has names from the database, there are two buttons. High light a name and click button1 and the name move from listbox1 to listbox2. How do you do that?
View 2 RepliesI have teh seadragon working, but when I try to active it with a hovermenu or popupcontrol, I don't get an error, I just get everything except for the actual image. It has the background, the controls of enlarge, shrink etc, but no image.
View 1 RepliesI have a table in SQL Server which gives me a list of products (PRODUCT), and the products category (CAT). Right now I am putting all the products in the same ListBox:
foreach (DataRow row in ds.Tables["ProductsTbl"].Rows)
{
string str = string.Format("{0}", row["PRODUCT"]);
ListBox1.Items.Add(new ListItem(str));
}
But I need to create as many listboxes as there are categories, and distribute those products according to the category. Categories might be added or removed so I need to create them dynamically. So lets say the table has 5 products in category 1, 4 products in category 2 and 7 products in category 3, I would need 3 Listboxes created. The first with 5 items, the second with 4 and the last one with 7 items
I want to create multiple listboxes when you select the first it does a database query which gets a list for the second list box and it carries on for the third and so on. Beside each list box is a form to insert an entry for that list is there an article or video on how to do this. Some ajax might be needed to do what I want Im not really sure what to do I can't find an article on this.
View 1 RepliesI have three ListBoxes each representing a single field database table. They are presented side by side on the ASP.NET page. Is there any way to group them so that only a single item from any of the boxes can be selected at a time?edit - ie, if item 3 in box 1 is selected, selecting any item in box 2 must unselect it
View 1 RepliesI am developing an mvc 2 application.In my form i have a listbox. Based on selecting the items in the listbox a vertical tab is created.the tabs in the vertical tabs are created corresponding to each item selected in the listbox.after the creation of the vetical tabs each vertical tab will be containing a listbox.here the user can select the list items.now my problem is that i want to know which all items in each listbox in each tab is been selected .some code:
[Code]....
I am having a lot of trouble with a seemingly simple thing. In an ASP.NET webform I have two ListBoxes, with Add and Remove buttons in between. The user can select items in one ListBox and using the buttons, swap them around. I do this on the clientside using javascript. I then also have a SAVE button, which I want to process on the server side when the user is happy with their list.
Problems : First I was getting the following problem when I clicked SAVE :
Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation. I read that one of the methods to get around this was to put my ListBoxes into an UpdatePanel, which I did, and I am getting further.
However, now the event handler for the button's Click event is not being run if the user has used the clientside javascript to alter the contents of the Listboxes. If the user has not altered the contents of the listboxes, the handler does execute.
[code]....
For some reason, setting the width of a button with the standard notation isn't working while browzing with Safari:
width: 20px;
What is the syntax for Safari?
I've a project written with visual studio 2008 + asp.net 3.5 that renders perfecly also on safari browser.
I converted project to VS 2010 (without upgrading FW to 4.0, but manteining 3.5).
Well, locally using safari it renders perfectly, but on server (on server is installed only FW 3.5) it does not render correctly.
I've to said that in BrowserFile.broser i've:
<browsers>
<browser id="NewBrowser" parentID="Mozilla">
<identification>
<userAgent match="Unique User Agent Regular Expression" />
</identification>
<capture>
<userAgent match="NewBrowser (?'version'd+.d+)" />
</capture>
<capabilities>
<capability name="browser" value="My New Browser" />
<capability name="version" value="${version}" />
</capabilities>
</browser>
<browser refID="Mozilla">
<capabilities>
<capability name="xml" value="true" />
</capabilities>
</browser>
<browser refID="safari1plus">
<controlAdapters>
<adapter controlType="System.Web.UI.WebControls.Menu" adapterType="" />
</controlAdapters>
</browser>
</browsers>
i've also tried to delete safari section, but on server is still not working.