|
i can give you a idea.
when a user is logoff you application that time you have to call a another form (like "logout.aspx" )for stoping in to user go back.
now you can write a javascript on Body tag window.open(index.aspx");
wirte in Header Tag
<code><javascript>
function logout()
{
window.open(index.aspx");
}
</javascript></code>
call this function on body load.
<big><b><body onload="logout()"></b></big>
i thing this is very help full for you.!
Cheer
Pavan Pareta
|
|
|
|
|
Hi All
I need to generate multiple line charts dynamically using ADO.NET data in ASP.NET 1.1 application.
If anyone can provide me a link to some example code to handle line charts. By "line
graphs" means,graphs that have dates on the X-axis and data on the Y-axis in several colored lines .
I'm limited of not using any readily available graph tools/controls.
The Graph with features i'm looking to generate will look in the manner as available in this link below:
(http://finance.yahoo.com/charts) or (http://finance.google.com/finance?q=CSCO)
Thanks in advance
Regards-
bskvarma
|
|
|
|
|
Hi,
I want to develop multi language application windows application using asp.net with c#.
please help me. I am new learner.
Thanks,
libra
|
|
|
|
|
you can use resourse file for every form in C# but you have to define a file of each language. "Resource1.resx"
this file has a information of a form, and every form controls information also saved in this file.
when a form is add this file also created autometically. u can also Add new Resource File for another one language.
Like you have using 3 language is supported by your application. you have to create (3 Resource File for --> a single FORM)
try
Pavan Pareta
|
|
|
|
|
|
hi,
i am trying to make a login page in asp.net 2.0.
i have selected login
i have a database named as user.
i would like to know when i enter the username and password from my login page it should only allow me to enter as per the data's in my database.
and i am unable to connect the login page to my oracle database.
plz help me.
regards,
ratish.
|
|
|
|
|
Is your connection string correct?
|
|
|
|
|
tht's wht i am not understanding if u want i can send u the source code .
|
|
|
|
|
I have a question regarding keeping a username in the cache in order to
prevent multiple logins. I read 'Preventing Multiple Logins in ASP.NET' by
Peter Bormberg (great article
http://www.eggheadcafe.com/articles/20030418.asp) and everything works fine,
however, I think we are going to have problems from our users having to wait
for their cache to clear out before they can login again. Is there a way to
clear the username out of the cache when they logout? I seem to be missing
something here.
rahman
|
|
|
|
|
You can remove the cache by using the Remove method
Cache.Remove("MyCachedItem")
Hope this may help u out of your problems.
Regards,
Suresh Dayma
Everything Is Possible!
|
|
|
|
|
plz give me all the data formatting experssions which can be used in datagrid bounded columns
thank you
|
|
|
|
|
If you just want to format the data displayed in datagrid then you can take help of this.[^] Here you get the details of how to format the strings.
Best Regards,
Apurva Kaushal
|
|
|
|
|
This may help you also:
http://msdn2.microsoft.com/en-us/library/fht0f5be.aspx
|
|
|
|
|
I tried to display images from a database in to a datagrid....
The images are coming one below the other.
I would like to display images as 4 rows and 4 columns in a page
and the rest of the images in another page..
In a datalist it is possible but there is no paging in datalist..
so i cant use it..
the code i have written
<asp:datagrid id="DLFotos" runat="server" cellpadding="2" cellspacing="2" allowpaging="true" autogeneratecolumns="False" pagesize="3">
<columns>
<asp:templatecolumn>
<itemtemplate>
&IdPadre=<%# DataBinder.Eval(Container.DataItem, "IdPrenda") %>"><asp:image id="Image1" runat="server" borderwidth="0">
Please Help....
Thanks in advance
sdaniel_cst
|
|
|
|
|
I think datalist will better suit for your requirement. And for paging you can implement custom paging with the datalist.
Best Regards,
Apurva Kaushal
|
|
|
|
|
|
Have you tried a template column with a table in it to format your pictures?
|
|
|
|
|
hi
How can I validate a text box control inside a webpart zone using required field validator
plz help me..
|
|
|
|
|
pls find this url
http://www.wrox.com/WileyCDA/Section/id-292197.html
Parwej Ahamad
|
|
|
|
|
Hi,
I have a question regarding breadcrumb...
I have 3 pages say page1, page2 and page3.
i have added breadcrumbs on all pages and its working fine but i need to show all the nodes of breadcrumbs in all pages (like this page1>page2>page3) so that i can move forward or backword from the breadcrum e.g. if i'm on page1 then i want to show breadcrum like this page1>page2>page3 and other page2 and 3 will be a link but not page1.
is it possible with asp.net 2.0 sitemappath control? if yes then how
|
|
|
|
|
If you want it to be the same on every page why use the sitemappath control at all? Just put them all in the master page and roll with it. I doubt its an option because sites are rarely linear and you would need a tree to map the site backwards as well as forwards.
|
|
|
|
|
I was wondering if someone could help me out with a Session_End problem in my Global.asax. I've tried everything, and still no success.
Here in local system working fine then romote system giveing problem with session_end.
i mentioned timeout ="4" in web.config file , with InProc Mode.
why session_end don't fire when the session time limit over?
Plz try to post the solution for this.
this is urgent for my requirement.....
regards,
ravi
|
|
|
|
|
When do you think that it would fire, and what is your code doing?
Why I'm asking is that in most cases when this question comes, the person don't know how the even works, or is trying to do something that is not possible at the time when the event does fire.
---
b { font-weight: normal; }
|
|
|
|
|
Hi
Here i am doing delete the record when session_end event fire.
Actually i am doing for logged users. some times may happens users are do not signed out and close the brower without signed out. then we have give the time limit for session. session_end event fires the when session timedout.
This is my actual concept. but here don't fire session_end event when session timedout.
plz help me.
|
|
|
|
|
Hello,
I am alex i am .net programmer in my website i want to encrypt and decrypt my id in asp.net c# ..Can anybody help me to solve this issue...
thanks alex.
|
|
|
|