Clicking on "Formatting options" above the post text box does nothing other than changing the action link to "Hide formatting options"... no formatting options actually appear.
Console shows an "Uncaught ReferenceError: Telerik is not defined" error, possibly unrelated.
Google Chrome 80.0.3987.106 (Official Build) (64-bit) (cohort: 80_87_Win)
Revision f68069574609230cf9b635cd784cfb1bf81bb53a-refs/branch-heads/3987@{#882}
OS Windows 10 OS Version 1909 (Build 18363.657)
When posting or replying in the forums, the content text box cannot be resized.
This isn't too bad for posting, but when replying, you can only fit 7 or 8 lines on in the box before you have to scroll... this makes it incredibly difficult to write a detailed response, especially with code samples.
Hi, I have a stupid question:
How can I format a code snippet here in the forum in the way it looks when admins have code examples in answers?
And witch browser I have to use for working formatting options?
BR
Gert
Could you please deactivate my Telerik account and remove login credentials from your system? This was created with my old work email address but I have changed job so I will not be able to reply any message send to my account's email address.
I wanted to find out why Telerik has changed the format of posting messages.
1) I might be missing something but there is no way to edit your post. I have been in the Telerik forums for many years and remember the time there was that feature.
2) If your post is moved to another forum should the author not be notified in email? It just seems to disappear. When I search the forum I *suspect* might be where it has been moved to I cannot find it.
3)The search feature does not return a message with your name in it.
4) Can we view posts filtered by just our own?
Thanks,
Reid
I've been programming web applications with datagrids since 2004, developing (or, attempting to) my own extensions to datagrids, and modal popups over the course of the next decade in .NET 1.1, 2.0, then 4.5. Telerik came along via another application we use and develop for. Since then, I've found Telerik controls much easier to use than trying to finagle .NET controls. Another reason being many browsers stopped supporting modal windows. Telerik made it much easier to have inline modal windows. Sure, there may be some hiccups (I've seen plenty of posts from years ago about such) and sometimes unclear demos (comments would be nice to say what code changes or is required by what), but there's always workarounds, searching Google, and making unit test pages. I've already created an intranet application based solely on Telerik controls (AJAX UI for .NET). So, thanks again for a great product!
Hello,
I have a radgrid which is binding on the basis of drop down selection. This Radgrid is inside update panel. I am selecting its row using javascript. On radiobutton SelectedIndexChangedevent this script is calling.
<script type=
"text/javascript"
>
function
SelectMeOnly(objRadioButton, grdName)
{
var
i, obj;
for
(i=0; i<document.all.length; i++)
{
obj = document.all(i);
if
(obj.type ==
"radio"
)
{
if
(objRadioButton.substr(0, grdName.length) == grdName)
if
(objRadioButton == obj.id)
obj.checked =
false
;
}
}
document.getElementById(objRadioButton).checked =
true
;
}
</script>
I am using RegisterStartup script placed in my Page_Load to run script on partial post back due to update panel:
protected
void
Page_Load(
object
sender, EventArgs e)
{
ScriptManager.RegisterStartupScript(UpdatePanel8,
this
.GetType(),
"SelectMeOnly"
,
"SelectMeOnly();"
,
true
);
}
Following is my grid html:
<
div
class
=
"dashboarddiv"
id
=
"dragdiv"
style
=
"width:800px;"
>
<
asp:UpdatePanel
ID
=
"UpdatePanel8"
runat
=
"server"
>
<
telerik:RadGrid
ID
=
"gv_BO"
runat
=
"server"
ShowHeaderWhenEmpty
=
"true"
EmptyDataText
=
"No records to display"
AutoGenerateColumns
=
"False"
RenderMode
=
"Lightweight"
CellPadding
=
"0"
ForeColor
=
"#333333"
GridLines
=
"None"
MasterTableView-EditFormSettings-EditColumn-
AutoPostBackOnFilter
=
"false"
AllowSorting
=
"True"
Skin
=
"Telerik"
OnNeedDataSource
=
"grd_BO_NeedDataSource"
OnItemDataBound
=
"gv_BO_ItemDataBound"
Height
=
"194px"
Width
=
"750px"
>
<
ClientSettings
>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
SaveScrollPosition
=
"true"
>
</
Scrolling
>
<
Selecting
AllowRowSelect
=
"True"
/>
</
ClientSettings
>
<
MasterTableView
ClientDataKeyNames
=
"lblRowNumber,CA_ACC_CODE,CA_TITLE,CC_COSTCNTR_CODE,CC_DESC,CP_EXCH_RATEREP1,BGT_ACTUAL_AMT,BGT_ANALYSIS1,BGT_ANALYSIS3"
DataKeyNames
=
"lblRowNumber"
Width
=
"100px"
TableLayout
=
"Fixed"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to Pdf"
/>
<
Columns
>
<
telerik:GridTemplateColumn
DataField
=
"lblRowNumber"
HeaderText
=
"S.No."
HeaderStyle-Width
=
"40px"
ItemStyle-BorderColor
=
"#d6d6d6"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblRowNumber"
runat
=
"server"
style
=
"text-align:center"
Width
=
"40px"
Text='<%# Bind("lblRowNumber")%>' />
</
ItemTemplate
>
<
HeaderStyle
Width
=
"40px"
/>
<
ItemStyle
BorderColor
=
"#D6D6D6"
/>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
UniqueName
=
"rdSelect"
HeaderStyle-HorizontalAlign
=
"Center"
ItemStyle-HorizontalAlign
=
"Center"
HeaderText
=
"Select"
HeaderStyle-Width
=
"80px"
>
<
ItemTemplate
>
<
asp:RadioButton
ID
=
"rdSelect"
runat
=
"server"
Width
=
"60px"
AutoPostBack
=
"True"
OnCheckedChanged
=
"rdSelect_CheckedChanged"
/>
</
ItemTemplate
>
<
HeaderStyle
HorizontalAlign
=
"Center"
Width
=
"80px"
/>
<
ItemStyle
HorizontalAlign
=
"Center"
/>
</
telerik:GridTemplateColumn
>
But unfortunately the alignment of my grid (scrolling, height) is behaving abnormally on each post back or even page load. On first load the grid is going out of div. On post back it is missing its scrollbar. I did try so many solutions like static header = "false" EnableViewState="true" but nothing is working. Please help me.
Note: If I remove RegisterStartupScript from page_load my radgrid behaves absolutely fine except that my row is not selecting. After adding RegisterStartupScript line my radgrid started behaving like this.