|
This has been discussed many times before.
There are many solutions. Perhaps the one you would like the most would be to rewrite the URL to some ASPX page.
So if the user types:
http://your_site/download/SomeFile.zip
he would actually access: ../download/download.aspx?File=SomeFile.zip (you can do this in web.config)
and then your authorization settings will apply to that file (your download.aspx file should then output the file to the user).
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
How to to rewrite the URL to some ASPX
pritam Baldota
pritam_baldota@rediffmail.com
|
|
|
|
|
|
CWIZO wrote: Is it really that hard to type "URL rewriting ASP.NET" into google?
Best Regards,
Apurva Kaushal
|
|
|
|
|
YEs
pritam Baldota
pritam_baldota@rediffmail.com
|
|
|
|
|
any body know anything about "how to send or receive sms from an asp.net web application"
pls help me.
i have to send automatic sms when user logs in. and i ahve to receive sms in my application when any user send s it.
pls give some idea
tahnks in advance
sebastian
|
|
|
|
|
|
hers's a lot about sms ; thank you very much
sebastian
|
|
|
|
|
|
Another option is to sign up for an online SMS company that will allow you to send or receive SMS messages via the their API.
A good one i used for a number of project is:
http://www.clickatell.com[^]
|
|
|
|
|
currently, this link doesn't works; surely i will check it later; is there any error inthe url;
thank you very much
sebastian
|
|
|
|
|
thank you dear surely i will go through this
sebastian
|
|
|
|
|
yeah there is something ; thank you very much.
|
|
|
|
|
Let me help you, if you are relationated with XML Web Services, you can use this easy solution.
first.
goes to http://www.webservicex.net/WS/WSDetails.aspx?CATID=4&WSID=60
you will find the Send SMS World Web Service, this web service Send unlimited free SMS to a countries who support it.
Second.
add Web service Reference to your ASP.NET project
the address is http://www.webservicex.net/sendsmsworld.asmx
The name for the reference is in this example is ServerSms
third.
Use the code
try
{
string from = "Emitter E-mail";
string to = "Receiver Phone Number";
string countryCode = new String();
string message = "Hello World";
//Create a object from the ServerSms Class
ServerSms.SendSMSWorld engine = new ServerSms.SendSMSWorld();
engine.sendSMS(from, countryCode, to, message);
Estate.Text = "Your Message was send to " + to;
}
catch(Exception)
{
Estate.Text = "Send message Error"
}
ff
|
|
|
|
|
it is a really nice note. tahnk you very much
sebastian
|
|
|
|
|
hi britneyssssers,
Thanks for you valuable answer.
Thanks & regards,
Suresh Dayma
|
|
|
|
|
hi dear friendz
i want to add columns in datagrid. it is possible to add columns in datagrid by using property builder. but buttons will be added in the left side of the grid. can i place buttons in the right side of the grid.
thanks in advance
sebastian
|
|
|
|
|
The order you yourself can decide. First add the columns and then the buttons you will get the desired result. Also there is up and down arrow key to adjust the position.
Best Regards,
Apurva Kaushal
|
|
|
|
|
thank you. i will check this out.
|
|
|
|
|
always welcome..
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi,
I have a datagrid in which I am showing thumbnails in one column. I want the user to see a large image when he click on that image.
Can any one help me?
Thanks,
Swaroop
|
|
|
|
|
It is upto how you want to perform that. What you can do is on the click of that image open the large image in a pop up page.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Thanks for your reply, but I didn't get when you said open the "large image". There's no such larger version of that image, I have to make it large and my question is how we can achieve this?
Thanks,
Swaroop.
|
|
|
|
|
Sorry, initially ithought that you are having both the images with you and you just want to display the larger one on click of thumbnail.
Probably this article will help you in enlarging the image.
http://www.codeproject.com/aspnet/ASPImaging1.asp[^]
Best Regards,
Apurva Kaushal
|
|
|
|
|
Put it in an Image control and set the heighth and width to values you want and it will stretch the image. It's going to lose quality, but there's no getting around that unless you have the original, larger version.
|
|
|
|