Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
169 views
unwanted scroll displayed at bottom.. how can i remove it.
Please find the attached screen shot.

Thanks,
Jagadeesh
Jagadeeswararao
Top achievements
Rank 1
 answered on 27 Jun 2014
2 answers
159 views
Good evening,

I'm working with the ASP.NET GridView as well as the Telerik RadGrid and I'm missing a behavior on your Grid that was kinda typically on the classic Grid of MS.

Let's say I'm displaying 100 items per page of 1000 items total, paging is on and I am on page 3. On the MS grid I'm able to limit the bound data to the data I just want to display, and I still can trick the Grid to believe there are more items than actually bound by setting VirtualItemCount to 1000 to still get my 10 pages on the navigation instead of just one. So I only have to load 100 sets of data from the database for every postback. When sorting the data, I can simply order the data before skipping and taking and finally binding to my data, such as on the entity framework.
this.grid.DataSource = context.TABLE.OrderBy(x => x.Name).Skip(this.grid.PageIndex * this.grid.PageSize).Take(this.grid.PageSize).ToList();

Your grid is awesome, because it tries to do the order-job for me. But this only works if I give your grid the full 1000 items on the data source, I dislike. 
But first, I tried to simply display 100 items and set VirtualItemCount to 1000. The page navigation was not shown, assuming it was only 1 page for it.

Can you provide me any way to tell your grid to act like there are 1000 items on it, while only 100 items are bound? When this would work, I know the grid cannot sort all my datasets when the user presses on a column of course, because the grid has not all the data. Can I implement the manual sorting to your grid on similar ways like on the ASP.NET GridView?

An minimal example just with the features I'm looking for would be great.


Thanks in advice.
Martin
Top achievements
Rank 1
 answered on 27 Jun 2014
4 answers
212 views
I have a form with a RadButton set to use the new SingleClick and a RadDatePicker with a RequiredFieldValidator.

The button stays depressed after clicking if the  RadDatePicker is empty.

Any ideas?

Marty



Dobromir
Telerik team
 answered on 27 Jun 2014
1 answer
98 views
Hello, please i am having some problems with telerik menu shown in the picture is the problem, on my system, it shows perfectly weel, but one i deploy on my server it shows this way. please any suggestion
Boyan Dimitrov
Telerik team
 answered on 27 Jun 2014
8 answers
325 views
Hello. With some help, we recently added the ability to scroll to our bar charts by adding a blank line series. After doing so, I noticed that the tooltips no longer appear when hovering over the bars in the bar chart. To make sure everything was working properly, I turned off scrolling and the tooltips appeared as they should.

Is this a bug, or are additional steps needed to make this work?

We're using the latest ASP.Net Ajax controls.

Thanks! Please let me know if I can provide any more details.

Tye
Danail Vasilev
Telerik team
 answered on 27 Jun 2014
2 answers
206 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

imran
Top achievements
Rank 1
 answered on 27 Jun 2014
1 answer
206 views
Hi there,

The item text for my RadCombobox is too long, so it only displays part of it. Is it possible to show a tooltip displaying the full item text for the Combobox when the  mouse is over it? I need this to be done using javascript, not from the code behind. Any suggestions is much appriecated.

Regards,
Meng
Shinu
Top achievements
Rank 2
 answered on 27 Jun 2014
3 answers
121 views
Hi

We have got error in IE9 and Chrome. we need to show the radwindow on pageload.

We have written radwindow code in page onload event.

Error: Unable to get value of the property 'open': object is null or undefined

Please see the below code which we have written.

​ var openDailog = window.radopen('Warning.aspx', 'List');
openDailog.center();
openDailog.setSize(690, 460); //set as per req
openDailog.set_modal(true);
openDailog.set_behaviors(4 + 32);
return false;

Regards,
Venu.
karunakar
Top achievements
Rank 1
 answered on 27 Jun 2014
0 answers
143 views
Hi,

Description: Some of our webpages having "AutoRefresh" option, as per our requirement we have implemented radWindow Popups when clicking a specified column on the grid.Problem: Whenever webpage refreshing, with that web page our called radWindow popup is also closing.
Either we should stop refreshing parent page until popup is in active (or) even parent page refreshing, but still want to display popup page.

help me either of the ways

Details (Way of implementation):

1. Parent Page AutoRefresh:  Response.AddHeader("Refresh", rsi.dispatchesRefresh.ToString());
2. Code for RadWindow open : <a  class="HyperlinkValue" href='Javascript: AddAction("<%# DataBinder.Eval(Container.DataItem, "RequestNumber") %>....</a>function AddAction(requestNumber) {
---
---
var oWnd1 = window.radopen('ActionCreate.aspx?para=' + strData, 'List');
                oWnd1.setSize(800, 490); //set as per req
                oWnd1.set_modal(true);
                oWnd1.set_behaviors(4 + 32);
}


Thanks in Advance

Regards,
Venu


karunakar
Top achievements
Rank 1
 asked on 27 Jun 2014
6 answers
336 views
I'm having a problem with the Advanced Edit/Insert Templates. The problem is that they are not showing up when I double-click a time slot. Here is the Scheduler setup I'm using:
<telerik:RadScheduler ID="rsTasks" runat="server" DayEndTime="23:59:59" EnableRecurrenceSupport="False" 
        Width="1024px" WorkDayEndTime="23:59:59" StartInsertingInAdvancedForm="True"
        <Localization AdvancedAllDayEvent="All day" /> 
        <AdvancedForm DateFormat="dd/MM/yyyy" Modal="True" TimeFormat="h:mm tt" /> 
        <TimelineView UserSelectable="False" /> 
        <AdvancedEditTemplate> 
            <div class="row"
                <span class="label">Description:</span> 
                <telerik:RadTextBox ID="txtDescription" runat="server" Text='<%#Bind("Subject") %>' 
                    MaxLength="100" Width="280px"
                </telerik:RadTextBox> 
            </div> 
            <div class="row"
                <span class="label">Date/Time:</span> 
                <telerik:RadDateTimePicker ID="dtpDateToPurchase" runat="server" SelectedDate='<%# Bind("Start") %>'
                    <Calendar ShowOtherMonthsDays="False" ShowRowHeaders="False" UseColumnHeadersAsSelectors="False" 
                        UseRowHeadersAsSelectors="False" ViewSelectorText="x"
                    </Calendar> 
                    <TimeView CellSpacing="-1" Culture="English (Canada)" Interval="00:30:00" StartTime="08:00:00" 
                        EndTime="23:59:59" Columns="4"
                    </TimeView> 
                    <TimePopupButton HoverImageUrl="" ImageUrl="" /> 
                    <DatePopupButton HoverImageUrl="" ImageUrl="" /> 
                </telerik:RadDateTimePicker> 
            </div> 
            <div class="row"
                <span class="label">Property:</span> 
                <telerik:RadComboBox ID="ddlProperty" runat="server" Width="280px"
                    <CollapseAnimation Duration="200" Type="OutQuint" /> 
                </telerik:RadComboBox> 
            </div> 
            <div class="row"
                <span class="label">Assigned To:</span> 
                <telerik:RadComboBox ID="ddlBuyer" runat="server" Width="280px" AllowCustomText="true" 
                    Filter="Contains" ShowDropDownOnTextboxClick="true" ShowToggleImage="false"
                </telerik:RadComboBox> 
            </div> 
            <div class="row"
                <span class="label">Staus:</span> 
                <telerik:RadComboBox ID="ddlStatus" runat="server"
                    <Items> 
                        <telerik:RadComboBoxItem Text="Not Completed" Value="0" /> 
                        <telerik:RadComboBoxItem Text="Completed" Value="1" /> 
                    </Items> 
                </telerik:RadComboBox> 
            </div> 
            <div class="button-row"
                <asp:LinkButton ID="btnSave" runat="server" Text="Save" CommandName="Update" /> 
                <asp:LinkButton ID="btnCancel" runat="server" Text="Save" CommandName="Cancel" CausesValidation="false" /> 
            </div> 
        </AdvancedEditTemplate> 
        <AdvancedInsertTemplate> 
            <div class="row"
                <span class="label">Description:</span> 
                <telerik:RadTextBox ID="txtDescription" runat="server" MaxLength="100" Width="280px" 
                    Text='<%# Bind("Subject") %>'
                </telerik:RadTextBox> 
            </div> 
            <div class="row"
                <span class="label">Date/Time:</span> 
                <telerik:RadDateTimePicker ID="dtpDateToPurchase" runat="server" SelectedDate='<%# Bind("Start") %>'
                    <Calendar ShowOtherMonthsDays="False" ShowRowHeaders="False" UseColumnHeadersAsSelectors="False" 
                        UseRowHeadersAsSelectors="False" ViewSelectorText="x"
                    </Calendar> 
                    <TimeView CellSpacing="-1" Culture="English (Canada)" Interval="00:30:00" StartTime="08:00:00" 
                        EndTime="23:59:59" Columns="4"
                    </TimeView> 
                    <TimePopupButton HoverImageUrl="" ImageUrl="" /> 
                    <DatePopupButton HoverImageUrl="" ImageUrl="" /> 
                </telerik:RadDateTimePicker> 
            </div> 
            <div class="row"
                <span class="label">Property:</span> 
                <telerik:RadComboBox ID="ddlProperty" runat="server" Width="280px"
                    <CollapseAnimation Duration="200" Type="OutQuint" /> 
                </telerik:RadComboBox> 
            </div> 
            <div class="row"
                <span class="label">Assigned To:</span> 
                <telerik:RadComboBox ID="ddlBuyer" runat="server" Width="280px" AllowCustomText="true" 
                    Filter="Contains" ShowDropDownOnTextboxClick="true" ShowToggleImage="false"
                </telerik:RadComboBox> 
            </div> 
            <div class="row"
                <span class="label">Status:</span> 
                <telerik:RadComboBox ID="ddlStatus" runat="server"
                    <Items> 
                        <telerik:RadComboBoxItem Text="Not Completed" Value="0" /> 
                        <telerik:RadComboBoxItem Text="Completed" Value="1" /> 
                    </Items> 
                </telerik:RadComboBox> 
            </div> 
            <div class="button-row"
                <asp:LinkButton ID="btnSave" runat="server" Text="Save" CommandName="Insert" /> 
                <asp:LinkButton ID="btnCancel" runat="server" Text="Save" CommandName="Cancel" CausesValidation="false" /> 
            </div> 
        </AdvancedInsertTemplate> 
    </telerik:RadScheduler> 

I have no idea why it doesn't display my advanced forms. I'm using the latest version of the controls 2.826. If you could tell me if I'm doing something wrong or if I have to do something else in order for them to show up.

Thanks.
Mehmet
Top achievements
Rank 1
 answered on 27 Jun 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?