the following works but when i try to assign the eval to the text field, I get server tag is not formed correctly. Any idea how to get it to work?
<telerik:RadListBox ID="AssignedFieldsGV" runat="server" Width="375px" Height="500px" AllowTransferOnDoubleClick="true" ItemDataBound ="AssignedFieldsGV_ItemDataBound " SelectionMode="Multiple" EnableDragAndDrop="true" AutoPostBack="true" > <HeaderTemplate> Assigned Fields </HeaderTemplate> <ItemTemplate> <table> <tr> <td style="width:125px;"> <asp:Label ID="Label1" runat="server" Text='<%# DataBinder.Eval(Container, "Text")%>' /></td> <td style="width:255px;"> <asp:TextBox ID="Label2" runat="server" /> <%# DataBinder.Eval(Container, "Attributes['DisplayName']") %> </td> </tr> </table> </ItemTemplate></telerik:RadListBox>
for label2, when I try to assign it as Text I get server tag is not well formed, any idea whats wrong?
<telerik:RadListBox ID="AssignedFieldsGV" runat="server" Width="375px" Height="500px" AllowTransferOnDoubleClick="true" ItemDataBound ="AssignedFieldsGV_ItemDataBound "
SelectionMode="Multiple" EnableDragAndDrop="true" AutoPostBack="true"
>
<HeaderTemplate>
Assigned Fields
</HeaderTemplate>
<ItemTemplate>
<table>
<tr>
<td style="width:125px;"> <asp:Label ID="Label1" runat="server" Text='<%# DataBinder.Eval(Container, "Text")%>' /></td>
<td style="width:255px;"> <asp:TextBox ID="Label2" runat="server" Text=' <%# DataBinder.Eval(Container, "Attributes['DisplayName']") %>' /> </td>
</tr>
</table>
</ItemTemplate>
</telerik:RadListBox>


RadGrid1.ClientSettings.EnablePostBackOnRowClick = True
RadGrid1.ClientSettings.ClientEvents.OnRowClick = "On_Row_Click"
AddHandler RadGrid1.ItemCommand, AddressOf RadGrid1_ItemCommand
function On_Row_Click(sender, eventArgs) {
__doPostBack(sender.ClientID, "RowClicked:" + eventArgs.get_itemIndexHierarchical());
}
When a row is clicked, it runs the __doPostBack command above and I catch the postback on the server side in my code behind:
Private Sub RadGrid1_ItemCommand(sender As Object, e As GridCommandEventArgs)
'Client-side event is caught here !!!
End Sub
Hello,
I have been searching for any example of what I'm trying to achieve, to no avail.
Is it possible to do the following:
I have tried to do this, but I can't seem to persist the newly created zones and docks. How do I accomplish this?
Thanks in advance for any help.
RadGrid1.ClientSettings.EnablePostBackOnRowClick = True
RadGrid1.ClientSettings.ClientEvents.OnRowClick = "On_Row_Click"
AddHandler RadGrid1.ItemCommand, AddressOf RadGrid1_ItemCommand
function On_Row_Click(sender, eventArgs) {
__doPostBack(sender.ClientID, "RowClicked:" + eventArgs.get_itemIndexHierarchical());
}
When a row is clicked, it runs the __doPostBack command above and I catch the postback on the server side in my code behind:
Private Sub RadGrid1_ItemCommand(sender As Object, e As GridCommandEventArgs)
'Client-side event is caught here !!!
End Sub
<telerik:RadDockLayout runat="server" ID="[DUMMYID-1]"> <telerik:RadDockZone runat="server" ID="[DUMMYID-2]" Orientation="vertical" Skin="Vista" Width="99.7%"> <telerik:RadDock runat="server" ID="[DUMMYID-3]" Title="More" Style="min-height: 0px; margin: 0px auto; visibility: hidden;" Collapsed="true" DefaultCommands="ExpandCollapse" Skin="Vista" EnableDrag="false" DockHandle="None" Width="99.5%" BorderStyle="None"> <ContentTemplate> ...... [some code here]</ContentTemplate></telerik:RadDock> </telerik:RadDockZone>
EnableViewState="true" StoreLayoutInViewState="true"
<rada:radajaxmanager id="RadAjaxManager1" runat="server">
<AjaxSettings>
<rada:AjaxSetting AjaxControlID="cboCategory">
<UpdatedControls>
<rada:AjaxUpdatedControl ControlID="cboOffice"/></UpdatedControls> its my old ajaxcontrol code
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="cboCategory">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="cboOffice"/>
</UpdatedControls>
so that gives error so please tell me the solution for that