GridDataItem item = e.Item
as
GridDataItem;
string
Value = item[
"columnID"
].Text;
string
Value = item.GetDataKeyValue(
"ID"
)
Hello Folks,
I am facing this problem from past one week. I request one and all to help me out ASAP if you have the solution.
We are working with an application in ASP.NET Framework [ 3.5] and using Telerik [2009.1.527.35] version.
One of the page(.aspx) has tab panel inside. In tab we have ‘Add’
Icon where it can open popup. This page has two JavaScript reference files i.e,
File1.js and File2.js
In File1.js -> In document.ready, we calling the ‘Function1()’
as Sys.WebForms.PageRequestManager.getInstance().add_endRequest(Function1);
Function1 () – sets to varFromChange to False.
In File2.js --> In PageLoad() method we are calling
the ‘Function2()’as Sys.WebForms.PageRequestManager.getInstance().add_endRequest(Function2);
Function2 () – sets to varFromChange to True.
Telerik.Web.UI.WebResource.axd library file has to execute these functions sequentially i.e., Function1() and Function2(). But in some scenarios these functions are not executing sequentially. We could not able to debug this functions as these are calling by Telerik library.
Due to this issue page data is not getting saved.
Here is Stack Trace :
Function2 [Line: 253, Col: 5],
File2.js
Anonymous function [Line: 6,
Col: 29366], Telerik.Web.UI.WebResource.axd
Sys.WebForms.PageRequestManager.prototype._endPostBack
[Line: 15, Col: 9894], Telerik.Web.UI.WebResource.axd
Sys.WebForms.PageRequestManager.prototype._scriptsLoadComplete
[Line: 15, Col: 26829], Telerik.Web.UI.WebResource.axd
Anonymous function [Line: 6,
Col: 195], Telerik.Web.UI.WebResource.axd
Anonymous function [Line: 6,
Col: 298], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype._loadScriptsInternal
[Line: 6, Col: 44836], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype._loadScriptsInternal
[Line: 6, Col: 44744], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype._loadScriptsInternal
[Line: 6, Col: 44744], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype._nextSession
[Line: 6, Col: 45193], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype._loadScriptsInternal
[Line: 6, Col: 44844], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype._nextSession
[Line: 6, Col: 45193], Telerik.Web.UI.WebResource.axd
Sys._ScriptLoader.prototype.loadScripts
[Line: 6, Col: 43462], Telerik.Web.UI.WebResource.axd
Sys.WebForms.PageRequestManager.prototype._onFormSubmitCompleted
[Line: 15, Col: 19820], Telerik.Web.UI.WebResource.axd
Anonymous function [Line: 6,
Col: 298], Telerik.Web.UI.WebResource.axd
Anonymous function [Line: 6,
Col: 29366], Telerik.Web.UI.WebResource.axd
Sys.Net.WebRequest.prototype.completed
[Line: 6, Col: 67411], Telerik.Web.UI.WebResource.axd
_onReadyStateChange [Line: 6,
Col: 62071], Telerik.Web.UI.WebResource.axd
Thanks in advance,
Radhakrishna G
I have the following code in my web page. I want to use static headers and allow users to be able to scroll within a RadGrid. Here is the code:
<table>
<tr>
<td>
<asp:gridview ID="gvSites"
runat="server"
AutoGenerateColumns="false"
ShowHeader="true"
HeaderStyle-HorizontalAlign="Left"
ItemStyle-HorizonitalAlign="Left"
ClientSettings-Scrolling-AllowScroll="true"
ClientSettings-Scrolling-UseStaticHeaders="true"
Height="575px">
<Columns>
<asp:TemplateField ItemStyle-Width="100px">
<ItemTemplate>
<asp:Label ID="lblSiteCode" HeaderText="Site Code" runat="server" Text='<%# Eval("SiteCode")%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="130px">
<ItemTemplate>
<asp:Label ID="lblBranchNumber" HeaderText="Branch Number" runat="server" Text='<%# Eval("BranchNumber") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="150px">
<ItemTemplate>
<asp:Label ID="lblLocationName" HeaderText="Location Name" runat="server" Text='<%# Eval("LocationName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:gridview>
</td>
</tr>
</table>
But none of my header text is displaying. What am I doing wrong?
Very simple case, the X-axis has dates, but the day _before_ is being shown on the access. Date input looks like:
2017/8/7
2017/814
But 0/6 and 8/13 are shown. See attachment. This happens in all cases regardless of number of records.
<
telerik:RadHtmlChart
ID
=
"burndownChart"
runat
=
"server"
DataSourceID
=
"dsBurndown"
Skin
=
"Web20"
>
<
PlotArea
>
<
XAxis
DataLabelsField
=
"WeekDate"
>
</
XAxis
>
<
YAxis
Name
=
"$"
>
</
YAxis
>
<
Series
>
<
telerik:AreaSeries
AxisName
=
"$"
DataFieldY
=
"Spent"
Name
=
"Spent"
Stacked
=
"True"
>
<
LabelsAppearance
Visible
=
"true"
DataField
=
"WeekDate"
></
LabelsAppearance
>
</
telerik:AreaSeries
>
<
telerik:AreaSeries
AxisName
=
"$"
DataFieldY
=
"Remaining"
Name
=
"Remaining"
Stacked
=
"True"
>
</
telerik:AreaSeries
>
</
Series
>
</
PlotArea
>
</
telerik:RadHtmlChart
>
I have (tried) to configure our app as per http://docs.telerik.com/devtools/aspnet-ajax/controls/captcha/troubleshooting/using-webfarm-or-webgarden-environment, but am missing some important detail as I cannot get the Captcha default validation to work. The user inputs the Captcha.Text in a textbox (ValidatedTextBoxID="rcTextBox1"). I can trace a test scenario where the Page_load is executed on one application processor and the Post_back is executed on a second application processor. The Captcha.Text in the post_back is from a different(local, initialized) CaptchaImage (a new CaptchaImage.Text and noCaptchaImage.PreviousText). I can pass the original Captcha.Text in Session (sql server) and over-ride the default verification using the user input so I have a work-around. But my expectation is the default Captcha should work "out-of-the-box". I somehow expected I should be able to pass the original CaptchaImage created in the Page_Load to be used in the Post_back. I can save the original image ( Session["CaptchaImage"] = Captcha.CaptchaImage) from the Page_Load but I can't get RadCaptcha to use it directly. I can't set the Captcha.CaptchaImage or Captcha.CaptchaImage.Text from Session as these are only Getters.
Questions:
1) If I set mageStorageLocation="Session" why doesn't the control do the equivalent of a Session["CaptchaImage"] = Captcha.CaptchaImage / Captcha.CaptchaImage = Session["CaptchaImage"] for me.
2) If I must save the CaptchaImage in Session, what do I do with it on th ePost_back?
3) Why does ValidatedTextBoxID="rcTextBox1") cause the rcTextBox1.Text to be ""? I had to copy it to a HiddenField with JavaScript to retrieve the use input.
How can I force the post back of the RadSearchBox (onSearch event) when someone chooses one of the items from the ContextList? I want to be able to change a secondary list when an item from the ContextSearch is changed (just like they entered something in the search window and clicked search). I tried to fire the postback of the SearchBox but it doesn't seem to be returning it to the server to process the items selected. It seems to fire the panel update, but not the server side OnSearch event.
<telerik:RadSearchBox ID="RadSearchBox1" runat="server" RenderMode="Lightweight"
DataTextField="DiagForList" MaxResultCount="15"
EmptyMessage="Search/Select Order to left"
DataValueField="DiagnosisCodeID"
DataKeyNames="MapField"
style="margin-left: 10px; margin-top: 1px;"
Width="440px" HighlightFirstMatch="True"
SearchContext-Enabled="true"
DataSourceID="SqlDataSourceDG"
OnClientSearch="OnClientSearch"
ToolTip="Select the order from the drop down and/or search for a diagnosis."
OnDataSourceSelect="RadSearchBox1_DataSourceSelect"
OnSearch="RadSearchBox1_Search" MinFilterLength="3">
<SearchContext DataSourceID="SqlUpdateABNFlag" DataTextField="MapField" DataKeyField="MapField" DropDownCssClass="contextDropDown" />
<DropDownSettings Width="500px" />
<Localization DefaultItemText="All Orders" LoadingItemsMessage="Loading...." />
</telerik:RadSearchBox>
Script:
function pageLoad() {
var $ = $telerik.$;
$(".rsbSCSlide ").on("click", ".rsbListItem", function (e) {
e.preventDefault();
RaiseClickEvent('RadSearchBox1');
});
}
function RaiseClickEvent(id) {
__doPostBack(id,'arguments'');
}
Why am I getting this error in Visual Studio 2012 all of a sudden? No problem yesterday, today I get this:
Could not load file or assembly 'Telerik.Web.UI, Version=2015.3.1111.45, Culture=neutral,
PublicKeyToken=121fae78165ba3d4' or one of its dependencies. Invalid pointer (Exception from HRESULT: 0x80004003
(E_POINTER))' G:\TFS_TMS\Sprint0\NextGenerationSourceCode-Sprint0\TMS2016\TMS2016\LC TMS2016
????????