Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
95 views
hi all,

i have two datepicker on page viz. date1 and date2

i disable all dates in date2 which are less than date1 now it is always date1<date2

i use ondayrender(...,..) event for date2  and set date1's autopostback=true.. it works fine and

now i added radajaxmanager as 


<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
                <AjaxSettings> 
                    <telerik:AjaxSetting AjaxControlID="RadDatePicker2"
                        <UpdatedControls> 
                            <telerik:AjaxUpdatedControl ControlID="RadDatePicker1" /> 
                             <telerik:AjaxUpdatedControl ControlID="RadDatePicker2" /> 
                             
                        </UpdatedControls> 
                    </telerik:AjaxSetting> 
                </AjaxSettings> 
            </telerik:RadAjaxManager> 

and now it wont work more :( plz help me 


Shinu
Top achievements
Rank 2
 answered on 14 May 2010
6 answers
344 views
hey,
       i am encountering this exception while trying to enable grid filtering,
'GridItem' is a type and cannot be used as an expression.

<telerik:GridBoundColumn HeaderText="<%$Resources:Created %>" UniqueName="Created"
                                        SortExpression="PostDate" DataField="PostDate" DataFormatString="<%$Resources:DateFormat %>">
                                        <FilterTemplate>
                                            From
                                            <telerik:RadDatePicker ID="FromOrderDatePicker" runat="server" Width="85px" ClientEvents-OnDateSelected="FromDateSelected"
                                                MinDate="01-01-1900" FocusedDate='<%#Eval("Status.Title") %>' DbSelectedDate='<%#Eval("Status.Title") %>' />
                                            to
                                            <telerik:RadDatePicker ID="ToOrderDatePicker" runat="server" Width="85px" ClientEvents-OnDateSelected="ToDateSelected"
                                                MinDate="01-01-1900" FocusedDate='<%#Eval("Status.Title") %>' DbSelectedDate='<%#Eval("Status.Title") %>' />
                                            <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">

                                                <script type="text/javascript">
                                                    function FromDateSelected(sender, args) {
                                                        var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");

                                                        var date = FormatSelectedDate(sender);

                                                        tableView.filter("OrderDate", date, "GreaterThanOrEqualTo");

                                                    }
                                                    function ToDateSelected(sender, args) {
                                                        var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");

                                                        var date = FormatSelectedDate(sender);

                                                        tableView.filter("OrderDate", date, "LessThanOrEqualTo");
                                                    }
                                                    function FormatSelectedDate(picker) {
                                                        var date = picker.get_selectedDate();
                                                        var dateInput = picker.get_dateInput();
                                                        var formattedDate = dateInput.get_dateFormatInfo().FormatDate(date, dateInput.get_displayDateFormat());

                                                        return formattedDate;
                                                    }
                                                </script>

                                            </telerik:RadScriptBlock>
                                        </FilterTemplate>
                                    </telerik:GridBoundColumn>
any help please
GlenB
Top achievements
Rank 1
 answered on 14 May 2010
0 answers
85 views
Hello,

I have a radchart and I added tooltips for the items. Everything works fine IF I disable the chart scroll bars:

RadChart1.ClientSettings.ScrollMode = ChartClientScrollMode.None

But if I enable the scroll bars:
RadChart1.ClientSettings.ScrollMode = ChartClientScrollMode.Both
then tooltips cannot be seen anymore!

Why is this happening? Is this a bug?

Thank you,
M. Rusu

 

 

 

M. R.
Top achievements
Rank 1
 asked on 13 May 2010
6 answers
156 views
Hello,

I need a button in editmode of RadGrid as shown in image. On click of this button i need to show a popup which will have two textboxes of usernname and password and a button. on click of button i need to perform database operation. How it can be done?

Thanks
Amarinder
Jeremy Yoder
Top achievements
Rank 1
 answered on 13 May 2010
3 answers
154 views
Team,

1) RG1.jpg is my webPage.
2) RG2.jpg is after exporting Radgrid to MS Word 2003.

Problem is, I want to remove the Hyperlink, and Alignment should be Right.

Kindly provide me the soln.

Thanks,
Rajesh N.
Daniel
Telerik team
 answered on 13 May 2010
4 answers
216 views

Hi,

I am having a problem using File Explorer. Uploading works fine but when I try to rename or delete any file or folder, an error pops up saying that "The selected file could not be deleted because the application did not have enough permissions...".

I have gone through the earlier posts in forums regarding this problem but could not get to find out the solution. I am using ASP.NET AJAX Q3 2009 SP2 version and the declarations of file explorer in my codes are as follow:

> in .aspx

<telerik:RadFileExplorer ID="fileExplorer" runat="server" 
DisplayUpFolderItem="True" 
EnableCopy="True" Skin="Windows7" 
OnClientLoad="OnClientLoad" 
Configuration-MaxUploadFileSize="2000000000" 
Width="524px" TreePaneWidth="150px">  
</telerik:RadFileExplorer> 

> in .aspx.cs
protected void Page_Load(object sender, EventArgs e)  
    {  
        if (!Page.IsPostBack)  
        {  
            string[] searchPatterns = new string[1];  
            searchPatterns[0] = "*.*";  
            fileExplorer.Configuration.SearchPatterns = searchPatterns;  
 
            string[] paths = new string[1];  
            paths[0] = "~\\Root\\" + (string)Session["userName"];  
 
            fileExplorer.Configuration.ViewPaths = paths;  
            fileExplorer.Configuration.UploadPaths = paths;  
            fileExplorer.Configuration.DeletePaths = paths;  
        }  
    } 

Kindly suggest me a simple solution to sort this problem out. Thanks

Regards
Muhammad Farjad
Muhammad Farjad
Top achievements
Rank 1
 answered on 13 May 2010
5 answers
80 views
I'm trying to use the grid to export to excel.  After reviewing many different examples I am able to get the grid to work with a button, however, I want to use the little excel button on the grid located near the refresh.  Every example I've tried doesn't work for me.  When the button is clicked the grid flashes, and looses the header line that the button and refresh is on. 

I also loose the grid formatting and my edit links disappear. 

What am I missing?
Daniel
Telerik team
 answered on 13 May 2010
2 answers
102 views
I am working with an older version of RadEditor from RadControls Q1 2008.  Unfortunately for this product upgrading is not an option right now as the upgrade itself will necessitate a lot of work for the skinning team that is not practical.  It has a bug where the user can potentially upload files with "%" characters which will break scripts on the page and break the functionality of the editor control.

What we have done initially is skin the upload part of the editor dialogs to show a message.  Unfortunately there is another part of the application where we use the dialog without the editor and I cannot change this skin.  So far I have been following the suggestions outlined here and using the ascx files from our other custom skin, but to no avail.

http://www.telerik.com/community/forums/aspnet-ajax/editor/imagemanager-standalone-customization.aspx


Ideally, there would be a simple way for me to just block the upload.  I attempted unsuccessfully to use some fairly creative Javascript with this, but it proved to difficult to determine when the dialog was loaded and respond to it, not to mention all the iframes that had to be dealt with.

Any suggestions would be very much apprecaited, again considering that upgrading isn't really an option at the present time.
Chris
Top achievements
Rank 1
 answered on 13 May 2010
4 answers
85 views
Hi, I'm developing an application that uses RadGrid and noticed this evening that it works fine under IE, but not under Safari.  This applies whether I'm using Safari on Windows or on my iPhone.  Specifically, if I have the AllowFilteringByColumn="false", the grid displays fine.  If I set it to true, then the grid becomes nearly infinitely wide in Safari with a huge horizontal scroll...yet works fine in IE either way.

Is this a known issue in Safari?  I'm using Q3 2009 version...any help is greatly appreciated as I'd like my app to be cross-platform...

Thanks,
Andrew
Jeremy Wadsworth
Top achievements
Rank 1
 answered on 13 May 2010
8 answers
176 views
Dear friends,

I am using RadDock control (2009 Q3) together with theme of Asp.net. I am using a custom skin (modified from Telerik skin) for this dock. Everything works fine with FireFox, SeaMonkey... but shows error with IE 8 (as seen in the attached picture).

I have thought of css conflicts between the dock css file and my custom css files (because I have some .css files in the theme folder), so I have tried to delete all my custom .css files. It means my page has no custom css file now, but the display error still exists. I really cannot think of where the error comes from.

Could you suggest any ideas of this error.

Thank you.
WRONG ACCOUNT
Top achievements
Rank 1
 answered on 13 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?