Hi guys.
I'm new implementing radsplitbutton, I have my splitbutton inside a gridtemplateColumn declared as follows:
<
telerik:GridTemplateColumn
DataField
=
"Portal_Id"
UniqueName
=
"templateCol"
>
<
HeaderStyle
HorizontalAlign
=
"Center"
VerticalAlign
=
"Middle"
/>
<
ItemStyle
HorizontalAlign
=
"Center"
VerticalAlign
=
"Middle"
/>
<
ItemTemplate
>
<
asp:Label
runat
=
"server"
ID
=
"labelss"
Text='<%# Bind("Portal_Id") %>' ></
asp:Label
>
<
telerik:RadButton
runat
=
"server"
ID
=
"splitButton"
EnableSplitButton
=
"true"
Text
=
"Selecionar"
Skin
=
"Bootstrap"
Width
=
"200px"
AutoPostBack
=
"false"
OnClientClicked
=
"OnClientClicked"
OnClientLoad
=
"storeSplitButtonReference"
></
telerik:RadButton
>
<
telerik:RadContextMenu
ID
=
"RadContextMenu1"
runat
=
"server"
Skin
=
"Bootstrap"
OnClientLoad
=
"storeContextMenuReference"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Detalles"
Value='<%# Eval("Portal_Id")%>' NavigateUrl='<%# FriendlyUrl.Href("~/Portales/Details", DataBinder.Eval(Container,"Portal_Id"))%>' >
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"Editar"
Value='<%# Eval("Portal_Id") %>' NavigateUrl='<%# FriendlyUrl.Href("~/Portales/Edit", Eval("Portal_Id"))%>' >
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"Eliminar"
NavigateUrl='<%# FriendlyUrl.Href("~/Portales/Delete", Eval("Portal_Id"))%>'>
</
telerik:RadMenuItem
>
</
Items
>
</
telerik:RadContextMenu
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
What I want to do is to navigate through the navigateUrl Property of the radmenuItem and passing the portal_id wich is in a gridboundcolumn but when I click an item it redirects to the page without the portal_id, this behavior only occurs with radcontextmenu, as you can see I placed a label before the button and bind the text property to the portal_id value and it is set correctly.
Can you help me to get the correct redirection with the portal_id parameter.
Best Regards
Cristian.