Tagged Questions
-3
votes
1answer
31 views
Link to a store depending on location
I have a main international website! but two stores! From america and from australia.
in the items feature pages I have a button "buy it now"! identifying the users location The button has to decide ...
0
votes
0answers
16 views
model binding - one child of complex object overwrites another child
I'm looking to solve a model binding problem.
When the html posts back, it bind a complex object called 'viewData'. 'viewData' has several complex children objects, two of which are "ProjectsList" ...
2
votes
2answers
65 views
“The parameters dictionary contains a null entry…” Error
Basically I am a Winforms guy. Learning ASP.Net and MVC and stuck in a problem.
I have page with name Calculation. Contents are as follows
<asp:Content ID="aboutContent" ...
0
votes
0answers
14 views
Combine Coded UI Test HTML Logs?
After running my Coded UI tests in Visual Studio 2012 I wanted the test results to be logged to an HTML file. After following this tutorial I was able to achieve this.
Unfortunately, every single ...
0
votes
0answers
18 views
C# Skype4Com send HTML message
I've delayed asking this question as long as I can, but I still cannot find an answer anywhere (Or even a question!). As most Skype users likely know, there was a version (5.7 I believe) that could ...
0
votes
1answer
16 views
Find width of li, based on text before creation
I am going to create a <li> tag, which will have an anchor inside it as innerHTML. I had text of the anchor based on that I want to calculate the width of the <li> going to be before ...
0
votes
1answer
17 views
Issue of not playing video
I have a issue on not playing video in play.aspx page im getting id in Url like this
play.aspx?id=1
when user get th play.aspx page for watch video i write a code in paly.aspx page on in html tag ...
0
votes
1answer
31 views
How to render a list string that hold html tags as string value
I have a list of alot of index that holds html tags like <input>, <select> and <td>. My problem is that when rendering those values, it just prints its normal values not as html ...
1
vote
2answers
37 views
Clarification on temporarily disabling a submit button for a number seconds, then re-enable it?
This is similiar to another question that was asked however the form will not submit.
Basically what I am trying achieve here is that once the user clicks the "submit" btn , the btn is disabled until ...
0
votes
1answer
81 views
3 Flexible divs inside a flexible parent div
I am trying to get 3 flexible images to line up horizontally and stay within the confines of their flexible div container which has a flexible background,
the background of the container and the 3 ...
0
votes
3answers
3k views
HTML.textBoxFor(x=>x.Price, disabled = true) doesn't post the value to the controller post action!
Asp .net MVC 3 application...
This is the View:
Grupa: <%= Html.DropDownListFor(x => x.Grupa, Model.ListaGrupe) %>
Produsul: <%= Html.DropDownListFor(x => x.Produs, ...
39
votes
4answers
23k views
Escape text for HTML
How do i escape text for html use in C#? I want to do
sample="<span>blah<span>"
and have
<span>blah<span>
show up as plain text instead of blah only with the tags part ...
38
votes
12answers
54k views
Generating HTML email body in C#
Is there a better way to generate HTML email in C# (for sending via System.Net.Mail), than using a Stringbuilder to do the following:
string userName = "John Doe";
StringBuilder mailBody = new ...
221
votes
2answers
95k views
How to use HTML Agility pack
How do I use the HTML Agility Pack?
My XHTML document is not completely valid. That's why I wanted to use it. How do I use it in my project? My project is in C#.
54
votes
8answers
41k views
How can I strip HTML tags from a string in ASP.NET?
Using ASP.NET, how can I strip the HTML tags from a given string reliably (i.e. not using regex)? I am looking for something like PHP's strip_tags.
Example:
...