I have a application on asp.in it there is a button.on click event of that button aspx page is open.
asp uses some user id and password.
how i will retain that user id and password in the aspx page.
when page transfer from asp to aspx it lost all the session.
and according to user id i have ti fill some data to the aspx page.
can any one tell me how i retain session when i transfer asp page to aspx page.
There can be two ways one way is to send this user ID as quesrystring to the aspx page (assuming that this is not at all a vital data which are not supposed to be known to the users). And in the aspx page you can retrieve the ID and get the related data.
Second way can be to share the session between both the application. Here[^] is an article which can give an idea on how to proceed for this.
If you are on IIS 5.1 or 6.0, this kind of extension-less rewriting is not possible. This is possible if you have a directory named Kanna available with an index file. But extension-less rewriting can be done in IIS7.0.
To implement rewriting, take a look at URL Rewriter.NET which is an open source project.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia
i have a treeview control in which the data is populated from the
databse in 3 levels.
the structure is like this.
I am able 2 populte data from the databse but my problem is that
i want to open only one node at a time.it meanms if initally "sublabel1"(of label1) node is opend
and after dat i have clicke don label3 node then the previous node must be close before it open
the new node means 1st it close the "sublabel1"(of label1) then open label3
and secondly the node is being expaned only when i clicked on the "+"sign which is connected to the
left side of each node but when i clicked on the lable1 then the page is postback but return to the same page again.
but i need to open the subnode(if exsist) when i clicked on the any node.
here i am developing my application with visual studio -2005. n my applcation is developed with asp.net along with c#.net
can yu tell me what i wil do or what wil b the code for this..
i m currently using ASP.NET with C#
(.net 2005, 2.0 framework)
i m taking the TEXT,VALUE from database (SQL server) and binding to an dropdownlist box.
some values are same and the text differ.
for example the text and value i m binding to an dropdownlist is mentioned below.
First - 1
Second - 2
Third - 3
front - 1
Rear - 1
when i bind the above values and process, i cant pick up the values properly. once the "front" is selected, and i attempt to change for "Rear" or "First", its not reflecting... Why this problem?.