595 questions
0
votes
1
answer
1k
views
Motion Eye wont Toggle Motion Detection through Web Control
INFO
I have a Raspberry Pi 4 setup with Raspberry Pi OS Lite (64 bit) (Debian Bullseye port). On top of that, I followed this guide to install Motion Eye.
https://github.com/motioneye-project/...
0
votes
0
answers
85
views
Even If I wrote all the code, After checking the checkboxes nothing is being added to the listbbox
SERVER SIDE SCRIPT
I wrote this code to make a web form that ADDS or REMOVES items in the Listbox when the checkbox is checked or unchecked but even after checking and unchecking the checkboxes ...
0
votes
1
answer
628
views
VBA excel 64 - webbrowser control crashes when open a pdf
I have a VBA excel form with a webcontrol that I use for displaying a pdf. It works fine on 32 but crashes on 64. ( no error, just crashes). I tried:
tested on different machines with 64 Office - it ...
0
votes
1
answer
404
views
asp.net controls that may appear outside of form tag with runat="server"
I am experimenting with asp.net controls and came across this article that states that All server controls must appear within a <form> tag, and the <form> tag must contain the runat="...
0
votes
1
answer
387
views
Is there an Event that is triggered when all page controls are loaded and databound?
I am using the DevExpress suite of web controls and have built a page with a fairly large entry form with textboxes, comboboxes, etc.
I am writing code to randomly generate data to populate this large ...
0
votes
2
answers
751
views
how do i add a style to a single items border in a datalist in asp.net from code behind? (i want a single border color to be different)
this what my datalist looks like this is the datalist
this is the code behind
I tried to cast the table of the HTML as a web control table and then access it style from code behind and change it like ...
1
vote
1
answer
1k
views
Remove all inline scripts from ASP.NET project
We have been asked to implement Content-Security-Policy to mitigate XSS attacks on our App. As result we need to move all inline scripts to referenced files, which could then be specified as safe in ...
0
votes
1
answer
223
views
How to dynamically set width of Checkbox list bounded to a data source in a table?
I have a checkbox list inside a table row. The Checkboxes are equally spaced out but i want to remove the spacing between each checkbox. is this possible ? Also is it possible to text wrap labels that ...
0
votes
1
answer
285
views
How to do Layout with Microsoft FAST controls
until now I have used Bootstrap for building my sites.
I heard about Microsoft FAST web-controls, and I want to try it but there is no layout grid.
How am I supposed to do layouting in MS FAST?
I am ...
0
votes
1
answer
157
views
Can i use PasswordRecovery Control ASP.NET (Membership) Without Wizard structure? Without SuccessTemplate and Question Template?
I am using the PasswordRecovery Control in my ASP.NET WebForms Application (C#), now the thing is, When we are using PasswordRecovery Control, we are forced to use Wizard Control, which means, if the ...
-1
votes
1
answer
897
views
asp.net code behind accessing button using button value
I'm creating a form validation. i have these buttons with on my .cshtml. When the user clicks it, a css class (selected) will be added on it.
<button type="button" ID="btn_100" ...
0
votes
1
answer
1k
views
Display HTML from Literal Control
A recent CMS upgrade is causing me issues. Previously the area which contained the content was a HTMLGenericControl and I was able to get the innerHTML to append to a div which was rendered on the ...
0
votes
1
answer
1k
views
Media player for linux (ideally for ARM architecture) with web based frontend that plays the media on the server rather than on the client
I am looking for an ideally open source application for my next DIY smart-home-project, that frontend is web-based and plays the media on the server rather than on the client. The application would ...
0
votes
1
answer
698
views
Extending DropDownList in ASP.NET Webform
I'm trying to create my own drop down list to use on a web page and I just can't get it to work the way I need want.
In it's most basic form I can create a class, inherit from System.Web.UI....
0
votes
1
answer
67
views
I'm getting an exception of InvalidCastException
I want to get asp button ID from previous page and I'm getting an exception.
Here is my code for C#
public partial class ADD_MOBILE : System.Web.UI.Page
{
string BUTN_ID;
protected ...
0
votes
2
answers
2k
views
ASP.NET: Image URL is correct, but image does not display
I know this has been asked before, as it's a rookie question, but the other answers on here did not clarify it for me. I an uploading a file then providing a preview. The click event of my upload ...
1
vote
1
answer
209
views
'variable' is not declared error for ascx web control
I've two User Control, in both control I've in ascx some Javascript that call some code method.
The controls are practically identical but for the first (UploadPhotoHTML5.ascx) I've some errors like '...
0
votes
1
answer
63
views
Autologin in VB NET failed
Hello I am working on autologin for page, I am using WebBrowser control. I have this code which sets the value of DOM elements with the values found in my form controls, TextBox1 and TextBox2:
...
0
votes
1
answer
117
views
DataTable customization with records
I Have 1 Datatable having 10 rows and ListBox having 8 ListItems contains 6 records from the DataTable and 2 new records.
I want to update the DataTable in such a way that 6 records should be as it ...
1
vote
2
answers
1k
views
jQuery resize text box to fit contents
I have a form with text boxes that can vary widely in size. I'm trying to resize them based on their contents.
I've been working with various solutions, and I've boiled it down to this:
$("input[...
0
votes
1
answer
804
views
WebControl Label is rendering like Span
I'm tring to generate in codebehind next code:
<label class="switch">
<input type="checkbox">
<span class="slider round"></span>
</label>
Here what I tried:
...
2
votes
1
answer
630
views
How to inherit controller of a third party module for customization Odoo 12?
I have a module with a controller and I need to inherit it in a newly created module for some customization. I searched about the controller inheritance in Odoo and I found that we can inherit Odoo's ...
0
votes
1
answer
530
views
Cant access button in codebehind
I have this button in my .aspx file and would like to access it in my codeBehind .aspx.cs file.
It's in a ListView so I'm assuming that's where the issue is (I have no problem accessing any elements ...
0
votes
1
answer
358
views
Get value of HTML5 input type search from code behind after postback in .NET
I'm creating a sample textbox for search like this (I'm using VB) in my webpage:
Dim txtSearchFilter As New HtmlGenericControl("input")
With txtSearchFilter
.ID = "txtSearchFilter"
.Attributes....
0
votes
1
answer
372
views
Onchange event not triggered while using setattribute to select value of drop down
I am trying to use windows form application to automate a few browser (internet explorer) tasks.
Here I am trying to select a value from the drop-down list available, which I have achieved by using ...
0
votes
1
answer
820
views
ASP.NET web control drop down list object population
I'm using ASP.NET to create a dynamic web form with variable controls. Some of the controls that I want to create are dropdownlists, and I would like them to be populated with certain custom subitems. ...
0
votes
0
answers
128
views
Custom ListItemCollection in WebControl
I'm developing a Feature for SharePoint but I'm quite new asp/ascx.
The class System.Web.UI.WebControls.CheckBoxList is what I need, but I'd need to customize the ListItemCollection Items of System....
0
votes
1
answer
179
views
ASP.NET, bind data to an asp.net control and show duplicate values only once
I am looking for an easy way to bind some data to an ASP.NET control.
Is there somebody who can tell me if it's possible to bind below query ouput to an ASP.NET control (repeater,...) and how?
I want ...
2
votes
1
answer
3k
views
Dynamically created asp.net controls disappear after post back
I have an asp.net web page where I need to create dynamic controls like text-box, combo-box, labels etc.
After creating those fields if the page's post back happens all those dynamically created ...
1
vote
0
answers
85
views
WebControl in a separate process stealing focus revisited
I need to process AJAX in my crawler and would prefer using system browser albeit I may have to change my mind. My crawler program may generally be working in background while the user can work on ...
0
votes
1
answer
173
views
Calendar.aspx.cs Cell.Text is duplicating
We're trying to populate a Calendar for our Installation Team that shows distinct values from a query of Van Number and Install Time on each date in the calendar. We have it so there's a clickable ...
0
votes
1
answer
444
views
Autohotkey (AHK) web page select file dialog
I have input on web page, which allows to select file:
<input name="amount_name" class="form-control" id="amount_input" aria-invalid="false" type="text" value="">
<input name="file_name" id="...
0
votes
0
answers
73
views
Which ASP.NET control to choose
I am making a web app in which I would like to create my own control. According to [tutorialspoint] there are 5 different types of ASP.NET web controls and I can't decide which to choose.
The control ...
0
votes
1
answer
503
views
Injecting javascript from ASP.NET webcontrol
I'm making an ASP.NET webforms application and I have a problem with injecting a script into the page from a web control. The script is located in the same folder as control:
Screenshot1
So I'm ...
1
vote
0
answers
43
views
How to prevent a textbox inside Webbrowser control from losing focus when user clicks outside webbrowser control? [duplicate]
I have a winform application in which I have a Virtual Keypad. The following code (with textBox1 as winform textbox works fine:
protected void touchScreen1_OnUserControlButtonClicked(object sender, ...
1
vote
1
answer
665
views
Default .NET sanitization on DropDownList (WebControls)
I'm working with legacy code - WebControls with some .NET, got XSS problems.
In my code behind I've got simple DropDownList with ListItems added in a foreach like this:
foreach (string enumValue in ...
0
votes
1
answer
143
views
Odoo adding a Treeview web controller
I've been hammering away at this specific problem for at least 3 days and coulnd't figure out where I'm supposed to modify to add new action to a specific tree view.
Has far as I know, it's supposed ...
0
votes
1
answer
123
views
Eval method don't save results after postback
I'm trying to fix bug in a legacy project on WEB FORMS (.Net 4).
I have some logic at Layout.master (layout for pages) that use control like this:
<uc4:FooterCharity ID="NewsItemUserControl1" ...
0
votes
1
answer
83
views
Bing maps Web Control V7 JS Exception
In my application, I'm using Bing Maps Web Control V7 in witch I'm newbie.
Since nearly two weeks, I'm facing a js level exception
Cannot read property 'id' of undefined
that I'm not able to find ...
0
votes
1
answer
34
views
WebControls From TextBox - Not Saving New Property on Postaback
I am feeling myself an idiot, it should be that simple but it seems it is not working.
Below is my control code.
Imports System.Web.UI.WebControls
Public Class PasswordTextBox
Inherits ...
0
votes
1
answer
397
views
Creating Custom Web Control
I'm trying to create a custom web control, but I have limited experience with Web Forms. How do I access the text passed in between the open an close tags? The control should work like the this.
...
1
vote
1
answer
661
views
How can I contain the size of my literal control?
I'm working on an ASP.NET site and I'm using HttpGetRequest & HttpGetResponse to place the contents of https://news.google.com/news into a literal control on one of my pages.
The problem is that ...
2
votes
1
answer
502
views
update panel webcontrol required form field
I created a simple control which uses an update panel with a button click trigger and yes a script manager above the control. Click the button and a label is updated with the current time and this has ...
0
votes
2
answers
379
views
How to Export Webcontrol table to excel in asp.net mvc
List<Table> t = (List<Table>)GenerateLayout(dtDPList, dtBOList, dpl);
In the list i am getting the 3 Webcontrol table and i want to export those webconrol tables to excel.. so please help ...
3
votes
1
answer
5k
views
Fileupload is not working in Microsoft IE and Microsoft Edge Browser in ASP.NET WebForm
I have a code in VB.NET just to upload a file in ASP.NET WebForm. It is working perfectly in Firefox, Chrome and Safari. But the same code is unable to save the uploaded file in Microsoft Internet ...
1
vote
0
answers
632
views
web control of .net windows form application cant open web.whatsapp.com
Hi I've been doing this project using .Net C# windows form application , I need to open whats app's web link In one of my form
I tried using web control but when i tried to run the application the ...
1
vote
1
answer
966
views
If a control's "visible" property is set to "False" do any of its events fire?
I have a GridView that has its RowDataBound event set.
If I change the GridView's "Visible" property to "False" during a postback caused by another control's event (a button's OnClick event for ...
0
votes
3
answers
2k
views
Behaviour of System.Web.UI.WebControls.Unit
I have a asp:TextBox and I can set the width the following way:
<asp:TextBox runat="server" ID="TextBox1" Width="100"></asp:TextBox>
or
<asp:TextBox runat="server" ID="TextBox1" Width=...
1
vote
0
answers
23
views
Asp.net reuseable control, when directly clicking on file is downloaded with file extension .ashx
I have an asp.net reusable control when directly clicking on file is downloaded with file extension .ashx, that happening only on IE, and its working fine on firefox.
This is how im calling the ...
0
votes
0
answers
93
views
Is this err caused by trying to process too many controls on the web form?
I get this err page:
Server Error in '/EMS/customerreportingnet' Application.
Operation is not valid due to the current state of the object.
Description: An unhandled exception occurred during the ...