|
Hope you are talking about the browser back button.
You cannot disable the back button if the browser instance is opened and your URL is typed in the address bar.
However you have control over the window which you are opening from your code.
So the only way to solve your problem is to have a default startup page in which you have to do a opendialog for your homepage and pass the arguments disbaling the menu bars and titlebars.
|
|
|
|
|
mr sundar,
its ok , i understand and know what you are telling.
thanks for replying.
but the scenario here is,
i am calling this page from a third party say like pay pal(after success full trans). in this case how can i give those things like disabling browsing button and all, can u please rpely
|
|
|
|
|
Sorry, i am not getting you.
Can you paste the code here ?
|
|
|
|
|
In my form, I have Update Panels and also Update Progress Controls. I want the UpdateProgress controls should not fire and shows the text "Loading..." when the SelectedIndex is -1. Is it possible to do so? If so, how? Anybody can provide any help on this? Thanks in advance.
Following is the code I have written:
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:DropDownList ID="UserTypeList" runat="server" AppendDataBoundItems="true"
Width="155px">
<asp:ListItem Selected="True" Text="--Please Select--" Value="-1"></asp:ListItem>
</asp:DropDownList>
<asp:UpdateProgress ID="UpdateProgress1" AssociatedUpdatePanelID="UpdatePanel1" runat="server" >
<ProgressTemplate><span class="ProgressBar" >
Loading...</span>
</ProgressTemplate>
</asp:UpdateProgress>
</ContentTemplate>
</asp:UpdatePanel>
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
It seems NO, you can set 'Loading' text to 'UpdateProgress'.
it will display 'Loading' when the page is loading...
check out this
|
|
|
|
|
Give an id for the span say "spanProgress"
Add handlers for beginrequest and endrequest
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(onBeginRequest);
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(onEndRequest);
function onBeginRequest()
{
//add your logic for checking SelectedIndex == -1 and then hide the span
//by setting document.getElementById("spanProgress").style.display="none";
}
function onEndRequest()
{
//enable the span here
}
|
|
|
|
|
Could someone help me with the following issue:
I'am a neewby with asp.net and trying to create a webapplication with a
connection to a database. the application contains a gridview with 2 columns:
lets's say "datafile" and "size". i want to change the column "size" with a numericupdownextender
inside the grid and of course the data in the "size" column is bind with the database. when the user
increases the value in the grid with the numericupdownextender i want only those records to be put inside a textfile and mail it. i hope this all is clear. the mailing part i understand, but the other things not. i hope someone can help me with a simple example.
thanks
modified on Tuesday, January 27, 2009 10:42 AM
|
|
|
|
|
bryanvanritter wrote: i hope someone can help me with a simple example. you can e-mail me at: b.vanritter@erasmusmc.nl
www.RentACoder.com
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
|
Atleast shows us what you have done till now...and come up with the points where you are facing difficulty.
It is really rude to give the requirements and expect someone to code for you.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
i don't think it is rude, but i don't even want to go into discussion with someone who makes those remarks. if you have a problem and you don't know the answer it is quite common to communicate in a civil way about this. why else do you buy books with examples and does the internet exists with loads of comments and examples about things. isn't that the way you began when you first started programming. so please don't go this way and act like an adult or else don't reply on this post.
|
|
|
|
|
i am reading a line from text file using system.io.streamreader.
now after closing that object, i want to delete the same line using something.
what control i need to use so that i can read that and after delete the line?
|
|
|
|
|
StreamWriter
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hi every body
i`ve Asp.Net project built in vs 2005 and ado.net
now i update this project to vs 2008 and use linq in it
i`ve built linq to sql class and get all tables and the procedures in it
but when i use any procedures in any page i found all the variables in this page doesn`t have any value and give me "property evaluation failed"
Sesseions, Viewstate, Variables
all of this give me the same error "Property evaluation failed"
plz any body can give me the solution ??
|
|
|
|
|
|
Tell me Something,
Do you really understand what that vb6 DLL does ? if you do why don't you write the Functionality in .NET
With VB6 stuff you will always have Problems when you bring them to the world of .NET
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswam@its.co.za
|
|
|
|
|
|
Well, he could just call you a moron. He'd not be far from the truth if he did.
I don't see how you have the right to feel entitled, you're asking us to do your job, for free.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Deleting your messages just makes you look worse.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Fix the dll, or it's config. Read the docs that came with it, if you didn't write it. Or, as someone said, get out of the dark ages and stop using anything written in VB6.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hi i am doing an application from which i have to send a mail to the peoples of which i can get the mail ID from the text box.
this is the code i have written.
using System.Net.Mail;
using System.Web.Mail;
System.Web.Mail.MailMessage mail = new System.Web.Mail.MailMessage();
mail.To = emailID.Text.ToString().Trim();
mail.Subject = "Focus Consultancy Online Test-User ID & Pasword";
mail.BodyFormat = MailFormat.Text;
mail.Body = "this is the test mail";
SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(mail);
this is the error i got,
The server rejected one or more recipient addresses. T
he server response was: 550 5.7.1 Unable to relay for xxx@xxx.com
Please help me in solving this
|
|
|
|
|
Hema Bairavan wrote: SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(mail);
Did you configure SMTP server Properly ?
|
|
|
|
|
Thanks for your reply mr Abhijith.
i searched in net how to configure the SMTP server, but i dont get any good resources.
can you please help me?
|
|
|
|
|
|
Make sure all email addresses specified at MailMessage.To, MailMessage.Cc, MailMessage.Bcc and MailMessage.From are valid email addresses.
Make sure you have permissions to relay through the server.
Make sure the MailMessage.From has permissions to relay through the server.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|