Tagged Questions
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
13 views
Including version automatically when inserting data into sql server?
I have a dropdown which inserts data into the database using this method:
Session("Name") = Name.Text
The things is I want to track progress for that person so the edit page allows a fresh ...
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
0answers
40 views
How can I determine which element's attribute needs to be modified?
I am trying to visually clean up the appearance of a legacy asp.net page; it seems that something has a border-left and border-right property that I need to get rid of, but I can't determine which ...
0
votes
0answers
14 views
FreeASPupload Not working properly when used with Ajax
I am trying to upload the files to the server using 'FreeASPUpload' control (http://www.freeaspupload.net/)
it is working fine if I use the upload code and the HTML code in the same file .
But i ...
7
votes
2answers
140 views
Why are my cookie settings not being applied?
Based on the answer here: How can I write and read bool values into/from cookies?, I'm trying to implement cookie reading/writing code.
I've got a series of checkboxes on a page whose checked state ...
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 ...
1
vote
2answers
422 views
Possible read webconfig AppSetting in html?
i want to grab an AppSetting key from my webconfig in a regular .htm file - is this possible to do?
Normally id make it into an aspx file so i can do some codebehind something similar but the htm is ...
1
vote
3answers
1k views
HTML: Keep checkbox and associated text together while its container is resized
I have an ASP.Net page which renders checkboxes as below
But when I re-size the screen, the controls are crammed together and the checkboxes & their associated text move into different ...
1
vote
2answers
1k views
Hide unnecessary space when validation error messages are not firing in ASP page
I want to validate some text boxes in ASP.net page. I am using ASP required field validations. And I want to display that error message in top of the page.
<table>
<tr><td ...
0
votes
2answers
1k views
how to render HTML entities to normal character into ASP literal control?
how there,
I've these codes in my DATABASE in other words it's HTML. I tried these stuff:
<div runat="server" id="div1" visible="false">
<asp:Literal ID="literal1" runat="server" ...
4
votes
5answers
16k views
How to read web.config APP key settings in HTML markup
I have an ASP.NET site which uses a 3rd party activeX control. I have to pass a few parameters to the OBJECT tag in the HTML page. If i hardcode these parameters into the HTML everything works.
I ...
122
votes
8answers
50k views
Difference between id and name attributes in HTML
What is the difference between the id and name attributes? They both seem to serve the same purpose of providing an identifier.
I would like to know (specifically with regards to ASP.net web forms) ...
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:
...
207
votes
23answers
90k views
How do you handle multiple submit buttons in ASP.NET MVC Framework?
Is there some easy way to handle multiple submit buttons from the same form? Example:
<% Html.BeginForm("MyAction", "MyController", FormMethod.Post); %>
<input type="submit" value="Send" ...