1
vote
2answers
21 views

ASP.net controls not obeying CSS?

Why is is that Block 1 doesn't render the expected styling and Block 2 does? CSS .test { height:3.85in; width: 2.625in; border: 10px solid blue; padding-right:.25in; ...
0
votes
2answers
36 views

Dynamically adding pictures inside div

I've got a drop down list which is going to dynamically add image elements inside of a div with a class name of DrugNameCard and an id of testDiv. With all of the attempts below, the HTML isn't ...
0
votes
0answers
19 views

Responsive grid layout in repeater control

Hi below is my screenshot,(I am using Repeater control to display items from database) but instead of this i want below grid layout without spacing between two items: can anyone suggest any css ...
0
votes
2answers
14 views

resize div width down based on the amount of data contained within repeater and up to a max-width

I have a repeater wrapped in a div which displays results as horizontal text. The div is set to a maximum width of 450px which causes the results to wrap onto the next line which is perfect, but the ...
0
votes
1answer
24 views

Having trouble calling aspx from Ext JS 4.2

I am trying to make a call to an ASPX url; however, the return keeps coming back as a failure. I have used this url in other programming projects, but this is my first time using it with Ext JS. I ...
1
vote
0answers
35 views

bind combobox column in datagridview

I have a combobox which contain 4 elements "REF" "DF" "OVEN" "Chest cooler", this combobox is bind with sql. Now I want when I select "REF" the all modal of Ref show in grid combo column when I ...
0
votes
2answers
37 views

mouseenter in jquery is causing abnormal behaviour

I am trying to make the mouseenter and leave event in jquery work but there nothing seems to work. mouseenter works if I drag the mouse on an image without traversing other area on browser. The entire ...
0
votes
1answer
21 views

How to highlight active page in a masterpage menu?

I have a menu inside a masterpage (in a ASP.NET Web site), and i want to highlight active page in masterpage menu and submenus. HTML: <ul id="nav" class="sf-menu"> <li ...
0
votes
0answers
46 views

jquery mouseenter is not working

I am trying to achieve hover effect I tried this code but not working $('.real').parent().on('mouseenter',function() { var href = $(this).attr('href'); var top = ...
1
vote
2answers
51 views

hover effect creates flickering

I am trying to display options on an image on hover but when I hover the displayed options keeps flickering $('a').hover(function(event) { var href = $(this).attr('href'); var ...
-5
votes
0answers
30 views

Accordion is not working with table [closed]

Accordion is not working in the given code <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script ...
0
votes
1answer
27 views

Toggle between different langauge

I am working on a website in asp.net , and i want to give a radio box so user can toggle between urdu and english keyboards. I need help in providing urdu keyboard in asp.net. I want to embed a urdu ...
0
votes
2answers
23 views

clipped text works in Chrome but not in IE9?

I have a bit of code that works exactly as required in Chrome, but not in IE9. My objective is to have a grid cell that clips it's text according to a maximum column width, does not wrap the text and ...
-2
votes
0answers
39 views

How to CSS Style Disable ASP.Net Button

I have a styled ASP button that works fine. What I want is when the user clicks a button to disable all other buttons that I choose. I disable the buttons but I want to change the color of the ...
0
votes
0answers
30 views

ASP.Net website publishing issues

I have an asp.net website that I created in Visual Studio 2010 and I am trying to upload via iPage. However, all I get when navigating to the website is the HTML markup in the browser window. I ...
-2
votes
3answers
45 views

Apply css effect after link is clicked?

How can I apply a specific css scheme if the nav link clicked is active? I tried many options a:active, a:selection, a:link - none of them work! Basically, the nav link for the page clicked should ...
0
votes
1answer
29 views

How to create multipe column on ajax auto complete?

I create a table for searching items on ajax auto complete, I want to design like that(Table-1): There is my web service code: [WebMethod] public object[] GetResult(string prefixText, int ...
0
votes
2answers
32 views

ASP.NET C# Login CSS error

I'm creating a Login page with C# ASP.net, After i apply this code <system.web> <authorization> <allow users="?"/> </authorization> ...
0
votes
0answers
35 views

Html.RadioButtonFor without radiobutton

I want to a form with radiobuttons in it. Here you can see what I mean: As you can see you have the options "Graphic Design, Photo Design, ..". What I want to do is when you click on one of them, ...
0
votes
2answers
39 views

Make a DIV not be shown outside it's container

I'm making a very basic animation with JQuery. Basically what I have is a DIV in the size of 60% width, 80% height and it contains a manual. My goal is that when you go through pages in the manual, ...
0
votes
1answer
26 views

Getting <div> sizes working in Custom Web User Control

I am trying to build a custom web control for phone number entry that separates the area code, number, and extension. I want to use 3 telerik RadMaskedTextBoxes for the entry and display with an asp ...
0
votes
1answer
32 views

Increase div height to fit ajax accordion

I have the following layout on a webpage <asp:panel id="overview_pnl"> <asp:panel id="top_row" CssClass="overviewRows"> <ajaxToolKit:Accordion> ...
1
vote
3answers
33 views

Building a collapsible and expandable panel in asp.net

I have the following code for two panels: <asp:Panel runat="server" class="sectionLabels"> <asp:Label runat="server" Text="DetailsForm"></asp:Label> </asp:Panel> ...
-1
votes
0answers
32 views

Resize gridview controls when form resizes

I have a Grid View With multiple drop down list inside a single cell in the Item Template. When the Form is re-sized all the drop down list moves out of place to second and third row and doesn't stay ...
0
votes
0answers
27 views

CSS applied to aspx page working in firefox, but not IE. Only the style of 1 button doesn't work. Any ideas?

this is the CSS for the button.... .button:last-of-type,.button:visited, .button:hover, .button:active, .button:active { background: #7C8C99; color: #FFFFFF; display: inline-block; ...
0
votes
0answers
34 views

CSS and JS-files repeating themselves

I have a major problem with my current build. My css and js-files are repeating themselves. Its only one GET from the webserver but the webserver is serving files that are exactly twice as big in size ...
0
votes
2answers
33 views

Styling DropDownList ASP.NET

Hi I am trying to make my DropDownList like this in my ASP.NET web application. I cant't use the select tag because I am already bounded some data to the DropDownList. Basically I am trying to ...
0
votes
3answers
47 views

div height not expanding with browser

I have a content editable div inside another div. The width expands when IE is expanded, but height is not expanding I set a min-height of 300px because i want it to be 300 px height at the time of ...
0
votes
1answer
61 views

Css validation do not work in asp net

i cant use css validation class inside asp.net controls but all other css design works correctly for example i just need to add class="validate[required]" to make a control validation in html but the ...
0
votes
2answers
19 views

Table Column Misalignment

Please consider the following (http://jsfiddle.net/HaLGr/11/): .head_row { color: #FFFFFF; background-color: #5D7B9D; } .row_one { font-size: 12px; } .row_two { font-size: 12px; ...
0
votes
0answers
41 views

How can I determine which element's attribute needs to be modified?

I am trying to visually clean up the appearance of a legacy asp.net page; it seems that something has a border-left and border-right property that I need to get rid of, but I can't determine which ...
1
vote
2answers
52 views

embedding fonts in asp.net

I am trying to embed some fonts via a CSS file for my asp.net website but without success. Here is the code for the CSS: @font-face { font-family: Segoe UI; src: url('SEGOEUI.ttf'); } ...
0
votes
1answer
37 views

GridView Header Fixed and column Freezing

I have browsed in allmost all the sites but didnt get proper solution. My question is on Fixing Grid View header and freezing the column. Most of the sites say that the browser doesnt supports, well i ...
0
votes
1answer
50 views

Learning CSS, how to use stylesheet with master page

I'm trying to learn to use stylesheets. I have build several websites, but never used stylesheets. My first try is to repeat an image at the top of the page to create some kind of header. So I have ...
1
vote
1answer
59 views

Css rotate div creates white space on top

I have a div that I rotate from vertical to horizontal. The problem is that when I rotate it creates big space at the top. I want when rotate the div be stacked on the top. How can I achieve this the ...
0
votes
2answers
121 views

ASP.NET Server Controls - Show Hide Textbox based on Dropdown selection

What is the best way to show/hide a textbox or an entire div section based on a users selection from a dropdown? I don't believe its possible with server controls, so I would have to use regular ...
0
votes
1answer
30 views

CSS Sprite Display Inline-Block Displays Incorrectly with IE Browser

I have a website I created using Sprite controls and AJAX controls. I can run the website in Chrome, and it looks just like the JSFIDDLE version. However, when I turn to IE10 and try displaying the ...
0
votes
1answer
31 views

hide the errors but retain the validation summary header of ASP.NET Validation summary

I try to solve this issue by creating a css and apply it on Validation Summary. The solution below only works on Firefox and Google Chrome but not working in IE(7,8, and 9). Anyone experienced this ...
0
votes
1answer
31 views

Aspx page alignment problems

On my website, doesn't matter what I do, I cannot seem to center anything in any of the pages on my website. Everything aligns on the side, or on random places on the page. The only solution ise to ...
0
votes
2answers
55 views

asp.net insert HTML from Code Behind page

I've got a problem with ASP.NET. I'm using C#. With a SQL query i have the number exactly of rows in a Database, i need to write the same number of div tag to show the results. This is the code ...
0
votes
1answer
21 views

Server-side preprocessor for crisp nice Font/Text like in photoshop

is there any way to render Text/Fonts with a preprocessor or something like these to get nice fonts with glow, grandient, crisp like in photoshop ?
0
votes
3answers
48 views

reopening jquery model dialog from page behind

I've following modal dialog using jquery and css which has a login form in it. CSS: #mask { position:absolute; z-index:9000; top: 0; right: 0; bottom: 0; left: 0; ...
1
vote
1answer
13 views

Centering asp:menu item's when there are multiple rows of menu items

you can replicate my problem with this small code snippet. <div ID="topcell" runat="server" align="center" style="text-align:center"> <asp:Menu ID="testmenu" runat="server" ...
1
vote
0answers
104 views

Other CSSs being picked up

i'm having an issue trying to implement bootstrap into our ASP.NET Web Forms (VB) project. We have decided to implement this change one page at a time so we are needing to run 2 master pages at the ...
1
vote
1answer
450 views

Centering a Sortable Row Header in the GridView

I cannot seem to center the header text of a column in my GridView if it is sortable. The html output is much different for a sortable column (it seems to place a table inside of the td column). Any ...
2
votes
3answers
1k views

In which order are CSS styles applied?

I have the following HTML. <ul> <li> <a>asdas</a> </li> </ul> In my CSS stylesheet I have general settings for the a tag, and several hundered lines ...
3
votes
2answers
2k views

Dynamically adding a CSS file from an ASP.NET Server Control

I have a custom control and I want to dynamically insert a link to a stylesheet. Might not be the best solution of the year but it needs to be done. Any idea how to do it? Everytime I try, ...
54
votes
7answers
12k views

Using SASS with ASP.NET [closed]

I'm looking into ways to use SASS (Syntactically Awesome StyleSheets) from the Ruby HAML package in an ASP.NET environment. Ideally, I would like compilation of SASS files into CSS to be a seamless ...
24
votes
3answers
58k views

How do you modify style in the code behind file for divs in ASP.net?

Currently I am trying to modify a css style attribute for a div based on the information I get from a database table in the code behind of my aspx page. In simplified form the following is ...
6
votes
4answers
16k views

Maintain CSS styling when converting HTML to PDF in ASP.NET

I am using ITextSharp to convert a HTML page to PDF. However, ITextSharp prints the CSS in the STYLE declaration straight out, ignores stylesheets even when added programatically and only listens to ...

1 2 3 4 5 62
15 30 50 per page