Questions tagged [htmlcontrols]
67 questions
-1
votes
1 answer
how can I find the html element with C#
I have this line in my .aspx code:
but when I want to find this element in C#(aspx.cs) and send data for it, C# cant find it this way:
view.Controls.Add(item);
*item is a html element that I made…

amshakur
- 11
- 4
-1
votes
5 answers
How to create HTML output without a) databinding or b) using Response.Write?
Kind of related to my other question - I've only ever used HTMLControls with runat="server" and WebControls grudgingly, preferring to have control over the markup that gets generated (including the ids of the elements, etc.).
What's your suggestion…

nzduck
- 476
- 4
- 12
-1
votes
2 answers
how to invoke html control event without html control
Is it possible to invoke fileupload event at button click?
I need something like this
And invoking fileupload event should come inside buttonClicked() event
function buttonClicked()
{
…

user786
- 3,902
- 4
- 40
- 72
-1
votes
1 answer
Get value of input type number in c#
example:
code behind:
int ASSIGNQTY = Convert.ToInt32((row.Cells[12].FindControl("txtQty") as **?????**).value);

Ketan mevada
- 152
- 1
- 12
-1
votes
1 answer
HTMLUNIT 2.9 jar posting comments
I wrote this code:
import com.gargoylesoftware.htmlunit.BrowserVersion;
import com.gargoylesoftware.htmlunit.WebClient;
import com.gargoylesoftware.htmlunit.html.HtmlForm;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
import…

user1319054
- 41
- 1
- 5
-2
votes
1 answer
Adding video to a webpage using html
I tried to add a video to a webpage. But I think there is an error. can anyone help me to solve this error
-2
votes
2 answers