Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
190 views

Hi,

My requirement is to dispaly a hyperlink for some words in RadTreelist.
ie is I have a Column 'Description' , this column contains words like 

" Telerik is a good tool ."  I need to display <good> in hyperlink.

How is it possible in RadTreeList after binding the data?
which event is used for that purpose?

Thanks,
Sindu.
Jayesh Goyani
Top achievements
Rank 2
 answered on 07 Nov 2011
3 answers
98 views
Hi,

my tree has the possibility to remove nodes client-side (by using the context menu).
The tree itself is in a control which is in a jquery ui dialog.

When the jquery dialog gets closed and nodes were removed, I get the following error:
Error: NOT_FOUND_ERR: DOM Exception 8
This happens in ScriptResource.axd here:
a.RadContextMenu.prototype = {initialize: function() {
......
},attachContextMenu: function() {
            if (!this._detached) {
                return;
            }
            this._getContextMenuElement().parentNode.removeChild(this._getContextMenuElement());
            this.get_element().insertBefore(this._getContextMenuElement(), $get(this.get_clientStateFieldID()));
The last line causes the error. In the callstack in chrome I can see that the tree is disposing itself. The code is only called if at least one node was removed.
This is the callstack:

a.RadContextMenu.attachContextMenu() at ScriptResource.axd:345a.
RadContextMenu.dispose() at ScriptResource.axd:116
Sys$_Application$dispose() at ScriptResource.axd:5200
Sys$_Application$_unloadHandler() at ScriptResource.axd:5488
(anonymous function)() at ScriptResource.axd:49
Sys$UI$DomEvent$addHandler.browserHandler() at ScriptResource.axd:4357


This is the client-side code which removes the node:

function OnCatalogTreeMenuItemClicked(sender, e) {
   var node = e.get_node();
   var value = e.get_menuItem().get_value();
 
   if (value == "delete") {
      sender.trackChanges();
      var attributes = node.get_attributes();
      attributes.setAttribute("Type", "Deleted");
      attributes.setAttribute("HasChanged", "true");
      node.set_visible(false);
      sender.commitChanges();
   }
 
   e.get_menuItem().get_menu().hide();
}

When the jquery ui dialog is closed, I remove the nodes server-side from the database.

Is there a problem in my javascript function for removing nodes?
Or is it possible that the dispose is called after the the jquery ui dialog contents were removed from the DOM? But why only in case that nodes were removed?

Thanks for your help.
Dimitar Terziev
Telerik team
 answered on 07 Nov 2011
2 answers
107 views
Hi

I have a RadToolBar with a couple of ToolBarButtons in.

When the the control they are in initally displays neither of them are highlighted.

When I click on them they highlight correctly and I can see that the class is beeing changed from

"rtbItem rtbBtn" to "rtbItem rtbBtn rtbChecked"

I would like to be able to set the highlighted button when the control is initialize.

Is there a way to do this with Server Side code????

TIA
Kate
Telerik team
 answered on 07 Nov 2011
0 answers
115 views

Dear Experts,

I am using RadGrid to show my application data. In order to filter the related values I am using FilterTemplate with RadComboBox as it is nicely describe in this example. I Have up to 5 columns using this kind of tiltering.

Due to performance reasons I would like to change the server side loading of the filtering RadComboBoxes with the use of Web Services. 

<telerik:GridBoundColumn DataField="OwnerId" UniqueName="OwnerId" DataType="System.Int32" />
<telerik:GridBoundColumn DataField="OwnerName" SortExpression="OwnerName" DataType="System.String"
    UniqueName="OwnerName" AutoPostBackOnFilter="true" FilterDelay="800" ShowFilterIcon="false">
    <FilterTemplate>
        <telerik:RadComboBox ID="RadComboBoxOwners" EnableAutomaticLoadOnDemand="True" Filter="StartsWith"
            AllowCustomText="true" AppendDataBoundItems="true" runat="server" OnClientSelectedIndexChanged="OwnerChanged"
            ViewStateMode="Enabled">
            <Items>
                <telerik:RadComboBoxItem Text="All" Value="" Selected="true" />
            </Items>
            <WebServiceSettings Path="~/DesktopModules/VipCrm/Wsi.asmx" Method="GetUsersFilter" />
        </telerik:RadComboBox>
        <telerik:RadScriptBlock ID="RadScriptBlockOwners" runat="server">
            <script type="text/javascript">
                function OwnerChanged(sender, args) {
                    $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>").filter("OwnerId", args.get_item().get_value(), "EqualTo");
                }
            </script>
        </telerik:RadScriptBlock>
    </FilterTemplate>
</telerik:GridBoundColumn>


When trying to implement this I encountered the following problems:

  1. If the <Items> are present no WSI request triggers.
  2. The RadComboBox loses its selected value though view state is enabled.


Has anyone tried this approach? Do you have suggestion to solve the above problems?

Regards,

Kristijan

Kristijan
Top achievements
Rank 1
 asked on 07 Nov 2011
7 answers
126 views
Hi:

I have been looking on the Telerik forums for a solution but all of the pages lead to non-existent blog posting from a number of year ago.
So, I am experiencing this issue for the last couple of days.  I am e-mailed all issue by the application and would like to resolve it

ERROR  
    Name = [user name here]
     URL = http://[server name here]/[app name here]/WebResource.axd?d=sFh9ZVODkqTk5fNZCIKIMkVkP6jzFG7y-JZ9_b6fI2-rFsv37yMwoBV5wlOm5uGfmLgYWqtsLuH4d8CnbQXtlKLMnKtUe27Gd3koHY6av1k1&t=634248270600000000
    Time =  2011-10-14 09:57:45.064
Computer =  [server name here]
Exception:  This is an invalid webresource request.
   at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Suggestion would be appreciated.

Phil
Iana Tsolova
Telerik team
 answered on 07 Nov 2011
1 answer
81 views
I'm able to sort my grid with multiple columns without issue.  What I'd like to do is mimic the way Dynamics CRM (and other apps) sort - which is by the user holding down Shift + clicking on the 2nd column to sort by.

Is that possible?
Iana Tsolova
Telerik team
 answered on 07 Nov 2011
1 answer
96 views
I have a grid in a form with another grid in DetailTables (detail grid).
I'm using wcf service to fetch data and fill in dataSource of grids (master and detail).
For this in OnDetailTableDataBind event of master grid, I've set the e.DetailTableView of event in a field and called the async operation of service and in Completed event of service ,i've bind the result to the filed DataSource and it doesn't work.
but it works if I call the operation sync.
I want to call it async, what should I do?
Iana Tsolova
Telerik team
 answered on 07 Nov 2011
9 answers
184 views
my radgrid(telerik) is like below :

<telerik:RadGrid ID="grdUsers" runat="server" GridLines="None" Skin="Vista" DataSourceID="sdsUsers"
       AllowPaging="True" AutoGenerateColumns="False" OnItemCommand="grdUsers_ItemCommand"
       Width="900px" AllowSorting="True" PageSize="20">
       <MasterTableView AutoGenerateColumns="False" DataKeyNames="ID" DataSourceID="sdsUsers">
           <DetailTables>
               <telerik:GridTableView runat="server" DataKeyNames="ID,User_ID" DataSourceID="sdsDownload"
                   ShowFooter="True">
                   <ParentTableRelation>
                       <telerik:GridRelationFields DetailKeyField="User_ID" MasterKeyField="ID" />
                   </ParentTableRelation>
                   <CommandItemSettings ExportToPdfText="Export to Pdf" />
                   <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                       <HeaderStyle Width="20px" />
                   </RowIndicatorColumn>
                   <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                       <HeaderStyle Width="20px" />
                   </ExpandCollapseColumn>
                   <Columns>
                       <telerik:GridBoundColumn DataField="ID" DataType="System.Int32" FilterControlAltText="Filter ID column"
                           HeaderText="ID" ReadOnly="True" SortExpression="ID" UniqueName="ID">
                       </telerik:GridBoundColumn>
                       <telerik:GridBoundColumn DataField="User_ID" DataType="System.Int32" FilterControlAltText="Filter User_ID column"
                           HeaderText="User_ID" SortExpression="User_ID" UniqueName="User_ID">
                       </telerik:GridBoundColumn>
 
                       <telerik:GridBoundColumn DataField="FileSize" FilterControlAltText="Filter FileSize column"
                           HeaderText="FileSize" SortExpression="FileSize" UniqueName="FileSize" Aggregate="Sum">
                       </telerik:GridBoundColumn>
                   </Columns>
                   <EditFormSettings>
                       <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                       </EditColumn>
                   </EditFormSettings>
               </telerik:GridTableView>
           </DetailTables>
           <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
           <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
               <HeaderStyle Width="20px"></HeaderStyle>
           </RowIndicatorColumn>
           <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
               <HeaderStyle Width="20px"></HeaderStyle>
           </ExpandCollapseColumn>
           <Columns>
               <telerik:GridBoundColumn DataField="ID" FilterControlAltText="Filter ID column" HeaderText="ID"
                   SortExpression="ID" UniqueName="ID">
                   <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                   <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
               </telerik:GridBoundColumn>
               <telerik:GridBoundColumn DataField="FirstName" FilterControlAltText="Filter FirstName column"
                   HeaderText="FirstName" SortExpression="FirstName" UniqueName="FirstName">
                   <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                   <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
               </telerik:GridBoundColumn>
           </Columns>
           <EditFormSettings>
               <EditColumn FilterControlAltText="Filter EditCommandColumn column">
               </EditColumn>
           </EditFormSettings>
       </MasterTableView>
       <FilterMenu EnableImageSprites="False">
       </FilterMenu>
       <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
       </HeaderContextMenu>
   </telerik:RadGrid>

this is a Hierarchy grid with two tables (one master and one detail).
i have a column in detail table named (FileSize)!
this column in my database is nvarchar(50), i want to have sum of file sizes in the footer of detail table.
but after enabling Footer in this detail table and set aggregate of FileSize Column to Sum, i got an error that tells you can not have sum of object values!
is there a way for make sum of FileSize Column?
Peyman
Top achievements
Rank 1
 answered on 07 Nov 2011
21 answers
522 views
I have a grid with 5 GridBoundColumns (Name, SSN, DOB, Address, etc..). I want different set of filtering menu options for each of these columns. Is there any way to achieve this?
Ivan Zhekov
Telerik team
 answered on 07 Nov 2011
1 answer
145 views
After doing collapse/expand left pane , RadSlidingPane is not showing properly in my code.
When I collapse the left radpane and again expands it, my bottom sliding radpane is not resizing.
Here is my code for bottom first radslidingpane and it's same for all other bottom sliding panes......
<telerik:RadSlidingPane ID="rspAttrConstraints" Title="<%$ Resources:tabAttrConstraints %>"
                                                                                            runat="server" Height="170" OnClientExpanded="RadSlidingHelp" OnClientDocked="RadSlidingHelp" ResizeText="<%$ Resources:ResizeText %>" DockText="<%$ Resources:DockText %>" UndockText="<%$ Resources:UndockText %>" CollapseText="<%$ Resources:CollapseText %>">
                                                                                            <table cellpadding="0" cellspacing="0" width="100%" height="100%" border="0">
                                                                                                <tr>
                                                                                                    <td height="100%" valign="top" align="left">
                                                                                                       <%-- <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <%--ClientSettings-ClientEvents-OnRowSelected="AttrRowSelected"
                                                                                                            <ContentTemplate>--%>
                                                                                                                <telerik:RadGrid ID="rgAttrConstraints" runat="server" AllowPaging="false" Width="100%"
                                                                                                                    Height="100%" GroupHeaderItemStyle-Height="0" ShowGroupPanel="false" AllowMultiRowSelection="true"
                                                                                                                    GridLines="Both" ShowFooter="false" AllowAutomaticUpdates="true" EnableViewState="true"
                                                                                                                    OnSelectedIndexChanged="rgAttrConstraints_SelectedIndexChanged" ShowStatusBar="True"
                                                                                                                    AutoGenerateColumns="False" OnItemDataBound="rgAttrConstraints_ItemDataBound"
                                                                                                                    OnItemCreated="rgAttrConstraints_ItemCreated" OnNeedDataSource="rgAttrConstraints_NeedDataSource"
                                                                                                                    OnInsertCommand="rgAttrConstraints_InsertCommand" OnUpdateCommand="rgAttrConstraints_UpdateCommand"   BorderWidth="0">      
                                                                                                                    <ClientSettings EnableRowHoverStyle="true" Resizing-AllowColumnResize="false" Resizing-EnableRealTimeResize="true" >
                                                                                                                        <Selecting AllowRowSelect="true"/>
                                                                                                                        <%--<ClientEvents OnRowClick="RowClick" OnRowDblClick="RowDblClick" OnCommand="GridCommand" OnGridCreated="GridCreated"/>--%>
                                                                                                                        <ClientEvents  OnRowSelected="AttrRowSelected" OnMasterTableViewCreated="AttrOnLoad" ></ClientEvents>    <%--  OnRowSelected="AttrRowSelected" --%>                                                                                                             </ClientSettings>
                                                                                                                    <MasterTableView AutoGenerateColumns="false" CommandItemDisplay="Top" EditMode="InPlace"
                                                                                                                        InsertItemDisplay="Bottom" AllowAutomaticInserts="false" DataKeyNames="Id,IsAdvancedConstraint"
                                                                                                                        ClientDataKeyNames="Id,IsAdvancedConstraint,Expression,Name,ConstraintType">
                                                                                                                        <CommandItemTemplate>
                                                                                                                            <div style="padding: 3px 3px;">
                                                                                                                                                          <table>
                                                                                                                                                          <tr>
                                                                                                                                                          <td>
                                                                                                                                                       
                                                                                                                                <asp:LinkButton ID="btnAddNew" runat="server" CommandName="InitInsert" Visible='<%# rgAttrConstraints.EditIndexes.Count == 0 && !rgAttrConstraints.MasterTableView.IsItemInserted %>'>
                                                                                                                                    <img style="border:0px;vertical-align:middle;" alt="" src="../Images/NewEnable2.png"/> 
                                                                                                                                    <asp:Literal runat="server"  Text="<%$ Resources:btnAddConstraint %>" ></asp:Literal>  
                                                                                                                                </asp:LinkButton> </td>
                                                                                                                               <td>  <asp:LinkButton ID="btnAddPredefined" runat="server" CommandName="AddPredefined"
                                                                                                                                    OnClientClick="return addPredefinedAttrConstraint();" Visible='<%# rgAttrConstraints.EditIndexes.Count == 0 && !rgAttrConstraints.MasterTableView.IsItemInserted %>'> <%----%>
                                                                                                                                    <img style="border: 0px; vertical-align: middle;" alt="" src="../Images/NewEnable2.png" /> 
                                                                                                                                    <asp:Literal ID="ltrPredefined" runat="server" Text="<%$ Resources:ltrPredefined %>"></asp:Literal>  
                                                                                                                                </asp:LinkButton>  </td>
                                                                                                                               <td>  <asp:LinkButton ID="btnInsert" runat="server" CommandName="PerformInsert" Visible='<%# rgAttrConstraints.EditIndexes.Count == 0 && rgAttrConstraints.MasterTableView.IsItemInserted %>'>
                                                                                                                                    <img style="border: 0px; vertical-align: middle;" alt="" src="../Images/NewEnable2.png" /> 
                                                                                                                                    <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:btnInsertConstraint %>"></asp:Literal>  
                                                                                                                                </asp:LinkButton> </td>
                                                                                                                               <td>  <asp:LinkButton ID="btnEditSelected" runat="server" CommandName="EditSelected" OnClientClick="return editSelectedAttrConstraint();"
                                                                                                                                    Visible='<%# rgAttrConstraints.EditIndexes.Count == 0 && !rgAttrConstraints.MasterTableView.IsItemInserted%>'>
                                                                                                                                    <img style="border: 0px; vertical-align: middle;" alt="" src="../Images/imgEditBtnEnable.png" /> 
                                                                                                                                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:btnEditSelectedConstraint %>"></asp:Literal>  
                                                                                                                                </asp:LinkButton>   </td>
                                                                                                                                <td> <asp:LinkButton ID="btnUpdateEdited" runat="server" CommandName="UpdateEdited" Visible='<%# rgAttrConstraints.EditIndexes.Count > 0 %>'>
                                                                                                                                    <img style="border: 0px; vertical-align: middle;" alt="" src="../Images/update.png" /> 
                                                                                                                                    <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:btnUpdateEditedConstraint %>"></asp:Literal>  
                                                                                                                                </asp:LinkButton> </td>
                                                                                                                              <td>  <asp:LinkButton ID="btnCancel" runat="server" CommandName="CancelAll" Visible='<%# rgAttrConstraints.EditIndexes.Count > 0 || rgAttrConstraints.MasterTableView.IsItemInserted %>'>
                                                                                                                                    <img style="border: 0px; vertical-align: middle;" alt="" src="../Images/imgDelBtnEnable.png" /> 
                                                                                                                                    <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:btnCancel %>"></asp:Literal>  
                                                                                                                                </asp:LinkButton> </td>
                                                                                                                                <td> <asp:LinkButton ID="btnDeleteConstraint" runat="server" CommandName="DeleteSelected"
                                                                                                                                    Visible='<%# rgAttrConstraints.EditIndexes.Count == 0 && !rgAttrConstraints.MasterTableView.IsItemInserted %>'
                                                                                                                                    OnClientClick="javascript:return ConfirmConstraintsDelete();">
                                                                                                                                    <%--OnClientClick="ConfirmConstraintsDelete();"--%>
                                                                                                                                    <img style="border: 0px; vertical-align: middle;" alt="" src="../Images/imgDelBtnEnable.png" /> 
                                                                                                                                    <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:btnDeleteConstraint %>"></asp:Literal>  
                                                                                                                                </asp:LinkButton> </td>
                                                                                                                                 <td> <asp:LinkButton ID="btnAndOr" runat="server" CommandName="AndOr" OnClick="btnAndOrAttrConstraint_Click"
                                                                                                                                    Visible='<%# rgAttrConstraints.EditIndexes.Count == 0 && !rgAttrConstraints.MasterTableView.IsItemInserted %>'>
                                                                                                                                    <img style="border: 0px; vertical-align: middle;" alt="" src="../Images/and_or.png" />  
                                                                                                                                </asp:LinkButton></td>
                                                                                                                                <td>  <asp:LinkButton ID="btnUseNot" runat="server" CommandName="AddGroup" OnClick="btnUseNotAttrConstraint_Click"
                                                                                                                                    Visible='<%# rgAttrConstraints.EditIndexes.Count == 0 && !rgAttrConstraints.MasterTableView.IsItemInserted %>'>
                                                                                                                                    <img style="border: 0px; vertical-align: middle;" alt="" src="../Images/not.png" />   
                                                                                                                                </asp:LinkButton> </td>
                                                                                                                               <td> <asp:LinkButton ID="btnAddGroup" runat="server" CommandName="AddGroup" OnClick="btnGroupConstraints_Click"
                                                                                                                                    Visible='<%# rgAttrConstraints.EditIndexes.Count == 0 && !rgAttrConstraints.MasterTableView.IsItemInserted %>'>
                                                                                                                                    <img style="border: 0px; vertical-align: middle;" alt="" src="../Images/AddGroupClause.gif" /> 
                                                                                                                                    <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:btnAddGroup %>"></asp:Literal>  
                                                                                                                                </asp:LinkButton>  </td>
                                                                                                                              <td>  <asp:LinkButton ID="btnRemoveGroup" runat="server" CommandName="removeGroup" OnClick="btnRemoveGroupConstraints_Click"
                                                                                                                                    Visible='<%# rgAttrConstraints.EditIndexes.Count == 0 && !rgAttrConstraints.MasterTableView.IsItemInserted %>'>
                                                                                                                                    <img style="border: 0px; vertical-align: middle;" alt="" src="../Images/UnGroupClause.gif" /> 
                                                                                                                                    <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:btnRemoveGroup %>"></asp:Literal>  
                                                                                                                                </asp:LinkButton>  </td>
                                                                                                                              <td>  <asp:LinkButton ID="btnMoveConstraintUp" runat="server" CommandName="MoveUp" OnClick="btnMoveConstraintUp_Click"
                                                                                                                                    Visible='<%# rgAttrConstraints.EditIndexes.Count == 0 && !rgAttrConstraints.MasterTableView.IsItemInserted %>'>
                                                                                                                                    <img style="border: 0px; vertical-align: middle;" alt="" src="../Images/Up.png" /> 
                                                                                                                                    <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:btnMoveConstraintUp %>"></asp:Literal>  
                                                                                                                                </asp:LinkButton>   </td>
                                                                                                                               <td> <asp:LinkButton ID="btnMoveConstraintDown" runat="server" CommandName="MoveDown"
                                                                                                                                    OnClick="btnMoveConstraintDown_Click" Visible='<%# rgAttrConstraints.EditIndexes.Count == 0 && !rgAttrConstraints.MasterTableView.IsItemInserted %>'>
                                                                                                                                    <img style="border: 0px; vertical-align: middle;" alt="" src="../Images/Down.png" /> 
                                                                                                                                    <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:btnMoveConstraintDown %>"></asp:Literal>  
                                                                                                                                </asp:LinkButton>   </td>
                                                                                                                             <td>   <asp:LinkButton ID="btnAdvancedMode" runat="server" CommandName="UpdateEdited" OnClientClick="return AdvancedConstraintMode();"
                                                                                                                                    Visible='<%# rgAttrConstraints.EditIndexes.Count > 0 || rgAttrConstraints.MasterTableView.IsItemInserted %>'>
                                                                                                                                    <img style="border: 0px; vertical-align: middle;" alt="" src="../Images/advanced.png" /> 
                                                                                                                                    <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:btnAdvancedMode %>"></asp:Literal>  
                                                                                                                                </asp:LinkButton>   </td>
 
                                                                                                                                    </tr>
                                                                                                                                </table>
                                                                                                                            </div>
                                                                                                                        </CommandItemTemplate>
                                                                                                                        <Columns>
                                                                                                                            <telerik:GridTemplateColumn UniqueName="Constraint_Group" HeaderText="" HeaderStyle-Width="10px"
                                                                                                                                ItemStyle-Width="10px">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <asp:Label ID="lblGroup" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "GroupingDisplayText")%>'></asp:Label>
                                                                                                                                    <asp:HiddenField ID="hdnParentId" runat="server" />
                                                                                                                                    <asp:HiddenField ID="hdnConstraintId" runat="server" Value='<%#DataBinder.Eval(Container.DataItem, "Id")%>' />
                                                                                                                                </ItemTemplate>
                                                                                                                            </telerik:GridTemplateColumn>
                                                                                                                            <telerik:GridTemplateColumn UniqueName="Constraint_AndOr" HeaderText="" HeaderStyle-Width="45px"
                                                                                                                                ItemStyle-HorizontalAlign="Center">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <asp:Literal ID="ltrNodeOperator" runat="server"></asp:Literal>
                                                                                                                                </ItemTemplate>
                                                                                                                                <%--<EditItemTemplate>
                                                                                                                                    <telerik:RadComboBox ID="ddlAndOr" runat="server" AutoPostBack="true" Width="100%">
                                                                                                                                        <Items>
                                                                                                                                            <telerik:RadComboBoxItem Text="And" Value="0"></telerik:RadComboBoxItem>
                                                                                                                                            <telerik:RadComboBoxItem Text="Or" Value="1"></telerik:RadComboBoxItem>
                                                                                                                                        </Items>
                                                                                                                                    </telerik:RadComboBox>
                                                                                                                                </EditItemTemplate>--%>
                                                                                                                            </telerik:GridTemplateColumn>
                                                                                                                            <telerik:GridTemplateColumn UniqueName="Constraint_UseNot" HeaderText="" HeaderStyle-Width="40px"
                                                                                                                                ItemStyle-HorizontalAlign="Center">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <asp:Literal ID="ltrUseNot" runat="server"></asp:Literal>
                                                                                                                                </ItemTemplate>
                                                                                                                                <%--<EditItemTemplate>
                                                                                                                                    <telerik:RadComboBox ID="ddlNot" runat="server" AutoPostBack="true" Width="100%">
                                                                                                                                        <Items>
                                                                                                                                            <telerik:RadComboBoxItem Text="" Value="0"></telerik:RadComboBoxItem>
                                                                                                                                            <telerik:RadComboBoxItem Text="Not" Value="1"></telerik:RadComboBoxItem>
                                                                                                                                        </Items>
                                                                                                                                    </telerik:RadComboBox>
                                                                                                                                </EditItemTemplate>--%>
                                                                                                                            </telerik:GridTemplateColumn>
                                                                                                                            <telerik:GridTemplateColumn UniqueName="Constraint_Name" DataField="Name" HeaderText="<%$ Resources:Constraint_Name %>"
                                                                                                                                HeaderStyle-Width="90px">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <asp:Image ID="imgIcon" runat="server" ImageUrl="~/Images/CustomConstraint.bmp" />
                                                                                                                                    <asp:Literal ID="ltrConstraintName" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Name")%>'></asp:Literal>
                                                                                                                                </ItemTemplate>
                                                                                                                                <EditItemTemplate>
                                                                                                                                    <telerik:RadTextBox ID="txtConstraintName" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Name")%>'
                                                                                                                                        Width="100%">
                                                                                                                                    </telerik:RadTextBox>
                                                                                                                                </EditItemTemplate>
                                                                                                                            </telerik:GridTemplateColumn>
                                                                                                                            <telerik:GridTemplateColumn UniqueName="Constraint_Dimension" DataField="ConstraintLeftDimension"
                                                                                                                                HeaderText="<%$ Resources:Constraint_Dimension %>" HeaderStyle-Width="100px">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <asp:Literal ID="ltrDimensionName" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ConstraintLeftDimension")%>'></asp:Literal>
                                                                                                                                </ItemTemplate>
                                                                                                                                <EditItemTemplate>
                                                                                                                                    <telerik:RadComboBox ID="ddlDimension" runat="server" AutoPostBack="true" Width="100%">
                                                                                                                                    </telerik:RadComboBox>
                                                                                                                                </EditItemTemplate>
                                                                                                                            </telerik:GridTemplateColumn>
                                                                                                                            <telerik:GridTemplateColumn UniqueName="Constraint_Field" HeaderText="<%$ Resources:Constraint_Field %>"
                                                                                                                                HeaderStyle-Width="100px">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <%#DataBinder.Eval(Container.DataItem, "ConstraintLeftAttribute")%>
                                                                                                                                </ItemTemplate>
                                                                                                                                <EditItemTemplate>
                                                                                                                                    <telerik:RadComboBox ID="ddlField" runat="server" AutoPostBack="true" Width="100%">
                                                                                                                                    </telerik:RadComboBox>
                                                                                                                                </EditItemTemplate>
                                                                                                                            </telerik:GridTemplateColumn>
                                                                                                                            <telerik:GridTemplateColumn UniqueName="Constraint_Operator" HeaderText="<%$ Resources:Constraint_Operator %>"
                                                                                                                                HeaderStyle-Width="80px">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <asp:Literal ID="ltrOperator" runat="server"></asp:Literal>
                                                                                                                                </ItemTemplate>
                                                                                                                                <EditItemTemplate>
                                                                                                                                    <telerik:RadComboBox ID="ddlOperators" runat="server" AutoPostBack="true" Width="100%"
                                                                                                                                        DropDownWidth="120px">
                                                                                                                                    </telerik:RadComboBox>
                                                                                                                                </EditItemTemplate>
                                                                                                                            </telerik:GridTemplateColumn>
                                                                                                                            <telerik:GridTemplateColumn UniqueName="Constraint_Value1" HeaderText="<%$ Resources:Constraint_Value1 %>"
                                                                                                                                HeaderStyle-Width="80px">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <%#DataBinder.Eval(Container.DataItem, "ConstraintValue1")%>
                                                                                                                                </ItemTemplate>
                                                                                                                                <EditItemTemplate>
                                                                                                                                    <telerik:RadTextBox ID="txtValue1" runat="server" Enabled="true" Width="50%">
                                                                                                                                    </telerik:RadTextBox>
                                                                                                                                    <%--<asp:Label ID="lblValue1" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ConstraintValue1")%>'></asp:Label>--%>
                                                                                                                                    <asp:ImageButton ID="imgbPickValue1" runat="server" OnClick="btnPickDBValue1_Click"
                                                                                                                                        ImageUrl="~/Images/valuepicker.png" ToolTip="Pick DB Value" />
                                                                                                                                    <asp:ImageButton ID="imgParameters1" runat="server" OnClientClick="onPickParameter1()"
                                                                                                                                        ImageUrl="~/Images/pickparameter_16x16.png" ToolTip="Pick Parameter" />
                                                                                                                                </EditItemTemplate>
                                                                                                                            </telerik:GridTemplateColumn>
                                                                                                                            <telerik:GridTemplateColumn UniqueName="Constraint_Value2" HeaderText="<%$ Resources:Constraint_Value2 %>"
                                                                                                                                HeaderStyle-Width="80px">
                                                                                                                                <ItemTemplate>
                                                                                                                                    <%#DataBinder.Eval(Container.DataItem, "ConstraintValue2")%>
                                                                                                                                </ItemTemplate>
                                                                                                                                <EditItemTemplate>
                                                                                                                                    <telerik:RadTextBox ID="txtValue2" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ConstraintValue2")%>'
                                                                                                                                        Enabled="true" Width="50%">
                                                                                                                                    </telerik:RadTextBox>
                                                                                                                                    <%--<asp:Label ID="lblValue2" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "ConstraintValue2")%>'></asp:Label>--%>
                                                                                                                                    <asp:ImageButton ID="imgbPickValue2" runat="server" OnClick="btnPickDBValue2_Click"
                                                                                                                                        ImageUrl="~/Images/valuepicker.png" ToolTip="Pick DB Value" />
                                                                                                                                    <asp:ImageButton ID="imgParameters2" runat="server" OnClientClick="onPickParameter2()"
                                                                                                                                        ImageUrl="~/Images/pickparameter_16x16.png" ToolTip="Pick Parameter" />
                                                                                                                                </EditItemTemplate>
                                                                                                                            </telerik:GridTemplateColumn>
                                                                                                                            <%--<telerik:GridEditCommandColumn UniqueName="Constraint_Edit" HeaderText="" HeaderStyle-Width="100px"
                                                                                                                EditText="Edit" ButtonType="ImageButton"  EditImageUrl="../Images/imgEditBtnEnable.png" UpdateImageUrl="../Images/Success.gif"
                                                                                                                InsertImageUrl="../Images/Success.gif" CancelImageUrl="../Images/Error.gif"></telerik:GridEditCommandColumn>--%>
                                                                                                                        </Columns>
                                                                                                                    </MasterTableView>
                                                                                                                </telerik:RadGrid>
                                                                                                          <%--  </ContentTemplate>
                                                                                                        </asp:UpdatePanel>--%>
                                                                                                    </td>
                                                                                                </tr>
                                                                                            </table>
                                                                                        </telerik:RadSlidingPane>

So please give me the solution for this. I've attached screen shot for more information.
Dobromir
Telerik team
 answered on 07 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?