Click here to Skip to main content
15,894,343 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to give link to embed Control Pin
Vasudevan Deepak Kumar3-Jul-09 2:07
Vasudevan Deepak Kumar3-Jul-09 2:07 
GeneralRe: How to give link to embed Control Pin
AjitMourya3-Jul-09 18:37
AjitMourya3-Jul-09 18:37 
Questionmenues are open behind flash banners Pin
AjitMourya2-Jul-09 19:54
AjitMourya2-Jul-09 19:54 
AnswerRe: menues are open behind flash banners Pin
Manas Bhardwaj3-Jul-09 0:49
professionalManas Bhardwaj3-Jul-09 0:49 
AnswerRe: menues are open behind flash banners Pin
Vasudevan Deepak Kumar3-Jul-09 2:06
Vasudevan Deepak Kumar3-Jul-09 2:06 
QuestionMenus Not Visible Pin
rhtbhegade2-Jul-09 19:41
rhtbhegade2-Jul-09 19:41 
AnswerRe: Menus Not Visible Pin
Vasudevan Deepak Kumar3-Jul-09 2:07
Vasudevan Deepak Kumar3-Jul-09 2:07 
Questiongridview [modified] Pin
vikas shukla2-Jul-09 19:35
vikas shukla2-Jul-09 19:35 
dear sir,
i have a nested gridview.parent gridview contain item code, status and detail.and if status is "s" and "a" then in detail column there should be expand sign and if status is "no change" then expand sign should not be there.

i am trying this by following method.

protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
string icode2 = ((DataRowView)e.Row.DataItem)["Item_Code"].ToString();
string status = ((DataRowView)e.Row.DataItem)["Status"].ToString();
if (status == "W"||status == "No Change" )
{
ClientScript.RegisterStartupScript(GetType(), "onload", "image('div" + ((DataRowView)e.Row.DataItem)["Item_Code"].ToString() + "','one','" +
((DataRowView)e.Row.DataItem)["Status"].ToString() + "');");
}


}
and the java script function is this


function image(obj,row,status)
{
var div = document.getElementById(obj);
var img = document.getElementById('img' + obj);
if(status=="W" || status =="No Change")
{
img.src="";
}



}


but with this i have a problem .
the problem is that in parent gridview the first "no change" will not have expand sign but the second "no change"
will contain expand sign.

please help me.


please help me how it will possible without javascript



modified on Friday, July 3, 2009 5:30 AM

AnswerRe: gridview Pin
dkmisra2-Jul-09 23:27
dkmisra2-Jul-09 23:27 
QuestionHow to integrate Yahoo Calendar service with ASP.NET ? Pin
King Shez2-Jul-09 19:25
King Shez2-Jul-09 19:25 
QuestionInternet explorer can not open the internet site. Operation aborted. Pin
dhiraj nag2-Jul-09 18:55
dhiraj nag2-Jul-09 18:55 
QuestionGridView hide Pin
haleemasher2-Jul-09 17:57
haleemasher2-Jul-09 17:57 
AnswerRe: GridView hide Pin
padmanabhan N2-Jul-09 18:21
padmanabhan N2-Jul-09 18:21 
GeneralRe: GridView hide Pin
haleemasher2-Jul-09 18:28
haleemasher2-Jul-09 18:28 
GeneralRe: GridView hide Pin
padmanabhan N2-Jul-09 18:39
padmanabhan N2-Jul-09 18:39 
GeneralRe: GridView hide Pin
himanshu25612-Jul-09 18:41
himanshu25612-Jul-09 18:41 
GeneralThis is the code Pin
haleemasher2-Jul-09 18:53
haleemasher2-Jul-09 18:53 
GeneralRe: This is the code Pin
padmanabhan N2-Jul-09 18:59
padmanabhan N2-Jul-09 18:59 
GeneralRe: This is the code Pin
haleemasher2-Jul-09 19:06
haleemasher2-Jul-09 19:06 
GeneralRe: This is the code Pin
himanshu25612-Jul-09 19:12
himanshu25612-Jul-09 19:12 
GeneralRe: This is the code Pin
haleemasher2-Jul-09 19:17
haleemasher2-Jul-09 19:17 
GeneralRe: This is the code Pin
padmanabhan N2-Jul-09 19:21
padmanabhan N2-Jul-09 19:21 
GeneralRe: This is the code Pin
K03062-Jul-09 19:25
K03062-Jul-09 19:25 
GeneralRe: This is the code Pin
haleemasher2-Jul-09 19:33
haleemasher2-Jul-09 19:33 
GeneralRe: This is the code Pin
K03062-Jul-09 19:41
K03062-Jul-09 19:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.