0

I used the following code in rowdatabound event

if (e.Row.RowType == DataControlRowType.DataRow)
 {
 e.Row.Attributes["onClick"] = string.Format("window.location = 'CandidateProfile.aspx?candidateID={0}';", DataBinder.Eval(e.Row.DataItem, "candidateID"))

}

I want to change it so the click event opens in a new window with specified height and width

how can I do that , plz help

CM Kanode
  • 1,436
  • 1
  • 11
  • 14
Shameel Faraz
  • 78
  • 1
  • 6

1 Answers1

0

It seems to be that you can apply window.open(url) and there you can set some parameters to control that window.

Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
king
  • 304
  • 1
  • 8