Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
169 views

I am trying edit Control buttons within my RadWindow; however I cannot find where I would do this, after hours of researching the code, and documentation of this; no luck.

The page in question generates after clicking a button on a webpage we have setup; I have tried to add style using a few methods:

  • styling the titlebar: .RadWindow table .rwTitlebar inside a styletag and adding more width (no luck)
  • using the master page to do the same
  • Editing the width in the aspx
  • Removing a behavior to see if the controls would align

I have attached pictures for reference, and you can see which file I am showing; please let me know, the picture showing the behaviors, (maximize, minimize, close) are the behaviors/buttons I want to adjust, the close (x button) I want to be aligned with the rest.

 

The button redirects to the pop up/RadWindow is the Review.Aspx page, the Pending.aspx is the page which has the button to click generating the Review page in question.

 

 

Jared
Top achievements
Rank 1
 asked on 10 Oct 2022
0 answers
199 views

I have a use case of displaying athlete weights over time. There is also a constraint of a weight range that is being targeted to which is defined over time as well.

With that, I am trying to display multiple plot bands showing the target weight range (y axis) for a given period (x axis).. I am able to plot the weights however the plot bands do not show up.

For example, one target range is between March 3, 2019 and February 10, 2022 and  the second range is February 11, 2022 onwards.

Matt Smith
Top achievements
Rank 1
 asked on 08 Oct 2022
1 answer
204 views

I have a grid (gridTask) that has an edit form with a textbox (txtCustomer_Care_Note) and a dropdownlist (listResponsesForTasks). At this point, a user can type into the textbox and save, but I also want the user to be able to select a value from the dropdownlist and the value of their selection go into the textbox. I'm using the dropdown as "canned responses" for responses that are used often so the user doesn't have to type the response over and over.

I have this working somewhere else but with these fields being inside an edit form on the grid, I don't know how to do this. I've included my grid below and have removed quite a bit and only left what I thought was necessary. Can anyone provide an example of how I can achieve this?

<telerik:RadGrid ID="gridTasks" runat="server" >
    <MasterTableView DataKeyNames="Record_ID" EditMode="EditForms" AllowAutomaticUpdates="true" AllowAutomaticDeletes="true">
        <Columns>
            <telerik:GridEditCommandColumn UniqueName="EditCommandColumn"</telerik:GridEditCommandColumn>
            <telerik:GridBoundColumn DataField="Customer_Care_Note" HeaderText="Note from Customer Care"></telerik:GridBoundColumn>
        </Columns>
        <EditFormSettings EditFormType="Template" InsertCaption="Add New Task" CaptionFormatString="Edit Task">
            <FormTemplate>
                <telerik:RadTextBox ID="txtCustomer_Care_Note" Text='<%# Bind("Customer_Care_Note") %>' runat="server" Width="100%" MaxLength="300" TextMode="MultiLine" Rows="3"></telerik:RadTextBox>
                <telerik:RadDropDownList ID="listResponsesForTasks" CssClass="w3-margin-right" runat="server" DataSourceID="sqlResponses" OnItemSelected="listResponsesForTasks_ItemSelected" AutoPostBack="true" DataTextField="Title" DataValueField="Response" Width="250px" DefaultMessage="My Responses"></telerik:RadDropDownList>

                <telerik:RadPushButton runat="server" Text='<%# IIf((TypeOf (Container) Is GridEditFormInsertItem), "Insert", "Update") %>' CommandName='<%# IIf((TypeOf (Container) Is GridEditFormInsertItem), "PerformInsert", "Update")%>' CausesValidation="true" Primary="true"></telerik:RadPushButton>
                <telerik:RadPushButton runat="server" Text="Cancel" CommandName="Cancel" CausesValidation="false" Primary="true"></telerik:RadPushButton>
            </FormTemplate>
        </EditFormSettings>
    </MasterTableView>
</telerik:RadGrid>

Attila Antal
Telerik team
 answered on 07 Oct 2022
3 answers
205 views

Hello everyone!

I've got the below RadSiteMap being coded from codebehind (VB). I want to add small icons to the left of each submenu's text however I do not know how. The ImageUrl property apparently does not exist for the RadSiteMap and I cannot think of another way to insert my icons.

Check the attached screenshot to see how my menu looks like and where would I want to add icons. I basically want to add them into the titles and then a different icon to each submenu as well.

Note: My RadMenu is being populated entirely from a database (all of it, parent and childs). If you wish to see the code for a better understanding, I can also leave that in the comments.

Thanks a lot!


Private Function CreateSiteMap(ByVal container As Control, ByVal Id As String) As RadSiteMap
        Try
            System.Diagnostics.Debug.WriteLine("id: " &Id)

            Dim acd As New SiteWeb.AccesDonnees

            'On créer le controle de type RadSiteMap
            Dim SiteMap1 As New RadSiteMap

            'On le configure comme souhaité
            SiteMap1.ID = "SiteMapMenu"
            SiteMap1.DataTextField = "Libelle"
            SiteMap1.DataFieldID = "Identifiant"
            SiteMap1.DataFieldParentID = "Parent"
            SiteMap1.DataValueField = "Libelle"
            SiteMap1.DataNavigateUrlField = "Lienpage"
  
            'This sql receives all the submenus under the current Parent menu
            SiteMap1.DataSource =
            acd.RetournerDataReader("SELECT RTRIM(Identifiant) as Identifiant,RTrim(Libelle) As Libelle,RTrim(Parent) as Parent,RTRIM(Lienpage) as Lienpage,RTRIM(ParentGlobal) As ParentGlobal FROM lobdjetBDD WHERE  NomUser = '" & hf_fonction.Value & "' AND (Parent = '" & Id & "' OR ParentGlobal = '" & Id & "' OR Identifiant = '" & Id & "') Order By Libelle, ChapitreParentGlobal, ChapitreParent,ChapitreEnfant", "EU_BREST")

            SiteMap1.DataBind()

            [.....] I removed this part of the code to make my post smaller on the forums.
 
 container.Controls.Add(SiteMap1)

            Return SiteMap1

        Catch ex As Exception
            Return Nothing
 Exit Function
 End Try
 End Function

 

Valentin Dragnev
Telerik team
 answered on 07 Oct 2022
1 answer
163 views

After I enter a character and press the backspace button, the character does not delete.

However, when I press and hold backspace, or when I select the entire text, the characters will delete .

Like in the image, the 'S' will not be deleted when I am tapping backspace.

This happens only on Android but not on IOS or Web.

Valentin Dragnev
Telerik team
 answered on 07 Oct 2022
1 answer
155 views

I'm using a RadComboBox to search through clients via WebService


<telerik:RadComboBox ID="txtcontraente" runat="server" EmptyMessage="Seleziona un cliente" LoadingMessage="Caricamento in corso..." WebServiceSettings-Method="GetText" WebServiceSettings-Path="/Modules/WS/TContraente_radws_fullname.asmx" MinFilterLength="3" EnableLoadOnDemand="true" MarkFirstMatch="false" Style="max-width: 300px" Width="100%" OnClientKeyPressing="OnClientKeyPressing" DropDownWidth="400px">

    <ClientItemTemplate>
        <table style="width: 100%;">
            <tr>
                <td>#= Attributes.Nominativo #
                </td>
                <td style="text-align: right;">#= Attributes.DataNascita #
                </td>
            </tr>
            <tr>
                <td>#= Attributes.Convenzione #
                </td>
                <td style="text-align: right;">#= Attributes.Societa #
                </td>
            </tr>
        </table>
        <hr style="padding: 0px; margin: 0px;"></hr>
    </ClientItemTemplate>
</telerik:RadComboBox>

The problem I'm having is that sometimes requests overlap and are received at wrong times.
E.g. I search for 'abcd' (which would yield no results), then I delete the 'd' and search becomes 'abc' (which should yield results).
The problem is that sometimes the 'abcd' request is received after the 'abc' request, thus yielding no results.

Attila Antal
Telerik team
 answered on 07 Oct 2022
1 answer
115 views

I just added image manager to our site, and noticed one problem. our image uploaded location has already got lot of images, and I found it hard to find the image that just uploaded.  not too sure what is the best way to make it more user friendly without too much coding changes. 

I was wondering if image manager can add search box to search in existing images? or will it possible to show the latest uploaded image first?

Thanks in advance!

 

Rumen
Telerik team
 answered on 06 Oct 2022
1 answer
178 views

Hi,

 

I have a RadCombobox like this:

 

        <telerik:RadComboBox CheckBoxes="true" ID="rcb_team" DataSourceID="sds_team" DataValueField="id" DataTextField="naam" runat="server">
            <HeaderTemplate>
                <label class="mr-3">&nbsp;</label>
                 <div class="row">
                        <div class="col-6">Naam</div>
                     <div class="col-6">Functie</div>
                </div>
            </HeaderTemplate>
            <ItemTemplate>
                 <div class="row">
                        <div class="col-6"><%# Eval("naam") %></div>
                  <div class="col-2">
                      <telerik:RadButton ID="rb_teamleider" AutoPostBack="false" ToggleType="Radio" ButtonType="ToggleButton" GroupName="Radios" runat="server">
                            <ToggleStates>
                    <telerik:RadButtonToggleState Text="Checked"></telerik:RadButtonToggleState>
                    <telerik:RadButtonToggleState Text="UnChecked"></telerik:RadButtonToggleState>
                </ToggleStates>
            </telerik:RadButton>
                </div>
            </ItemTemplate>
        </telerik:RadComboBox>

 

In this scenario the radio buttons are not toggling...can you please reproduce and see what is happening?

 

Thanks,

Marc

Attila Antal
Telerik team
 answered on 06 Oct 2022
1 answer
165 views

Hello,

Any chart that renders as SVG or any .svg image end up blank when using the RadClientExportManager.

The blank chart in the attached image is rendered as svg. The first donut chart renders as SVG but I convert it to png so it shows. If  I convert them to an svg file first they are still blank. The other charts are using telerik charts. 

This happens for exportPDF, exportIMAGE and exportSVG in the RadClientExportManager. Anything that renders as an SVG ends up blank.

I tried your demo online and it renders the map blank as well. So I'm assuming the map renders as an SVG. Is there a way to fix this?

https://demos.telerik.com/aspnet-ajax/client-export-manager/applicationscenarios/wysiwyg-export/defaultcs.aspx

Thanks,

Jesse

Peter Milchev
Telerik team
 answered on 05 Oct 2022
2 answers
197 views
Dear Friends,

Is there a way we can freeze the last column or last n columns in a RAD Grid? I know we can do this for the first column but I have a business requirement that 1,2 and n, n-1 would appear frozen and other columns can contribute and move within an horizontal scrolling.
Doncho
Telerik team
 updated answer on 05 Oct 2022
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?