You've already forked linux-packaging-mono
Imported Upstream version 5.2.0.175
Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
parent
4bdbaf4a88
commit
966bba02bb
@ -542,24 +542,24 @@ namespace System.Web.UI.WebControls
|
||||
RaisePostBackEvent (eventArgument);
|
||||
}
|
||||
|
||||
protected virtual void RaisePostBackEvent (string arg)
|
||||
protected virtual void RaisePostBackEvent (string eventArgument)
|
||||
{
|
||||
ValidateEvent (UniqueID, arg);
|
||||
if (arg.Length < 1)
|
||||
ValidateEvent (UniqueID, eventArgument);
|
||||
if (eventArgument.Length < 1)
|
||||
return;
|
||||
|
||||
if (arg[0] == 'V') { // Goes to Next or Previous month
|
||||
if (eventArgument[0] == 'V') { // Goes to Next or Previous month
|
||||
DateTime prev = VisibleDate;
|
||||
int days = Int32.Parse (arg.Substring (1));
|
||||
int days = Int32.Parse (eventArgument.Substring (1));
|
||||
DateTime dt = GetGlobalCalendar().AddDays (dateZenith, days);
|
||||
VisibleDate = dt;
|
||||
OnVisibleMonthChanged (VisibleDate, prev);
|
||||
return;
|
||||
}
|
||||
|
||||
if (arg[0] == 'R') { // Selects a range of dates
|
||||
if (eventArgument[0] == 'R') { // Selects a range of dates
|
||||
string num, date, days;
|
||||
num = arg.Substring (1);
|
||||
num = eventArgument.Substring (1);
|
||||
days = num.Substring (num.Length - 2, 2);
|
||||
date = num.Substring (0, num.Length - 2);
|
||||
DateTime d = GetGlobalCalendar().AddDays (dateZenith, Int32.Parse (date));
|
||||
@ -569,7 +569,7 @@ namespace System.Web.UI.WebControls
|
||||
}
|
||||
|
||||
// Selects a single day
|
||||
int daysFromZenith = Int32.Parse (arg);
|
||||
int daysFromZenith = Int32.Parse (eventArgument);
|
||||
DateTime day = GetGlobalCalendar().AddDays (dateZenith, daysFromZenith);
|
||||
SelectedDates.SelectRange (day, day);
|
||||
OnSelectionChanged ();
|
||||
|
Reference in New Issue
Block a user