|
File upload control with update panel problem is common.
I try with trigger but file upload is working only at second attempt.
in first fileupload control not fetch any file from disk
why this?
|
|
|
|
|
can you post your code please, the explanation is not great
We are not a Code Charity
|
|
|
|
|
we cant upload a file from Upload control in update panel without
we give Trigger to Uploade button in client side. but my problem is that
in code behind
if (fileupload1.HasFile)
{
}
this condition become false in first time I upload File from Fileupload1.
After the first attempt we can fetch the file in any time and above condition become true ; got ?
|
|
|
|
|
When the does the file upload get the file, after this event or beforE?
We are not a Code Charity
|
|
|
|
|
Sending sms to mobile from asp.net without payment is possible ?
if yes or no ? give me both
|
|
|
|
|
Masood Epy wrote: Sending sms to mobile from asp.net without payment is possible ?
I don't think so
Masood Epy wrote: if yes or no ? give me both
You mean Yes and NO ?
|
|
|
|
|
I already met a code(without payment) in codeproject but its not working.
if any possible way explain that? Your jok is not sutable in my webpage.
|
|
|
|
|
Masood Epy wrote: I already met a code(without payment) in codeproject but its not working.
If it is in an article, that article will have a discussion board which you can use to contact the author, but it's very tough to get a provider who offer free service.
|
|
|
|
|
Masood Epy wrote: Your jok is not sutable in my webpage.
Oh dear that person will be so disappointed
Masood Epy wrote: I already met a code(without payment) in codeproject but its not working.
When you say payment are you talking about paying for the code? or the network charge?
There is no way to send a text to a phone without paying a fee to the network.
We are not a Code Charity
|
|
|
|
|
|
hi,
How we can get web browser height and width information on the same page.If anybody knows plz reply me.
.Thanks
Rajendran.AL
|
|
|
|
|
r aa j wrote: How we can get web browser height and width information on the same page.If anybody knows plz reply me.
using javascript,you can get window height and width by using
window.screen.height and window.screen.width
regard
kHan
please don't forget to vote on the post that helped you.
|
|
|
|
|
In Any asp.net discussion forumn, programmers are discussed about sending mail through smtp mail, i didnt see How we can recieve mail and store in to database ?
help me: pm.masood@gmail.com
Thanks in advance
|
|
|
|
|
By setting up a mail server that listens for emails. Then you can store them whereever you like. A web page cannot recieve mail, obviously. It *can* provide a view into a back end that does receive mail.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks for reply
How we can setting up a mail server
|
|
|
|
|
I think you should try googling your question and you will find many articles on it
We are not a Code Charity
|
|
|
|
|
Adding to what Christian said, if your mail server supports POP3, then you can use that and get messages from the mail server. Read the tutorials on using POP3.
|
|
|
|
|
I am Retrieving binary data of image from database. I want When I retrieve it is Displayed on Image Control Directly.
I am Getting image bytes of image using code
Dim imageBytes() As Byte
imageBytes = sqlCommand.ExecuteScalar()
Please Help
|
|
|
|
|
This gets asked so often. And I know there are articles about it.
your img control needs to point to a HTTP handler that takes an image ID on the URL, reads the data and streams it back.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks For Reply
Can You Suggest me any URL Which will be helpful to me.
|
|
|
|
|
Hi Guys,
I have a doubt on how security is implemented when calling a webservice using javascript.
My concern is that when the application is running in http any one can easily know which javascript function is called and which webservice function it is calling and the location of the service also.
In this case how do you know if it comming from the right source or not ?. What are the ways security can be implemented in thie scenirio?
Thank in advance for your advice.
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Hi all
I am implementing print configuration functionality on button click:
I am using following code:
protected void lnkButton_Click(object sender, EventArgs e)
{
StringBuilder sb = new StringBuilder();
sb.AppendLine(" var popup = window.open( '','popup','toolbar=no,menubar=no,scrollbars=1,width=750,height=800');");
sb.AppendLine("popup.document.write('debugger');");
sb.AppendLine("popup.document.write('<html><head>');");
sb.AppendLine("popup.document.write('<title>Configurations for ACA</title>');");
sb.AppendLine("popup.document.write('</head><body>');");
sb.AppendLine("popup.document.write('<div id='lnk' class='noprint' style='text-align:right'>');");
sb.AppendLine("popup.document.write('<a href='# onclick='window.print();return false;'>Print</a>');");
sb.AppendLine("popup.document.write('<a href='#' onclick='window.close();return false;'>Close</a>');");
sb.AppendLine("popup.document.write('</div>');");
sb.AppendLine("popup.document.write('<table border=1px style=width:500px; margin-left:100px; margin-top:50px; border-color:Maroon; >');");
sb.AppendLine("popup.document.write('<tr><td>');");
sb.AppendLine("popup.document.write('This is my string');");
sb.AppendLine("popup.document.write('</td><td>')");
sb.AppendLine("popup.document.write('" + MyString + @"');");
sb.AppendLine("popup.document.write('</td></tr></table>');");
sb.AppendLine("popup.document.write('</body></html>');");
Page.ClientScript.RegisterStartupScript(this.GetType(), "OpenWindow", sb.ToString(), true);
}
when I am executing this code, I am getting an exception on line
sb.AppendLine("popup.document.write('<div id='lnk' class='noprint' style='text-align:right'>');");
Can anyone please give me suggestion what is wrong?
Many thanks.
|
|
|
|
|
you used single quotes for both the text, and the inner text. This won't work, you need to use double quotes for the attributes, or the string literal.
sb.AppendLine("popup.document.write('<div id="lnk" class="noprint" style="text-align:right">');");
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thank you very much, this was helpful.
I have another problem now:
When I click on "Print" on pop up window, it does not open Print dialog box. When I wrote the client side javascript, it does open Print dialog box with printer listed.
Can anyone please what improvement should be done in the code? my code now look like
protected void lnkButton_Click(object sender, EventArgs e)
{
StringBuilder sb = new StringBuilder();
sb.AppendLine(" var popup = window.open( '','popup','toolbar=no,menubar=no,scrollbars=1,width=750,height=800');");
sb.AppendLine("popup.document.write('<html><head>');");
sb.AppendLine("popup.document.write('<title>Configurations for ACA</title>');");
sb.AppendLine("popup.document.write('</head><body>');");
sb.AppendLine("popup.document.write('<div id=\"lnk\" class=\"noprint\" style=\"text-align:right\">');");
sb.AppendLine("popup.document.write('<a href=\"#\" onclick=\"window.print();return false;\">Print</a>');");
sb.AppendLine("popup.document.write('<a href=\"#\" onclick=\"window.close();return false;\">Close</a>');");
sb.AppendLine("popup.document.write('</div>');");
sb.AppendLine("popup.document.write('<table border=1px style=width:500px; margin-left:100px; margin-top:50px; border-color:Maroon; >');");
sb.AppendLine("popup.document.write('<tr><td>');");
sb.AppendLine("popup.document.write('This is my string');");
sb.AppendLine("popup.document.write('</td><td>')");
sb.AppendLine("popup.document.write('This is my string');");
sb.AppendLine("popup.document.write('</td></tr></table>');");
sb.AppendLine("popup.document.write('</body></html>');");
Page.ClientScript.RegisterStartupScript(this.GetType(), "OpenWindow", sb.ToString(), true);
}
Many thanks...
|
|
|
|
|
Dear All,
I have a web application, for which a virtual directory has been configured for e.g "Users" and this can be accessed by the users by typing the URL www.MyAppl.com.
If the user types in www.MyAppl.com/Admin, then the web application has to redirect to a page which is outside the Virtual directory with the name of the folder "Admin".
Can any one help be how to perform this?
Thanks a lot in advance.
Best Regards,
M. J. Jaya Chitra
|
|
|
|