I dont know why I guess its because we are on IE6, but the normal GridView control is a lot quicker than the RadGrid retutning the same data, so I'm stuck with the GridView.
I've implemented RadWindows to give me modal pop ups for data from the Gridview rows.
But what is happening is this - with RadAjaxManager the pop up would only show once, I then removed the RadAjaxManager and the pop up appears once after a postback. ie on load it works, I then hit the buton again and the page postsback (no ajax) then the pop up works again.
This is my code behind in the rowdataBound event:
And this is my client side javascript:
In the pop up page after processing I call this:
Any help would be appreciated
Andy
I've implemented RadWindows to give me modal pop ups for data from the Gridview rows.
But what is happening is this - with RadAjaxManager the pop up would only show once, I then removed the RadAjaxManager and the pop up appears once after a postback. ie on load it works, I then hit the buton again and the page postsback (no ajax) then the pop up works again.
This is my code behind in the rowdataBound event:
'SET UP BUTTON FUNCTIONS |
'set View Demog button action |
Dim ibd As ImageButton = CType(e.Row.FindControl("btnViewDemog"), ImageButton) |
ibd.Attributes("href") = "#" |
ibd.Attributes("onclick") = [String].Format("return ShowDemog('{0}');", e.Row.DataItem("id")) |
function ShowDemog(id) { |
alert("Boo"); |
window.radopen("ShowDemog.aspx?Patient_ID=" + id, "ShowDemog"); |
return false; |
} |
In the pop up page after processing I call this:
ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "CloseAndRebind();", True) |
Any help would be appreciated
Andy