Hi All,
I am using a menu control on my web page. I bound the menu control with the datatable. Below is my code:
For Each row In dt.Rows
Dim item As MenuItem = New MenuItem
item.Text = row("PageName").ToString()
item.NavigateUrl = row("URL").ToString()
menuMainNav.Items.Add(item)
Next
whenever I click on the menu item, it throws an error saying that:
JavaScript runtime error: Sys.ArgumentOutOfRangeException: Value must be an integer.
Parameter name: y
Actual value was 126.62998962402344.
any help will be appreciated.
Go to the complete details ...