Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
115 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
229 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
582 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
118 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
239 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
2 answers
124 views
I'm cannot upload large file on IE8. AsyncUpload can upload mp3 file size 3.19 MB  but cannot upload mp3 file size 5.26 MB.  Please let me know if this is limitation of AsyncUpload. if not, please advice. 
S
Top achievements
Rank 1
 answered on 29 Aug 2017
4 answers
1.4K+ views
Hi,
I have a RadAsyncUpload control, i want to upload the file to target folder only on click of upload button. SO i have st the ManualUpload attribute to false. Actually On clicking upload button, i have a function to find the (total size of target folder + uploaded file size). if it exceeds than 50MB, i need to cancel the upload event. I can find the size, but i dont know how to cancel the upload event in c# code.Help me with this



Regards,
Farjana
S
Top achievements
Rank 1
 answered on 29 Aug 2017
0 answers
128 views

Hello

I'm looking at this demo:

http://demos.telerik.com/aspnet-ajax/ribbonbar/examples/tooltip/defaultcs.aspx

 

Is there a way to force the tooltip to immediatly show up as soon as the mouse is over one of the buttons instead of waiting around 0.5s?

Thanks a lot

 

Philippe GRACA
Top achievements
Rank 1
 asked on 29 Aug 2017
0 answers
116 views
I was asked to replace our current RadTabStrip with a RadMenu to accommodate our growing menu by using submenu items. However, three of the pages on our site include RadNotification controls and all three of those pages seem to block the drop-down of submenus. Has anyone encountered this before? Not sure how to fix this. 
Rob
Top achievements
Rank 1
Veteran
Iron
 asked on 29 Aug 2017
6 answers
830 views
We have the latest version of Telerik ASP.net tools that allows the exporting to Xlsx from a RadGrid. 

We are receiving the following error when we go to export the data:

excel found unreadable content in <filename>.xlsx, do you want to recover the contents of the workbook?

I would like to mention that it doesn't give it to us all the time, only on select downloads and I am unable to determine what it had to repair. 

Any suggestions?
Eyup
Telerik team
 answered on 29 Aug 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?