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.
Dear Telerik team,
please delete (not deactivate) my account and all associated data, thank you.
Best regards.
Hello Guys,
I am new to Telerik Radgrid. I need your help. I have a radgrid with ItemTemplate and TextBox in template. Ive a selection window which pops up on TextBox inside grid is clicked and upon selecting some data value should set in that particular TextBox.
<
Columns
>
<
telerik:GridTemplateColumn
DataField
=
"CA_ACC_CODE"
HeaderText
=
"Account Code"
ItemStyle-BorderColor
=
"#d6d6d6"
SortExpression
=
"CA_ACC_CODE"
UniqueName
=
"CA_ACC_CODE"
>
<
ItemTemplate
>
<
asp:TextBox
ID
=
"txtAccountCode"
OnClick
=
"return showPopUp(this)"
Text='<%# Bind("CA_ACC_CODE")%>' runat="server" Width="120px" Skin="Office2007"></
asp:TextBox
>
</
ItemTemplate
>
<
ItemStyle
BorderColor
=
"#D6D6D6"
/> </
telerik:GridTemplateColumn
>
</
Columns
>
The problem I am facing how to iterate and set value in particular textbox. Currently the textbox value is setting in first row of grid only in ItemDataBound event regardless of any row where I click the textbox.
protected
void
gv_BO_ItemDataBound(
object
sender, GridItemEventArgs e)
{
try
{
string
Selectd_row = (
string
)(Session[
"coa_selectd_row"
]);
if
(Selectd_row ==
null
|| Selectd_row ==
""
)
{
Selectd_row =
"0"
;
}
if
(e.Item.RowIndex ==
int
.Parse(Selectd_row))
{
if
(e.Item
is
GridEditFormItem)
{
GridEditFormItem item = (GridEditFormItem)e.Item;
string
cc_code = (
string
)(Session[
"cc_code"
]);
string
cc_title = (
string
)(Session[
"cc_title"
]);
string
ca_code = (
string
)(Session[
"coa_code"
]);
string
ca_title = (
string
)(Session[
"coa_title"
]);
TextBox txtCostCentre = (TextBox)item[
"CC_COSTCNTR_CODE"
].FindControl(
"txtCostCentre"
);
TextBox txtCCDesc = (TextBox)item[
"CC_DESC"
].FindControl(
"txtCCDesc"
);
TextBox txtAccountCode = (TextBox)item[
"CA_ACC_CODE"
].FindControl(
"txtAccountCode"
);
TextBox txtAccountTitle = (TextBox)item[
"CA_TITLE"
].FindControl(
"txtAccountTitle"
);
txtCostCentre.Text = cc_code;
txtCCDesc.Text = cc_title;
txtAccountCode.Text = ca_code;
txtAccountTitle.Text = ca_title;
}
}
}
catch
(Exception ex)
{ }
}
Good day,
I am currently using Kendo UI 2014.3.1411 and using ASP.NET MVC. When I'm trying to retrieve a DateTime that has a year of 1900, it returns a value of added 5 minutes.
From Controller:
Value of DateTime passed as JSON is "1/1/1900 1:00PM"
`(Timestamp is /Date(-2208970800000)/)`
After using kendo.ParseDate of the value of Timestamp, Time became 1:05pm
I would like to know what is the minimum version of Kendo to have this resolved.
Thanks.