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