|
hi guys.. i just opened a new asp webform and wrote "hello world" in the wysiwyg editor of visual studios 2005 and ran it, and it worked fine in my system. but when i uploaded it to my website it is showing an error page asking me to put a customerror tag with mode set to "off" and i did exactly as it said <customerrors mode="Off"> but still it is showing the exact same error page... what is the problem ... my web hoster do has an asp server running..
|
|
|
|
|
This error is masking the true error you are recieving as the Web.config file of your application has the customErrors tag mode attribute not set to "off". Open the Web.config file of your application and update the customErrors tag as follows:
<customErrors mode="Off" />
Clean code is the key to happiness.
|
|
|
|
|
hii newc1 thanx for replying. but i figured the source of the problem..
its not with the code.. its the prob with the webhosters.. the asp server which was running was 1.0 where as mine required 2.0 so iv asked them to upgrade it.. hopefully things should get normal once it is upgraded..
|
|
|
|
|
iam having a button where i want to click two javascript functions at a time how this is possible
|
|
|
|
|
Simplest way is to call the first method in onclientclick and then call the second method inside first method.
Arun J
|
|
|
|
|
No, the simplest method is to call both in the click event handler.
function OnClick()
{
Method1();
Method2();
}
only two letters away from being an asset
|
|
|
|
|
separate the two calls with a semicolon.
OnClientClick="function1();function2();"
|
|
|
|
|
Calling of multiple functions of javascript on client click is very simple.
onclick='javascript:function1();javascript:function2();'
Hope this will help you.
Thanks & Regards
Dilip Kumar Vishwakarma
|
|
|
|
|
and you're telling me this because....?
|
|
|
|
|
How to wrap the words in a GridView
Regards,
LEE
|
|
|
|
|
Take Edit columns from the smart tag of grid.And select the bound field u want to wrap.And take Itemstyle from the Field properties.Inside that a property is there.ie,wrap,set that value.Headerstyle also have this property.
Arun J
|
|
|
|
|
Hi,
I am placing custom error code in web.config.I just want to redirect it to some page(different Page that will show only that your session have been expired.)
when session expires for the application.Code is something like
<customerrors mode="On" defaultredirect="error.htm">
<error statuscode="500" redirect="CustomerError500.aspx ">
(I am using ASP.NET 1.1)
Can anyone plz let me know the Status code for the session expired???
Thanks in Advance
adil kazmi
|
|
|
|
|
Did you forget to click 'Ignore HTML tags'? I can't see any code.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
I m sorry..
here is the code...
<customErrors mode="On" defaultRedirect="error.htm">
<error statusCode="500" redirect="CustomerError500.aspx "/>
</customeErrors>
adil kazmi
|
|
|
|
|
Hi Friends,
I have one doubt,how to store images in the database and retreive images from the database to the datagrid.Kindly send me the coding if possible.
Take Care
Thanks & Regards
Senthil Kumar
|
|
|
|
|
senthilsstil wrote: have one doubt,how to store images in the database and retreive images from the database to the datagrid
First google the the subject i think you will get n number of examples there
Keep in mind google is your best friend
senthilsstil wrote: Kindly send me the coding if possible.
Never ask for code. try your self first,show your efforts that you put.
It's matter because you are not going to learn any thing by behaving like this
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
modified on Thursday, January 31, 2008 7:25:45 AM
|
|
|
|
|
Hi Sandeep,
Thanks a lot,i will search in google.
Take Care
Thanks & Regards
Senthil Kumar
|
|
|
|
|
Hi Friends,
I have one doubt,how to store images in the database and retreive images from the database to the datagrid.Kindly send me the coding if possible.
Take Care
Thanks & Regards
Senthil Kumar
|
|
|
|
|
senthilsstil wrote: Kindly send me the coding if possible
I'll will send you the code (if possible). Please don't double post.
- Regards - J O N
A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers
|
|
|
|
|
Hi John Prabhu,
Sorry for sending double post.
Thanks & Regards
Senthil kumar
|
|
|
|
|
Hi,
You should investigate methods of storing / retrieving your database images as Binary Large Object (BLOB) data. Check out the below for which should help:
http://support.microsoft.com/kb/258038
Clean code is the key to happiness.
|
|
|
|
|
I enter user details like name,address etc.I want to display these details in a table.But when i display it the address not come in proper way.How can i display the address in proper way.
For entering i used textbox with multiline property.
|
|
|
|
|
Is there any problem in using the TextBox control to display the address by setting the MultiLine and Read-Only property to True or by setting the enabled property to false?
If you wanted to display multi-line text in a lable control, then you can add Environment.NewLine at the end of each line. I hope this solves your problem.
- Regards - J O N
A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers
|
|
|
|
|
Check the html that ASP.Net emits. Even though the people input "foo {newline} bar {newline} err", and that gets saved to the database, you will need to replace the newline characters with the BR tag. Your html will have new line characters in it, but they will be ignored by the browser.
|
|
|
|
|
I want to open a Word doc on aspx page. Even though at temporary location. There is a tool which will convert the Word to XML and we can post it back to server. So my primary requirement is to load and make any changes to it from ASPX page.
What will be the approach or can some one tell me the code to perform the task. I know there are libraries available for MS Word. We can create word files but I am not sure how can we edit them after loading on ASPX page.
I tried using IFRAME. The word doc opens in a new window out side the application. I want it to open the word file in a ASPX page
Regards,
Pavas
|
|
|
|