Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
25 views

HTML Accordion closes immediately when run from asp.net website

I am trying to create a collapsible menu and I have adapted the following code to suit my needs (Credit https://codepen.io/AndreasFrontDev/pen/zBZZvq). The html file opens and behaves as expected when ...
DMAC's user avatar
  • 17
-1 votes
1 answer
76 views

Add/Remove Class Based on Scroll Position in Blazor

In Blazor, how do you add/remove a class on a div based on it's scroll position? If the div has been scrolled greater than 50 units, add a class to the div. If not, then remove the class from the div. ...
jottin's user avatar
  • 419
0 votes
1 answer
62 views

How to find HTML elements and ASP controls that have CSS class references that have no definition in Visual Studio

I am looking for a way to locate CSS class names that HTML elements and ASP controls reference in their "class" and "CssClass" properties, but where the class that is referenced ...
Zachary Weber's user avatar
1 vote
0 answers
26 views

Modal Popup in ASP.NET Core Working but Show like Hidden can't client on pop

i follow steps this video https://www.youtube.com/watch?v=SP3xr86IoRU&ab_channel=CodingWorld but after fished code it working like hidden can click on pop this is problem I'm trying to write the ...
ATA's user avatar
  • 23
-1 votes
1 answer
117 views

SelectPDF does not render Bootstrap 5 border CSS class

I have just recently upgraded my website (.NET Framerwork 4.7.2) with the latest Bootstrap Version (from v4 to v5) and I use selectPDF to convert a page into a PDF. However, I noticed that the PDF is ...
user2018's user avatar
  • 356
0 votes
2 answers
77 views

Dropdown Menu Goes Beyond Right Side of Screen

I'm trying to create a multi-level dropdown menu using Bootstrap. By default, the dropdowns should align to the right side, but if there's not enough space, they should switch to align to the left. ...
Yuvraj Jadhav's user avatar
0 votes
0 answers
36 views

Autofill color not changing or updating

I am just starting out in ASP.NET and following a tutorial im using the mvc project and I have a form in dark theme however when you autofill the form with chrome such as name and phone number. It ...
Fadzii's user avatar
  • 37
0 votes
0 answers
20 views

Issue floating div on each side of div while having center div take up the spaces between the two floating divs when it comes to width and height [duplicate]

I'm trying to float div on each side of div in center containing a menu that is vertically and horizontally centered to the divs on each side. For instance the center div (menu container) takes up the ...
AlphaCr8tive's user avatar
0 votes
2 answers
62 views

why is my Custom CSS in Blazor is Not working?

i created a Login.Razor.css file in the same folder as my Login Comp , but the css is not applying att all even after calling in in the header link in HTML of Login . Any idea on how to solve this .
Haruto Sora's user avatar
0 votes
0 answers
38 views

How to remove row on client side by jQuery based on key auditor id and budget year?

I work on jQuery with asp.net . I face issue I can't remove row from grid view based on key AUD_RECID and P_BUDGET_YEAR . AUD_RECID with different P_BUDGET_YEAR so I need key will be both from ...
ahmed salah abd elaziz elbarba's user avatar
0 votes
1 answer
51 views

Drop down multiple list selection in asp.net

This is the default dropdown single select no checkbox no button list code (In WebAPP.NET framework): <asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString=&...
ADIL HAMEED's user avatar
1 vote
1 answer
365 views

Css isolation asp net mvc not working, file {ASSEMBLY NAME}.styles.css not found (404)

I'm working on a project here using ASP NET MVC with .NET 8 version For the first time my asp net mvc project experienced an error file {ASSEMBLY NAME}.styles.css not found (404). I've done several ...
DarkSistem's user avatar
0 votes
1 answer
67 views

CSS Class doesn't work when I change ImageUrl for Image Button Asp.Net/VB.Net

I'm new to programming so please be gentle. I am making a little Deal or No Deal style game where you open boxes. They are in an update panel and the boxes are set up for different size screens with ...
Eggybread's user avatar
  • 359
0 votes
1 answer
32 views

how to still be able access data while hiding the inputs

when form is submitted and inputs were hidden like setting its display to none, the data cant be accessed right? like its not submitted with the form, now what should be my approach that if inputs ...
Cypher's user avatar
  • 11
0 votes
0 answers
78 views

HTML/CSS toggle button read/write state

Looking for a way to have a page with toggle buttons on/off. i'm making a page that will be for me to track when my dogs were/need medication. (have a magnetic whiteboard now, but trying to go with ...
Taz's user avatar
  • 1
0 votes
1 answer
37 views

Problem positioning an icon in a search bar

In this div I have an input for my search bar, an icon that performs the search and an icon that deletes the text the user has typed. I have a problem with the positioning of my delete icon, it doesn'...
tsazuki's user avatar
-4 votes
1 answer
37 views

ASP.NET dropdown list using Virtual Code pulling data from SSMS

I am trying write a string for dropdown list however I keep coming across this error. I wanna figure out a way to get around the error in order for my dropdown list to show on my dashboard. My Visual ...
Ozzy's user avatar
  • 1
-1 votes
2 answers
51 views

webpage is not fitting on mobile screens

So I got a problem with fitting the webpage on mobile devices. On PC it works without single problem, but when I'm trying on mobile device it will not fit fully on screen but is somehow overflowing? ...
HarryTra's user avatar
0 votes
0 answers
176 views

Clear-Site-Data header error in Chrome console and my CSS changes not reflecting

I have ASP.net MVC application which is hosted on server. I have some font changes on my site, so I did it on local system and it was working fine but when I put it on server the same is not ...
Shablu Rizvi's user avatar
1 vote
0 answers
998 views

Unknown payload: { "type" : "Ping" } in console when changing css

I am using Visual Studio Community 2022 with latest updates on Windows 11. I'm helping my friend in a project with Blazor and ASP.NET. My part would be to do the frontend, but it's not working ...
M3VRIX's user avatar
  • 19
-3 votes
2 answers
43 views

I need to reduce the vertical spacing between the <asp:ListItem>

I need to reduce the vertical spacing between the <asp:ListItem>. I tried giving style="margin-bottom=5px and margin-top: 5px;" but it is not working. how to do it? <asp:...
parangat's user avatar
0 votes
0 answers
17 views

CSS Class not changing when using ASP:RANGEVALIDATOR on TextBox

PLEASE help me! I've been banging my head for days because of this one thing. I have a TextBox with a RangeValidator. I need to change the color of all my Textboxes in a page; using javascript it's ...
Saory Emanoelle's user avatar
-1 votes
1 answer
45 views

spacing and width table css

I need help on this. I'm not very good with CSS/layout or UI design. I'm just figuring it out how. This one can't figure it out, why it's doing what it's doing on these tables: In the red box, my ...
Ann's user avatar
  • 109
0 votes
1 answer
55 views

I couldn't access to this page in

I need help in debugging my homework. Context: I am using Blazor Web Assembly Standalone to build this app called CarRentalManagement. I have created the data structure for the Vehicles page. But I ...
KhanhTong's user avatar
1 vote
2 answers
91 views

How does this <td> overflow the <table>?

I am adding a next and previous button to a <td> that contains an asp:DropDownList. When I do this the <td> overflows the width of the table. Code Snippet (Edited to include entire table ...
RSullivan's user avatar
  • 107
0 votes
0 answers
45 views

Why VS render CSS correctly only after hot-reload?

I am confused by the behavior of the website I develop. I use newest Visual Studio and ASP.NET Core, so HTML and CSS writing .cshtml and .css files at the moment. Problem: It renders broken at first: ...
dgad's user avatar
  • 65
0 votes
1 answer
22 views

removing arrow from select control not working in IE mode from Edge browser on asp.net content page

CSS part for removing arrow select::-ms-expand { display: none; } ASP Page where select control inside UpdatePanel <asp:Content ID="Content123" ContentPlaceHolderID="navig" ...
Natarajan Thiruganasambandam's user avatar
0 votes
1 answer
39 views

Keeping an image button in place and correct size, responsive to background image CSS

I'm still just learning and not great with CSS but have the following code which places a BuyNow button over an image. I need it to stay stay in the correct position (responsive) when screen size ...
mark davies's user avatar
0 votes
1 answer
33 views

Javascript CSS changing navigation visibility

For a project im working on i need to make sure that when a part of the app is being used a different secondary navigation is being shown. the code down below is the different navigations that i need ...
Cody_2111's user avatar
-1 votes
1 answer
120 views

Align text below and to the right of a text box

I am working on an ASP.NET project with a resizable textbox that needs to display a character limit below and to the right of the box. The textbox is contained within a specific portion of the page ...
Andrew C's user avatar
  • 107
0 votes
1 answer
62 views

CSS class to add space between the Controls

I am using 3 radio buttons in my User Control, I need to add space between the Radio Buttons, not between the text or button and its text, but between the buttons, could you please help me how can I ...
Abdul's user avatar
  • 561
-2 votes
1 answer
47 views

How can we add swap two textbox value button and it's backend code for asp.net? [closed]

I want to swap values between two textboxes and need to add ui button that will swap values. It should be like this - swap toggle I tried many expects but didn't find anything yet. I need it ...
Shivanshu's user avatar
0 votes
1 answer
168 views

Second level menu in Bootstrap navigation bar showing hidden links

I am using Bootstrap in an ASP.NET application with C#. I have two level menu, with some option available to user and others to admin. The page load in the master page determines the options to show ...
Noobie's user avatar
  • 107
0 votes
0 answers
20 views

How to check duplicate email from database for subscription email get all email from database and check if duplicate or not then post that email

I am checking the the condition but not shown any result I am try to get all email from database and check it is an already posted or not and show toast message and post that email const onSubmit = ...
Urmila Sirase's user avatar
-2 votes
1 answer
36 views

Textbox into drop-down

In my code I have drop down and textbox Now the issue is I want to hide the textbox and use the same functionality to drop-down instead of changing the backend there is any other ways of doing (in asp....
1926JB55 Soundarya.S's user avatar
0 votes
0 answers
73 views

Text inside div is splitting

I tried many things this issue took almost my 5 hours. but I couldn't solve it. This my page which has issue. Issue page Long text field 4: and Long text field 6: are wrong. They should be align like ...
Surabaya's user avatar
-3 votes
1 answer
905 views

Use html css and bootstrap in Visual Studio 2022 with ASP.NET

How can I use html CSS and JavaScript design in Visual Studio 2022 where the ASP.NET controls allow the code to be performed? I'm expecting that someone please solve my problem it's getting hard for ...
Khushi Sidhpura's user avatar
1 vote
1 answer
29 views

Webpage displays small on mobile device

I have developed a website for a charity using ASP.NET and SQL Server. The webpages were developed and tested on a PC (I know now.) The pages appear tiny on mobile devices and most users will be on ...
Derek Johnson's user avatar
0 votes
1 answer
24 views

Dynamically assigned Styles are rendered but not displayed

I have a GridView where I want to assign the background color of the row during the RowDataBound event based on the value of a cell. I do: protected void Gridview_OnRowDataBound(object sender, ...
Barnabeck's user avatar
  • 481
0 votes
1 answer
103 views

Character count per textarea using a foreach loop

I'm using a foreach loop for my fields and I want to create a character count for each field individually. here is a sample code from my cs file List<Document> record= _repository.Document....
Jhonn Matthew Calvelo's user avatar
1 vote
1 answer
38 views

Style menu with arch between items

I need to style a menu as shown in the screenshot below. I haven't come up with an efficient way to do it myself. Does anyone have any ideas and could help me out? Expected menu layout I couldn't come ...
Igor Pinheiro's user avatar
0 votes
1 answer
569 views

Bootstrap 5 Nav bar padding removal

I've actually got two questions with the NavBar. First I'm trying to figure out a way to get rid of all the padding/margin around the NavBar Item links. I have a left border and a background hoover ...
Caverman's user avatar
  • 3,637
0 votes
1 answer
55 views

Issues with dropdown list HTML

I want my dropdown list to be over all the elements when its opened but the list seems to be stuck under something (to my understanding it is not the border as I tried to remove it). Can someone ...
ll ol's user avatar
  • 1
0 votes
1 answer
940 views

Bootstrap upgrade from 3.4 to 5.3 in .Net project

I have Website poject created .Net Framework 4.7.2 Currently I am using Bootstrap version 3.4.1 Bootstrap 3.4 is in end-of-life state. Therefore I need to update to the latest version 5.3 When I ...
Gurpreet Kailey's user avatar
0 votes
0 answers
48 views

CSS file and Image not working in ASP.NET project suddenly

I was coding an assignment for my school work and the css and image was working fine after some coding trying to add session into my code my css and image suddenly won't respond to the server. It was ...
Hoang Duc Duy 's user avatar
0 votes
1 answer
36 views

Display: None; prevents field in from being submitted while visibility:hidden allows the element to take up space

I'm trying to make an input field for "DeliveryCharge" which is greyed out that cannot be typed in. To fill it in, the user has to click on the "Compute" button beside it to do the ...
cht's user avatar
  • 1
-1 votes
1 answer
95 views

How can I set the color of asp:table Caption?

I'm using asp:Table on webforms pages that have a background image. The problem I'm trying to solve is: the CAPTION that I put on the table(s) is nearly un-readable because it blends in with the ...
Jim's user avatar
  • 53
1 vote
2 answers
27 views

How can I keep content of a cell of a 20 Column HTML Table in one line and wrap specific width

I have long data in one Cell, I need to put the data up to a specific width in one line and the rest wraps to the next line. I have been able to make it in a line but can not wrap after specific width ...
Ehsan's user avatar
  • 21
0 votes
1 answer
109 views

How to print a document with the same template per page web asp.net vb

I am new in asp.net using VB.Net language. How can I print a document with the same template or header on every page? If the GridView has more than 10 records, then the remaining records will be on ...
GojoSatoru's user avatar
0 votes
0 answers
59 views

asp:ListBox is disabled inside css dropdown-menu class

i am showing asp.net Listbox (with multiselect) and dropdown control inside dropdown-menu class. Listbox is not opening or expanding when i click on it while dropdown is working fine. If i place ...
Code's user avatar
  • 61

1
2 3 4 5
159