|
I have deploy my web application in IIS 7.0 and I get below error
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
It is possible that a handler mapping is missing. By default, the static file handler processes all content.
The feature you are trying to use may not be installed.
The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.)
If ASP.NET is not installed.
|
|
|
|
|
IIS7 is not configured properly.
pls configure that one correctly and deploy it.
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
|
Ok guys, so this one is sort of hard to describe, but here it is...I have a label inside a div. The div tag has a style element which is setting up fonts and stuff like that on the label....the text of the label is set somewhere else, it's a separete mechanism similar to resx files...so I can't just simply say <h1> Blah blah </H1>...so I need to set some property either on the label itself, or on the div tag that can display the text as H1 heading.
This is what it has in the style attribute of the div
<pre><div style="margin: 0px; font-family: Tahoma, Arial, Verdana, sans-serif; font-size: 11px; font-style: normal; font-variant: normal; border-bottom: white 5px solid;">
<asp:Label ID="lblMyLabel" Font-Bold="True" runat="server" />
</div></pre>
I know it's gotta be pretty simple, but i can't seem to find the right property to set either on the div or on the label which will convert the text size to H1.
I realize that i can accomplish the same using font size or somethihng else, but they want to be able to see <h1> tag around the text of this label, when viewing the view source (rendered html).
Any thoughts please!
|
|
|
|
|
Well, h1 is a tag not a property. so you cannot set it to your Label control.
I could suggest the following:
1. Instead of Label, use h1 tag with runat="server" and a unique id. Then you can
access and change the header from you code behind.
<h1 id="MyHeader" runat="server"></h1>
MyHeader.InnerHtml = "Blah Blah Blah...";
2. Instead of using Label, use Literal Control and form the tag from
where ever in code behind you want.
Hope this will help.
|
|
|
|
|
I have an asp label in a table as shown below. The label text is set in the codebehind. I would like the table column to stretch when the label text is to long to fix instead of it wrapping to the next line. How can this be accomplished?
<table cellpadding="0" cellspacing="0" style="width: 100%;">
<tr>
<td style="width: 250px">>
<asp:Label ID="Label2" runat="server" Text="Label" Font-Size="9pt"></asp:Label>
|
|
|
|
|
You're getting just what you've asked for. The width is set to a specific value, 250px, and the rendering engine is honoring that. Remove the width or possibly use a percentage rather than a fixed value.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Try No Wrap for the text inside the your td:
<td style="white-space:nowrap;">
It will stretch the text inside your table cell.
Hope this will help.
|
|
|
|
|
To Control the text don't wrapped ,Just add a style "white-space:nowrap" to "Label2".
**:It's not good to adding this style about "td".
Sample:
<br />
<table cellpadding="0" cellspacing="0" style="width: 100%;"><br />
<tr><br />
<td style="width: 250px"><br />
<asp:Label ID="Label2" runat="server" Text="Label" Font-Size="9pt" Style="white-space: nowrap"></asp:Label><br />
</td><br />
</tr><br />
</table><br />
|
|
|
|
|
remove "width:250px"
April
Comm100 - Leading Live Chat Software Provider
modified 27-May-14 8:54am.
|
|
|
|
|
Hi All
I am using Password recovery control of asp.net.
Please tell me how to force user to change password after password
recovery.
And I want to force user to change password after every 60 days.How can i force user to change
password after every 60 days.
I do not want to write custom code.Can I achieve this with the login
controls(PasswordRecovery,ChangePassword,Login etc) provided in asp.net
Googling did not helped me.
Please help
Thanks
Regards
Sandeep
|
|
|
|
|
THE SK wrote: I do not want to write custom code.
Good luck because that is the only way you're going to be able to accomplish it.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
As Mark Says just to do the custom coding then only you will understand the scenario and also in depth of coding.
Sathesh.
Blessed is the season which engages the whole world in a conspiracy of love.
|
|
|
|
|
When I reply to a message there is a buttom called Quote Selected Text. How do I make this? what is the code to make this?
|
|
|
|
|
It's a lump of javascript.
If you ask Chris (or the hampsters) realy nicely, he might let you have a copy...
All those who believe in psycho kinesis, raise my hand.
|
|
|
|
|
var panel = "<%=clientPanel.ClientID%>";
function hidePanel() {
document.getElementById(panel).style.display = 'none';
}
worked fine! Thanks.
I tried to use 'display' as a value in place of 'none' to see if i could display the hidden panel but it returned error.
Please help me out.
|
|
|
|
|
use display= 'block' i think this may work for you
|
|
|
|
|
It just worked fine.
Thank you million times.
|
|
|
|
|
You also can use display= '' .
Cheers!!
Brij
|
|
|
|
|
Hi world
I wanna tree menu (Javascript)
|
|
|
|
|
jojoba2010 wrote: I wanna tree menu (Javascript)
This is not the way to get help here, it merely makes it appear that you are too lazy even to type "tree menu javascript" into Google.
MVP 2010 - are they mad?
|
|
|
|
|
Sorry
but i wanna that the menus open in left hand !
|
|
|
|
|
Did you understand, what Richard MacCutchan said? Don't think so.
|
|
|
|
|
Well, post the code you have and show where it doesn't work. Or use google to get some examples.
Bob
Ashfield Consultants Ltd
Proud to be a Code Project MVP
|
|
|
|
|
I need a program in PHP which can extract the hidden biders from ebay.I will have to insert the item number and the program must show me all bidders of the auction and their emails.
Also the same program must extract the registered contact information for any specified bidder specially the email address
I will pay for this
If someone can help please contact me at totos_back@yahoo.com
Thanks
|
|
|
|