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

Hello!

 

I have a weird problem with my radgrid. In one of my columns (GridBoundColumn), I can't insert the exclamation mark.

It seems like the combination (Shift + 1) is somehow blocked. I can't find anything related to this.

Every other keyboard combination is working. The only way I can add the exclamation mark is by copy paste. 

Has anyone encountered this before ? Any help is appreciated!

 

Thank you!

Tsvetomir
Telerik team
 answered on 12 Jul 2018
4 answers
204 views
hi,

I use RadGrid to manipulate row promotion level. I Enabled the user to drag and drop rows to set the drraged item position.

I need to manipulate my datasbase when the dragging finish.

I wish to do this with javascript that invoke WCF service and pass the relevant parameters.

the problem is when the row dropped,  the page Posback to server and the user need to wait until the updating  to DB will finish.

I only need help to disable this postBack.

(When I use set_cancel method in the droppedEvent Nothing Changed and if I use it in the Drraging event the Dropped Event no Fired at all).

Thanks.
sorry about my English.. :)

shimon
Flavien
Top achievements
Rank 1
Iron
 answered on 12 Jul 2018
6 answers
280 views
I want to put a button on the page that uses the ConfirmBtn-Grey.jpg image when the page loads, and then when the button is clicked it should display ConfirmBtn-Selected.jpg.

I'm using the following RadButton definition, but not getting any images displayed on my page...

<telerik:RadButton ID="RadButton1" runat="server" ButtonType="ToggleButton" ToggleType="CustomToggle">
    <ToggleStates>
        <telerik:RadButtonToggleState Selected="true" ImageUrl="../images/ConfirmBtn-Grey.jpg" />
        <telerik:RadButtonToggleState ImageUrl="../images/ConfirmBtn-Selected.jpg" />
    </ToggleStates>
</telerik:RadButton>

I've checked the paths to my images using Firebug and it's picking them up ok. Have I defined the button incorrectly?

Rob
Marin Bratanov
Telerik team
 answered on 12 Jul 2018
3 answers
402 views
How to change the background color to blue for Material skin
Marin Bratanov
Telerik team
 answered on 12 Jul 2018
5 answers
453 views

I would like to show null values in a pivotgrid to indicate that a sample is misssing. It only shows zero's regardless the setting of IgnoreNullValues. I would expect null, empty or whatever the setting of EmptyValue. What am I missing here? Using UI for ASP.NET AJAX R2 2018 (version 2018.2.516)

<telerik:RadPivotGrid ID="mainpgrid" runat="server"  
            AllowFiltering ="false" 
            AllowNaturalSort="false"  
            AllowPaging ="false" 
            ShowFilterHeaderZone ="false" 
            EmptyValue ="(missing sample)"  >
        <TotalsSettings GrandTotalsVisibility ="None"  ColumnsSubTotalsPosition ="None" RowGrandTotalsPosition ="None" />
            <Fields >
                <telerik:PivotGridColumnField DataField ="SeriesLabel" Caption ="Label" ></telerik:PivotGridColumnField>
                <telerik:PivotGridAggregateField DataField ="Value"   IgnoreNullValues ="True"   Caption ="IgnoreNull" ></telerik:PivotGridAggregateField>
                <telerik:PivotGridAggregateField DataField ="Value"   IgnoreNullValues ="False"  Caption ="DoNotIgnoreNull" ></telerik:PivotGridAggregateField>
                <telerik:PivotGridRowField DataField ="UTZDate" Caption ="Date"></telerik:PivotGridRowField>
            </Fields>
        </telerik:RadPivotGrid>

 

Code:

Private Sub testpage_Load(sender As Object, e As EventArgs) Handles Me.Load
        If Not IsPostBack Then
            Dim t As New DataTable
            t.Columns.Add("UTZDate")
            t.Columns.Add("SeriesLabel")
            t.Columns.Add("Value", System.Type.GetType("System.Int32"))

            Dim r As DataRow = t.NewRow
            r("UTZDate") = Now
            r("SeriesLabel") = "Series 0"
            r("Value") = DBNull.Value
            t.Rows.Add(r)

            r = t.NewRow
            r("UTZDate") = Now.AddMinutes(5)
            r("SeriesLabel") = "Series 0"
            r("Value") = 100
            t.Rows.Add(r)

            Me.mainpgrid.DataSource = t
            Me.mainpgrid.DataBind()
        End If
    End Sub

 


Eyup
Telerik team
 answered on 12 Jul 2018
7 answers
3.3K+ views
I am tring to save information based on if they pick a date back inot the Db.  So I am checking on the selectedvalue of the raddatepicker but it gives me this error when I do not have a date in there.

Bassically what I want to do is rotate through my radgrid and if they have picked a date then save information to the DB otherwise just go to the next row.  But this error pops if no date is picked.

Nullable object must have a value.

Line 238:            If TempDt.SelectedDate.Value > Nothing Then


Protected Sub lnkSaveTemp_Click(sender As Object, e As System.EventArgs) Handles lnkSaveTemp.Click 
      For Each row As GridDataItem In myRadGrid.Items 
          Dim Id As Integer = row.GetDataKeyValue("intIssuedId") 
          Dim TempDt As RadDatePicker = DirectCast(row.FindControl("DatePicker"), RadDatePicker) 
          Dim TNote As TextBox = DirectCast(row.FindControl("txtNotes"), TextBox) 
          If TempDt.SelectedDate.Value > Nothing Then 
              sql = "Update Drat_Issued set dtRecoverTemp = '" & sanitizeString(TempDt.SelectedDate.Value) & "', strNotes = '" & sanitizeString(TNote.Text) & "' where intIssuedId = " & Id 
              Response.Write(sql) 
              insertUpdateDelete(sql) 
          End If 
      Next 
  End Sub
Marin Bratanov
Telerik team
 answered on 11 Jul 2018
4 answers
80 views

ItemsPerRequest is ignored for the RadComboBox.

How do I get this fixed?

Marin Bratanov
Telerik team
 answered on 11 Jul 2018
5 answers
291 views

I have a RadComboBox control inside RadGrid in which Items are loaded using LoadOnDemandmechanism i.e., _ItemRequested() event

All working fine except the 2 issues:
1) There is a significant lag between the time the end-user begins typing and when the filtered items show up. What I observed that the searching in RadcomboBox is done character wise not Word wise.
2) Also, takes time to load data regardless of what value is set in ItemPerRequest property in RadComboBox when using LoadOnDemand.

The maximum items in this RadComboBox can be 20,000+ as well.
User is complaining again and again for the performance issue. Please someone let me know the simplest way of resolving the 2 issues.
I followed below Link (Server Side method), to achieve LoadOnDemand functionality:http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx
If there is no solution to solve the 2 preformance issue then please let me know how to do the searching in RadComboBox, which is inside RadGrid, using LoadOnDemand approach on BUTTON click ?? Will this resolve the 1st Issue ??
Please note that I am new in Telerik. Thanks in advance.

Marin Bratanov
Telerik team
 answered on 11 Jul 2018
3 answers
217 views

Hi, I would need to use a RadTabStrip as a selector, but not for a MultiPage with exclusive content.

When I select the TAB 0, I have to display n input controls.
When I select TAB 1, I have to display n + m input controls. i.e. add them or remove them using the 2 tabs.

Possibly? In the simplest way, server side is preferred.

This an extract. Ther's a parent MasterPage.

<asp:Content ID="Content2" ContentPlaceHolderID="cph1" runat="Server">
 
    <telerik:RadTabStrip RenderMode="Lightweight" runat="server" ID="rts1" Align="Justify" AutoPostBack="true" MultiPageID="rmp1" SelectedIndex="0">
            <Tabs>
                <telerik:RadTab Text="Primo anno"></telerik:RadTab>
                <telerik:RadTab Text="Anni successivi"></telerik:RadTab>
            </Tabs>
    </telerik:RadTabStrip>
    <telerik:RadMultiPage runat="server" ID="rmp1" SelectedIndex="0" RenderSelectedPageOnly="True">
        <telerik:RadPageView runat="server" Height="460px" ID="rpv1">
            <div class="contentWrapper">
                <telerik:RadAjaxPanel runat="server">
                    <span class="titIscritti">Calcolo per a.a. 2018-2019, studenti iscritti al 1° anno</span>
                    <br />
                    <asp:Label runat="server" AssociatedControlID="txtISEE">ISEE:</asp:Label>
                    <telerik:RadNumericTextBox runat="server" ID="txtISEE" EmptyMessage="valore ISEE" MaxLength="12" RenderMode="Lightweight" Type="Currency" CausesValidation="True"></telerik:RadNumericTextBox>
                    <asp:RequiredFieldValidator ID="rfv_isee" runat="server" ErrorMessage="*" ControlToValidate="txtISEE" Display="Dynamic" ValidationGroup="std"></asp:RequiredFieldValidator>
                    <br />
                    <asp:Label runat="server" AssociatedControlID="txtISPE" >ISPE:</asp:Label>
                    <telerik:RadNumericTextBox runat="server" ID="txtISPE" EmptyMessage="valore ISPE" MaxLength="12" RenderMode="Lightweight" Type="Currency" CausesValidation="True"></telerik:RadNumericTextBox>
                    <asp:RequiredFieldValidator ID="rfv_ispe" runat="server" ErrorMessage="*" ControlToValidate="txtISPE" Display="Dynamic" ValidationGroup="std"></asp:RequiredFieldValidator>
                    <br />
                    <asp:Label runat="server" AssociatedControlID="rddlDipartimento" >Dipartimento:</asp:Label>
                    <telerik:RadDropDownList RenderMode="Lightweight" ID="rddlDipartimento" runat="server" DataTextField="Struttura" DropDownHeight="200" DataValueField="ID">
                    </telerik:RadDropDownList>
                    <asp:RequiredFieldValidator ID="rfv_ddlDip" runat="server" ErrorMessage="*" ControlToValidate="rddlDipartimento" Display="Dynamic" InitialValue="seleziona" ValidationGroup="std"></asp:RequiredFieldValidator>
                    <br /><br />
                    <telerik:RadButton RenderMode="Lightweight" runat="server" Text="Calcola" ID="btnCalcola" ToolTip="Effettua la simulazione"  OnClick="btnCalcola_Click" Primary="False" AutoPostBack="True" SingleClick="False" ButtonType="StandardButton" ValidationGroup="std" />   
                    <br /><br />
                    <asp:Label ID="lblMsg" runat="server" Visible="False" ForeColor="Red"></asp:Label>
                </telerik:RadAjaxPanel>
            </div>
        </telerik:RadPageView>
        <telerik:RadPageView runat="server" Height="460px" ID="rpv2">
            <div class="contentWrapper">
                Iscritti anni successivi
            </div>
        </telerik:RadPageView>
     </telerik:RadMultiPage>
 
</asp:Content>
Vessy
Telerik team
 answered on 11 Jul 2018
1 answer
372 views

Hello Community,

Our application is supporting for IE. We are making our application compatible with edge. In this process we are getting the below error for RAD Grid.

Horizontal Scroll bar for Rad Grid is not Enabled in Edge Browser but its getting enabled which is working as expected  in IE,Chrome

We are using telerik.web.ui dll version  2010.1.309.40 and .net framework 4.7. I am attaching the screen shots. 

Marin Bratanov
Telerik team
 answered on 11 Jul 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?