troubleshooting Question

Essential Object Slide Menu - Parameters

Avatar of titorober23
titorober23 asked on
Web Languages and StandardsASP.NETVisual Basic.NETAJAX
7 Comments3 Solutions872 ViewsLast Modified:
Hi guys,

I am a rookie in this and trying to create my own website, i had a master page linked to a menu, in which i was navigating from page to page with a parameter,
example
<asp:HyperLinkField DataNavigateUrlFields="PatientID"
DataNavigateUrlFormatString="Default.aspx?PatientID={0}" ShowHeader="False"
Text="Profile " />
<asp:HyperLinkField DataNavigateUrlFields="PatientID"
DataNavigateUrlFormatString="Diagnosis.aspx?PatientID={0}" ShowHeader="False" Text="Diagnosis " />

Now that i am using the eo slide menu, navigation is fine, but i can not pass the parameter
this is how it looks
<eo:MenuItem LeftIcon-Url="00000508" Text-Html="Demographic"
NavigateUrl="~/Default.aspx">
</eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00000508" Text-Html="Diagnosis"
NavigateUrl="~/Diagnosis.aspx">
</eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00000508" Text-Html="Evaluation"
NavigateUrl="~/Evaluation.aspx">
</eo:MenuItem>

if i edit the code to something like this
<eo:MenuItem LeftIcon-Url="00000508" Text-Html="Demographic"
NavigateUrl="~/Default.aspx?PatientID={0}">
</eo:MenuItem>
<eo:MenuItem LeftIcon-Url="00000508" Text-Html="Diagnosis"
NavigateUrl="~/Diagnosis.aspx?PatientID={0}">
</eo:MenuItem>

it gives me an error when trying to navigate to that page
Server Error in '/LRGPR1' Application.

--------------------------------------------------------------------------------

Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.


Can you please give me a hand and explain to me what i am doing wrong, maybe i have to specify the parameter in other section.

regards
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 3 Answers and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros