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
I have a page called Default.aspx and in that page I have a radmenu, label, search button and iFrame.
The menu consists of Home, Products, Variants, Finished Goods, Sub Assembly ect. By default the Home item is highlighted.
When the user clicks the search button a list of items are displayed in a rad window. From here the user chooses an item, the window closes and iFrame gets loaded with FinishedGoods.aspx (in this example).
In the FinishedGoods.aspx body onload I have a function that gets called and finds the menu and label in the Default.aspx.
parent.document.getElementById('lblBreadCrumb').innerText = 'Finished Goods'; // label
var menu = parent.document.getElementById('rmMain').attributes; // RadMenu
I'm trying to get the Finished Goods in the menu to be highlighted/selected and the Home not be highlighted/selected.
How do I go about doing this with the RadMenu?
I also attached an image.
Thanks