Working with frames in c# .net

csharp.net , ajax , asp.net India
  • 12 years ago
    i have two frames rightframe and leftframe.In the leftframe i have a menu.now clicking on the manu i want to display a page in the rightrame .But before going to that page i wan to make session variable 0.How can i do that. **my leftframe coding which is a aspx file and its inharit the cs file** **code of the aspx file** left
    New Registration
    Modify Registration
    Renew and Upgrade
    **code of cs file** } public void LinkButton1_OnClick(object sender, EventArgs e) { Session["contractorid"] = 0; Response.Redirect("CRegistration.aspx"); } public void LinkButton2_OnClick(object sender, EventArgs e) { Response.Redirect("ContractorRegUpdate.aspx"); } now how can i display CRegistration.aspx in the right frame.

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” - Martin Fowler