function
getEventDatesFromController()
{
var
returnData = $.ajax(
{
type:
"POST"
,
url:
"/Events/GetRadEventDatesByDateRange"
,
data:
"startDate="
+
"1/1/2000"
+
"&endDate="
+
"1/1/2100"
,
success:
function
(result) {
var
xml;
debugger
if
(
typeof
data ==
"string"
) {
xml =
new
ActiveXObject(
"Microsoft.XMLDOM"
);
xml.async =
false
;
xml.loadXML(data);
}
else
{
xml = result;
returnData = result;
var
ctrlEventCalendar = <%= ctrlEventCalendar.ClientID %>;
ctrlEventCalendar.selectDates(returnData,
true
); <-- Fails!!!, so does the following
for
loop
for
(
var
i = 0; i < returnData.length; i++) {
ctrlEventCalendar.SelectDate(returnData[i],
true
);
}
}
if
(result.success) {
alert(
"Controller Called Successfully"
);
},
error:
function
(req, status, error) {
alert("Sorry! Problem calling Event Controller
}
});
return
returnData;
}
<
div
class
=
"box-leftEventCalendar"
>
<
telerik:RadCalendar
runat
=
"server"
ID
=
"ctrlEventCalendar"
Style
=
"margin: 6px auto 0"
EnableMultiSelect
=
"false"
>
</
telerik:RadCalendar
>
</
div
>
<telerik:RadGrid runat="server" ID="rdGd1" EnableEmbeddedSkins="true"
skin="MySkin" GridLines="None">
As soon as I open this page, I highlight the 0000 entry shown above and type in 0032
Expecting it to find ‘0032 – Chubb Foundation’
Instead it displays ‘003200 – Bryman College’, but notice that Bryman College in the dropdown (up) is 3200.
If I hit the enter key to ‘accept’ this entry, the display changes to
I think it is not taking care of initial zeros in the search. Please let us know as it is a very important issue for you
Thanks very much and Regards,
Telerik Version used : 2010.3.1215.35
Actual case:
1. I am using the Tab strip along with the Two page view namely withdrawal and Letter.
2. One scenario I have to navigate the tab page from Withdrawal to Letter by means of coding Like (pgvLetter.selectedindex =0)
3. Now I can use the Letter page view after that if I select he Withdrawal tab page one confirmation window is raising (This is done for functionality purpose) after that yes or no confirmation try to move to withdrawal tab page I got the script error as below
4. " htmlfile: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus. " (This is popup script error message showing ) and
5. document.getElementById("User-NewDataSet").focus(); (this error message is highlighted in web page )
Expecting Case:
1. The Tab Strip along with tow page view
2. If I have to select the Letter tab page view by means of coding as mention above
3. Then manually select the withdrawal tab page after doing the confirmation (yes or no)
4. The withdrawal tab page has to be viewed
RenderSelectedPageOnly
="true"
and set the RadTabStrip property
AutoPostBack
="true"
but each pageview is loading each grid nevertheless.