Using UI for ASP.NET AJAX Q1 2015 SP1 with VS 2013.
1) I would like to get Full Month Name (i.e. August, September etc..) from RadMonthYearPicker instead of integer value (i.e. 8, 9 etc). Refer to attachment_#_1. code is here.
<telerik:RadMonthYearPicker ID="RadMonthYearPicker1" AutoPostBack="true" OnSelectedDateChanged ="btnSubmit_Click" runat="server"></telerik:RadMonthYearPicker>
protected void btnSubmit_Click(object sender, EventArgs e)
{
string startmonth_year = RadMonthYearPicker1.SelectedDate.Value.Month.ToString() + " , " + RadMonthYearPicker1.SelectedDate.Value.Year.ToString();
DateTime selectedDate = RadMonthYearPicker1.SelectedDate.Value;
DateTime startDate = selectedDate.AddDays((selectedDate.Day - 1) * -1);
DateTime endDate = startDate.AddDays(DateTime.DaysInMonth(startDate.Year, startDate.Month) - 1);
Response.Write("Start Month and Year: "+startmonth_year + ' ' + ' ' + ". Start Month beginning/end date: "+startDate.ToShortDateString() + " - " + endDate.ToShortDateString());
}
2) How I can pass full file name path (\\Your_Server_Name\Your_Folder_Name\Your_File.csv) to Stored Procedure as Parameter or SSIS as variable? Or store the full file name path in string or session variable.
3) How I can show full file name path in Upload AsyncUpload (i.e. \\Your_Server_Name\Your_Folder_Name\Your_File.csv). Refer to attachment_#2.
Thanks a lot