I'm opening a radWindow using hyperlink in a grid
Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemCreated
If TypeOf e.Item Is GridDataItem Then
Dim item As GridDataItem = CType(e.Item, GridDataItem)
Dim editLink As HyperLink = CType(e.Item.FindControl("HyperLink1"), HyperLink)
editLink.Attributes("href") = "#"
editLink.Attributes("onclick") = "return openWin('/portals/0/NewEducation.aspx?RecID=" + item.GetDataKeyValue("RecID").ToString() + "'); "
End Sub
I then register a button on the new window in the page load
bnSubmit.Attributes("onclick") = "return CloseAndRebind('rebind'); return true;"
I also have code that updates the database when the Submit button is clicked. Everything works fine in IE9 and Safari but when I run it in Firefox the bnSubmit_Click codes does not run and the window just closes. If I remove the bnSubmit attribute is there code that I can put in after the bnSubmit.Click that will close the window after I run all of the server side code?
Thanks
Bill