Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
269 views
Hi there I have a list box filled with a list of course names. If a course is assigned to you then it will have a green colour block before the name, if its not assigned to you it will appear with a red block before the name. I have three radio buttons one called "All", another called "Assigned", and the last one called "Not Assigned". Is it possible when selecting assigned that the green ones will just appear and when selecting not assigned only the red ones will appear? I've tried adding the radio button code into the page load but editing the lists like this removes the items forever for example when I click on assigned it removed the red items for the remainder of that session. What is the best way to do this?

Thanks, James
Nencho
Telerik team
 answered on 05 Dec 2012
1 answer
100 views
I just installed the Tererik Controls to visual studio and when I added the RagOrgChart to my page it added just fine but when I opened it up in my browser it gave me a security warning:  Her is the HTML Code:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="LeapTree.aspx.vb" Inherits="Pages_Leaps_LeapTree" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head>
    <title>Test</title>
</head>
 
<body>
    <form id="form1" runat="server">
    <telerik:RadOrgChart ID="RadOrgChart1" runat="server">
    </telerik:RadOrgChart>
 
    </form>
</body>
</html>


Server Error in '/BuisnessPlan_2' Application.

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.] System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase) +0 System.Web.UI.NamespaceTagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs, Boolean throwOnError) +98 System.Web.UI.NamespaceTagNameToTypeMapper.System.Web.UI.ITagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs) +11 System.Web.UI.TagPrefixTagNameToTypeMapper.System.Web.UI.ITagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs) +127 System.Web.UI.MainTagNameToTypeMapper.GetControlType2(String tagName, IDictionary attribs, Boolean fAllowHtmlTags) +228 System.Web.UI.MainTagNameToTypeMapper.GetControlType(String tagName, IDictionary attribs, Boolean fAllowHtmlTags) +28 System.Web.UI.RootBuilder.GetChildControlType(String tagName, IDictionary attribs) +20 System.Web.UI.ControlBuilder.CreateChildBuilder(String filter, String tagName, IDictionary attribs, TemplateParser parser, ControlBuilder parentBuilder, String id, Int32 line, VirtualPath virtualPath, Type& childType, Boolean defaultProperty) +69 System.Web.UI.TemplateParser.ProcessBeginTag(Match match, String inputText) +526 System.Web.UI.TemplateParser.ParseStringInternal(String text, Encoding fileEncoding) +896 


Version Information: Microsoft .NET Framework Version:2.0.50727.6400; ASP.NET Version:2.0.50727.6387            
Kate
Telerik team
 answered on 05 Dec 2012
1 answer
256 views
Hi,

I downloaded the telerik suite of controls from the below location: RadControls for ASP.NET AJAX Q3 2012
 http://www.telerik.com/products/aspnet-ajax/download.aspx

I have checked this site: http://www.telerik.com/help/aspnet-ajax/moss-deploying-radcontrols.html

I am using SharePoint 2010 and trying to use the RAD Grid. I created a visual web part and added the radgrid and bound the controls.
I have the Telerik.web.ui (version 2012.3.1016.35), Telerik.Web.Design (version 2012.3.1016.35) in GAC. I have added the safecontrols as below:
<SafeControl Assembly="Telerik.Web.UI, Version=2012.3.1016.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" />
      <SafeControl Assembly="Telerik.Web.UI, Version=2012.3.1016.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" />

I have both the dll's added in 14 bin and in the  bin of the website.
I am getting the error as "could not load file or assembly Telerik.web.ui Version 2011.2.712.20,culture=neutral,PublicKeyToken=121fae78165ba3d4 . The located assembly's manifest location does not match the assembly reference.

How to fix this?
Thanks
Marin
Telerik team
 answered on 05 Dec 2012
11 answers
878 views
I have a combobox as follows:

<telerik:RadComboBox ID="ddlDevelopmentArea" runat="server" Width="200px" DropDownWidth="220px"
                    EmptyMessage="" HighlightTemplatedItems="true" OnClientSelectedIndexChanged="OnClientSelectedIndexChangedEventHandler">
                    <HeaderTemplate>
                        <table style="width: 240px" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="width: 150px;">
                                    <asp:Label runat="server">
                                        <%=AutismPro.Classroom.SR.GetString("Curriculum", "Curriculum_DesignCurriculum_DevelopmentAreaCombo_Header")%>
                                    </asp:Label>
                                </td>
                                <td style="width: 90px;">
                                    <%=AutismPro.Classroom.SR.GetString("Curriculum", "Curriculum_DesignCurriculum_DevelopmentAreaCombo_HasGoals")%>
                                </td>
                            </tr>
                        </table>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <table style="width: 210px" cellspacing="0" cellpadding="0">
                            <tr>
                                <td style="width: 150px;">
                                    <%# DataBinder.Eval(Container, "Text")%>
                                </td>
                                <td style="width: 60px;">
                                    <%# DataBinder.Eval(Container, "Attributes['HasGoals']")%>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </telerik:RadComboBox>

I would like to change the value of an attribute at client side. Following is my code try:

var combo = $find("<%= ddlDevelopmentArea.ClientID %>");                     
combo.trackChanges();
combo.get_selectedItem().get_attributes().setAttribute("HasGoals", "False");
combo.commitChanges();

The value gets changed in combo object but is not reflecting in UI/HTML.

Please help.

Thanks in advance.
Cat Cheshire
Top achievements
Rank 1
 answered on 05 Dec 2012
1 answer
69 views

HI,

we have a RadGrid which Has 1 RadCombo with LoadonDemand and 2buttons to "ADD" and "DEL" Rows
to avoid Postback we are using RadAjaxManager on RadGrid

Issue here is while clicking Add button for first 5 times we are able to ADD records.
after that if we click ADD button  it is not firing one more thing we observed id before clicking ADD button if we open the RadComboBox it is throwing error like "The Target <ID> for the Callback could not be found or did not implement IcallBackeventHandler"

same thing is happening when we use ASP UpdatePanel

if we Remove the RadAjaxManager or UpdatePanel  every thing is working Fine.

Please Help! Quick reply will be highly appreciated

Please find the Code below for more reference

<telerik:RadAjaxManager ID="RadAjaxManager1"  runat="server">
            <AjaxSettings>
                 <telerik:AjaxSetting AjaxControlID="RadGrid_BrokerMgmt">
                     <UpdatedControls>  
                         <telerik:AjaxUpdatedControl ControlID="RadGrid_BrokerMgmt"></telerik:AjaxUpdatedControl>                          
                         <telerik:AjaxUpdatedControl ControlID="btnAddrw"></telerik:AjaxUpdatedControl>
                          <telerik:AjaxUpdatedControl ControlID="btnDelrw"></telerik:AjaxUpdatedControl>
                     </UpdatedControls>
                 </telerik:AjaxSetting>
             </AjaxSettings>
         </telerik:RadAjaxManager>
         <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Transparency="5">             
           </telerik:RadAjaxLoadingPanel>
                      <table width="100%" style="border-width: 1px">
                 <tr>
                     <td style="border: 0px">
                         <telerik:RadGrid ID="RadGrid_BrokerMgmt" AllowPaging="false" AutoGenerateColumns="false"
                             AllowSorting="false" runat="server" Width="100%" CssClass="RadGridCustomClass"
                             OnItemDataBound="RadGrid_BrokerMgmt_ItemDataBound" BorderWidth="1px" BorderColor="Gray">
                             <itemstyle cssclass="rwStyle_Brkmgnt" font-size="9px" />
                             <mastertableview>
                                 <Columns>
                                     <telerik:GridTemplateColumn UniqueName="Broker_Name" DataField="Broker_Name" ItemStyle-Width="600px"
                                         ItemStyle-Wrap="false">
                                         <ItemTemplate>
                                           
                                             <telerik:RadComboBox ID="ddlBrokers" runat="server" Width="150px" Font-Names="Arial"
                                                 Style="vertical-align: middle;" Skin="Outlook" CssClass="RadCombo" Font-Size="8pt"
                                                 HighlightTemplatedItems="True" MarkFirstMatch="true" AllowCustomText="true" EnableLoadOnDemand="true"
                                                 OnItemsRequested="ddlBroker_OnItemsRequested" OnClientDropDownOpening="OnClientDropDownOpening"
                                                 DropDownWidth="300px" MaxHeight="150px" />
                                                
                                             <asp:label id="lblBrokers" runat="server" font-bold="true" visible="false" font-names="Arial"
                                                 font-size="10px" />
                                             <asp:button id="btnAddrw" runat="server" text="+" causesvalidation="false" style="vertical-align: middle"
                                                 commandargument='<%#Container.ItemIndex%>' oncommand="ADD_Command" />
                                             <asp:button id="btnDelrw" runat="server" text="-" style="vertical-align: middle"
                                                 onclientclick="javascript :if(!deleteConfirmations()){return false;};" usesubmitbehavior="false"
                                                 commandargument='<%#Container.ItemIndex%>' oncommand="DEL_Command" />
                                             
                                         </ItemTemplate>
                                     </telerik:GridTemplateColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NoOfOffices" DataField="NoOfOffices">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NewSub" DataField="NewSub">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NewSub_Count" DataField="NewSub_Count"
                                         ItemStyle-Width="120px">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NewSub_Ratio" DataField="NewSub_Ratio"
                                         ItemStyle-Width="120px">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NewQuote" DataField="NewQuote">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NewQuote_Count" DataField="NewQuote_Count"
                                         ItemStyle-Width="120px">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NewQuote_Ratio" DataField="NewQuote_Ratio"
                                         ItemStyle-Width="120px">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NewBound" DataField="NewBound">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NewBound_Count" DataField="NewBound_Count"
                                         ItemStyle-Width="120px">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NewBound_Ratio" DataField="NewBound_Ratio"
                                         ItemStyle-Width="120px">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NewForecast" DataField="NewForecast"
                                         ItemStyle-Width="100px">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NewForecast_PR" DataField="NewForecast_PR"
                                         ItemStyle-Width="120px">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NewForecast_Count"
                                         DataField="NewForecast_Count" ItemStyle-Width="120px">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="NewForecast_Ratio"
                                         DataField="NewForecast_Ratio" ItemStyle-Width="120px">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="RenBound" DataField="RenBound">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="Retention" DataField="Retention">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn UniqueName="TotalBoundForecast" DataField="TotalBoundForecast">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridNumericColumn ItemStyle-Wrap="false" UniqueName="VsPrior" DataField="VsPrior">
                                     </telerik:GridNumericColumn>
                                     <telerik:GridTemplateColumn UniqueName="Broker_Category" DataField="Broker_Category"
                                         Visible="false">
                                         <ItemTemplate>
                                             <asp:label id="lblBroker_Category" runat="server" text='<%# Bind("Broker_Category") %>'>
                                             </asp:label>
                                         </ItemTemplate>
                                     </telerik:GridTemplateColumn>
                                 </Columns>
                             </mastertableview>
                         </telerik:RadGrid>
                     </td>
                 </tr>
             </table>
protected void ADD_Command(object sender, CommandEventArgs e)
   {
       try
       {
           //savebroker();
           int number, index = 0;
           DataTable Dt = (DataTable)Session["dt"];
           DataRow dr = Dt.NewRow();
           if (Int32.TryParse(e.CommandArgument.ToString(), out number))
           {
               index = number + 1;
              //GridItem item = RadGrid_BrokerMgmt.MasterTableView.GetItems(GridItemType.SelectedItem) as GridItem;
              // Dt.Rows[number][1] = ((RadComboBox)item.FindControl("ddlBrokers")).SelectedValue;
           }
           foreach (GridDataItem item in RadGrid_BrokerMgmt.Items)
           {
               if (number == item.ItemIndex &&  !string.IsNullOrEmpty(((RadComboBox)item.FindControl("ddlBrokers")).SelectedValue))
               {
                   Dt.Rows[number][1] = ((RadComboBox)item.FindControl("ddlBrokers")).SelectedValue;
               }
           }
           if (index > 0)
           {
               for (int i = 0; i < Dt.Columns.Count; i++)
               {
                   if (i == 0)
                       dr[0] = Dt.Rows[index - 1][0];
                   else if (i == 1)
                       dr[1] = " Select ";
                   else if (i == 2)
                       dr[2] = "0";
                   else
                       dr[i] = "";
               }
           }
           //RadGrid_BrokerMgmt.MasterTableView.Columns.Clear();
           Dt.Rows.InsertAt(dr, index);
           RadGrid_BrokerMgmt.DataSource = Dt;
           RadGrid_BrokerMgmt.DataBind();
           Session["dt"] = Dt;
           RadGrid_BrokerMgmt.Items[0].Visible = false;
           //for (int i = 0; i < RadGrid_BrokerMgmt.Items.Count; i++)
           //{
           //    RadComboBox ddlBrokers = RadGrid_BrokerMgmt.Items[i].FindControl("ddlBrokers") as RadComboBox;
           //    ddlBrokers.DataSource = BindBroker();
           //    ddlBrokers.DataTextField = "Broker_Name";
           //    ddlBrokers.DataValueField = "Broker_Name";
           //    ddlBrokers.DataBind();
               
           //}
       }
       catch (Exception ex)
       {
           throw new ApplicationException(ex.Message);
       }
   }


 

Maria Ilieva
Telerik team
 answered on 05 Dec 2012
1 answer
160 views
hi,
I just try to setup a basic scenario with RadGrid using CRUD.
So far select and delete works, but update and insert fails. I cannot see, whats going wrong.
Here is my table definition:
CREATE TABLE [dbo].[Projects] (
    [ProjectId]      INT              IDENTITY (1, 1) NOT NULL,
    [Project]        NVARCHAR (MAX)   NOT NULL,
    [OrganizationId] UNIQUEIDENTIFIER NOT NULL,
    [Created]        DATETIME         DEFAULT (getdate()) NULL,
    [Updated]        DATETIME         DEFAULT (getdate()) NULL,
    PRIMARY KEY CLUSTERED ([ProjectId] ASC)
);
The updated column has a trigger. Hope that is not the problem.
The SqlDataSource is:
<asp:SqlDataSource ID="SqlDataSourceProjects" runat="server" ConnectionString="<%$ ConnectionStrings:DefaultConnection %>" DeleteCommand="DELETE FROM Projects WHERE (ProjectId = @ProjectId)" InsertCommand="INSERT INTO Projects(Project, OrganizationId) VALUES (@Project, @OrganizationId)" SelectCommand="SELECT Projects.* FROM Projects WHERE (OrganizationId = @OrganizationId)" UpdateCommand="UPDATE Projects SET Project = @Projects WHERE (OrganizationId = @OrganizationId)">
        <DeleteParameters>
            <asp:Parameter Name="ProjectId" DbType="Int32" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="Project" DbType="String" />
            <asp:SessionParameter Name="OrganizationId" SessionField="OrganizationId" DbType="Guid" />
        </InsertParameters>
        <SelectParameters>
            <asp:SessionParameter Name="OrganizationId" SessionField="OrganizationId" />
        </SelectParameters>
        <UpdateParameters>
            <asp:Parameter Name="Projects" DbType="String" />
            <asp:SessionParameter Name="OrganizationId" SessionField="OrganizationId" DbType="Guid" />
        </UpdateParameters>
    </asp:SqlDataSource>
and the radGrid is:
<telerik:RadGrid ID="RadGridProjects" runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" AutoGenerateDeleteColumn="True" AutoGenerateEditColumn="True" CellSpacing="0" Culture="de-DE" DataSourceID="SqlDataSourceProjects" GridLines="None" Skin="Metro">
<MasterTableView DataKeyNames="ProjectId" DataSourceID="SqlDataSourceProjects" CommandItemDisplay="TopAndBottom">
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
 
<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
 
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
 
    <Columns>
        <telerik:GridBoundColumn DataField="ProjectId" DataType="System.Int32" FilterControlAltText="Filter ProjectId column" HeaderText="ProjectId" ReadOnly="True" SortExpression="ProjectId" UniqueName="ProjectId">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="Project" FilterControlAltText="Filter Project column" HeaderText="Project" SortExpression="Project" UniqueName="Project">
        </telerik:GridBoundColumn>
    </Columns>
 
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
</MasterTableView>
 
<FilterMenu EnableImageSprites="False"></FilterMenu>
    </telerik:RadGrid>
It would be really nice, if some pros can tell me, what is wrong.
Thanks in advance!
Andreas

Kostadin
Telerik team
 answered on 05 Dec 2012
3 answers
253 views
Hi,
I am using the Rad Grid available in "RadControls for ASP.NET AJAX Q3 2012" in Sharepoint 2010(vs2010/c# 3.5).
I have a visual webpart, which has 5 textbox, radgrid and a submit button.

Currently i have the items in the grid getting inserted/deleted/updated in the "oninsertcommand/ondeletecommand/onupdatecommand" events.

However, I want to do these grid changes only when the submit button is clicked. How to achieve this?
Thanks
Shinu
Top achievements
Rank 2
 answered on 05 Dec 2012
3 answers
76 views
Hi,
I am using RAD Grid in sharepoint 2010. I have added the insercommand and when i click on save in the grid, i am getting "object reference not set to instance of object error".
Below is the code i have used:
<div>
         
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
    </telerik:RadAjaxLoadingPanel>
<telerik:RadGrid ID="RadGrid1" runat="server" EnableViewState="true" ShowStatusBar="true"
        ShowFooter="True" onitemcommand="RadGrid1_ItemCommand" 
        ondeletecommand="RadGrid1_DeleteCommand" 
        oninsertcommand="RadGrid1_InsertCommand" 
        onupdatecommand="RadGrid1_UpdateCommand" 
        onneeddatasource="RadGrid1_NeedDataSource" >
    <MasterTableView DataKeyNames="Title" AutoGenerateColumns="false" EditMode="InPlace" CommandItemDisplay="TopAndBottom" CommandItemSettings-AddNewRecordText="Add New Item" >
                    <Columns>
                     <telerik:GridEditCommandColumn ButtonType="ImageButton">
                        </telerik:GridEditCommandColumn>
                        <telerik:GridButtonColumn ConfirmText="Delete this product?" ConfirmDialogType="RadWindow"
                            ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" ConfirmDialogHeight="100px"
                            ConfirmDialogWidth="220px">
                        </telerik:GridButtonColumn>
  
                     <telerik:GridTemplateColumn DataField="Title" HeaderText="Product Number" UniqueName="ProductNumber"
                            Visible="true">
                            <InsertItemTemplate>
                                <telerik:RadTextBox ID="RadtxtPrdNumber" runat="server" Text='<%# Bind("Title") %>' >
                                </telerik:RadTextBox>
                            </InsertItemTemplate>
                            <EditItemTemplate>
                                <telerik:RadTextBox ID="RadtxtPrdNumber" runat="server" Text='<%# Eval("Title") %>' >
                                </telerik:RadTextBox>
                            </EditItemTemplate>    
                            <ItemTemplate>
                            <telerik:RadTextBox ID="RadtxtPrdNumber" ReadOnly="true" runat="server" Text='<%# Eval("Title") %>' />
                            </ItemTemplate>                       
                        </telerik:GridTemplateColumn>
  
 </Columns>
      
    </MasterTableView>
     <ClientSettings EnableRowHoverStyle="true">
        </ClientSettings>
  
    </telerik:RadGrid>
  
  
<asp:Button ID="btnSubmit" runat="server" Text="Submit" 
        onclick="btnSubmit_Click" />
</div>

protected void RadGrid1_InsertCommand(object sender, GridCommandEventArgs e)
        {
            GridEditableItem item = e.Item as GridEditableItem;
            Hashtable values = new Hashtable();
            item.ExtractValues(values);
            string ti = values["Title"].ToString();
}

In the Insercommand code, values is coming as null.
How to fix this?
Thanks
Shinu
Top achievements
Rank 2
 answered on 05 Dec 2012
1 answer
104 views
Hi,

I am hiding a number of columns, TreeListSelectColumn and TreeListButtonColumn on ItemDatabound. When the page does a postback or async postback the columns reappear?

Any suggestions much appreciated,

Regards
Ross
Radoslav
Telerik team
 answered on 05 Dec 2012
8 answers
382 views
hi

I have set AllowAutomaticInsert to True but i still don't see any insert link.

Is there any tutorial that would guide me through for a newbie? I follow the online demo and i still don't get it. I would like to have a inplace insert. Thanks
Peter
Top achievements
Rank 1
 answered on 05 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?