Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
150 views
Hi, I'm using RadTimePicker (really i'm using DnnTimePicker, but it's the same)  in my dotnetnuke proyect.
RadTimePicker works fine, but i found a little problem.
I have the proyect in a server, if I set the mindate value for example to today at 11:00, then the  RadTimePicker mindate value is "4/12/2012 11:00". This "today" uses the server date.

Ok, its ok, if I open the solution in a client machine with the same date, all works fine, i can't select any hours before mindate.

But i think that mindate validation uses client machine "today" for compare with RadTimePicker mindate. Then if client machine has a different date, for example, 5/12/2012, if I select for example 10:00, mindate validation will compare mindate (4/12/2012 11:00) and selected date (5/12/2012 10:00) and like

4/12/2012 11:00 < 5/12/2012 10:00

I will can select this hour.

I'm not sure that this, because, If client machine has a previous date to server machine date (for example 3/12/2012), in my theory, if i select 12:00, "mindate validation" will compare:

4/12/2012 11:00 < 3/12/2012 12:00

but this doesn't happen, it's like only compares 11:00 < 12:00 and permits to select this.

I don't understand how works this validation, but one thing is sure:

- Client machine with the same o previous date that server machine: all works ok.
- Client machine with a bigger date: this don't work.


I hope that you can help me :)

Thanks, regards, Javi.

PD: sorry for my english
Javi
Top achievements
Rank 1
 answered on 10 Dec 2012
1 answer
83 views
i have radcombo with emptymessage even though not selecting any value it is postbacking....

my code is

 

 

<telerik:RadComboBox ID="Commodity" AppendDataBoundItems="true" EmptyMessage="--Select--"

 

 

 

Width="80px" runat="server" CheckBoxes="true" DropDownWidth="150px" AutoPostBack="true" EnableCheckAllItemsCheckBox="true"

 

 

 

CheckedItemsTexts="DisplayAllInInput" OnSelectedIndexChanged="gvNetExposurefilter_SelectedIndexChanged">

 

 

 

</telerik:RadComboBox>

 

Kalina
Telerik team
 answered on 10 Dec 2012
4 answers
462 views
I'm using the EnableAutomaticLoadOnDemand with a RadComboBox, the EntityDataSource is defined in code behind and connected with the RadComboBox.

When I open the DropDown of the RadComboBox I get this error:

Object reference not set to an instance of object

There is an example of how to define a datasource in the code behind in this case? Is possible using EnableAutomaticLoadOnDemand?

Alberto


saeed
Top achievements
Rank 1
 answered on 10 Dec 2012
10 answers
213 views
Is it possible to change the start time 12:00AM to "Open"  and end time 12:00AM to close on the picker?
Princy
Top achievements
Rank 2
 answered on 10 Dec 2012
1 answer
156 views
Hi,
We are using having parent child hierarchical Telerik Grid. The grid is containing large number of records(77506 items in 7751 pages).After 2-3 mins,after clicking the Export to Excel button, It's throwing Exception as "Exception of type 'System.OutOfMemoryException' was thrown."



Using the below code for Export to Excel button click event.

gviewAuditTrial.MasterTableView.HierarchyLoadMode = GridChildLoadMode.ServerBind;
            gviewAuditTrial.ExportSettings.Excel.Format = GridExcelExportFormat.ExcelML;
            gviewAuditTrial.ExportSettings.IgnorePaging = true;
            gviewAuditTrial.ExportSettings.OpenInNewWindow = true;
            gviewAuditTrial.ExportSettings.FileName = "CRF_Details";
            gviewAuditTrial.ExportSettings.ExportOnlyData = true;
            gviewAuditTrial.MasterTableView.ExportToExcel();

Please let me know the solution for this.

Thanks,
Prasad
Prasad@magnasys.net


Shinu
Top achievements
Rank 2
 answered on 10 Dec 2012
3 answers
165 views
Dear friends, I found may threads but none of them worked for me. what I'm trying to do is:

main page (with masterpage) will call page1 in radwindow
o page1, I need to close radwindow and sense its closed so I'll go on...

problem is, I could not find main page's radwindow control and cannot close it. can you help me ?

on main page I open as:
<telerik:radwindowmanager id="RadWindowManager1" reloadonshow="true" runat="server">
        <Windows>
            <telerik:RadWindow runat="server" Width="600px" Height="550px" VisibleStatusbar="true" Style="z-index: 10000;"
                ID="ExplorerWindow" Modal="true" Behaviors="Default" ShowContentDuringLoad="true" RegisterWithScriptManager="true" >
            </telerik:RadWindow>
        </Windows>
    </telerik:radwindowmanager>
 
Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    ExplorerWindow.NavigateUrl = "page1.aspx"
    ExplorerWindow.VisibleOnPageLoad = True
End Sub

I dont know howto find radwindow from the page inside radwindow.

Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
 
    ' close window
 
End Sub

there's nothing in pages as this is isolated test application. just trying to close radwindow.
thanks...

Princy
Top achievements
Rank 2
 answered on 10 Dec 2012
1 answer
185 views
'AjaxControlToolkit.NumericUpDownExtender' cannot extend controls of type 'Telerik.Web.UI.RadNumericTextBox'..How to use
 'Telerik.Web.UI.RadNumericTextBox' with numeric updown extender
Princy
Top achievements
Rank 2
 answered on 10 Dec 2012
1 answer
108 views
I have a grid that is pulling data from a stored procedure. When I export, I want to query another stored procedure that has many additional columns of data returned. Is it possible to bind my grid to a separate datasource prior to exporting to excel or pdf? It is not an option for me to loop through the columns returned and show/hide each one. Any thoughts are appreciated!
Jayesh Goyani
Top achievements
Rank 2
 answered on 10 Dec 2012
2 answers
152 views
Hi Everybody
I m stuck.. my radgrid fetches data from a stored procedure ..(DeptID,SubDeptID,DocSubject,DateUploaded).Can I have a select button (like in asp.net grids) which can be used to fire selectedindexchanged event. On the event of slectedindexchanged I want to fetch the rows values for particular columns..
Thanks  in advance

Animesh Chatterjee
Shinu
Top achievements
Rank 2
 answered on 10 Dec 2012
1 answer
383 views
Hi,
I have a rad grid on my page. I added the below ajax code from one of the examples available in the rad grid site:

<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="radgrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="radgrid1"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>


I am getting the error "Only one instance of a ScriptManager can be added to the page".

How to fix this?
Thanks
Jayesh Goyani
Top achievements
Rank 2
 answered on 10 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?