All Questions
15,407 questions
0
votes
1
answer
67
views
How to add icon tag on button using ASP.NET button server side tag?
I work on ASP.NET and face an issue when add icon tag on button server side. The button text display html script does not display icon with text resources. Expected is display of the icon with name of ...
-1
votes
1
answer
95
views
ASP.NET MVC app request.form returns null
public ActionResult AddFood()
{
if (Session["uid"] != null)
{
string email = Session["uid"].ToString();
var user = HomeController.Users.FirstOrDefault(x =&...
0
votes
1
answer
78
views
What could be interfering with MaintainScrollPositionOnPostBack="true" on ASPX website
Purpose
I am building an ASPX website. It is a form type of webpage, there are 55 questions. For each question, there are three answers, and to lay these out a use a CSS grid style to make sure ...
0
votes
0
answers
31
views
ASP.NET Webforms updatepanel textbox only works on lost focus on text changed
I have this webforms application that is giving me trouble understanding what I am doing wrong. I basically want that when a user changes the value of a textbox, it triggers an OnTextChanged event ...
2
votes
1
answer
43
views
What is causing my container "textFields" to not stick to the top of the page as I scroll down?
I am building a ASPX website. For designing purposes, I built out one of the website pages in HTML/CSS. I was able to have the container behave perfectly in that environment. As this project has ...
0
votes
2
answers
49
views
VB.net and QueryString Parameters
I have legacy web app with two asp.net text boxes on a website that I would like to autofill with info from URL parameters and also allow a user to type their info if the get to the site without URL ...
0
votes
0
answers
23
views
why reset button X not display above selected item value on jQuery after add default option with Arabic and English? [duplicate]
I am currently working with jQuery and have encountered an issue regarding the reset functionality for a dropdown list. Specifically, after adding default options in both Arabic and English, the reset ...
0
votes
0
answers
89
views
why compare two dates Journal Date with date Today Not matches or not working on jQuery?
I work on the client side using jQuery and I am facing an issue where the journal date is
less than the current date but still matches the criteria, causing the condition to be met
and the code to ...
1
vote
1
answer
50
views
Live Search returning whole page
I'm trying to get a live search bar to work in .Net Razor with AJAX, and it looks like it returns the whole page, instead of my partial only. Im trying to replace a container with the results of the ...
0
votes
1
answer
38
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 ...
0
votes
0
answers
29
views
AJAX AutocompleteExtender added from ASP.NET code behind does not work
I add multiple AJAX AutocompleteExtenders from code behind.
Only one of them is working properly.
When I check the HTML page I find one object created (for the working extender).
I can't figure out ...
0
votes
0
answers
31
views
Adding asp-for tag to the input disables my css
So I have already made the design prior to adding the OnPostAsync and the asp-for tag.
so the image below is the design:
Image of Register Page before adding asp-for tag
So now after I added the asp-...
0
votes
1
answer
62
views
Should I use both HtmlEncode and JavaScriptStringEncode if inside HTML <script> tag to create HtmlString from string?
My question is very similar to this one, but without the <% %> details.
Let's say I have the following code:
public static IHtmlString AddSomethingToWindow(string value) {
var output ...
0
votes
0
answers
24
views
CSP issue while trying to preview the image in vb.net [duplicate]
When I try to select the image and preview it. It shows below error in developer tool in the browser.
<!-- 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/...
1
vote
1
answer
105
views
Function set td text in <%if statement%> always be called
I want to use C# function to set text in dataRepeater and use if statement in aspx page.
<asp:Repeater ID="dataRepeater" runat="server">
<ItemTemplate>
&...