|
There are various ways that you can try and stop this behaviour but bottom line is you can't 100% gaurantee control over the client, its just not possible (and bad practice anyway - breaking back button behaviour can confuse users). Whatever problem this is causing you I suggest you find another way round it on the server.
|
|
|
|
|
clear all the textboxes after saving the records and then redirect user to another page.
Best Regards
Pathan
GOD HELP THOSE WHO HELP THEMSELF
|
|
|
|
|
Hello EveryOne,
i am unable to pass querystring with url.
Actually i have taken an hyperlink in datalist and on the click event of dat hyperlink i want to send an id along with url i am using this :
<asp:HyperLink ID="abc" runat="server" Text="button" NavigateUrl="abc.aspx?id=" + '<%#DataBinder.Eval(Container.DataItem,"Id")%>'></asp:HyperLink>
but i am getting errors like server tag not formed well
Help needed
rahul saini
|
|
|
|
|
<asp:HyperLink ID="abc" runat="server" Text="button" NavigateUrl="abc.aspx?id= <%#DataBinder.Eval(Container.DataItem,"Id")%>"></asp:HyperLink>
Try this
Cheers
Navaneeth!!
www.w3hearts.com
-- modified at 6:28 Monday 12th March, 2007
|
|
|
|
|
Hi,
I their is nothing in your rply pls rply me again.
Thanks
Rahul
rahul saini
|
|
|
|
|
|
Hi,
No its not working still getting error "The server tag is not well formed "
<asp:HyperLink ID="abc" runat="server" Text="button" NavigateUrl="abc.aspx?id= <%#DataBinder.Eval(Container.DataItem,"Id")%>"></asp:HyperLink>
Regards
Rahul
rahul saini
|
|
|
|
|
Try this one..
<asp:HyperLink ID="abc" runat="server" Text="button" NavigateUrl="abc.aspx?id=<%# DataBinder.Eval(Container.DataItem, "Id")%>" />
Koushik
|
|
|
|
|
Hi Pavan,
Sry it also not working still getting the same error.
Regards
Rahul
rahul saini
|
|
|
|
|
'abc.aspx?id=<%# DataBinder.Eval(Container.DataItem, "Id")%>'
you must use within single quotation mark
|
|
|
|
|
Try using <a href rather than going for hyperlink button ?
Cheers
Navaneeth!!
www.w3hearts.com
|
|
|
|
|
Hi Navaneeth,
Its working with href.
Thanks
But i have use only button
and have found the sollution by using this
<asp:HyperLink ID="abc" runat="server" Text="button" NavigateUrl='<%#"abs.aspx?id=" + DataBinder.Eval(Container.DataItem,"Id")%>'/>
thanks for your help
Regards
Rahul
rahul saini
|
|
|
|
|
try this one..
NavigateUrl='<%#"abc.aspx?ID="+DataBinder.Eval(Container.DataItem, "Id")%>'
Koushik
|
|
|
|
|
This is to do with your quote usage and positioning I'd reckon. try;
<asp:HyperLink ID="abc" runat="server" Text="button" NavigateUrl='abc.aspx?id=<%# DataBinder.Eval(Container.DataItem, "Id")%>' />
<div class='ForumSig'></div>
|
|
|
|
|
hai monusaini,,try this one
<asp:hyperlink id="abc" runat="server" text="button"
="" navigateurl="<%#"abc.aspx?id=" + DataBinder.Eval(Container,"Dataitem.ID")%>">
|
|
|
|
|
Hurrey,
Its working
Thanks
Rahul
rahul saini
|
|
|
|
|
Hi All,
How do I read the Inbox of Outlook.I am using ASP.NET 2.0(VB).Please help me in code as I did lot of research on internet, but I couldn't find any code for the same.
Thanks in advance...
|
|
|
|
|
varshavmane wrote: I did lot of research on internet, but I couldn't find any code for the same.
Try for accessing pop3 using ASP.NET
|
|
|
|
|
Hi Navaneeth,
Thanks for the reply.Would u please tell me what do I start with it.
Thanks.
|
|
|
|
|
I don't have much experience with implementing this. I tried SMTP and it was working. Some mail providers won't support pop3 for free. So I recommend for testing you can use Gmail which will support SMTP and POP. In code project i found one article for implementing pop3 for ASP.NET. Check out that
|
|
|
|
|
Would u please send me the link.Thanks
|
|
|
|
|
Navaneeth,
.NET 2.0 does not have Classes to check the Incoming Mails (POP3). We have to use sockets (Kinda TCP/IP, I don't know much about socket) to receive the mails.
|
|
|
|
|
Hi thanks for the reply.
Actually I some code on Internet but trying to understand the code.Following is the code
The appropriate assemblies will then be installed in the GAC, and you can then add a reference from your Visual Studio project to Microsoft.Office.Interop.Outlook.dll.
Add an appropriate using clause:
using Outlook = Microsoft.Office.Interop.Outlook;
Then you should be able to instantiate an Outlook object and make requests of it:
Outlook.Application app = new Outlook.ApplicationClass();
Outlook.NameSpace NS = app.GetNamespace("MAPI");
Outlook.MAPIFolder inboxFld = NS.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox);
This will give you access to inboxFld, which will allow you to iterate through the contents of the inbox! You can also change this to iterate through notes, or through calendar entries, tasks, etc. as you want.
For example, to iterate through your mail you can do:
foreach(Outlook.MailItem t in inboxFld.Items)
{
Console.WriteLine(t.Subject);
}
Now you can search for your particular mail using t.Subject and
foreach(Outlook.Attachment Atmt in t.Attachments){
'save the attachment to some filename, just for ex., c:\test.doc
Atmt.SaveAsFile "C:\test.doc"
}
|
|
|
|
|
Is this method working correctly ?
|
|
|
|
|
I dont know I am trying to add the reference Microsoft.Office.Interop.Outlook.dll but I am not able to add that.
Please tell me u know..
|
|
|
|