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

is there an option for RadEditor whereby whenever the content inside it change, i can call a javascript function?

 

Joana
Telerik team
 answered on 13 Jul 2016
1 answer
85 views

Hi, I have a nested grid.
I need to pass my bitfield as a key in the Parent Table Relation Key.
Like :

 <ParentTableRelation>
 <telerik:GridRelationFields DetailKeyField="MSE_PK" MasterKeyField="MSE_PK" />  
 <telerik:GridRelationFields
    DetailKeyField="(MST_BitField & MSE_myBit)"
         MasterKeyField="MSE_myBit" />
 </ParentTableRelation>

I need a way to to Something like this is my 'DetailKeyField' .

 

Viktor Tachev
Telerik team
 answered on 13 Jul 2016
1 answer
98 views

Hi All...

So, I've built a Grid programmatically and databound it... so far so good.  I need to add a column containing dropdown list, which would be databound.  I need to be able to use it as an edit button so that when the selected value changed fires, it updates the particular field for that row.  I've found a number of threads similar but for the life of me, don't see this particular scenario addressed...

I'd be very grateful for any assistance!

Thank you!

Eyup
Telerik team
 answered on 13 Jul 2016
7 answers
141 views

Hi

I have implemented an Ajax call when the chart zooms it gets more data at greater granularity the attached Js file (I have to screen shot it). This works fine.

However is there a way of keeping the navigator not zoomed in:

Danail Vasilev
Telerik team
 answered on 13 Jul 2016
4 answers
951 views
I'm using a radcombo box within radgrid itemtemplate.  How do I set the value of a label control on selectedindexchanged. The label control is not within the grid. there's a screen shot attached to give you an idea.

Thanks,
Jose
Top achievements
Rank 1
 answered on 12 Jul 2016
4 answers
144 views

Hello,
I'm using advancedEditTemplate and I am unable to rescue the components inside us click and update events.

I have this code:

 

    <telerik:RadScheduler ID="RadSchedulerAgenda" runat="server"
        Localization-HeaderToday="Hoje"
        Localization-HeaderDay="Dia"
        Localization-HeaderWeek="Semana"
        Localization-ConfirmDeleteTitle="Cancelar HorĂ¡rio"
        Localization-ConfirmDeleteText="Deseja cancelar horĂ¡rio?" Height="100%" RowHeight="50px" Culture="pt-BR" Localization-HeaderMonth="MĂªs"
        Localization-AdvancedDescription="DescriĂ§Ă£o"
        Localization-AdvancedSubject="Assunto"
        Localization-AdvancedAllDayEvent="Todo o Dia"
        Localization-AdvancedStartTimeRequired="Inicio"
        Localization-AdvancedRecurrence="Evento Recorrente"
        Localization-AdvancedEditAppointment="Editar Agendamento"
        Localization-Save="Salvar"
        Localization-Cancel="Cancelar"
        Reminders-Enabled="false"
        ShowFooter="False"
        ShowAllDayRow="False"
        ShowNavigationPane="False"
        Skin="Bootstrap"
        DayStartTime="07:00:00"
        DayEndTime="19:00:00"
        WorkDayStartTime="07:00:00"
        WorkDayEndTime="19:00:00"
        DataKeyField="idAgendamento"
        DataSubjectField="Solicitacao.Protocolo"
        DataDescriptionField="Descricao"
        DataStartField="DataInicio"
        DataEndField="DataFim"
        AdvancedForm-EnableCustomAttributeEditing="true"
        AdvancedForm-Modal="true"
        AllowInsert="False"
        OnFormCreated="RadSchedulerAgenda_FormCreated"
        OnNavigationCommand="RadSchedulerAgenda_NavigationCommand"
        OnAppointmentDataBound="RadSchedulerAgenda_AppointmentDataBound"
        OnAppointmentClick="RadSchedulerAgenda_AppointmentClick"
        OnAppointmentDelete="RadSchedulerAgenda_AppointmentDelete"
        OnAppointmentUpdate="RadSchedulerAgenda_AppointmentUpdate" DisplayRecurrenceActionDialogOnMove="True" EnableCustomAttributeEditing="True">

        <AppointmentContextMenus>
            <telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu">
                <Items>
                    <telerik:RadMenuItem Text="Abrir" Value="CommandEdit">
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem IsSeparator="True">
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem Text="Categorize">
                        <Items>
                            <telerik:RadMenuItem Text="NĂ£o Atendido" Value="1">
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem Text="Na RecepĂ§Ă£o" Value="2">
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem Text="Em Atendimento" Value="3">
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem Text="Atendido" Value="4">
                            </telerik:RadMenuItem>
                        </Items>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem IsSeparator="True">
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem Text="Delete" Value="CommandDelete" ImageUrl="https://safeweb.com.br/ecommerce/icons/deletered.png">
                    </telerik:RadMenuItem>
                </Items>
            </telerik:RadSchedulerContextMenu>
        </AppointmentContextMenus>

        <AdvancedEditTemplate>
            <div class="rsDialog rsAdvancedEdit rsAdvancedModal" style="position: relative">

                <div class="rsAdvTitle">
                    <h1 class="rsAdvInnerTitle">Visualizar Agendamento</h1>
                    <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose" CommandName="Cancel" />
                </div>
                <div class="rsAdvContentWrapper">
                    <ul class="rfbGroup">
                        <li class="rfbRow">
                            <telerik:RadTextBox RenderMode="Lightweight" ID="Assunto_RadTextBox" runat="server" Width="100%" Label="Assunto : " CssClass="form-control" ReadOnly="true" Skin="Bootstrap" />
                        </li>
                        <li class="rfbRow">
                            <telerik:RadDatePicker RenderMode="Lightweight" ID="DtInicio_RadDatePicker" CssClass="toDate" Width="50%" runat="server" DateInput-Label="Data/Hora Inicio" Skin="Bootstrap" />
                            <telerik:RadTimePicker RenderMode="Lightweight" ID="HrInicio_RadTimePicker" runat="server" Skin="Bootstrap" TimeView-Interval="00:30" />
                        </li>
                        <li class="rfbRow">
                            <telerik:RadDatePicker RenderMode="Lightweight" ID="DtFim_RadDatePicker" CssClass="toDate" Width="50%" runat="server" DateInput-Label="Data/Hora Fim" Skin="Bootstrap" />
                            <telerik:RadTimePicker RenderMode="Lightweight" ID="HrFim_RadTimePicker" runat="server" Skin="Bootstrap" TimeView-Interval="00:30" />
                        </li>
                        <li class="rfbRow">
                            <telerik:RadTextBox RenderMode="Lightweight" ID="Nome_RadTextBox" runat="server" Width="100%" Label="Nome/RazĂ£o Social : " CssClass="form-control" ReadOnly="true" Skin="Bootstrap" />
                        </li>
                        <li class="rfbRow">
                            <telerik:RadTextBox RenderMode="Lightweight" ID="Documento_RadTextBox" runat="server" Width="100%" Label="Documento : " CssClass="form-control" ReadOnly="true" Skin="Bootstrap" />
                        </li>
                        <li class="rfbRow">
                            <telerik:RadTextBox RenderMode="Lightweight" ID="Email_RadTextBox" runat="server" Width="100%" Label="Email : " CssClass="form-control" ReadOnly="true" Skin="Bootstrap" />
                        </li>
                        <li class="rfbRow">
                            <telerik:RadTextBox RenderMode="Lightweight" ID="Telefone_RadTextBox" runat="server" Width="100%" Label="Telefone : " CssClass="form-control" ReadOnly="true" Skin="Bootstrap" />
                        </li>
                        <li class="rfbRow">
                            <telerik:RadTextBox RenderMode="Lightweight" ID="Produto_RadTextBox" runat="server" Width="100%" Label="Produto : " CssClass="form-control" ReadOnly="true" Skin="Bootstrap" />
                        </li>
                        <li class="rfbRow">
                            <telerik:RadComboBox RenderMode="Lightweight" ID="Atendente_RadComboBox" runat="server" EmptyMessage="Selecione o Atendente" Width="100%" Label="Atendente : " DataSourceID="SqlDataSourceAtendentes" DataValueField="idUsuario" DataTextField="Nome" Skin="Bootstrap" />
                        </li>
                        <li class="rfbRow">
                            <telerik:RadComboBox RenderMode="Lightweight" ID="Status_RadComboBox" runat="server" Width="100%" Label="Status : " DataSourceID="SqlDataSourceStatus" DataValueField="Value" DataTextField="Text" Skin="Bootstrap" />
                        </li>
                        <li class="rfbRow">
                            <telerik:RadTextBox RenderMode="Lightweight" ID="Observacao_RadTextBox" runat="server" TextMode="MultiLine" Width="100%" Label="ObservaĂ§Ă£o : " Skin="Bootstrap" BorderWidth="1px" />
                        </li>
                    </ul>

                    <asp:Panel runat="server" ID="Panel1" CssClass="rsAdvancedSubmitArea">
                        <div class="rsAdvButtonWrapper">
                            <asp:LinkButton CommandName="Update" runat="server" ID="LinkButton2" CssClass="rsAdvEditSave" Text="Salvar" />
                            <asp:LinkButton runat="server" ID="LinkButton3" CssClass="rsAdvEditCancel" CommandName="Cancel" Text="Cancelar" />
                        </div>
                    </asp:Panel>

                </div>
            </div>
        </AdvancedEditTemplate>

        <AppointmentTemplate>
            <asp:Label runat="server" ID="teste_lbl" Text='<%# Eval("Subject") %>'></asp:Label>
        </AppointmentTemplate>

        <ExportSettings>
            <Pdf PageTopMargin="1in" PageBottomMargin="1in" PageLeftMargin="1in" PageRightMargin="1in"></Pdf>
        </ExportSettings>

    </telerik:RadScheduler>

How do I get access to the elements?

Thanks in advance.

 

Ivan Danchev
Telerik team
 answered on 12 Jul 2016
2 answers
147 views

I have a Radgrid nested two levels, parent/child.  When loading the grid I get all values in the parent grid when I just want distinct values on the parent.

 

<telerik:RadGrid RenderMode="Lightweight" ID="grdChartofAccounts" runat="server" AutoGenerateColumns="false" AllowSorting="true" AllowMultiRowSelection="false" OnNeedDataSource="grdChartofAccounts_NeedDataSource">
    <MasterTableView DataKeyNames="JobID" CommandItemDisplay="Bottom">
        <DetailTables>
            <telerik:GridTableView>
                <ParentTableRelation>
                    <telerik:GridRelationFields DetailKeyField="JobID" MasterKeyField="JobID" />
                </ParentTableRelation>
 
                <Columns>
                    <telerik:GridBoundColumn HeaderText="Task" UniqueName="Task" DataField="TaskID_Job" />
                </Columns>
            </telerik:GridTableView>
        </DetailTables>
        <Columns>
            <telerik:GridBoundColumn HeaderText="Job" UniqueName="Job" DataField="JobID" />
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

 

protected void grdChartofAccounts_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
    List<tasks> taskList = new List<tasks>();
 
    for (int i = 1; i <= 5; i++)
        for (int x = 1; x <= 5; x++)
        {
            tasks task = new tasks();
 
            task.JobID = i;
            task.TaskID = x;
 
            taskList.Add(task);
        }
 
    DataTable dt = new DataTable();
 
    dt.Columns.Add("JobID");
    dt.Columns.Add("TaskID_Job");
 
    foreach (tasks task in taskList)
    {
        DataRow dr = dt.NewRow();
 
        dr["JobID"] = task.JobID.ToString();
        dr["TaskID_Job"] = task.TaskID;
 
        dt.Rows.Add(dr);
    }
 
    this.grdChartofAccounts.DataSource = dt;
}

 

I've attached two images of my existing output and my desired output.

Keith
Top achievements
Rank 1
 answered on 12 Jul 2016
3 answers
63 views

Hi All,

I've got a page that is using RadTabStrip and RadMultiPage that is working fine except when the page is loaded due to the user using the Browser Back button.  In this case, the MultiPage.css is not being loaded, and the RadMultiPage is showing all of the "pages".

I can solve the problem by explicitly including the stylesheet "http://aspnet-skins.telerikstatic.com/ajaxz/2016.1.113/MultiPage.css" but this is not ideal as we'll need to remember to update every time we update the controls.

In case it matters, on page load the RadMultiPage is set Visible="False", and is only set visible when the user selects a row from an adjacent grid and we fill with that rows data.

Any ideas?

Peter Milchev
Telerik team
 answered on 12 Jul 2016
7 answers
216 views

When a user logs into our webportal web site, they are taken to the Customer Portal page that has a RadMenu.

The RadMenu is dynamically created with different menu items based on what the user has access to.

Some of the menu items are for web pages that are slow in loading.

I need a way to show a Loading Panel and/or message like "Loading...Please Wait!" on the Customer Portal page to indicate to the user that it is working on loading the web page and once it is done loading then show the web page.

Currently, I have the RadMenu set up to use OnClientItemClicking to prevent from anything happening if the user accidently clicks on the root menu item.

Please help!

Thanks in advance!

Sincerely,

Keith Jackson

Keith
Top achievements
Rank 1
 answered on 12 Jul 2016
5 answers
181 views

Hi

I our project we are using  Class GridSettingsPersister in the link(http://www.telerik.com/help/aspnet/grid/grdsavingsettingsonperuserbasis.html).   Previously when we  are Telerik.Web.UI version 2009.2.701.20  it was working fine.  We  upgrade Telerik.Web.UI version ()it is crashing in some page at Dim gridSettings() As Object = CType(formatter.Deserialize(reader), Object()).

 

 

 

 

When we connected development database it is crashing.while it is test in testing database there was no issue.

 

 

 

Its value of parameter ‘setting’ passed to LoadSettings() function

 

 

 

Development Database :

 

/wEUKwAFFgQeAl9jAgEeATAWBB4DX2ZuBRFXb3JrZmxvd0RhdGVfdGVtcB4DX3NvCyl1VGVsZXJpay5XZWIuVUkuR3JpZFNvcnRPcmRlciwgVGVsZXJpay5XZWIuVUksIFZlcnNpb249MjAwOS4yLjcwMS4yMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj0xMjFmYWU3ODE2NWJhM2Q0AhQrAAAUKhJTeXN0ZW0uV2ViLlVJLlBhaXIIDwIDHA8CBBwPAgUbAAAAAAAAKEAHAAAADwIGGwAAAAAAAERABwAAAA8CBxsAAAAAAAA2QAcAAAAPAggbAAAAAAAAGEAHAAAADwIJGwAAAAAAACRABwAAAA8CChsAAAAAAAAkQAcAAAAWCGhoZ2dnZ2doAgo=

 

 

 

Testing Database

 

 

 

/wEUKwAFFgQeAl9jAgEeATAWAh4DX2ZuBRFXb3JrZmxvd0RhdGVfdGVtcBQrAAAUKhJTeXN0ZW0uV2ViLlVJLlBhaXIIDwIDHA8CBBwPAgUbAAAAAAAAKEAHAAAADwIGGwAAAAAAAERABwAAAA8CBxsAAAAAAAA2QAcAAAAPAggbAAAAAAAAGEAHAAAADwIJGwAAAAAAACRABwAAAA8CChsAAAAAAAAkQAcAAAAWCGhoZ2dnZ2doAhQ=

 

 

We try this solution  Set the MaxPageStateFieldLength proprety of Pages in Web.config file

but still issue existing .

The error message while debugging is  'The serialized data is invalid'   but  browser show another runtime error message. Please  check the screen shot.

 

Daniel
Telerik team
 answered on 12 Jul 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?