|
Lets say I have a bunch of html files stored on the server..is there any asp .net control that can be used to load a html file inside it and then allow me to change the html page that is loaded in it dynamically? or is there any other way that i can do such a thing??
|
|
|
|
|
Use an iframe or a frameset.
---
Year happy = new Year(2007);
|
|
|
|
|
How can I control the download of a zip file? CodeProject does this. When I click on a zip file link while I am not signed in it redirects me to login page.
Tomorrow is a blank page
|
|
|
|
|
You can simply point the link to a web page, say Download.aspx, instead of a zip file, and then you can authenticate the anonymous user with the ASP.NET.
|
|
|
|
|
Or you can monitor all incoming requests that whether they are authunticated or not in a custom developed http handler.
But be aware of the performance issue.
|
|
|
|
|
Hi,
Uploading file of larger size than specified in config file directly shows
"The page cannot be displayed" page. How can I show message that file uploaded is of larger size than allowed.
Thanks in Advance.
|
|
|
|
|
in the web.config file, go to <httpruntime> and modify the maxRequestLength value
<httpruntime maxrequestlength="1000000kb"> Remember the value is in KB
HC
Best Regards,
Haissam Abdul Malak
My Blog
|
|
|
|
|
sorry but it seems the code has been filtered from the above post
in the web.config file, go to <httpRuntime/> and modify the maxRequestLength value
<httpRuntime maxRequestLength="10000000" />
Remember the value is in KB
Best Regards,
Haissam Abdul Malak
My Blog
|
|
|
|
|
Thanks.
I had already update the maxRequestLength value
in config file .
Problem Is that let i have set maxRequestLength value
for 10MB now if user upload a file of 11MB or more it directly shows
"Page Can not be displayed" page, i have to show message of length of uploaded file is more than allowed.For that where i have to change settings.
|
|
|
|
|
Haissam thanks for your help. I was having this same problem. IS there any concerns or issues I should be aware of when I set the maxRequestLength to a large value like 40000kb?
httpRuntime maxRequestLength ="40000"
Thanks for you help!!
Patrick
|
|
|
|
|
Hi all,
How can I get the virtual directory name at runtime. If possible please give me some code snippet. Thank you.
Regards,
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
use
Request.ApplicationPath
Best Regards,
Haissam Abdul Malak
My Blog
|
|
|
|
|
Hello
I was working on ASP.NET 2003. Now I converted the entire project into VS2005. Everything is working fine. But I am confused about the files to be uploaded ? I could not find any dll like .NET 2003. Please advise me what are the files to be uploaded.
Cheers
Navaneeth!!
|
|
|
|
|
Use the Publish Web Site option in the Build menu.
If you want more control over the deployment, you can download the Web deplyment project add-on for Visual Studio.
---
Year happy = new Year(2007);
|
|
|
|
|
Hi,
I have a GPRS modem with me and i want to send sms with the help of this modem in Asp.net 2003 using vb code.The code shown in http://www.codeproject.com/aspnet/SendingSMS.asp is not working it shows the message "Send Successfully" but no message is not received.
Please help with a code .Is it possible to code to send sms using Component similar to coding in VB or is it possible to integrate the vb code with Asp.net to send sms if so how.
Thank You
Anju
|
|
|
|
|
Could anyone assist me. I want to write an asp.net to access data from another web page(containing Data in table format).
t.aransiola
|
|
|
|
|
what you can do is to add that table in the session state and in your another webform retrieve it from the session
Best Regards,
Haissam Abdul Malak
My Blog
|
|
|
|
|
I am not the originator of the Page. I just want to extract the data from another person web page and use it for analysis
t.aransiola
|
|
|
|
|
Hi All...
I have a login page(page1) that checks the user name and his password for a user, when the authorized user goes into the next page(page2)-I initialize an (ID session) and then when he loggs off I empty the session...
but, by the back button he could return back again to the 2nd page (and this is the problem )...
Could you help me..
Thanks alot...
Nour
|
|
|
|
|
Remove the cache of the page in this way when he returns back using the back button of the browser the webform will be prcossed again on the server.
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Best Regards,
Haissam Abdul Malak
My Blog
|
|
|
|
|
Hi all I want to get the value of a auto generated column in edit mode means the value in the text box which is automatically generated when we press edit button. in a gridview
Thanks & regards
Smruti
Smruti
|
|
|
|
|
Hey,
There are lot Examples given Here[^]
Regards,
Satips.
|
|
|
|
|
thanks satip
but I am unable to fiend what I am looking for. My problem is, I can not find the control in auto generated column in edit mode because I don’t know the control id the text box is auto generated. I want find it in RowEditing event
Thanks & regards
smruti
|
|
|
|
|
hi,
i am makarand jadhav,
I am developing a site for document exchange. in this site client will send description of document to site and site will atomaticly send related documet to that email address. and if client send document and discription then releted document will be uploaded by ftp.
The issue which i have how to catch email address and documnent send to the site .
One way i got is through exchange server if this is right approch then how to configure it for this
what is pop3 component use for
it is urgent
thanks in advance
|
|
|
|
|
Hey
you can get all the details about sending Email Here[^]
Regards,
Satips.
|
|
|
|