AJAX :: RoundedColorsExtender With Different Colors For Top And Bottom?
Jan 10, 2010
as far as I see there is only one "Color" property for all borders of the RoundedColorExtender. I would like to use the rounded corners around an element with a slight color gradient, so the bottom border must use a different color. Is it possible to get this done without touching the control source?
I am using colorpicker control which comes with ajax control toolkit. Can I have more colors or include custom colors in the color pallete of ColorPickerExtender control ?
I have an ajax calendar in the middle of my page. I already wrapped it in a div with position:relative but the calendar doesn't show up unless the scrollbar is at the bottom.
We implemented Modal Popup in Sharepoint 2007 as a part of one of the User controls. Issue that I am facing is on IE7 the popup appear on botton left hand side of the browser screen. Popup itself is grayed. It works fine in IE 6 i.e. popup is center positioned and enabled Does any body know if this is a known issue with IE 7 and how to rectify this issue? below is the ASCX code for the user control
I have a wierd issue with a ModalPopupExtender. I am using a GridView and a DetailsView Control inside a ModalPopupExtender to show the details. After I Hide the ModalPopupExtender it renders at the bottom of the page. The popup works fine, just when i close it it moves to the bottom. If i click on another item and close it, it just builds at the bottom of the page. If i click Save it closes and falls to the bottom of the page and my Update sql statement contains all the values of the below popups. Wierd huh!
I have tried both using the OKControlID and creating an event handler to do a ModalPopupExtender.Hide(); neither works. I have used the ModalPopupExtender a number of times and have never seen this happen.
I have an issue that may be tied to layering of ajax controls. On my page I have a Modal Popup that displays and has multiple input fields on it.One of which is a dropdown list that shows one of two sections OnSelectedIndexChanged. One section has a button that calls another Modal Popup with inputs.
When I cancel/close the 2nd Modal Popup and change the value of the dropdown list the Popup's panel displays at the bottom of the page.I have tired hiding the panel, calling the mpe.hide(); etc but cannot get this panel to stop displaying.
Im using a ValidatorCallOutExtender for validate a ASP:textbox, but I have the problem when the scroll is at the top of the page, everything works fine, but if the scroll is at the bottom the validatorcallout is displayed above the textbox which is assigned. I tried adding a CSS mentioned in several places, a script that runs when the page is loaded, so as to put the SetFocusOnError = "true" but nothing has worked, the error occurs in all browsers.
when I hover over a menu option it's contents are shown above instead of the Bottom off. Even though the hover control says bottom. In my browser and others it works fine, I use IE8. But some browsers it's goes wrong.
I used timer to refresh page every 5 second.. but due to timer my multiline textbox doesn't scroll down bottom even though i used javascript to scroll to bottom..
I'm developing an ASP.NET application with C# and Visual Studio 2008 SP1. I'm using WebForms.
I have an ASPX page with two UpdatePanels, one on the left that holds a TreeView and other on the right where I load dynamically user controls.
On the left panel I also have buttons to load user controls on the right. I have a ModalPopupExtender in a button that show I div with radiobuttons to select a type. When I choose an option and click ok it do a postback to load dynamically a user control but instead of dissapear these modal panel it appers on the bottom left corner of the page.
What's happening? I think it is about dynamic load.
when i run this am able to see two yello color and two green color and one red color datapoint in my piechart. how to i club the datapoint to show one green color, one yello color and one redcolor datapoint. because i should have only three colors with three area of plotting.
I have a dropdownlist with the colors loaded as th text.I place it in a placeholder and that has a vertical scrollbar, When I scroll the entire Placeholder the colours in the dropbox are getting hidden due to the scrooling
I want to make a grid that the users will print and that will display it's rows in different colors on the printable versionI'm using ASPXIt seems that even you make the colors right, when you print it , the colors are disapearing
I am using ASP.NET 2.0. I have a web appication that is using master pages and themes. When a page loads or is refreshed, you can see the controls and back ground cycle through some different colors before it settles on the colors defined in the theme. Somtimes the colors don't get painted properly. I have seen some of the areas on the page painted a light purple instead of the theme defined grey. We always see the back ground go from white->purple->black. Black is the defined color.
I have tried setting the theme in the web.config using the <pages theme= />.
I have tried setting the theme in code by overriding PreInit.
Is there a way to set the default colors so that I can make the page default colors match the ones in my theme so that I won't see the trasnistions when the page paints? Or is the a better way to set colors so that the pages look nicer?
I want to code some colors in the style property of some controls. For instance, I want to use some like DarkGoldenrod, which is shown as
ARGB=(255, 184, 134, 11)
How do I convert this to something that I can use in a style property (e.g., style="color: #CCCCCC)? I know how to convert the first three numbers (255, 184, 134) into a six digit hex value, but what do I do with the fourth number (11)?
Anybody know of any easy way to generate random distinct colors (preferably the same random each time). I am trying to create a MS Chart stack graph, and each series is based off of a service order type, but that list can grow, so I'm creating my series in a loop based off a distinct query and want to assign a color to them dynamically at run time. It would be nice though if they didn't change every run.
When a Link button I have in my gridview that expands the table to show a nested gridview i lose all the row colors that i get from this function. What I need is a way to call the function when the link button is clicked.
<script type="text/javascript"> $(document).ready(function () { $("#<%=GridView1.UniqueID%> tr").each(function () { var status = $(this).children('td:eq(6)').text(); if (status == 'OK') { $(this).children('td').css({ "background-color": "lightgreen" }); } else if (status == 'XL') { $(this).children('td').css({ "background-color": "RED" }); } else if (status == 'CL') { $(this).children('td').css({ "background-color": "YELLOW" }); } }) }); </script>