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!
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.
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?
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.
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
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
<
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
>