|
Hi,
I am developing a site my internal office use.
The main problem raising with it is........
When i am trying to logout.. i am able to logout and redirect the control to login page but the problem raisig is at this point after redirecting to Login page,i can click the browser back button and go back to pages i had signed out from....
Now i am not able to deactivate the back button or stopping the browser from cacheing the pages....
I had not initiated and sessions.......
Can any body help me with this.....
Thanx....
Jats
|
|
|
|
|
You need to store the login status on the server, and yuor pages need to check it as they load. The browser just goes back to the page it was at, it's up to you to cause the page lifecycle to render something else, or to redirect to a login page.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
One way is to Store your UserName at the server side and check this user Name on each page when the page gets loaded If user log outs make the varaible null at the server. So that Even After user log out and click back button he will be able to view last visited page as it is coming from the Cache but can't do anything
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
i'm using excel to export some data to a chart, but i'm having some problems with changing the data in in the series.
i've declared this to get the series
a colleague of mine sent me this line
not right if this is the proper forum but here goes
i'm using vs2003 to develop an asp.net solution and i'm using excel to export some data to a chart, but i'm having some problems with changing the data in in the series
i've declared this to get the series
<br />
<br />
Dim ser As Excel.Series '# primeira series collection<br />
<br />
Dim sc As Excel.SeriesCollection = CType(oChart.Chart.SeriesCollection, Excel.SeriesCollection)<br />
ser = sc.Item(sc.Count)<br />
i'm using this to change the values of the series<br />
sc.item(1).XValues = "=Dados!R3C1:R" & maxapos & "C1"<br />
sc.item(1).Values(1) = "=Dados!R3C2:R" & maxapos & "C2"<br />
sec.item.Values(2) = "=Dados!R3C19:R" & maxapos & "C19"<br />
<br />
i've been changing the code but having the same results
to explain a little better, Dados is the worksheet, R and C are row and column, maxapos is a variable that recieves a value.
but somehow the data isn't changed
in order to see it correctly i have to change it directly in excell
any ideas???
i know this is possible, because currently the it works with asp, so in asp.net can it be done or not??
any ideas??
help would be apreciatted
but somehow the data isn't change
any ideas???
help would be appreciated
-- modified at 9:49 Monday 25th June, 2007
|
|
|
|
|
can anyone point me in the right direction?
the series values are stuck and can't be changed, the code i got here doesn't do a thing.
the charts are already created in a template, what i want is to assign the xvalues, values properties of the series to this:
this is the .values property of the second series:
=Dados!R3C8:R" & max_D_pos & "C8
Dados is the worksheet
R3C8 are the rows and columns , i'm using R1C1 style reference
max_D_pos is a variable declared that recieves a value
any ideas
i'm going crazy with this
-- modified at 6:10 Monday 25th June, 2007
|
|
|
|
|
Hi all
I have a datagrid I wanted the column of my own choice so i added the column name from property builder. But now problem is i cant see the data in the data grid only the column names appear when i execute the application. Pl help
Regards
-- modified at 6:52 Thursday 21st June, 2007
Prakash Mishra(Banglore,India)
|
|
|
|
|
have you bound the data:-
<asp:Label ID="_name" runat="server" Text='<%# Eval("Name") %>' />
"Name" being the column returned from the database?
|
|
|
|
|
Use itemtemplates!!
Just inside the item template write
<asp:templatefield headertext="Column 1">
<itemtemplate>
<asp:label id="Label1" runat="server">
<%# DataBinder.Eval(Container.DataItem, "Column 1") %>
and make the autogeneratecolumns option to false!!1
It will populate the grid!!!
I was born dumb!!
Programming made me laugh !!!
--sid--
|
|
|
|
|
hi friends
In yahoo new user registration form.check avilabilty button in popup window appear
we give some three name in textbox then submit the button.it will toggle the name and dislay with radiobutton how can i achive this using substring or anyother method in .net
can u help me
regards
saravanan
|
|
|
|
|
I'm not sure what you're asking here. If the username you are asked for is not available, you need to think of algorithms that generate ones that are, such as rearranging the string, or adding a number to it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi,
any one plz provide me some e commerce websites URLs which are developed using asp.net...
Pradeep Reddy
|
|
|
|
|
Existing, live sites ? Why ?
you can tell them, they have .aspx at the end of the pages.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
thank u...
do u have any links?
Pradeep Reddy
|
|
|
|
|
pradeep kumarappagari wrote: thank u...
do u have any links?
Search google for getting better result
Main thing no one is understanding What's the relation of E Commerce and ASPX and why do you want that
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
just i wanted to go through the sites...that is it...
Pradeep Reddy
|
|
|
|
|
what i mean E Commerce is some thing like shoping cart applications...
Pradeep Reddy
|
|
|
|
|
|
Helloo iam using asp.net 2.0
and i used FreeTextBox ,and workd fine in local host but
not working when i upload the project
Server Error in '/' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load file or assembly 'FreeTextBox' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="HomePageEdit.aspx.cs" Inherits="Admin_HomePageEdit" Title="Colliers UAE::Edit Home Page" ValidateRequest="false" %>
Line 2:
Line 3: <%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
Line 4:
Line 5:
Source File: /colliers/admin/HomePageEdit.aspx Line: 3
Source File: /colliers/admin/HomePageEdit.aspx Line: 3
Assembly Load Trace: The following information can be helpful to determine why the assembly 'FreeTextBox' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
----
i added in bin
aj123
|
|
|
|
|
plz provie code to encrypt and decrypt string in vb.net 1.1
|
|
|
|
|
|
hi friends
how to visible and invisible the button through javascript
regards
saravanan
|
|
|
|
|
document.getElementById("btnTD").style.display = "none";
|
|
|
|
|
document.Form1.Button1.style.visibility = 'visible';
document.Form1.Button1.style.visibility = 'hidden';
Pradeep Reddy
|
|
|
|
|
hi ,
i have a datagridview(asp.net) and when i drag the gridview on to the form,columns displayed is column0,column1,..
now i want to change the names of columns to jan,feb,..etc.
I want this functionality to occur at desing time ,how can i do this .
would be helpful if anyone suggests me
Thanks
Mukkanti
|
|
|
|
|
After you drag and drop the datagrid into the form go to the datagrid properties there you can find the properties called AutoGeneratedColum set that to false after that right click the grid you can able to find PropertyBuilder you will be displayed datagrid property window their you can find the menu called Column after selecting the column you can find the column list from that select bound column their you can find the bound column properties in header text you can write whatever you want.
I thing you have got the solution
Thanks
Warm Regards
Prakash-B
|
|
|
|