Hi
I am trying to perform the following but am stuck at one point and need some help to move forward - There is a template grid column with a link button that is associated with a custom command. Now on the client click of the link button we want to open up a radwindow to collect user comments & confirm the action.
So on the radwindow close the custom command on that grid row should be fired. How can I get the ​linkbutton that has triggered the radwindow open in the RadWindow Close event and do a post back on that link button for that row to fire the custom command.
Any info would be much appreciated.
Thanks.
<
telerik:RadGrid
ID
=
"TasksGrid"
runat
=
"server"
>
<
MasterTableView
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"TaskID"
HeaderStyle-Width
=
"95"
ItemStyle-Width
=
"95"
HeaderText
=
"Task ID"
SortExpression
=
"TaskID"
AutoPostBackOnFilter
=
"true"
CurrentFilterFunction
=
"Contains"
></
telerik:GridBoundColumn
>
<
GridRadComboFilter:GridRadComboFilter
DataField
=
"FlagID"
HeaderText
=
"Flag"
SortExpression
=
"FlagID"
HeaderStyle-HorizontalAlign
=
"Center"
HeaderStyle-Width
=
"50"
ItemStyle-HorizontalAlign
=
"Center"
ItemStyle-Width
=
"50"
/>
<
telerik:GridBoundColumn
DataField
=
"AssignedTo"
HeaderText
=
"Assigned To"
SortExpression
=
"AssignedTo"
AutoPostBackOnFilter
=
"true"
CurrentFilterFunction
=
"Contains"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Site"
HeaderText
=
"Site"
SortExpression
=
"Site"
AutoPostBackOnFilter
=
"true"
CurrentFilterFunction
=
"Contains"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Product"
HeaderText
=
"Product"
SortExpression
=
"Product"
AutoPostBackOnFilter
=
"true"
CurrentFilterFunction
=
"Contains"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"SupportType"
HeaderText
=
"Support Type"
SortExpression
=
"SupportType"
CurrentFilterFunction
=
"Contains"
AutoPostBackOnFilter
=
"true"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Issue"
HeaderText
=
"Reported Issue"
SortExpression
=
"Issue"
AutoPostBackOnFilter
=
"true"
CurrentFilterFunction
=
"Contains"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"LastUpdatedText"
HeaderText
=
"Last Updated Text"
SortExpression
=
"LastUpdatedText"
AutoPostBackOnFilter
=
"true"
CurrentFilterFunction
=
"Contains"
></
telerik:GridBoundColumn
>
<
telerik:GridDateTimeColumn
FilterControlWidth
=
"110px"
DataField
=
"LastUpdatedDate"
SortExpression
=
"LastUpdatedDate"
HeaderText
=
"Last Updated Date"
PickerType
=
"DatePicker"
DataFormatString
=
"{0:d}"
DataType
=
"System.DateTime"
></
telerik:GridDateTimeColumn
>
<
telerik:GridDateTimeColumn
FilterControlWidth
=
"110px"
DataField
=
"RequestedCompletionDate"
SortExpression
=
"RequestedCompletionDate"
HeaderText
=
"Req Completion Date"
PickerType
=
"DatePicker"
DataFormatString
=
"{0:d}"
DataType
=
"System.DateTime"
></
telerik:GridDateTimeColumn
>
<
telerik:GridBoundColumn
DataField
=
"Status"
HeaderText
=
"Status"
SortExpression
=
"Status"
AutoPostBackOnFilter
=
"true"
CurrentFilterFunction
=
"Contains"
></
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
<
MasterTableView
AutoGenerateColumns
=
"False"
DataKeyNames
=
"Id"
GroupLoadMode
=
"Client"
HierarchyLoadMode
=
"Client"
>
<
NestedViewTemplate
>
<
asp:Panel
runat
=
"server"
ID
=
"configControlContainer"
CssClass
=
"viewWrap"
Visible
=
"true"
>
</
asp:Panel
>
</
NestedViewTemplate
>
<
Columns
>
.
.
.
[HttpException (0x80004005): The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.] System.Web.UI.ControlCollection.Add(Control child) +11274544 Telerik.Web.SkinRegistrar.RegisterCssReference(Page _page, Control _control, String _url) +619 [HttpException (0x80004005): Please, see whether wrapping the code block, generating the exception, within RadCodeBlock resolves the error.] Telerik.Web.SkinRegistrar.RegisterCssReference(Page _page, Control _control, String _url) +724 Telerik.Web.SkinRegistrar.RegisterCssReferences(ISkinnableControl _control) +1182
I Added the grid in the Sharepoint web part , I did not add any code behind , I just added to the aspx the following :
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
>
</
telerik:RadGrid
>
The exception is:
The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.
Any suggestions ?
We recently upgraded to .Net 4.5 and I am now receiving a 404 File or Directory Not Found error when I try to upload a pdf. I have made all the changes to the web.config that were suggested in the documentation.
Any help would be appreciated
I have an issue with ​radgrids on public pages on my site (pages I want search engines to spider) are showing the back/next image button instead of the new "Mobile" buttons.
See attached images. One is from a datagrid with SEOPaging turn on (Old Buttons) and one with SEOPaging turned off (New Buttons).