Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
198 views
Is it possible to override the functionality that currently hides all iFrames when a RadWindow is moved or resized?

Also, I've noticed that the RadWindow that displays the "Release Notes" on the purchases page displays a grey object when dragging or resizing instead of hiding the contents, but I can't find where to activate this functionality in the documentation. Is there a parameter to enable this mode or is it a specific build for the site?

Thanks,

Martin.
James Lance
Top achievements
Rank 1
 answered on 26 Sep 2008
1 answer
113 views
If you create an event with a recurrence that doesn't have an end date, the calendar will not show the event, for example, 50 years later.  This seems to depend on the type of recurrence (a daily recurrence will end much sooner than a yearly recurrence).  Is this a known limitation of the control?  What is the limit, and do I have any control over it.

For a concrete example, go the the Telerik iCalendar Export demo, edit the Alex's Birthday event to be recurring every March 30th.  It will show up on March 30, 2039, but not March 30, 2040.
T. Tsonev
Telerik team
 answered on 26 Sep 2008
1 answer
78 views

<%

@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false"

CodeFile="Default2.aspx.vb" Inherits="Default2" %>

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<

asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

<telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True" AutoGenerateDeleteColumn="True"

AutoGenerateEditColumn="True" DataSourceID="SqlDataSource1" GridLines="None"

Skin="Inox">

<MasterTableView AutoGenerateColumns="False" DataKeyNames="UserID" DataSourceID="SqlDataSource1">

<RowIndicatorColumn>

<HeaderStyle Width="20px"></HeaderStyle>

</RowIndicatorColumn>

<ExpandCollapseColumn>

<HeaderStyle Width="20px"></HeaderStyle>

</ExpandCollapseColumn>

<Columns>

<telerik:GridBoundColumn DataField="UserID" DataType="System.Int32" HeaderText="UserID"

ReadOnly="True" SortExpression="UserID" UniqueName="UserID">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="LastName" HeaderText="LastName" SortExpression="LastName"

UniqueName="LastName">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="FirstName" HeaderText="FirstName" SortExpression="FirstName"

UniqueName="FirstName">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="UserName" HeaderText="UserName" SortExpression="UserName"

UniqueName="UserName">

</telerik:GridBoundColumn>

<telerik:GridDropDownColumn DataField="SecurityLevelID" DataSourceID="SqlDataSource2"

HeaderText="SecurityLevel" ListTextField="Description" ListValueField="SecurityLevelID"

UniqueName="SecurityLevelID">

</telerik:GridDropDownColumn>

</Columns>

</MasterTableView>

<FilterMenu EnableTheming="True">

<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

</FilterMenu>

</telerik:RadGrid>

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NewDoesConnectionString %>"

DeleteCommand="DELETE FROM [User] WHERE [UserID] = @UserID" InsertCommand="INSERT INTO [User] ([LastName], [FirstName], [UserName], [SecurityLevelID]) VALUES (@LastName, @FirstName, @UserName, @SecurityLevelID)"

ProviderName="<%$ ConnectionStrings:NewDoesConnectionString.ProviderName %>"

SelectCommand="SELECT [UserID], [LastName], [FirstName], [UserName], [SecurityLevelID] FROM [User]"

UpdateCommand="UPDATE [User] SET [LastName] = @LastName, [FirstName] = @FirstName, [UserName] = @UserName, [SecurityLevelID] = @SecurityLevelID WHERE [UserID] = @UserID">

<DeleteParameters>

<asp:Parameter Name="UserID" Type="Int32" />

</DeleteParameters>

<InsertParameters>

<asp:Parameter Name="LastName" Type="String" />

<asp:Parameter Name="FirstName" Type="String" />

<asp:Parameter Name="UserName" Type="String" />

<asp:Parameter Name="SecurityLevelID" Type="Int32" />

</InsertParameters>

<UpdateParameters>

<asp:Parameter Name="LastName" Type="String" />

<asp:Parameter Name="FirstName" Type="String" />

<asp:Parameter Name="UserName" Type="String" />

<asp:Parameter Name="SecurityLevelID" Type="Int32" />

<asp:Parameter Name="UserID" Type="Int32" />

</UpdateParameters>

</asp:SqlDataSource>

<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:NewDoesConnectionString %>"

SelectCommand="SELECT [SecurityLevelID], [Description] FROM [SecurityLevel]">

</asp:SqlDataSource>

</

asp:Content>

Vlad
Telerik team
 answered on 26 Sep 2008
2 answers
95 views
Do I need to set a specific setting to make the skin work with the grid? I can see the grid but without any design or skin. It's all white with no style.

Thanks,
jc
Cesar
Top achievements
Rank 1
 answered on 26 Sep 2008
3 answers
300 views

Dear Telerik,

I have bound my datasource to the radgrid and can see that for some ItemDataBound events the e.Item.DataItem is setup with the object from the DataSource. Great ! However, when I need the DataItem, in either the ItemCommand or the DeleteCommand events (when I can tell the user has pressed the Delete button) the DataItem == null. I have seen the example on how to get some DataKeyValues but I wonder why, given the Databound object is obviously available in the ItemDataBound, it cant be setup for the DeleteCommand and ItemCommand aswell. Maybe you could put this on my wishlist ?

Thanks,

Simon

Vlad
Telerik team
 answered on 26 Sep 2008
2 answers
364 views
Hi, I've got a fairly complex scenario, but let me describe the overall idea and then see if you can point me in the right direction.

I am in an ASP.NET web app, using nested user controls (ascx files) and using the RadAjaxManager in the main aspx page.  This page contains the nested user controls, and by "nested" I mean that the aspx page contains several user controls, and each user control may contain other user controls.

GOAL: 
From clientside javascript in the main page, I want to call a server side method and have the individual server controls in my nested user controls, be updated / refreshed.

Here is what I have working:
 - I've written code in the RadAjaxManager1_AjaxRequest method of the main page, that calls a publicly exposed method in one of my nested user controls.
 - The call to RadAjaxManager1_AjaxRequest is kicked off by a javascript function in my main page.
 - The method that is called in the user control, sets the Visible property of a button that resides in that user control, to false.

PROBLEM:
With _AjaxRequest, all of the code is fired and runs, BUT, the button does not disappear.  In other words, that control isn't being updated by the RadAjaxManager, to reflect that it's visible property is false.

I've tried various <AjaxSettings> <UpdatedControls> settings on the RadAjaxManager, but nothing is working.

HOWEVER, from the same javascript function that calls the AjaxRequest method, if I instead use __DoPostBack where my target is a button with a click event, it DOES work.  That method is fired and the Visible property of a button is set to false, and the UI is refreshed and the button disappears.

So, I'm really wondering if you have any advice on what to look for.

And, am I trying to use the RadAjaxManager1_AjaxRequest inappropriately?

Thanks,
Brent

 

Brent
Top achievements
Rank 1
 answered on 26 Sep 2008
2 answers
61 views
hi
i install RadControls for ASP.NET AJAX 2008 1 415 dev
in machin with windows xp sp3 and vs2008 sp1 and .net sp 3.5 sp1 now show me in design 
radcombobox without image down image and date whitout style

how i can send my screen desktop?

tanks
hesam
Top achievements
Rank 1
 answered on 26 Sep 2008
1 answer
118 views

<telerik:GridEditCommandColumn HeaderButtonType="PushButton" HeaderText="test" ButtonType="ImageButton"



The header button does not work. Only a  text is displayed. Is it normal?

Nikolay Rusev
Telerik team
 answered on 26 Sep 2008
3 answers
248 views
Hi, I am having a problem getting this event to fire at all. I know it used to work in the older version but it just seems to not fire at all in the new version I just got.

Anyone else find this problem? Help :(

Here is my scheduler:

<telerik:RadScheduler runat="server" ID="RadScheduler2"  
    Skin="Office2007" OverflowBehavior="Expand" Height="100%"  
    DayStartTime="08:00:00" DayEndTime="23:59:59" TimeZoneOffset="03:00:00"  
    SelectedView="MonthView" ShowHeader="true" ShowViewTabs="false" ShowFooter="true"  
    OnNavigationCommand="RadScheduler2_NavigationCommand"  
    DataKeyField="Id" DataSubjectField="Subject" DataStartField="Start" DataEndField="End"  
    OnAppointmentClick="RadScheduler2_AppointmentClick" 
    AllowEdit="false" AllowDelete="false" AllowInsert="false"   
    EnableAdvancedForm="False" ReadOnly="True"
</telerik:RadScheduler> 

It doesnt find my breakpoints in the code behind or anything really.

Thank you,
josh
Peter
Telerik team
 answered on 26 Sep 2008
1 answer
139 views
Let's say I have multiple rows in a RadGrid. One of the column is a GridDropDownColumn. The RadGrid is in "all-rows-edit-mode".

Is there any way that I can filter each instance of the GridDropDownColumn, based on, for instance, the key-value of the respective row, without using load-on-demand?

For instance, consider a grid with two columns "Type" and "Instance".
The Type column is a readonly bound column, wheras Instance is a dropdown column.
There are three rows in the grid, where Type has the values "Animal", "Fruit" and "Vehicle". Now, I want the content of the three different dropdowns to be filtered based on the Type-value for the respective row.
In other words:
For row "Animal", the dropdown shows "Cat", "Dog", etc
For row "Fruit",  the dropdown shows "Apple", "Pear", etc
For row "Vehicle",  the dropdown shows "Car", "Bus", etc

Can this be done without using load-on-demand (which would complicate things a lot in our case)?

Thanks!
/Fredrik



Yavor
Telerik team
 answered on 26 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?