Hi,
I have a RadGrid and I am using the ItemTemplate to display the data in a table format for each record of data. This allows me to set it out how I want it.
In my table I have included a Rad Menu which I want to use to give the user a number of options. I am having difficulty in assigning the NavigateURL of each menu item. For example I have a button with Text "Edit Details" and I want this to like through to a page called
EditDetails.aspx?ItemID=##
where ## is the ID of the unigue record ID as stored in the database.
I found this post
Binding NavigateURL within a RadGrid won't work
Which is extreemly useful, however the example given has the menu in a GridTemplateColumn, whilst mine is not in a GridTemplateColumn but rather is in an ItemTemplate
When I replicate the code I get the link
EditDetails.aspx?ItemID=
but it does not bring through the ID of the column itself and add it to the address
How do I adjust the code for the example above so that it works for an ItemTemplate, rather than for a GridTemplateColumn
Many thanks in advance
I have a RadGrid and I am using the ItemTemplate to display the data in a table format for each record of data. This allows me to set it out how I want it.
In my table I have included a Rad Menu which I want to use to give the user a number of options. I am having difficulty in assigning the NavigateURL of each menu item. For example I have a button with Text "Edit Details" and I want this to like through to a page called
EditDetails.aspx?ItemID=##
where ## is the ID of the unigue record ID as stored in the database.
I found this post
Binding NavigateURL within a RadGrid won't work
Which is extreemly useful, however the example given has the menu in a GridTemplateColumn, whilst mine is not in a GridTemplateColumn but rather is in an ItemTemplate
When I replicate the code I get the link
EditDetails.aspx?ItemID=
but it does not bring through the ID of the column itself and add it to the address
How do I adjust the code for the example above so that it works for an ItemTemplate, rather than for a GridTemplateColumn
Many thanks in advance