Questions tagged [htmlcontrols]
67 questions
0
votes
1 answer
Cannot get image file at server side from File Uploader in asp.net
I have html control as fileuploaderand i add runat="server" to it to access it at server side, I don't want to user asp:FileUploader because of its bad css style especially in bootstrap

Waqas
- 847
- 4
- 14
- 36
0
votes
0 answers
input type="radio" with runat="server" ServerChange won't fire
I am aware that I can user RadioButton web control instead of the input type="radio" with runat="server". However, we are trying to modernize our application and trying to stick with HTML5 generic controls (so that they are easy to migrate when we…

socialMatrix
- 1,423
- 5
- 20
- 36
0
votes
1 answer
Error observed after copying code from UIMap.Designer.cs to UIMap.cs
I am getting following error after copying the auto-generated code from UIMap.Designer.cs to UIMap.cs
Ambiguity between 'Test_7.UIReviewyourshoppingcaDocument.UIDJComboBox' and 'Test_7.UIReviewyourshoppingcaDocument.UIDJComboBox'
I am getting this…

Rahul Solanki
- 1
- 2
0
votes
0 answers
Is this a right way to use array names for HTML controls?
Following is my code :

PHPLover
- 1
- 51
- 158
- 311
0
votes
2 answers
Build HTMLTable from C# Serverside with InnerHtml string
I am trying to loop through my client side Html table contents on my c# server side. Setting the Html table to runat="server" is not an option because it conflicts with the javascript in use.
I use ajax to pass my clientside html table's InnerHtml…

clamchoda
- 4,411
- 2
- 36
- 74
0
votes
0 answers
Making GridView with HtmlControls
How can I create a GridView using data from the DataBase was
using System.Web.UI.HtmlControls
namespace and has the following features be?
like this code:
HtmlTable tbl=new HtmlTable();
pagination
sorting
editing field and row
and are…

Takpar
- 29
- 6
0
votes
1 answer
how to traverse grid elements in codedui? getting error while getting each cell's value
HtmlDiv hd = new HtmlDiv(UINewTabWindowsInterneWindow);
hd.SearchProperties.Add(HtmlDiv.PropertyNames.Id, "ContentPlaceHolder1_WebPartManager1_gwpucHorizontalAgentQueueGrid1_ucHorizontalAgentQueueGrid1_bottomWebPartHeaderMiddle1");
…

user3714124
- 1
- 1
0
votes
4 answers
Confused with asp.net controls and html controls
We are plannning to use Ajax in our ASP.net project. However, we still want the member panel of our web site to work in all browsers. We have decided not to use Ajax in some forms where browser independence is must.
I am now confused with whether…

Girish k.
- 81
- 1
- 4
0
votes
2 answers
How to fix Veracode error for InnerHtml
When running Veracode, it generated a bunch of errors pointing to the lines with InnerHtml.
For example, one of those lines is:
objUL.InnerHtml += "" +…

eugene.it
- 417
- 3
- 13
- 32
0
votes
2 answers
Text search in an AIR HTML Control
What are the different options available for implementing a text search in an AIR HTML control? I could think of the following two:
Implement by injecting a custom javascript - the downside is the script may interfere with ones already loaded with…

sangupta
- 2,396
- 3
- 23
- 37
0
votes
2 answers
Adding 'HtmlAnchor' from C#
I want to add a HtmlAnchor to the .ascx control. So far I have the code like this:
private void SetPhoneNumber()
{
HtmlAnchor htmlAnchor = new HtmlAnchor();
const string spanTag = @"m";
…

Coder
- 83
- 1
- 2
- 8
0
votes
1 answer
Html input file control doesn't upload file when used in update panel
Guys I have a form where I am using 2 UpdatePanels. I am facing a problem when I am trying to upload a file using html input file control, it is upload null value. My html input type file control is inside first update panel. Thx in advance for any…
user2164964
0
votes
2 answers
get to file input in loginview from code behind
I'm trying to create a file upload, and am using the HTML control input (file) for this. Since this control is in a loginview, I can't access it directly in code behind and have to use the FindControl function like…

silvdb
- 193
- 1
- 4
- 11
0
votes
1 answer
How to classify and Target "class of controls" as a set
the scenario is like so :
say i have a table , html table , the table has few Controls each has a set of controls,
that is related to that specific , but not necessarily enclosed within the scope.
for example :

LoneXcoder
- 2,121
- 6
- 38
- 76
0
votes
1 answer
How to put Validation in dynamicaly html table with asp.net C#
How to put Validation in dynamicaly html table with asp.net C#? ? I want RequireField and some other validator with this code. .
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
HtmlTable…

kkk
- 273
- 1
- 6
- 20