Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Frnds,

I have developed Patients screen. that field dept id is fetch from department master. i done popup window but values not goes to dept id textbox. i am new to this technology can anybody help me with code..


Thanks & Regards,
Vignesh
Posted
Comments
TrushnaK 13-Feb-14 4:55am    
can you show your code... what you have done.
vignesh war 13-Feb-14 5:05am    
var popUpObj;
function popUp(url) {
popUpObj = window.open(url, "Popup", "toolbar=no,scrollbars=no,location=no" +
",statusbar=no,menubar=no,resizable=0,width=300," +
"height=300,left = 490,top = 262");
popUpObj.focus();
}
in java script.
vignesh war 13-Feb-14 5:07am    
Grid Having this pop up window. From this popup window selected row is goes to main page...
TrushnaK 13-Feb-14 5:07am    
how you fetch dept id and where you assign that id to textbox.. i am asking about that code.
vignesh war 13-Feb-14 5:08am    
this code is popup window : for (int i = 0; i < GridView1.Rows.Count; i++)
{
if (GridView1.SelectedIndex == i)
{
String name = GridView1.Rows[i].Cells[0].Text; //Gets the data value in the grid;
Session["Value"] = name;
Response.Redirect("InPatientFinal.aspx");

}
}

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900