Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
84 views
Hi,

Is it possible to set master row in edit mode (showing EditFormTemplate) and at the same time display detail rows (using ItemTemplate)? In my case detail rows were hidden when master was set in edit mode -after Edit button pressed on master row.

Thanx, 
    Walter
Shinu
Top achievements
Rank 2
 answered on 11 Mar 2009
1 answer
53 views
Hi

I am having Hierarchical Grid upto 3 Detail table one inside other. Inside Master table first column data is link, so I would like to see same event as we click on expandColumn. Is there straight way to achieve this?

Thanks,
Pradip
Shinu
Top achievements
Rank 2
 answered on 11 Mar 2009
1 answer
205 views
Hi there,

Is it at all possible to edit multiple rows at the same time?  Inline editing would be preferable. 


Any suggestions appreciated 
Princy
Top achievements
Rank 2
 answered on 11 Mar 2009
6 answers
128 views
Hello. I have an interesting situation using the RadToolTipManager and asp:MediaPlayer. Here is the page I am working with:

http://www.mccsokinawa.com/dntestapps/

As you can see, when you mouse over an appointment on the RadScheduler, a pop-out tooltip shows a RadTabStrip, a MediaPlayer, and some text. The first time this tool-tip is loaded, everything shows just fine. However, as soon as you close the tooltip (use the X) or mouse-over another appointment for a new tooltip, a Javascript error takes place.

Any idea why this might be happening? Any idea how I can fix this in either Server-side or Client-side code? The controls load the first time, so I don't think it's anything server-side...

Any help would be much appreciated as always.
David
Top achievements
Rank 1
 answered on 10 Mar 2009
2 answers
131 views
Hi,
Please refer to the following telerik sample.

I want to use the same interface (multiple combo boxes) on different pages.
How can I convert the combo boxes into a server control so that I can register it in the toolbox and then drag and drop on the page I need it.

thanks and regards...
Sid
Top achievements
Rank 1
 answered on 10 Mar 2009
3 answers
78 views
Hello Guys,
  I am using the RadControls for ASPNET AJAX Q3 2008; I have a web form that contains a single radgrid and I use a usercontrol as the edit form for the grid. I have a particular condition that if it should occur, say a particular control is empty then I prompt the user to enter a value into that control. I use e.Canceled = true to cancel the updateCommand on the grid. however when I do this all the radcomboboxes on the usercontrol gets rendered incorrectly( the drop down arrow disappears). Any help will be greatly appreciated.


Rgards,
Nyron 
Kyri
Top achievements
Rank 2
 answered on 10 Mar 2009
1 answer
467 views
I am trying to retain expanded and selected columns in my radgrid with a detailview after row drop from another grid.
I am following the guides here and have set EnableAJAX="False" on my RadAjaxManager. My problem is that the ItemCommand event is not fired unless it performs a sort.

here is the grid I am trying to retain select and Expand Collapse on
<telerik:RadGrid ID="rgGroups" runat="server" OnItemCommand="rgGroups_ItemCommand"  
                OnDataBound="rgGroups_DataBound" AllowFilteringByColumn="True" AllowPaging="True" 
                    AllowSorting="True" AllowMultiRowSelection="True" AutoGenerateColumns="False" 
                    DataSourceID="obsUserGroups" GridLines="None" ShowGroupPanel="True" Skin="Hay" 
                    PageSize="30"
                    <HeaderContextMenu> 
                        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                    </HeaderContextMenu> 
                    <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="true" AllowRowsDragDrop="true" 
                        AllowExpandCollapse="True"
                        <Selecting AllowRowSelect="true" EnableDragToSelectRows="true" /> 
                    </ClientSettings> 
                    <MasterTableView AllowMultiColumnSorting="True"  
                        DataKeyNames="GroupID"  
                        DataSourceID="obsUserGroups" 
                        HierarchyLoadMode="Client"  
                        NoDetailRecordsText="No groups defined."  
                        ShowHeadersWhenNoRecords="false" 
                        NoMasterRecordsText="No groups found."
                        <DetailTables> 
                            <telerik:GridTableView runat="server" AllowPaging="False"  
                                AutoGenerateColumns="False" 
                                DataKeyNames="UserID,GroupID" DataSourceID="obsGetGroupMembers"  
                                NoMasterRecordsText="No users found." 
                                NoDetailRecordsText="No users in group."  
                                ShowHeadersWhenNoRecords="False"
                                <RowIndicatorColumn> 
                                    <HeaderStyle Width="20px" /> 
                                </RowIndicatorColumn> 
                                <ExpandCollapseColumn> 
                                    <HeaderStyle Width="20px" /> 
                                </ExpandCollapseColumn> 
                                <ParentTableRelation> 
                                    <telerik:GridRelationFields DetailKeyField="GroupID" MasterKeyField="GroupID" /> 
                                </ParentTableRelation> 
                                <Columns> 
                                    <telerik:GridBoundColumn SortExpression="FName" HeaderText="FName" UniqueName="FName" 
                                        DataField="FName" /> 
                                    <telerik:GridBoundColumn SortExpression="LName" HeaderText="LName" UniqueName="LName" 
                                        DataField="LName" /> 
                                    <telerik:GridBoundColumn SortExpression="UserEmail" HeaderText="UserEmail" UniqueName="UserEmail" 
                                        DataField="UserEmail" /> 
                                </Columns> 
                            </telerik:GridTableView></DetailTables
                        <RowIndicatorColumn> 
                            <HeaderStyle Width="20px"></HeaderStyle> 
                        </RowIndicatorColumn> 
                        <ExpandCollapseColumn Visible="True"
                            <HeaderStyle Width="20px"></HeaderStyle> 
                        </ExpandCollapseColumn> 
                        <Columns> 
                            <telerik:GridBoundColumn DataField="GroupName" HeaderText="Group" SortExpression="GroupName" 
                                UniqueName="GroupName"
                            </telerik:GridBoundColumn> 
                        </Columns> 
                    </MasterTableView><FilterMenu
                        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                    </FilterMenu> 
                </telerik:RadGrid> 

Code Behind (although it doesn't reach this):
 Protected Sub rgGroups_ItemCommand(ByVal source As ObjectByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles rgGroups.ItemCommand 
        'save the expanded/selected state in the session 
        If e.CommandName = RadGrid.ExpandCollapseCommandName Then 
            'Is the item about to be expanded or collapsed 
            If Not e.Item.Expanded Then 
                'Save its unique index among all the items in the hierarchy 
                Me.ExpandedStates(e.Item.ItemIndexHierarchical) = True 
            Else 
                'collapsed 
                Me.ExpandedStates.Remove(e.Item.ItemIndexHierarchical) 
                Me.ClearExpandedChildren(e.Item.ItemIndexHierarchical) 
            End If 
            'Is the item about to be selected  
        ElseIf e.CommandName = RadGrid.SelectCommandName Then 
            'Save its unique index among all the items in the hierarchy 
            Me.SelectedStates(e.Item.ItemIndexHierarchical) = True 
            'Is the item about to be deselected  
        ElseIf e.CommandName = RadGrid.DeselectCommandName Then 
            Me.SelectedStates.Remove(e.Item.ItemIndexHierarchical) 
        End If 
    End Sub 

I would appreciate any help as I am lost.

WOWPhantom
Top achievements
Rank 1
 answered on 10 Mar 2009
6 answers
207 views
Hi,

How can i make my scheduler to accept only 1 appointment per Time Slot?
And if possible, how can make it on clientside only.

For example : 
I schedule an appointment on Jan 5, 2009 8:00am to Jan 5, 2009 10:00am
Between 8am and 10am timeslot i will not be able to insert a new appointment.

Thanks,
Bermo
andrea
Top achievements
Rank 1
 answered on 10 Mar 2009
4 answers
256 views
Hi

Is it possible to get the RadRotator control to reference images that are stored in a SQL Server 2008 database, rather than in the file system itself?

Any help or code segments would be appreciated.

Regards
Fitz

ManniAT
Top achievements
Rank 2
 answered on 10 Mar 2009
2 answers
138 views
Hi,

I have a rotator in the top section of my masterpage.
It looked goot - till our customer argued about "script errors" on some pages.

We found out that this happens on pages with asp:wizard -- and there on further steps.
So I open a page with a wizzard - looks good.
I click continue for the next step -- and get the script error.
It takes some time to get the error - looks like the error comes when the rotator scrolls.

I reduced everything so left is a rotator (normaly displaying a user control) only shwoning a string.

The rotator definition looks like this:

    <telerik:RadRotator ID="rrRot" runat="server" PauseOnMouseOver="false" OnItemClick="rrRot_ItemClick" Width="650px" Height="120px" FrameDuration="4000" > 
                    <ItemTemplate> 
                        <div class="rotItemTemplate">  
                            <%# Eval("ObjectID") %> 
                        </div> 
                    </ItemTemplate> 
                </telerik:RadRotator> 
Codebhind does (now) nothing than
    string[] straS = { "Sau1", "Sau2", "Sau3", "Sau4", "Sau5", "Sau6", "Sau7", "Sau8", "Sau9" };   
        private void RebindRotator() {  
            DataTable rotatorData = new DataTable();  
            rotatorData.Columns.Add("ObjectID");  
            foreach (string strX in straS) {  
                rotatorData.Rows.Add(strX);  
            }  
            rrRot.DataSource = rotatorData;  
            rrRot.DataBind();  
            //rrRot.OnClientItemShown = "OnItemShown";  
        } 
RebindRotator is called on every page load.
Before it was inside if(!IsPostback) -- but with this I loose my binding on wizard pages.
The same as when the error occures - OK on the first step - no data on following steps.

The "reson" for this has something to do with "SmartNavigaton".
When I remove this from the pages tag in web.config the rotator works like expected.

Is there a workaround to have smartnavigation enabled with RadRotator?

Regards

Manfred



ManniAT
Top achievements
Rank 2
 answered on 10 Mar 2009
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?