Web Forms :: Listbox Rows/selectionmode In Safari/chrome?
Dec 22, 2010
trying to support my listbox control in safari/chrome as it works in ie. there are instances when i want the control to be 1 row high, but i do not want it to render like a dropdownlist. so, i set .SelectionMode = ListSelectionMode.Multiple. This works in IE...I have a 1 row high listbox that does not render like a dropdownlist. Is it possible to render the same thing in safari or chrome? currently, if i set .Rows = 1, it renders 3 high in safari/chrome. if i don't set .SelectionMode = ListSelectionMode.Multiple then i see a dropdownlist.
View 4 Replies
Similar Messages:
Mar 17, 2011
I'm trying to build a list box with MULTIPLE selections enabled
The markup is as shown below
<asp:ListBox SelectionMode="Multiple" ID="lbMYlist" runat="server" Style="width:auto;" Height="400px" Rows="5" />
The listbox is being dynamically populated using
lbMYlist.Items.Add(<string>)
The listbox is getting populated.
The problem is only one item can be selected at a time(even though selectionmode has been set to multiple) ..
View 10 Replies
Jan 26, 2011
I have a listbox with multiple selectionmode. In this list there is an itme name 'Other'. When user select this alon or with ohter itmes it show div and if it deselect it from his selection it hide the div. when user come to edit the form and if 'Other' is selected in listbox the div should be visible.
<asp:ListBox ID="lstQualification" runat="server" SelectionMode="Multiple"
Width="207px" CssClass="lstQualification">
</asp:ListBox>
View 4 Replies
Jun 3, 2010
I have an ASP.NET webform that has a listbox (lbxRegions) with multi-select option enabled. In my db, I have a table with an xml field that holds a list of regions. I need to populate the listbox with all available regions and then "check off" the list items that match the regions in the db table. The list options also need to be ordered by region name. So, I wrote the following code that works just fine -- no problems. But I was wondering if anyone can think of a better (more succinct, more efficient) way to have done the same thing
Dim allRegions = XElement.Load(Server.MapPath(Request.ApplicationPath) & "Regions.xml").<country>.<regions>.<region>
Dim selectedRegions = (From ev In dc.Events Where ev.EventId =
[code]...
View 1 Replies
Jan 2, 2010
I have a databound listbox control that works fine but even though the selectionmode property is set to "multiple," the control still only lets the user select a single item in the list.
<asp:ListBox
ID="ListBox1"
runat="server" [ code].....
View 2 Replies
Jan 18, 2011
[Code]....
Now i need to disable for Other Browser also ...
View 9 Replies
Apr 6, 2010
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.
View 2 Replies
Dec 20, 2010
We are using Web Part Zones to display certain Charts in our website. In the title of the Zone, we are using the below code to display the menu for Minimize, Refresh and Close buttons.
<CloseVerb ImageUrl="~/Images/Close.png" />
<MenuVerbStyle BorderColor="#5D7B9D" BorderStyle="Solid" BorderWidth="1px" ForeColor="White" />
<TitleBarVerbStyle CssClass="WPVerbBar" />[code]....
This buttons are working fine in IE and in Firefox. But the same is not working in Chorme and in Safari.We got the below script error in Chrome:
Uncaught TypeError: Object #<an HTMLElement> has no method 'attachEvent'
ScriptResource.axd?d=JgYxHqt6li1Lc12at8VRK-y-qeXK_5Wiei-tKNUi8rRE-1X5EEl-KvYEuW4m8Foj1VyIiaN7sK98_-pMwa5y7w2&t=633802855995006876:277Uncaught TypeError: Object #<an HTMLElement> has no method 'attachEvent'
View 1 Replies
Apr 19, 2010
i have gridview its working in IE and FF fine, but when i'm run in the Google chrome and safari, i gor outside border.
how i can rmove the only outside border to this both broswer?
View 6 Replies
May 27, 2010
here is the code of listview:::
[code]...
View 1 Replies
Jun 6, 2012
SiteMap is not clickable on Firefox,Chrome and Safari But works perfecly fine on IE..Here is the code;
div.logintext {
position: relative;
top: 25%;
display: table-cell;
vertical-align: middle;
text-align: left;
[code]...
View 1 Replies
Feb 15, 2010
I've defined node styles for my TreeView instance in markup (using <LevelStyles> for example). Everything renders correctly in IE7/8 but, when rendering in Chrome, Safari or FireFox, the styles are not being applied. From looking at the source code for the page, I can see that the various runtime css classes are being injected into the top of the page, but the class attributes on the <a> tags (within the generated TreeView HTML) are empty (class=""). In IE, the class attributes contain references to the classes that were injected into the page.
Can anyone explain why this is happening? I can see no logical explanation for this, and it's a big issue - My client primarily uses Safari, as they're Mac based.
View 1 Replies
Feb 21, 2011
I am giving external css path in aspx page via
<link rel="stylesheet" media="all" href="file:///D:/CSS/Style.css" type="text/css" />
its works fine in firefox and ie while access that page.
but when i open this page in chrome or safari.
it does'nt do anything and no css is applying.
View 3 Replies
Feb 7, 2010
I am using the CalendarExtender and I've found it works fine in all browsers except for any version of Google Chrome and Safari 4.
In these browsers the calendar appears either on top of the textbox or near the top of the screen instead of under the textbox.
You can reproduce this behavior by going to: http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Calendar/Calendar.aspx
View 2 Replies
Nov 11, 2010
I'm having problems with FileResult returning a file with a specific filename. In the database the filename is just and ID + extension (e.g: 456789.mp3)
This piece of code
FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read);
return File(fs, "application/octet-stream", "myfile.mp3");
Work well in every browser except Webkit browsers (Chrome, Safari). Chrome and Safari receive files as original filename (456789.mp3). When I add headers with
Response.AppendHeader("Content-Disposition", "attachment;filename=myfile.mp3");
Safari receives the file as myfile.mp3attach (notice "attach" appended to the extension?), however Chrome receives this file as myfile.mp3,attach (it appends ",attach" to the extension)
View 3 Replies
May 10, 2010
I have a problem with a script for a image gallery. The problem seems to only occur on Safari and Chrome, but if I refresh the page I get it to work correctly - weird!
Correct function:The gallery has a top bar, which if you hover over it, it will display a caption. Below sits the main image. At the bottom there is another bar that is a reversal of the top bar. When you hover over it, it will display thumbnails of the gallery.
The problem:In Safari and Chrome, the thumbnail holder will not display. In fact, it doesn't even show it as an active item (or a rollover). But oddly enough, if you manually refresh the page it begins to work correctly for the rest of the time you view the page. Once you have left the page and return the same error occurs again and you have to go through the same process.
Here's one of the pages to look at:
link text
Here's the CSS:
#ThumbsGutter {
background: url(../Images/1x1.gif);
background: url(/Images/1x1.gif);[code]....
View 1 Replies
Mar 19, 2011
I am unable to paste the content to a textbox whose property "Textmode"is multiline this issue is happening in google chrome and safari browsers
View 1 Replies
Dec 4, 2010
Is there anyway to get the MaskedEditExtender to work with Safari or Chrome? Any kind of hack or workaround?
View 4 Replies
Jul 5, 2010
I'm having problems using an IHttpHandler on PDF files.
I'm redirecting "*.pdf" in <httpHandlers> of web.config to a IHttpHandler class that blocks access unless the user is authenticated.
Code:
<add verb="*" path="*.pdf" type="Handler.Class, Handler.Dll.Name" />
I have no problems accessing any PDF file from firefox while authenticated, but when accessing using any other browser (chrome/safari/opera) I only get a blank page appearing with no content. Accessing the PDF files from other computers gets the same result (blank page) including firefox on other computers.
Contents of the IHttpHandler:
C# Code:
[code]....
View 30 Replies
Jan 18, 2010
I am using the ASP.NET Ajax controls UpdatePanel and UpdateProgress. The idea of a the UpdateProgress control is to display a message while the page is performing a partial postback, then disappear when the postback completes. On Firefox and Internet Explorer, this happens correctly. However, on Safari and Chrome the UpdateProgress control remains visible after the postback completes. Is this a bug in the ASP.NET Ajax Framework, or is there another workaround?
View 1 Replies
Apr 3, 2010
I've had an issue with a javascript menu not working inside an Ajax update panel after the ajax postback. I was able to solve this in IE by calling the menu js function with a pageLoad() function which is automatically called by ajax. However I then discovered it doesn't work in any other browser.
Having search around I've only found two references to the issue; one where someone else has found the same thing and another where someone states that pageLoad isn't stable in other browsers.
Is there any way to solve this issue in browsers other than IE?
View 1 Replies
Mar 27, 2010
The strangest thing: Safari 4 will show me the HTML in View Source but it will not render the content in the page. Chrome 5 which is supposed to be the same WebKit parser renders the page as expected. Where could I possibly start to debug this?
View 1 Replies
Feb 26, 2011
Have been stuck with this issue for a few days now, and really need, and would appreciate some help. My requirement is that I want to make a server side callback to clear off some objects when the user navigates away from our page, without clicking logout. For business reasons, our ASP.NET session timeout has to be set to a very high value. Further, I do not want to popup a alert/dialog to force the user to return to the page and click Logoff.The solution I have arrived at thus far is to make a AJAX callback by embedding this javascript in the page.
window.onunload = pageleave;
function pageleave() {
alert('test');
[code]...
View 1 Replies
Jun 6, 2012
Tab buttons and links are little hard to click on Firefox, Safari, Chrome. hover areas are as small as clickable area,They work perfecly well on IE
I have link for LOG IN normally(on IE) hover works and pointer changes to hand when mouse gets appoximitly one pixel range and it is clickable.
But in other browsers event LOG IN--- link works only when mause gets halfway over text(you can take dashes as referance upper part of the dash works good but buttom part is not clickable )
View 1 Replies
Feb 14, 2010
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??
View 2 Replies