var
g=$find(
"some grid id"
)
var
b=g.get_batchEditingManager()
var
v=g.MasterTableView
g.add_command(
function
(sender, args)
{
if
(args.get_commandName() ==
"BatchEdit"
&& args.get_tableView() == v)
alert(
"save"
);
});
saveAllChangessaveAllChanges(), the event is not fired. Why this happens?
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<
telerik:RadDatePicker
runat
=
"server"
EnableEmbeddedSkins
=
"false"
CssClass
=
"RadPicker_Laurens" SkinID
=
"Laurens"
>
<
DateInput
CssClass
=
"RadInput_Laurens"
DisabledStyle-CssClass
=
"RadInput_Disabled_Laurens"
EmptyMessageStyle-CssClass
=
"RadInput_Empty_Laurens"
EnabledStyle-CssClass
=
"RadInput_Enabled_Laurens"
FocusedStyle-CssClass
=
"RadInput_Focused_Laurens"
HoveredStyle-CssClass
=
"RadInput_Hover_Laurens"
InvalidStyle-CssClass
=
"RadInput_Error_Laurens"
ReadOnlyStyle-CssClass
=
"RadInput_Read_Laurens"
>
</
DateInput
>
<
Calendar
CssClass
=
"RadCalendar_Laurens"
>
</
Calendar
>
</
telerik:RadDatePicker
>
<
telerik:GridDropDownColumn
AllowFiltering
=
"true"
DataField
=
"Customer_Id"
DataSourceID="entityDataSource1" DropDownControlType="RadComboBox"
HeaderText="Customer Name" ListTextField="Name" ListValueField="Customer_Id"
UniqueName="CustomerNameDropDown" AllowAutomaticLoadOnDemand="true">
</
telerik:GridDropDownColumn
>
RadTimePicker1.SelectedTime = Convert.ToDateTime(dataRow["TimeDeparted"].ToString());
Error 2 Cannot implicitly convert type 'System.DateTime' to 'System.TimeSpan?'
Hello ,
I am using the Telerik Radeditor in are application[Visual Studio 2012(C#)] but we are facing following issue while using the document manager features of it .
Case:
#If we Upload more than one document and click on uploaded document then it's name get display on the right screen but when we click on the other uploaded document, then the name that is coming on that screen is not getting updated. Reference screen shot is attached .
Telerik version:2013.1.4.3.40
.
Please help me out to fix it.
Thanks! in Advance.
How to pass additional data to context from RadAutoCompleteBox
This is on my markup, the retrieval of data is working but passing the data to context from the RadAutoCompleteBox has a problem.
<
telerik:RadAutoCompleteBox
ID
=
"racbTest"
runat
=
"server"
DataTextField
=
"Text"
AutoPostBack
=
"False"
TextSettings-SelectionMode
=
"Single"
OnClientItemsRequesting
=
"TestRequesting"
InputType
=
"Text"
AllowCustomEntry
=
"True"
>
<
WebServiceSettings
Path
=
"../DataSources/DataLoader.asmx"
Method
=
"SearchTest"
>
</
WebServiceSettings
>
</
telerik:RadAutoCompleteBox
>
<
telerik:RadCodeBlock
runat
=
"server"
>
<
script
>
function TestRequesting(sender, args) {
args.get_context()["Foo"] = "Bar";
}
</
script
>
</
telerik:RadCodeBlock
>
and this is the code in the web service
[WebMethod]
public
AutoCompleteBoxData SearchTest(RadAutoCompleteContext context)
{
string
searchString = context.Text;
string
foo = context[
"Foo"
].ToString();
}
the problem is in the WebMethod, the context["Foo"] throws an error that
The given key was not present in the dictionary.
Any help would be appreciated.. Thanks in advance.