Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
199 views
Hi
I am using VS 2008 with your latest release and .net 3.5 and C#.  I have a radgrid whith data columns defined using templates as follows:

<

 

telerik:GridTemplateColumn   

 

        <ItemTemplate>

 

 

            <asp:Label ID="ShortActivityDescription"

 

 

                runat="server"

 

 

               Text='<%# Eval("ShortActivityDescription")%>'>

 

 

            </asp:Label>

 

 

        </ItemTemplate>

 

 

</telerik:GridTemplateColumn>

I originally load the grid (server side) during page load using the OnNeedDatasouce method defined in the RadGrid definition.  Thereafter, I am using javascript and webservice(s) to do the insert, update, and delete logic and database IO.  The webservice returns a list of data records to the calling javascript function.  the successful completion method then does the following code (exactly like your demo example):

 

 

function Get_West_Activity_Grid_Complete(result)

 

{

 

if (result != null)

 

    {

 

 

    var tableView = $find("<%= Grid_West.ClientID %>").get_masterTableView();

 

    tableView.set_dataSource(result);

    tableView.dataBind();

 

 


    var
grid = $find("<%= Grid_West.ClientID %>");

 

    grid.repaint();

 

    }

}

 

The data gets added, changed, or deleted to/from the database but the grid does not refresh reflecting the changed data.  The data properties in the web service result list contain the correct data and number of list objects are correct.  The List properties identifiers(names) match the label id in the item template.  The grid has the EnableAJAX property set to true.

I have researched the Forum material, user documentation and clientside api material and cannot see what I am doing wrong.  I have read thru the following sources:

Grid / WebService Binding
Grid / .NET 3.5 Client-side Data Binding - automatic binding to WCF and ADO.NET services
Grid / Declarative Binding
Grid / Programmatic Binding
Grid / Client-side Binding and Caching

Please help

Daniel
Telerik team
 answered on 28 Nov 2012
5 answers
211 views
hi ,i want to make one of the  columns unselectable  so the user can't select row by clicking on that column  or unselect  or darg mouse to select multi rows in same time (this column have no effect to select or unselect row or rows)
Ashraf
Top achievements
Rank 2
 answered on 28 Nov 2012
4 answers
127 views
I am getting an error that is just causing me all sorts of consternation finding a solution to.  My code was working until I made some changes and posted it back onto the production server.  The biggest problem here is that I don't get the error to occur on my dev machine so I can't use my debugger for any help.

I have an ASPX website with a Telerik RadGrid (version 2011.2.915.40) with another couple of RadGrids inside of the main 
NestedViewTemplate.  I have checked all throughout my code looking for a place where this conversion from
nvarchar to int may be taking place yet i can't find it.  I don't understand why this error is occurring and 
would be most grateful to anyone that has run into something like this before and can give me a heads up
on what might be happening.  Please see error message below.

Thanks,

James


Javascript error on Browser:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E)
Timestamp: Wed, 21 Nov 2012 21:11:39 UTC
Message: Sys.WebForms.PageRequestManagerServerErrorException: Conversion failed when converting the nvarchar value 'CO00024843' to data type int.
Line: 3
Char: 74741
Code: 0
URI: https://localhost/IPM/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.60919.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen-US%3aee051b62-9cd6-49a5-87bb-93c07bc43d63%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3a9799c67b-558a-475d-bf30-a0ccf0dbb8b7%3a16e4e7cd%3af7645509%3a22a6274a%3aed16cbdc%3a24ee1bba%3a19620875%3a874f8ea2%3af46195d3%3a490a9d4e%3abd8f85e4%3a58366029%3ae330518b%3a1e771326%3ac8618e41%3ae4f8f289

CodeBehind error:  System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Data.SqlClient.SqlException (0x80131904): Conversion failed when converting the nvarchar value 'CO00024843' to data type int.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlDataReader.HasMoreRows()
   at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout)
   at System.Data.SqlClient.SqlDataReader.Read()
   at System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping)
   at System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
   at System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
   at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)
   at System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)
   at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callb
Eyup
Telerik team
 answered on 28 Nov 2012
14 answers
892 views
Hi,

I've enabled the Header context menu for column and would like to hide/disable some of the columns that appear in the list. What is the best way to do this, are there any samples?

Thanks
Badrinarayanan
Top achievements
Rank 1
 answered on 28 Nov 2012
1 answer
298 views
Hi Friends,
I need to perform insert,update,delete operation in radgrid by passing values from  external textboxes and external button click event in SQL DB statement.
Examples given in radgrid demo is on client side and also external form template mode.so its not useful,pls dont post me as refer this link in telerik demo.

In this code,I created radgrid.And an External textbox and external  radbuttons .On row select i pass the radgrid selected row  values to external textboxes using javascript.Now i need is when i click update ,insert,delete button ,based on textbox value,radgrid needs to binded,


I fir


Pls anyone  help on this matter ,here my code
<head runat="server">
    <title>Sales Dashboard</title>
    <link rel="shortcut icon" href="favicon.ico" />
    <link href="styles.css" rel="stylesheet" type="text/css" />
    <link href="Skins/TreeView.SalesBlack.css" rel="stylesheet" type="text/css" />
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <script type="text/javascript">
            function RowSelected(sender, args) {
 
            
                document.getElementById("<%= tag_name.ClientID %>").innerHTML =
                  "Resource Name";
                document.getElementById("<%= tag_mobile.ClientID %>").innerHTML =
                  "Mobile No";
                document.getElementById("<%= tag_email.ClientID %>").innerHTML =
                  "E-Mail";
                document.getElementById("<%= tag_primary.ClientID %>").innerHTML =
                  "Primary Skill";
                document.getElementById("<%= tag_createdby.ClientID %>").innerHTML =
                  "Created By";
                 
 
                document.getElementById("<%= lbl_name.ClientID %>").innerHTML =
                  args.getDataKeyValue("ResourceName");
                document.getElementById("<%= lbl_mobile.ClientID %>").innerHTML =
                  args.getDataKeyValue("MobileNo");
                document.getElementById("<%= lbl_email.ClientID %>").innerHTML =
                  args.getDataKeyValue("EMail");
 
                document.getElementById("<%= lbl_primary.ClientID %>").innerHTML =
                  args.getDataKeyValue("PrimarySkill");
                document.getElementById("<%= lbl_createdby.ClientID %>").innerHTML =
                  args.getDataKeyValue("CreatedBy");
                 
                var txt_name = $find("txt_name");
                txt_name.set_value(args.getDataKeyValue("ResourceName"));
 
                var txt_mobile = $find("txt_mobile");
                txt_mobile.set_value(args.getDataKeyValue("MobileNo"));
 
 
                var txt_email = $find("txt_email");
                txt_email.set_value(args.getDataKeyValue("EMail"));
 
                var txt_primary = $find("txt_primary");
                txt_primary.set_value(args.getDataKeyValue("PrimarySkill"));
 
                var txt_createdby = $find("txt_createdby");
                txt_createdby.set_value(args.getDataKeyValue("CreatedBy"));
 
 
                var textbox = $find("txt_name");
                textbox.set_visible(false);
 
                var textbox1 = $find("txt_mobile");
 
                textbox1.set_visible(false);
 
                var textbox2 = $find("txt_email");
 
                textbox2.set_visible(false);
 
                var textbox4 = $find("txt_primary");
 
                textbox4.set_visible(false);
                var textbox3 = $find("txt_createdby");
 
                textbox3.set_visible(false);
 
                 
 
                document.getElementById("<%= lbl_name.ClientID %>").style.display = 'block';
                document.getElementById("<%= lbl_mobile.ClientID %>").style.display = 'block';
 
                document.getElementById("<%= lbl_email.ClientID %>").style.display = 'block';
                document.getElementById("<%= lbl_primary.ClientID %>").style.display = 'block';
 
                document.getElementById("<%= lbl_createdby.ClientID %>").style.display = 'block';
 
                document.getElementById("<%= edit.ClientID %>").style.display = "block";
 
            }
        </script>
        <script type="text/javascript">
            function edit(button, args) {
                debugger;
                var textbox = $find("txt_name");
                textbox.set_visible(true);
 
                var textbox1 = $find("txt_mobile");
                textbox1.set_visible(true);
                var textbox2 = $find("txt_email");
                textbox2.set_visible(true);
 
                var textbox4 = $find("txt_primary");
                textbox4.set_visible(true);
                var textbox3 = $find("txt_createdby");
                textbox3.set_visible(true);
 
                
 
                document.getElementById("<%= lbl_name.ClientID %>").style.display = 'none';
                document.getElementById("<%= lbl_mobile.ClientID %>").style.display = 'none';
                document.getElementById("<%= lbl_email.ClientID %>").style.display = 'none';
                document.getElementById("<%= lbl_primary.ClientID %>").style.display = 'none';
                document.getElementById("<%= lbl_createdby.ClientID %>").style.display = 'none';
                var btn = $find("edit");
                 btn.set_value = ("Update");
 
 
                button.set_autoPostBack(false);
//                var textbox = $find("txt_name");
//                textbox.set_visible(true);
//                var txtDate = $find("txt_name");
//                txtDate.set_value(args.getDataKeyValue("ResourceName"));
            }
 
        </script>
    </telerik:RadCodeBlock>
    <style type="text/css">
        .align
        {
            text-align: right;
        }
    </style>
    <style type="text/css">
    .edit
    {
        display:none;
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <telerik:RadStyleSheetManager runat="server" ID="RadStyleSheetManager1" />
    <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="Scrollbars" />
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <div style="width: 60%; height: 100%; float: left;">
        <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" ShowFooter="True"
            Style="outline: 0"  GroupingEnabled="true" ShowGroupPanel="true" AutoGenerateColumns="False"
            AllowSorting="True"  PageSize="15" Width="90%"  GridLines="None" CellPadding="0"
            OnNeedDataSource="RadGrid1_NeedDataSource" Skin="Black"
            >
            <MasterTableView ClientDataKeyNames="ResourceName,MobileNo ,EMail ,CreatedBy ,PrimarySkill"
                AutoGenerateColumns="false" ShowFooter="true" AllowFilteringByColumn="true" PagerStyle-Mode="NextPrevAndNumeric"
                TableLayout="Fixed">
                <Columns>
                    <telerik:GridBoundColumn DataField="ResourceName" HeaderText="Resource Name" UniqueName ="ResourceName" CurrentFilterFunction="equalto"
                        FilterDelay="1000" ShowFilterIcon="false" HeaderStyle-Width="120px" FilterControlWidth="105px">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="MobileNo" HeaderStyle-Width="110px" HeaderText="Mobile"
                        FilterControlWidth="70px">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="EMail" UniqueName ="email" HeaderStyle-Width="190px" HeaderText="E-Mail"
                        FilterControlWidth="120px">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="CreatedBy" HeaderText="Created By" CurrentFilterFunction="equalto"
                        FilterDelay="1000" ShowFilterIcon="false" FilterControlWidth="70px">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="PrimarySkill" UniqueName ="CurrentDesign" HeaderStyle-Width="190px" HeaderText="Primary Skill"
                        FilterControlWidth="0px">
                    </telerik:GridBoundColumn>
                      
 
                    
                </Columns>
            </MasterTableView>
            <ClientSettings  EnablePostBackOnRowClick="true" EnableRowHoverStyle="true" AllowDragToGroup="true"
                AllowColumnsReorder="true" ReorderColumnsOnClient="true" ColumnsReorderMethod="Reorder">
               
               <Selecting AllowRowSelect ="true"  />
              
                  <ClientEvents OnRowSelected="RowSelected"></ClientEvents>
                                        
                <Animation AllowColumnReorderAnimation="true" AllowColumnRevertAnimation="true">
                </Animation>
 
                  <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" />
            </ClientSettings>
        </telerik:RadGrid>
    </div>
    <div style="width: 40%; height: 80%; float: right;">
>
                                     
        <table style="margin: 50% auto auto 1px">
            <tr>
                <td>
                    <asp:Panel  ID="panel1" runat="server">
                        <table>
                            <tr>
                                <td>
                                    <asp:Label ID="tag_name" Font-Bold="True"  ForeColor="#B5B5B5" Font-Size="Small" runat="server"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lbl_name" runat="server" ForeColor="WhiteSmoke" Font-Bold="True" Font-Size="Large"></asp:Label>
                                    <telerik:RadTextBox  ID="txt_name" runat="server" ForeColor="WhiteSmoke"  Skin="Black" Font-Size="Large">
                                    </telerik:RadTextBox>
                                     
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="tag_mobile" ForeColor="#B5B5B5" runat="server" Font-Bold="True" Font-Size="Small"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lbl_mobile" ForeColor="WhiteSmoke" Font-Size="Large" runat="server"></asp:Label>
                                     <telerik:RadTextBox ID="txt_mobile" runat ="server" ForeColor ="WhiteSmoke" Font-Size="Large" Skin ="Black"   ></telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label ID="tag_email" ForeColor="#B5B5B5" runat="server" Font-Bold="True" Font-Size="Small"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lbl_email" ForeColor="WhiteSmoke" Font-Size="Large" runat="server"></asp:Label>
                                         <telerik:RadTextBox ID="txt_email" runat ="server" ForeColor ="WhiteSmoke" Font-Size="Large"  Skin ="Black"  ></telerik:RadTextBox>
                                     
                                </td>
                            </tr>
                             
                            <tr>
                                <td>
                                    <asp:Label ID="tag_primary" ForeColor="#B5B5B5" runat="server" Font-Bold="True"
                                        Font-Size="Small"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lbl_primary" ForeColor="WhiteSmoke" Font-Size="Large" runat="server"></asp:Label>
                                         <telerik:RadTextBox ID="txt_primary" runat ="server"
                                        ForeColor ="WhiteSmoke" Font-Size="Large"    Skin="Black"
                                         ></telerik:RadTextBox>
                                     
                                </td>
 
 
 
                            </tr>
 
                            <tr>
                                <td>
                                    <asp:Label ID="tag_createdby" ForeColor="#B5B5B5" runat="server" Font-Bold="True"
                                        Font-Size="Small"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label ID="lbl_createdby"  ForeColor="WhiteSmoke" Font-Size="Large" runat="server"></asp:Label>
                                         <telerik:RadTextBox ID="txt_createdby" runat ="server" ForeColor ="WhiteSmoke" Font-Size="Large"    Skin="Black" ></telerik:RadTextBox>
                                     
                                </td>
                            </tr>
                            <tr>
                                <td>
                                <telerik:RadButton ID="edit" Width="35px" Text="Edit" style="display :none;"     OnClientClicked="edit"
                                        runat ="server" Skin="Forest"
                                         >
                                          
                                          
                                         </telerik:RadButton>
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
 

My cs code is :

public partial class DMSdashboard : System.Web.UI.Page
    {
        SqlConnection conn = null;
        SqlDataReader reader = null;
        protected void Page_Load(object sender, EventArgs e)
        {
             
            
                 
 
             
        }
 
 
 
 
        private SqlDataReader ReadRecords(string query)
        {
            String con = @"Data Source=CHN374\SQLEXPRESS;Initial Catalog=Telerik;Integrated Security=true";
            conn = new SqlConnection(con);
            conn.Open();
            SqlCommand cmd = new SqlCommand(query, conn);
            reader = cmd.ExecuteReader();
            return reader;
        }
 
        protected void RadGrid1_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
        {
 
 
            RadGrid1.DataSource = GetDataTable("select RecId, ResourceName ,MobileNo ,ContactNo ,EMail ,CreatedBy ,PrimarySkill,SecondarySkill from ResourceDocket");
             
        }
 
        public DataTable GetDataTable(string query)
        {
            String constring = @"Data Source=CHN374\SQLEXPRESS;
                        Initial Catalog=MyDB;
                        Integrated Security=True";
            SqlDataAdapter adapter = new SqlDataAdapter();
            DataTable myDataTable = new DataTable();
            using (SqlConnection con = new SqlConnection(constring))
            {
                adapter.SelectCommand = new SqlCommand(query, con);
                adapter.Fill(myDataTable);
            }
            return myDataTable;
        }
        protected void update_button_Click(object sender, EventArgs e)
        {
 
 
 
        }
 
  protected void insert_button_Click(object sender, EventArgs e)
        {
 
 
 
        }
  protected void delete_button_Click(object sender, EventArgs e)
        {
 
 
 
        }
 

    }
}

I need how to perform insert,update,delete on this external button click from values of  textbox1,textbox2 etc.. and pass it onto radgrid



I search it in many places proper solution is not found on website,Pls anyone help on this issue immediately,I posted two days before,still i never get any reply.If its not possible tell me its not possible.I wasted my time with this,
Andrey
Telerik team
 answered on 28 Nov 2012
9 answers
411 views
In IE7/IE8 RadGrid rows collapsing doesn't work in client mode using GroupByExpression.
Rows collapsing produces an "row overlapping" effect: hidden rows appear visible over the previous data.
Could anyone help me?
Tnx in advance
Radoslav
Telerik team
 answered on 28 Nov 2012
13 answers
279 views
How are you
I want to ask about important issue that i need to solve it as soon as possible
My scenario is RadGrid inside RadWindow, When I maximize The RadWindow, i need to maximIze RadGrid to fit the content of RadWindow also, when i return RadWindow to its normal size, i want RadGrid to return to its normal size
Also, PageSize DropDownList not working when Maximizing RadWindow;it works only when The RadWindow is in its normal size
My RadGrid uses UseStaticHeaders property to equal true and had fixed Width and Height
My RadWindow Markup is
<telerik:RadWindow ID="RadDeploymentWindow" Title="<%$ Resources:Text, DeploymentWizard %>" 
    runat="server" VisibleOnPageLoad="false" VisibleStatusbar="false" Width="535px" 
    Modal="true" Height="350px" Behaviors="Close,Move,Maximize,Reload " Skin="Windows7" 
    IconUrl="~/Images/icons/Enterprise.png"> 
    <ContentTemplate>
My RadGrid Markup is
<telerik:RadGrid ID="DeploymentGrid" Skin="Office2007" runat="server" AutoGenerateColumns="False"
                                        AllowSorting="True" PageSize="10" ShowStatusBar="True" CellSpacing="0" GridLines="Both"
                                        AllowPaging="True" OnNeedDataSource="RadGrid_NeedDataSource" Height="225px" Width="516px"
                                        <ClientSettings
                                            <Scrolling AllowScroll="true" UseStaticHeaders="true" /> 
                                        </ClientSettings
                                        <ExportSettings IgnorePaging="true" ExportOnlyData="true" OpenInNewWindow="true"
                                            HideStructureColumns="true" Excel-Format="Html" FileName="ErrorsAndWarnings"
                                        </ExportSettings
                                        <MasterTableView DataKeyNames="ObjectID" AutoGenerateColumns="false" CommandItemDisplay="Top"
                                            CommandItemSettings-ShowAddNewRecordButton="false" CommandItemSettings-ShowRefreshButton="false"
                                            <CommandItemSettings ShowExportToWordButton="true" ShowExportToExcelButton="true" /> 
                                            <ItemStyle Wrap="false" /> 
                                            <Columns
                                                <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="ObjectID"
                                                    HeaderText="ID"
                                                </telerik:GridBoundColumn
                                                <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="ObjectType"
                                                    HeaderText="Type"
                                                </telerik:GridBoundColumn
                                                <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="Name" HeaderText="Name"
                                                </telerik:GridBoundColumn
                                                <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="Attribute"
                                                    HeaderText="Attribute"
                                                </telerik:GridBoundColumn
                                                <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="Error" HeaderText="Description"
                                                </telerik:GridBoundColumn
                                                <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="ProposedSoluation"
                                                    HeaderText="Proposed Solution"
                                                </telerik:GridBoundColumn
                                                <telerik:GridBoundColumn HeaderStyle-HorizontalAlign="Center" DataField="Severity"
                                                    HeaderText="Severity"
                                                </telerik:GridBoundColumn
                                            </Columns
                                        </MasterTableView
                                        <ClientSettings
                                            <Resizing AllowColumnResize="True"></Resizing>                                             
                                        </ClientSettings
                                    </telerik:RadGrid>

Rohan
Top achievements
Rank 1
 answered on 28 Nov 2012
1 answer
171 views
I'm using Telerik RadEditor. Whenever I click on "Image Manager" it is opening DialogHandler.aspx in popup. How can I set the height of that popup?...Please help..its help.
Princy
Top achievements
Rank 2
 answered on 28 Nov 2012
3 answers
118 views
Hi,

I am using RadGrid in an Ajax updated pop up created using bPopup plugin for jQuery (http://dinbror.dk/bpopup/). I have the RadGrid and other controls in an Ajax UpdatePanel. The grid loads fine and shows the data. However when I click on a page number shown in the pager at the bottom of the grid it causes a full post-back, the page gets reloaded and the popup disappears. When I click the popup image button again I see the page number changed in the grid.

I looked at various threads regarding UpdatePanel and RadGrid and tried the following. None of it has helped.
1. Wrap the RadGrid in RadAjaxPanel.
2. Set grid viewstate = false when inside an update panel.
3. Set the update mode of update panel to conditional for all update panels on the page
4. Set RenderMode of the RadAjaxPanel and UpdatePanel to Inline.

Please help out.

Thanks and Regards,
Sameeksha
Andrey
Telerik team
 answered on 28 Nov 2012
2 answers
817 views
I just installed the Telerik free trial ASP.NET AJAX controls for Visual Studio 2010 Web Express.

I added the controls to the toolbar, and I can drop controls on the forms...

Problem is:

1) It always says Telerik.web.ui.[ControlName].... is not defined:
For Example: Type 'Telerik.Web.UI.Skins.RadButton' is not defined.

2) I cannot select the skins either...

Attempts thus far:

1) Added reference to all the .DLL's directly from the project
2) I was going to add a handler to the web.config, but not sure if this is still applicable in newer versions of the controls.

Not sure what I need to do next?
Eyup
Telerik team
 answered on 28 Nov 2012
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?