Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
102 views

Hi Team,

 

I am working on something where the page will render only on activeon RadWizard.

But in this case my Update panel doesnt work as expected.

eg: On selection of a dropdown,depending on yes or no ;some other control will be visible which is called through teleik ajax request. but this is not working.

If you can help on this.

 

Many thanks.

Vessy
Telerik team
 answered on 01 Nov 2018
3 answers
224 views
If you can help with below scenario : I have a radwizard and there 7 wizard steps.And every wizard steps belongs to different user control . And Each User control has its own telerik:AjaxUpdatedControl to work with ajaxRequest . It works fine with all its Ajax request when RenderedSteps="All" .But Ajax request doesnt work when RenderedSteps="Active".It will be great if you can help with this.
Thanks
Vessy
Telerik team
 answered on 01 Nov 2018
5 answers
111 views

I've selected a single word from the content which is copied in the RADEditor and did the following actions.

1) Apply "Underline" option to the word which I selected 

2) Placed the cursor on the last letter of the word (which selected on above step) and pressed the enter key two times. It's giving us two empty row.

3) Select "Preview" button in the RADEditor.

Now, I see that one underline '-' is being displayed in the empty row.  

If I follow the above step in MS-Word, no underline has coming after you press the enter button. Why it's showing in RADEditor?

Note: In RADEditor, If I press the enter button on the space which is next to the word which I selected, no underline '-'. is coming on the empty row..

 

 

 

Rumen
Telerik team
 answered on 01 Nov 2018
1 answer
161 views
How can I have all the navigation nodes be centered inside of a RadNavigation control that occupies 100% of the screen?  Right now all items are left aligned with a lot of extra gray space to the right.
Rumen
Telerik team
 answered on 31 Oct 2018
1 answer
519 views
I have to create a grid’s columns dynamically. I followed the following steps:
1 - Create the RadGrid .
2 – Select a table from the database that contains column’s names, types, ...
3 - Create for each column a gridBoundColumn.
4 - Select data corresponding to the selected columns and bind it to the grid.
It’s working fine. My question is : is there a better way to create a dynamic grid ?
Rumen
Telerik team
 answered on 31 Oct 2018
1 answer
160 views

Hi all,

I had same problems with delete command on hierarchical grid. I think the problem it's caused by different declaration between DataKeyNames in grid and DeleteParameters in SqlDataSource.

Here is my code

 <MasterTableView DataSourceID="SqlDataSource1" DataKeyNames="VersamentoId" AllowMultiColumnSorting="True"<br>                                        Width="100%" CommandItemDisplay="Top" Name="Versamenti" EditMode="Batch"><br>                                        <DetailTables><br>                                            <telerik:GridTableView DataKeyNames="VersamentoId,ConsumoID" DataSourceID="SqlDataSource2" Width="80%" AllowAutomaticDeletes="true" AllowFilteringByColumn="false" AllowAutomaticInserts="true" AllowAutomaticUpdates="true"<br>                                                runat="server" CommandItemDisplay="Bottom" Name="Consumi" BorderColor="Navy" BorderStyle="Solid" BorderWidth="2" EditMode="Batch"><br>                                                <ParentTableRelation><br>                                                    <telerik:GridRelationFields DetailKeyField="VersamentoId" MasterKeyField="VersamentoId"></telerik:GridRelationFields><br>                                                </ParentTableRelation>

.....

<p><asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:iRoncadin %>"<br>            DeleteCommand="[dbo].[mes_spDeleteConsumoDaProduzione]" DeleteCommandType="StoredProcedure"<br>            InsertCommand="RO_Portal_SP_InsertConsumoDaProduzione" InsertCommandType="StoredProcedure"<br>            SelectCommand="SELECT<br>                                   mwcpp.ID as ConsumoID<br>                                 , mwcpp.DocEntryOP<br>                                 , mwcpp.DocEntryFather<br>                                 , mwcpp.U_WordCode<br>                                 , mwcpp.U_OprCode<br>                                 , mwcpp.ItemCode<br>                                 , mwcpp.U_Revision<br>                                 , mwcpp.Quantity<br>                                 , mwcpp.Status<br>                                 , mwcpp.CreateDate<br>                                 , mwcpp.UpdateDate<br>                                 , mwcpp.DestDocEntry<br>                                 , mwcpp.DestLineNum<br>                                 , mwcpp.AlternativeCode<br>                                 , mwcpp.TipologiaId<br>                                 , mwcpp.VersamentoId<br>                            FROM dbo.MES_wsConsumoPerProduzione mwcpp where VersamentoId = @VersamentoId"<br>            UpdateCommand="UPDATE dbo.MES_wsConsumoPerProduzione<br>                            SET <br>                                DocEntryOP = @DocEntryOP<br>                                , DocEntryFather = @DocEntryFather<br>                                , U_WordCode = @U_WordCode<br>                                , U_OprCode = @U_OprCode<br>                                , ItemCode = @ItemCode<br>                                , Quantity = @Quantity<br>                                , AlternativeCode = @AlternativeCode<br>                            WHERE ID = @ConsumoID"<br>            ProviderName="<%$ ConnectionStrings:iRoncadin.ProviderName %>"><br>            <SelectParameters><br>                <asp:Parameter Name="VersamentoId" Type="Int32"></asp:Parameter><br>            </SelectParameters><br>            <DeleteParameters><br>                <asp:Parameter Name="ConsumoID" Type="Int32"></asp:Parameter><br>            </DeleteParameters></p><p></p>

The stored procedure called to delete the row of first child grid is this

[dbo].[mes_spDeleteConsumoDaProduzione]   @ID INT

 

but, as you can see, DataKeyNames in first child grid are VersamentoId,ConsumoID. This is done because VersamentoId is the correlation key with parent grid and ConsumoId is the correlation key with another child grid.

When I try to delete a row of first child grid, system return the following error

Procedure or function mes_spDeleteConsumoDaProduzione has too many arguments specified.

 

Anyone knows a solution to bring together hierarchical grids and delete of child rows?

Thanks a lot

Rumen
Telerik team
 answered on 31 Oct 2018
1 answer
189 views

Hello,

 

I have successfully implemented a custom provider for RadSpreadsheet following the example here: http://www.telerik.com/support/code-library/spreadsheetdatabaseprovider.

 

I would like to be able to update a RadLabel on the same webform with some data derived from the saved sheet (for example, the count of rows). I have passed a reference to the RadLabel into the constructor of the custom provider and am setting it there:

 

    public class PerformanceSheetProvider : SpreadsheetProviderBase
    {
        private readonly RadLabel _resultLabel;
 
        public PerformanceSheetProvider(RadLabel resultLabel)
        {
            _resultLabel = resultLabel;
        }
 
        public override void SaveWorkbook(Workbook workbook)
        {
            _resultLabel.Text = workbook.Sheets[0].Rows.Count.ToString();
        }
 
...

 

However, the RadLabel value is not updated. I have also tried refreshing the update panel in which the label is contained in the client-side override of _onCallbackResponse:

Telerik.Web.UI.RadSpreadsheet.prototype._onCallbackResponse = function () {
    $find("<%= RadAjaxPanel2.ClientID %>").ajaxRequest();
}

 

...but the label is still not updated.

 

Any suggestions?

 

Thanks!

Peter Milchev
Telerik team
 answered on 31 Oct 2018
3 answers
309 views

I am getting the following error when I try and copy and paste into Editor. I am using 2018.3.910

 

Uncaught TypeError: Cannot read property 'cleanUp' of undefined
    at c.RadEditor._cleanUpAfterDelete (telerik.web.ui.webresource.axd?_TSM_HiddenField_=RadScriptManager2_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ac7c66246-7597-47ee-87ae-ac254004a457%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2018.3.910.45%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3af82d27b2-2e24-4637-ab87-c64fb8588ccb%3a16e4e7cd%3af7645509%3a24ee1bba%3ab2e06756%3a874f8ea2%3a63b115ed%3a1569bb5f%3a4877f69a%3ac128760b%3a92fe8ea0%3afa31b949%3a3856fd9f%3a33715776%3adc7e0bd%3a30f1f089%3a19620875%3af46195d3%3a490a9d4e:14741)
    at c.RadEditor._onKeyUp (telerik.web.ui.webresource.axd?_TSM_HiddenField_=RadScriptManager2_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ac7c66246-7597-47ee-87ae-ac254004a457%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2018.3.910.45%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3af82d27b2-2e24-4637-ab87-c64fb8588ccb%3a16e4e7cd%3af7645509%3a24ee1bba%3ab2e06756%3a874f8ea2%3a63b115ed%3a1569bb5f%3a4877f69a%3ac128760b%3a92fe8ea0%3afa31b949%3a3856fd9f%3a33715776%3adc7e0bd%3a30f1f089%3a19620875%3af46195d3%3a490a9d4e:14889)
    at HTMLDivElement.<anonymous> (telerik.web.ui.webresource.axd?_TSM_HiddenField_=RadScriptManager2_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ac7c66246-7597-47ee-87ae-ac254004a457%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2018.3.910.45%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3af82d27b2-2e24-4637-ab87-c64fb8588ccb%3a16e4e7cd%3af7645509%3a24ee1bba%3ab2e06756%3a874f8ea2%3a63b115ed%3a1569bb5f%3a4877f69a%3ac128760b%3a92fe8ea0%3afa31b949%3a3856fd9f%3a33715776%3adc7e0bd%3a30f1f089%3a19620875%3af46195d3%3a490a9d4e:6)

Rumen
Telerik team
 answered on 30 Oct 2018
1 answer
251 views

I'm using the advanced data binding technique from https://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/simple-vs-advanced/defaultvb.aspx .  However, I need to use GridTemplateColumns to format some of the columns ( <%#String.Format("{0} - {1}", Eval("user"), Eval("name")) %> ) and because I'm using these, nothing comes up.  Is there a way to do this?  If not, is there a better solution?  I did copy the example exactly, but used my datatable instead and it came up, but gave me every single column.  I know I can remove columns, but this doesn't allow me to format columns like I do with GridTemplateColumns.

Attila Antal
Telerik team
 answered on 30 Oct 2018
3 answers
257 views

It seems some heatmap support exist for WPF.

Is anything available for us?

 

Rumen
Telerik team
 answered on 30 Oct 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?