Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
553 views

I have defined a RadGrid code behind completely only using a PlaceHolder in the aspx file that adds the myRadGrid objects. I Also definde the event handlers for "NeedDataSource" and "DetailTableDataBind":

myRadGrid.NeedDataSource += new GridNeedDataSourceEventHandler(needDataSource);
myRadGrid.DetailTableDataBind += new GridDetailTableDataBindEventHandler(detailTableDataBind);

I also want to define the event handler for PreRender, however, I cannot find the appropriate initialisation class handler to set myRadGrid.PreRender += ...?

I suppose it must be something like  GridPRerenderEventHandler(...) but I do not find it in the RadGrid.. !?!?!?!?

Any help is appreciated.

Many Thanks!

Eyup
Telerik team
 answered on 30 Aug 2017
1 answer
123 views

Is there a way to connect shapes to connectors, rather than simply shapes to shapes? I have a requirement that needs a shape to connect to the mid-point of a connector between two shapes. I've tried a work around having 2 connectors from the same point on one shape without any success.

Attached is a rough idea of what I want to do, so want to connect the vertical line from the horizontal connector to the bottom shape.

Any suggestions gratefully received! Thanks.

 

Vessy
Telerik team
 answered on 30 Aug 2017
8 answers
362 views
Hello,

I have exprienced an issue with the Rad Window whereas, when its opened (using any method) and it appears partially off screen (outside of the browser window; maybe it loads at top or your browser window is minimized, etc.), you cannot scroll to see the top of the rad window; it's like hidden under the browser itself (favorites bar, menu bar, etc.). Is there a way to move the window or scroll to the top to see the full window (for example you might have a title or options like close, minimize, etc. in the window).

Anyone else have a similiar issue or a work around -- would be much appreciated and great!!

Thank you very much.
Anders
Top achievements
Rank 1
 answered on 30 Aug 2017
0 answers
54 views

Use Case: Client has 3D files and Video Files.

1. Is uploading 900 GB (Yes GB) file possible with this, AsyncUpload control?

2. In case of such a large file, what would happen to the server resources - does it directly write to the IO stream or keeps the file in memory? 

 

S
Top achievements
Rank 1
 asked on 30 Aug 2017
1 answer
88 views
We are using the latest Telerik UI controls for asp.net Ajax. We have an IE only issue. When have a Grid that is batch editing enabled. When clicking the cell, it is supposed to open the RadComboBox dropdown. But For IE (I'm using IE11) this dropdown doesn’t stay open for user to choose an item, immediately closes itself when trying to edit. This issue doesn’t happen in other browsers. Any ideas please?
Fakhrul
Top achievements
Rank 1
 answered on 30 Aug 2017
3 answers
95 views

After adding several templatecolumns to my radgrid none of the controller events fire on the page after initial load. I am using OnNeedDataSource databinding and the data shows correctly. If I refresh the grid schema so they're replaced by generated standard columns the page works normally. Is there something I've set up incorrectly? Sample of the radgrid below:

                <telerik:RadGrid ID="gridAgents" runat="server" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" OnNeedDataSource="gridAgents_NeedDataSource" ShowGroupPanel="True"
OnEditCommand="gridAgents_EditCommand" OnUpdateCommand="gridAgents_UpdateCommand" OnDeleteCommand="gridAgents_DeleteCommand" OnCancelCommand="gridAgents_CancelCommand" OnInsertCommand="gridAgents_InsertCommand" OnItemUpdated="gridAgents_ItemUpdated" OnItemDeleted="gridAgents_ItemDeleted" OnItemInserted="gridAgents_ItemInserted">
                    <GroupingSettings CollapseAllTooltip="Collapse all groups" />
                    <ClientSettings AllowDragToGroup="True">
                    </ClientSettings>
                    <MasterTableView AutoGenerateColumns="False">
                        <Columns>
                            <telerik:GridEditCommandColumn>
                            </telerik:GridEditCommandColumn>
                            <telerik:GridClientDeleteColumn>
                            </telerik:GridClientDeleteColumn>
                            <telerik:GridBoundColumn DataField="DEPT" FilterControlAltText="Filter DEPT column" HeaderText="DEPT" SortExpression="DEPT" UniqueName="DEPT">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="FNAME" FilterControlAltText="Filter FNAME column" HeaderText="FNAME" SortExpression="FNAME" UniqueName="FNAME">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="LNAME" FilterControlAltText="Filter LNAME column" HeaderText="LNAME" SortExpression="LNAME" UniqueName="LNAME">
                            </telerik:GridBoundColumn>
                            <telerik:GridTemplateColumn DataField="STARTDATE" DataType="System.DateTime" FilterControlAltText="Filter STARTDATE column" HeaderText="STARTDATE" SortExpression="STARTDATE" UniqueName="STARTDATE">
                                <ItemTemplate>
                                    <asp:Label ID="lblStartDate" runat="server" Text='<%# Eval("STARTDATE") %>'></asp:Label>
                                </ItemTemplate>
                                <EditItemTemplate>
                                    <telerik:RadDatePicker ID="dpStartDate" runat="server" SelectedDate='<%# Eval("STARTDATE") %>'>
                                        <Calendar runat="server">
                                            <SpecialDays>
                                                <telerik:RadCalendarDay Repeatable="Today" ItemStyle-BackColor="LightGray"></telerik:RadCalendarDay>
                                            </SpecialDays>
                                        </Calendar>
                                    </telerik:RadDatePicker>
                                </EditItemTemplate>
                            </telerik:GridTemplateColumn>
                        </Columns>
                    </MasterTableView>
                </telerik:RadGrid>

It is inside an Update Panel and the page contains a RadAjaxManager. The Masterpage contains the Scriptmanager. Debugging steps through the page load event but after that no controller events are fired and the debugger doesn't pick anything up. Any help would be appreciated.

Eyup
Telerik team
 answered on 30 Aug 2017
10 answers
148 views

Hello,

I would like to take help from telerik team that I want same format what I write in editor control and also attached file for sample.

 

And I want to print option in server side so I can add header and footer from database with contents of editor.

 

Note: I use ItextSharp dll so this dll has so many draw back. I could not achieve what I want and I don't want use iTextsharp dll

Thanks for help. Please give me solution as soon as possible.

Thanks you for cooperation.

Thanks & Regards,

Jiten Mutum

 

Jiten
Top achievements
Rank 1
 answered on 30 Aug 2017
13 answers
506 views
How would I do a server side check to detect if the device is a mobile device?

I would rather not wait until the page loads to have JavaScript detect if I can help it.

Is this something I could use or should I consider something like 51degrees or other detection frameworks.

Thanks, Marty

PS:  I just found RadDeviceDetectionFramework in the docs. Maybe I missed the announcement on it.
Arpus
Top achievements
Rank 1
 answered on 30 Aug 2017
1 answer
78 views

Hi,

 

Imagine I have the following scenario: RadGrid with a textbox and button on each row.

How can I achieve that each button is DefaultButton (reacts on Enter key) when the user focuses in the row's textbox?

 

Thanks for help,

Marc

Magdalena
Telerik team
 answered on 30 Aug 2017
10 answers
196 views
Here is my code

<telerik:RibbonBarTemplateItem>
    <Template>
                    <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Vertical">
                        <asp:ListItem Value="0">Siyah/Beyaz</asp:ListItem>
                        <asp:ListItem Selected="True" Value="1">Gri</asp:ListItem>
                        <asp:ListItem Value="2">Renkli</asp:ListItem>
                    </asp:RadioButtonList>
    </Template>
</telerik:RibbonBarTemplateItem>

ListItem Selected="True" does not work. All items appear deselected. Am I missing something?
Ildar
Top achievements
Rank 1
 answered on 29 Aug 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?