Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
P

PhaniKatakam

@PhaniKatakam
About
Posts
3
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Can't retrieve the checked value of the checkbox in DataGrid
    P PhaniKatakam

    Naveen, Do one thing, Keep a hidden variable...Before submitting, take the comma seperated values into hidden thru client side script.. if checked - 1 otherwise 0. so.. that u get 1,0,1,0..for N rows for each column. then at the server, u could read hidden variable from Request.form and know which row is checked or not... Hope this helps.. Phani Phani,Virtusa, Hyd

    ASP.NET wpf wcf help

  • Response.Redirect is not working.. a peculiar problem..One solution found !!
    P PhaniKatakam

    I would like to share a solution with all of you guys to the Response.Redirect problem. I have a scenario: 1. An asp page containing two submit type buttons 'Back' and 'Save'. 2. Save may do some action and stay in the same page.. 3. But Back would do same as save button..but Goes to Home Page. 4. U may have Save_Click () serverside code in aspx.cs 5. U can simulate the same from back.. and also hidBack to maintain from which button its coming from... function ClickBack() { document.Form1.hidBack.value = "YES"; document.Form1.Button1.click(); //IMPORTANT:: RETURN FALSE TO NULLIFY POSTING BY BACK BUTTON. return false; } 6. Server side code may look as private void Save_Click(object sender, System.EventArgs e) { if(Request.Form["hidBack"] == "YES") { Page.Response.Redirect("Home.aspx",false); } Response.Write(" U pressed first Button"); } 7.if WE DONT HAVE //IMPORTANT:: code line, it will postback twice to the server..there by Response.Redirect doesnt work. 8. Any other observations?? thanks Phani, Virtusa. Phani, virtusa, Hyd

    ASP.NET sysadmin help question

  • Response.Redirect is not working.. a peculiar problem..One solution found !!
    P PhaniKatakam

    I would like to share a solution with all of you guys to the Response.Redirect problem. I have a scenario: 1. An asp page containing two submit type buttons 'Back' and 'Save'. 2. Save may do some action and stay in the same page.. 3. But Back would do same as save button..but Goes to Home Page. 4. U may have Save_Click () serverside code in aspx.cs 5. U can simulate the same from back.. and also hidBack to maintain from which button its coming from... function ClickBack() { document.Form1.hidBack.value = "YES"; document.Form1.Button1.click(); //IMPORTANT:: RETURN FALSE TO NULLIFY POSTING BY BACK BUTTON. return false; } 6. Server side code may look as private void Save_Click(object sender, System.EventArgs e) { if(Request.Form["hidBack"] == "YES") { Page.Response.Redirect("Home.aspx",false); } Response.Write(" U pressed first Button"); } 7.if WE DONT HAVE //IMPORTANT:: code line, it will postback twice to the server..there by Response.Redirect doesnt work. 8. Any other observations?? thanks Phani, Virtusa.

    C# sysadmin help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups