Home Search Member List Faq Register Login  
UltimatePanel
Re: Panel no longer working in Mozilla

Thread Starter: DC   Started: 02-08-2008 9:48 AM   Replies: 1
 Karamasoft Support Forums » General Discussions » UltimatePanel » Re: Panel no longer working in Mozilla
 Printable Version    « Previous Thread   Next Thread »
  08 Feb 2008, 9:48 AM
DC is not online. Last active: 2/8/2008 1:40:13 PM DC

Not Ranked
Joined on 11-06-2007
Posts 3
Panel no longer working in Mozilla

This was working and now does not in Mozilla and Safari.  Can you take a look and see what could be wrong??  The menu works but the links to not do anything, they do not click.

Thanks

<
cc1:ultimatepanel id="upFunctions" runat="server" BackColor="#C00000" BorderColor="Navy" BorderStyle="Dotted" Font-Size="Small" Font-Strikeout="True" Width="200px" ForeColor="#000040" BorderWidth="2px" ScriptPath="KaramScripts/"></cc1:ultimatepanel>

Function BuildFunctionMenu(ByVal intAppId As Integer)

Dim doc As XmlDocument = New XmlDocument()

Dim panel, group, item As XmlElement

Dim dbHelper As New DBTools()

'fill first menu

Dim drApplMenu As SqlDataReader = dbHelper.RunSPReturnDR("SP_BUILD_FUNCTION_MENU_BY_USER", _

dbHelper.mp("@intUserID", SqlDbType.Int, 4, Session("iUser_Id"), ParameterDirection.Input), _

dbHelper.mp("@intApplID", SqlDbType.Int, 4,intAppId, ParameterDirection.Input))

' Create the Menu node (Root)

panel = doc.CreateElement("Menu")

panel.SetAttribute("CssFile", "PanelFrame.css")

panel.SetAttribute("PanelCssClass", "Panel")

panel.SetAttribute("GroupHeaderCssClass", "GroupHeader")

panel.SetAttribute("GroupHeaderOpenCssClass", "GroupHeaderOpen")

panel.SetAttribute("DefaultItemCssClass", "Item")

panel.SetAttribute("DefaultGroupCssClass", "Group")

panel.SetAttribute("DefaultItemOverCssClass", "ItemOver")

panel.SetAttribute("DefaultGroupOverCssClass", "GroupOver")

panel.SetAttribute("ClientPersistence", "True")

panel.SetAttribute("TargetFrame", "mainFrame")

panel.SetAttribute("PanelWidth", "180") 'setting for net v1.1

panel.SetAttribute("SubGroupInitiallyOpen", "False")

panel.SetAttribute("HighlightPath", "True")

doc.AppendChild(panel)

' Create the top Group node

group = doc.CreateElement("Group")

doc.ChildNodes(0).AppendChild(group)

' Trace topmenu items and its submenus

Dim i As Integer = -1

Dim j As Integer = 0

Dim iGrpHeight as Integer

Dim strFunction As String

Dim strSession As String

Dim strPrevFunction As String = "blahblahblah"

Dim strURL As String

Dim bWriteXML As Boolean = False

While drApplMenu.Read()

bWriteXML = True

strFunction = drApplMenu("FUNCTION_NAME")

'if new function write the top node

If strPrevFunction <> strFunction Then

i = i + 1

strPrevFunction = strFunction

item = doc.CreateElement("Item")

item.SetAttribute("ID", "Item" &drApplMenu("FUNCTION_ID").ToString())

item.SetAttribute("Caption",drApplMenu("FUNCTION_NAME").ToString())

doc.ChildNodes(0).ChildNodes(0).AppendChild(item)

group = doc.CreateElement("Group")

iGrpHeight = drApplMenu("APPLS") * 20

group.SetAttribute("GroupHeight", iGrpHeight)

doc.ChildNodes(0).ChildNodes(0).ChildNodes(i).AppendChild(group)

strURL = drApplMenu("ACTION_URL").ToString() + "?FUNCTION_ID=" + drApplMenu("FUNCTION_ID").ToString()

item = doc.CreateElement("Item")

item.SetAttribute("ID", "Item" & drApplMenu("ACTION_ID").ToString())

item.SetAttribute("Caption", drApplMenu("ACTION_NAME").ToString())

item.SetAttribute("URL", strURL)

doc.ChildNodes(0).ChildNodes(0).ChildNodes(i).ChildNodes(j).AppendChild(item)

'SETS THE SESSION STATE FOR FUNCTIONS BY FUNCTION ID FOR EACH APPLICATION FOR SECRUITY

'I.E. ACTIVITY_FUNCTION_ID

strSession = drApplMenu("FUNCTION_NAME") & "_FUNCTION_ID"

Session(strSession) = drApplMenu("FUNCTION_ID")

Else

strURL = drApplMenu("ACTION_URL").ToString() + "?FUNCTION_ID=" + drApplMenu("FUNCTION_ID").ToString()

item = doc.CreateElement("Item")

item.SetAttribute("ID", "Item" & drApplMenu("ACTION_ID").ToString())

item.SetAttribute("Caption", drApplMenu("ACTION_NAME").ToString())

item.SetAttribute("URL", strURL)

doc.ChildNodes(0).ChildNodes(0).ChildNodes(i).ChildNodes(j).AppendChild(item)

End If

 

End While

drApplMenu.Close()


---View source of html page

<a id=upFunctionsH1I4_a href='EzTraxx/Activity/SearchActivity.aspx?FUNCTION_ID=1' target='mainFrame'></a> <TABLE border=0 cellpadding=0 cellspacing=0 class=Item id=upFunctionsH1I4 onmouseover="RYc5pYff('upFunctionsH1I4', 'ItemOver', '', '', '', '', '', '', '', '', '', '');" onmouseout="RYc5pYff('upFunctionsH1I4', 'Item', '', '', '', '', '', '', '', '', '', '');" onclick="upFunctionsH1I4_a.click();"> <TR > <TD> </TD> <TD nowrap>Search Activity</TD> <TD> </TD> 
</TR> </TABLE>

  
  11 Feb 2008, 7:26 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: Panel no longer working in Mozilla
Are you using the latest version of UltimatePanel?

We couldn't test your code because of your database references, however, we tested URL values in our Highlight Path live demo at http://www.karamasoft.com/Samples.aspx?component=UltimatePanel&sample=Highlight and it worked properly in Firefox. Which version of Firefox have you tested on? We tried it on Firefox v2.0.0.11 on Windows.

  
 Page 1 of 1 (2 items)
Karamasoft Support Forums » General Discussions » UltimatePanel » Re: Panel no longer working in Mozilla

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2018 Karamasoft LLC. All rights reserved.