Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
247 views
Hello, can you please tel me on donuts chart how i can bind data on Series Item , I've create data source SQL query which show's 2 value's please see the code

<telerik:RadHtmlChart ID="RadHtmlChart1" runat="server" DataSourceID="dountchart">
                          <PlotArea>
                              <Series>
                                  <telerik:DonutSeries StartAngle="90" Name="DonutSeries1" DataFieldY="costbudget">
                                      
                                  </telerik:DonutSeries>
                              </Series>
                          </PlotArea>



<Zoom Enabled="False"></Zoom>

                      </telerik:RadHtmlChart>
                      <asp:SqlDataSource ID="dountchart" runat="server" ConnectionString="<%$ ConnectionStrings:constr %>" SelectCommand="SELECT ROUND((SELECT SUM([Budget Estimates 2017-18]) AS FUNDWISE FROM [budgetbook-17-18] WHERE (Cost_ctr = @cost1)) / (SELECT SUM([Budget Estimates 2017-18]) AS costwise FROM [budgetbook-17-18] AS [budgetbook-17-18_3] WHERE (Fund = @fund1)) * 100, 0) AS costbudget, NULLIF ('', 0) AS totalbudgetsc UNION ALL SELECT NULLIF ('', 0) AS Expr1, ROUND((SELECT value FROM donut) - (SELECT SUM([Budget Estimates 2017-18]) AS FUNDWISE FROM [budgetbook-17-18] AS [budgetbook-17-18_2] WHERE (Cost_ctr = @cost2)) / (SELECT SUM([Budget Estimates 2017-18]) AS costwise FROM [budgetbook-17-18] AS [budgetbook-17-18_1] WHERE (Fund = @fund2)) * 100, 0) AS Totalbudgetofsc">
                          <SelectParameters>
                              <asp:ControlParameter ControlID="costcenter" Name="cost1" PropertyName="Text" />
                              <asp:ControlParameter ControlID="scnum" Name="fund1" PropertyName="Text" />
                              <asp:ControlParameter ControlID="costcenter" Name="cost2" PropertyName="Text" />
                              <asp:ControlParameter ControlID="scnum" Name="fund2" PropertyName="Text" />
                          </SelectParameters>
                      </asp:SqlDataSource>
Liaqat
Top achievements
Rank 1
 asked on 13 Sep 2017
2 answers
221 views
Hi,

I have a RadEditor inside a panel, that I'm showing through a modalPopupExtender, but only the buttons from the editor works. (like bold and italic buttons), but the dropdown style buttons won't work. (like selecting font)

Here is the code:

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
    </telerik:RadScriptManager> 
    <asp:UpdatePanel runat="server" ID="updatePanel1"
        <ContentTemplate> 
            <asp:Button ID="btn_test" Text="Test" runat="server" /> 
             
            <cc1:ModalPopupExtender ID="btn_test_ModalPopupExtender" runat="server"  
                DynamicServicePath="" Enabled="True" PopupControlID="panelPopup"  
                TargetControlID="btn_test"
            </cc1:ModalPopupExtender> 
             
            <asp:Panel runat="server" ID="panelPopup"
                <telerik:RadEditor runat="server" ID="RadEditor1"
                </telerik:RadEditor> 
            </asp:Panel> 
        </ContentTemplate> 
    </asp:UpdatePanel> 
</asp:Content> 

Any kind of help is welcome!

thanks a lot!
letrungthang
Top achievements
Rank 1
 answered on 13 Sep 2017
2 answers
134 views

I have embed a telerik spreadsheet control in one of my classic asp.net page. The spreadsheet is being loaded with contents of a xlsx spreadsheet. I am using a custom data provider to load the data from the spreadsheet into the Telerik Spreadsheet Control. Below is my code for custom data provider.

namespace SpreadsheetDemo
    {
        public partial class Spreadsheet : Page
        {
            private const string ProviderSessionKey = "Demo";
     
            protected void Page_Load(object sender, EventArgs e)
            {
                SpreadsheetDocumentProvider provider;
                if (Session[ProviderSessionKey] == null || !IsPostBack)
                {
                    provider = new SpreadsheetDocumentProvider(Server.MapPath("~/App_Data/Visit_Tracker.xlsx"));
                    Session[ProviderSessionKey] = provider;
                }
                else
                {
                    provider = (SpreadsheetDocumentProvider) Session[ProviderSessionKey];
                }
     
                rdSpreadsheet1.Provider = provider;
                 
            }
        }
    }

 

I am able to perform all the operations how ever I want to enable the "History" feature that is available for the workbook class.

I have added the namespace

using Telerik.Windows.Documents.Spreadsheet.History;

in my solution however I am not able to access the History object for the spreadsheet control "rdSpreadsheet1"

Can anyone please let me know how to access the history feature for the spreadsheet control.

Karthik
Top achievements
Rank 1
 answered on 12 Sep 2017
1 answer
587 views

I am working on a maintenance project which was written using VB.NET on v4.0, this code is not written by me, It was written by some different dev team long time ago.

My job is to run this code and deploy it on IIS. When i run this code on my local machine, it works fine. But when deploy it on IIS and run it, Then I am getting this weird error. Which i have never seen and i never worked with ASP.NET Web forms.

I have checked in bin folder for Telerik.Web.UI.dll. All files are in place and they are licensed dll's.

I even check in web.config it has been registered over there. 

Please help me out.

Thanks 

Jawand Singh  

Rumen
Telerik team
 answered on 12 Sep 2017
0 answers
179 views

Hi,

In short, I've set the Interval for the RadDateTimePicker to 15 minutes from code. It looks like this is not working since the TimeView shows the default interval in Hours. However, when picking one of the Hours, the selected value reveals it returns the expected value.

For example, if you click on 01:00 hrs, it returns 00:15. Click on 02:00, it returns 00:30.

Is this a bug? Or am I overlooking something here? Thanks in advance!

 

Here's the code for the DateTimePicker in the page:

<telerik:RadDateTimePicker ID="radDateTimeStart" Skin="MetroTouch" DatePopupButton="False" runat="server"
        AutoPostBack="False" ShowPopupOnFocus="True" MinDate="01/01/1000" MaxDate="01/01/3000"
        Visible="False" CssClass="SilverTextInput">
    <Calendar ID="calCombiStart" runat="server">
        <SpecialDays>
            <telerik:RadCalendarDay Repeatable="Today" ItemStyle-CssClass="rcToday" />
        </SpecialDays>
    </Calendar>
    <TimeView ID="timeCombiStart" runat="server" Columns="4" TimeFormat="HH:mm" ShowHeader="false"></TimeView>
</telerik:RadDateTimePicker>

 

And here's how it is set from code, in an ASP:Repeater

RadDateTimePicker radDateTimeStart = (RadDateTimePicker)e.Item.FindControl("radDateTimeStart");
RadTimeView timeCombiStart = radDateTimeStart.TimeView;
 
TimeSpan t = new TimeSpan(0, 0, 15, 0, 0);
timeCombiStart.Interval = t;
timeCombiStart.Columns = 4;

 

Do note: I also tried setting the Columns value from code to be sure I was in the right Control which proved it was.

For clarification I took a screencam from the behavior as described: https://www.youtube.com/watch?v=mWCEnbWrVoM

Andre Speek
Top achievements
Rank 2
 asked on 12 Sep 2017
3 answers
324 views

I would like to show a time series over 6 months with a line chart and daily data points (so roughly 180 points).  But I would only like to show tick lines (and labels) for the first of each month.  If I use BaseUnit="Months" I only get one data point per month displayed.  If I don't, I can't seem to suppress the tickmarks for each day which gets overly crowded.  

A simple example of what I'm going for attached.

I imagine I'm missing something simple but can't see it.  Would appreciate any advice.  Thanks.

 

 

Marin Bratanov
Telerik team
 answered on 12 Sep 2017
4 answers
200 views
The example on: http://www.telerik.com/help/aspnet-ajax/ajxshowloadingpaneloninitialpageload.html doesn't work in Internet Explorer 8.0.
swarupa
Top achievements
Rank 1
 answered on 12 Sep 2017
1 answer
964 views

Hello,

I'm wondering if there's an easy way to copy data from a specific row in a grid.  I have looked up examples however they have all dealt with copying the entire grid rather than data within specific rows.  A simple example would be a grid with two columns, the first contains the data to be copied within a standard GridBoundColumn and the second is a button (GridButtonColumn) to copy data from the row.  If I click the copy button for a given row it would copy the data contents (from the GridBoundColumn) for that given row and put it on the clipboard.  Is this possible?

Thanks

Eyup
Telerik team
 answered on 12 Sep 2017
1 answer
135 views

In localhost

<div class="RadPicker RadPicker_Default" id="FechaConcesionDatePicker_wrapper" style="width: 95px;"><br>        <input name="FechaConcesionDatePicker" title="Visually hidden input created for functionality purposes." class="rdfd_ radPreventDecorate" id="FechaConcesionDatePicker" style="margin: 0px 0px -1px -1px; padding: 0px; border: 0px currentColor; border-image: none; width: 1px; height: 1px; overflow: hidden; float: right; display: block; visibility: hidden;" type="text" value=""><div class="RadInput RadInput_Default" id="FechaConcesionDatePicker_dateInput_wrapper"><br>            <input name="FechaConcesionDatePicker$dateInput" class="riTextBox riEnabled" id="FechaConcesionDatePicker_dateInput" type="text"><div class="rcSelect"><br>                <a title="Open the calendar popup." class="rcCalPopup" id="FechaConcesionDatePicker_popupButton" href="#"></a><div class="RadCalendar RadCalendar_Default" id="FechaConcesionDatePicker_calendar" style="display: none;"><br>                    <div class="rcTitlebar"><br>                        <a title="<<" class="t-button rcFastPrev" id="FechaConcesionDatePicker_calendar_FNP" href="#"><span class="t-font-icon t-i-arrow-double-60-left"></span></a><a title="<" class="t-button rcPrev" id="FechaConcesionDatePicker_calendar_NP" href="#"><span class="t-font-icon t-i-arrow-left"></span></a><div class="rcNextButtons"><br>                            <a title=">" class="t-button rcNext" id="FechaConcesionDatePicker_calendar_NN" href="#"><span class="t-font-icon t-i-arrow-right"></span></a><a title=">>" class="t-button rcFastNext" id="FechaConcesionDatePicker_calendar_FNN" href="#"><span class="t-font-icon t-i-arrow-double-60-right"></span></a><br>                        </div><span class="rcTitle" id="FechaConcesionDatePicker_calendar_Title">septiembre de 2017</span><br>                    </div><div class="rcMain"><br>                        <table class="rcMainTable" id="FechaConcesionDatePicker_calendar_Top"><br>                            <caption><br>                                <span style="display: none;">septiembre de 2017</span><br>                            </caption><thead><br>                                <tr class="rcWeek"><br>                                    <th class="rcViewSel" scope="col">&nbsp;</th><th title="lunes" id="FechaConcesionDatePicker_calendar_Top_cs_1" scope="col">l</th><th title="martes" id="FechaConcesionDatePicker_calendar_Top_cs_2" scope="col">m</th><th title="miércoles" id="FechaConcesionDatePicker_calendar_Top_cs_3" scope="col">m</th><th title="jueves" id="FechaConcesionDatePicker_calendar_Top_cs_4" scope="col">j</th><th title="viernes" id="FechaConcesionDatePicker_calendar_Top_cs_5" scope="col">v</th><th title="sábado" id="FechaConcesionDatePicker_calendar_Top_cs_6" scope="col">s</th><th title="domingo" id="FechaConcesionDatePicker_calendar_Top_cs_7" scope="col">d</th><br>                                </tr><br>                            </thead><tbody><br>                                <tr class="rcRow"><br>                                    <th id="FechaConcesionDatePicker_calendar_Top_rs_1" scope="row">36</th><td title="lunes, agosto 28, 2017" class="rcOtherMonth"><a href="#">28</a></td><td title="martes, agosto 29, 2017" class="rcOtherMonth"><a href="#">29</a></td><td title="miércoles, agosto 30, 2017" class="rcOtherMonth"><a href="#">30</a></td><td title="jueves, agosto 31, 2017" class="rcOtherMonth"><a href="#">31</a></td><td title="viernes, septiembre 01, 2017"><a href="#">1</a></td><td title="sábado, septiembre 02, 2017" class="rcWeekend"><a href="#">2</a></td><td title="domingo, septiembre 03, 2017" class="rcWeekend"><a href="#">3</a></td><br>                                </tr><tr class="rcRow"><br>                                    <th id="FechaConcesionDatePicker_calendar_Top_rs_2" scope="row">37</th><td title="lunes, septiembre 04, 2017"><a href="#">4</a></td><td title="martes, septiembre 05, 2017"><a href="#">5</a></td><td title="miércoles, septiembre 06, 2017"><a href="#">6</a></td><td title="jueves, septiembre 07, 2017"><a href="#">7</a></td><td title="viernes, septiembre 08, 2017"><a href="#">8</a></td><td title="sábado, septiembre 09, 2017" class="rcWeekend"><a href="#">9</a></td><td title="domingo, septiembre 10, 2017" class="rcWeekend"><a href="#">10</a></td><br>                                </tr><tr class="rcRow"><br>                                    <th id="FechaConcesionDatePicker_calendar_Top_rs_3" scope="row">38</th><td title="lunes, septiembre 11, 2017"><a href="#">11</a></td><td title="martes, septiembre 12, 2017"><a href="#">12</a></td><td title="miércoles, septiembre 13, 2017"><a href="#">13</a></td><td title="jueves, septiembre 14, 2017"><a href="#">14</a></td><td title="viernes, septiembre 15, 2017"><a href="#">15</a></td><td title="sábado, septiembre 16, 2017" class="rcWeekend"><a href="#">16</a></td><td title="domingo, septiembre 17, 2017" class="rcWeekend"><a href="#">17</a></td><br>                                </tr><tr class="rcRow"><br>                                    <th id="FechaConcesionDatePicker_calendar_Top_rs_4" scope="row">39</th><td title="lunes, septiembre 18, 2017"><a href="#">18</a></td><td title="martes, septiembre 19, 2017"><a href="#">19</a></td><td title="miércoles, septiembre 20, 2017"><a href="#">20</a></td><td title="jueves, septiembre 21, 2017"><a href="#">21</a></td><td title="viernes, septiembre 22, 2017"><a href="#">22</a></td><td title="sábado, septiembre 23, 2017" class="rcWeekend"><a href="#">23</a></td><td title="domingo, septiembre 24, 2017" class="rcWeekend"><a href="#">24</a></td><br>                                </tr><tr class="rcRow"><br>                                    <th id="FechaConcesionDatePicker_calendar_Top_rs_5" scope="row">40</th><td title="lunes, septiembre 25, 2017"><a href="#">25</a></td><td title="martes, septiembre 26, 2017"><a href="#">26</a></td><td title="miércoles, septiembre 27, 2017"><a href="#">27</a></td><td title="jueves, septiembre 28, 2017"><a href="#">28</a></td><td title="viernes, septiembre 29, 2017"><a href="#">29</a></td><td title="sábado, septiembre 30, 2017" class="rcWeekend"><a href="#">30</a></td><td title="domingo, octubre 01, 2017" class="rcOtherMonth"><a href="#">1</a></td><br>                                </tr><tr class="rcRow"><br>                                    <th id="FechaConcesionDatePicker_calendar_Top_rs_6" scope="row">41</th><td title="lunes, octubre 02, 2017" class="rcOtherMonth"><a href="#">2</a></td><td title="martes, octubre 03, 2017" class="rcOtherMonth"><a href="#">3</a></td><td title="miércoles, octubre 04, 2017" class="rcOtherMonth"><a href="#">4</a></td><td title="jueves, octubre 05, 2017" class="rcOtherMonth"><a href="#">5</a></td><td title="viernes, octubre 06, 2017" class="rcOtherMonth"><a href="#">6</a></td><td title="sábado, octubre 07, 2017" class="rcOtherMonth"><a href="#">7</a></td><td title="domingo, octubre 08, 2017" class="rcOtherMonth"><a href="#">8</a></td><br>                                </tr><br>                            </tbody><br>                        </table><br>                    </div><input name="FechaConcesionDatePicker_calendar_SD" id="FechaConcesionDatePicker_calendar_SD" type="hidden" value="[]"><input name="FechaConcesionDatePicker_calendar_AD" id="FechaConcesionDatePicker_calendar_AD" type="hidden" value="[[1980,1,1],[2099,12,30],[2017,9,12]]"><br>                </div><br>            </div><input name="FechaConcesionDatePicker_dateInput_ClientState" id="FechaConcesionDatePicker_dateInput_ClientState" type="hidden" value='{"enabled":true,"emptyMessage":"","validationText":"","valueAsString":"","minDateStr":"1980-01-01-00-00-00","maxDateStr":"2099-12-31-00-00-00","lastSetTextBoxValue":""}' autocomplete="off"><br>        </div><input name="FechaConcesionDatePicker_ClientState" id="FechaConcesionDatePicker_ClientState" type="hidden" autocomplete="off"><br>    </div>

in serverside

<div class="RadPicker RadPicker_Vista" id="FechaConcesionDatePicker_wrapper" style="width: 95px; display: inline-block; -ms-zoom: 1;">
        <input name="FechaConcesionDatePicker" title="Visually hidden input created for functionality purposes." class="rdfd_ radPreventDecorate" id="FechaConcesionDatePicker" style="margin: 0px 0px -1px -1px; padding: 0px; border: 0px currentColor; border-image: none; width: 1px; height: 1px; overflow: hidden; float: right; display: block; visibility: hidden;" type="text" value=""><table class="rcTable rcSingle" style="width: 100%;" cellspacing="0" summary="Table holding date picker control for selection of dates.">
            <caption style="display: none;">
                RadDatePicker
            </caption><thead style="display: none;">
                <tr>
                    <th scope="col">RadDatePicker</th>
                </tr>
            </thead><tbody>
                <tr>
                    <td class="rcInputCell" style="width: 100%;"><span class="riSingle RadInput RadInput_Vista" id="FechaConcesionDatePicker_dateInput_wrapper" style="width: 100%; display: block;"><input name="FechaConcesionDatePicker$dateInput" class="riTextBox riEnabled" id="FechaConcesionDatePicker_dateInput" type="text"><input name="FechaConcesionDatePicker_dateInput_ClientState" id="FechaConcesionDatePicker_dateInput_ClientState" type="hidden" value='{"enabled":true,"emptyMessage":"","validationText":"","valueAsString":"","minDateStr":"1980-01-01-00-00-00","maxDateStr":"2099-12-31-00-00-00","lastSetTextBoxValue":""}' autocomplete="off"></span></td><td><a title="Open the calendar popup." class="rcCalPopup" id="FechaConcesionDatePicker_popupButton" href="#">Open the calendar popup.</a><div id="FechaConcesionDatePicker_calendar_wrapper" style="display: none;">
                        <table class="RadCalendar RadCalendar_Vista" id="FechaConcesionDatePicker_calendar" cellspacing="0">
                            <caption>
                                <span style="display: none;">Calendar</span>
                            </caption><thead>
                                <tr>
                                    <td class="rcTitlebar"><table cellspacing="0">
                                        <caption>
                                            <span style="display: none;">Title and navigation</span>
                                        </caption><thead>
                                            <tr style="display: none;">
                                                <th scope="col">Title and navigation</th>
                                            </tr>
                                        </thead><tbody>
    <tr>
        <td><a title="<<" class="t-button rcFastPrev" id="FechaConcesionDatePicker_calendar_FNP" href="#"><<</a></td><td><a title="<" class="t-button rcPrev" id="FechaConcesionDatePicker_calendar_NP" href="#"><</a></td><td class="rcTitle" id="FechaConcesionDatePicker_calendar_Title">septiembre de 2017</td><td><a title=">" class="t-button rcNext" id="FechaConcesionDatePicker_calendar_NN" href="#">></a></td><td><a title=">>" class="t-button rcFastNext" id="FechaConcesionDatePicker_calendar_FNN" href="#"><<</a></td>
    </tr>
</tbody>
                                    </table></td>
                                </tr>
                            </thead><tbody>
    <tr>
        <td class="rcMain"><table class="rcMainTable" id="FechaConcesionDatePicker_calendar_Top" cellspacing="0">
    <caption>
        <span style="display: none;">septiembre de 2017</span>
    </caption><thead>
        <tr class="rcWeek">
            <th class="rcViewSel" scope="col"> </th><th title="lunes" id="FechaConcesionDatePicker_calendar_Top_cs_1" scope="col">l</th><th title="martes" id="FechaConcesionDatePicker_calendar_Top_cs_2" scope="col">m</th><th title="miércoles" id="FechaConcesionDatePicker_calendar_Top_cs_3" scope="col">m</th><th title="jueves" id="FechaConcesionDatePicker_calendar_Top_cs_4" scope="col">j</th><th title="viernes" id="FechaConcesionDatePicker_calendar_Top_cs_5" scope="col">v</th><th title="sábado" id="FechaConcesionDatePicker_calendar_Top_cs_6" scope="col">s</th><th title="domingo" id="FechaConcesionDatePicker_calendar_Top_cs_7" scope="col">d</th>
        </tr>
    </thead><tbody>
        <tr class="rcRow">
            <th id="FechaConcesionDatePicker_calendar_Top_rs_1" scope="row">36</th><td title="lunes, agosto 28, 2017" class="rcOtherMonth"><a href="#">28</a></td><td title="martes, agosto 29, 2017" class="rcOtherMonth"><a href="#">29</a></td><td title="miércoles, agosto 30, 2017" class="rcOtherMonth"><a href="#">30</a></td><td title="jueves, agosto 31, 2017" class="rcOtherMonth"><a href="#">31</a></td><td title="viernes, septiembre 01, 2017"><a href="#">1</a></td><td title="sábado, septiembre 02, 2017" class="rcWeekend"><a href="#">2</a></td><td title="domingo, septiembre 03, 2017" class="rcWeekend"><a href="#">3</a></td>
        </tr><tr class="rcRow">
            <th id="FechaConcesionDatePicker_calendar_Top_rs_2" scope="row">37</th><td title="lunes, septiembre 04, 2017"><a href="#">4</a></td><td title="martes, septiembre 05, 2017"><a href="#">5</a></td><td title="miércoles, septiembre 06, 2017"><a href="#">6</a></td><td title="jueves, septiembre 07, 2017"><a href="#">7</a></td><td title="viernes, septiembre 08, 2017"><a href="#">8</a></td><td title="sábado, septiembre 09, 2017" class="rcWeekend"><a href="#">9</a></td><td title="domingo, septiembre 10, 2017" class="rcWeekend"><a href="#">10</a></td>
        </tr><tr class="rcRow">
            <th id="FechaConcesionDatePicker_calendar_Top_rs_3" scope="row">38</th><td title="lunes, septiembre 11, 2017"><a href="#">11</a></td><td title="martes, septiembre 12, 2017"><a href="#">12</a></td><td title="miércoles, septiembre 13, 2017"><a href="#">13</a></td><td title="jueves, septiembre 14, 2017"><a href="#">14</a></td><td title="viernes, septiembre 15, 2017"><a href="#">15</a></td><td title="sábado, septiembre 16, 2017" class="rcWeekend"><a href="#">16</a></td><td title="domingo, septiembre 17, 2017" class="rcWeekend"><a href="#">17</a></td>
        </tr><tr class="rcRow">
            <th id="FechaConcesionDatePicker_calendar_Top_rs_4" scope="row">39</th><td title="lunes, septiembre 18, 2017"><a href="#">18</a></td><td title="martes, septiembre 19, 2017"><a href="#">19</a></td><td title="miércoles, septiembre 20, 2017"><a href="#">20</a></td><td title="jueves, septiembre 21, 2017"><a href="#">21</a></td><td title="viernes, septiembre 22, 2017"><a href="#">22</a></td><td title="sábado, septiembre 23, 2017" class="rcWeekend"><a href="#">23</a></td><td title="domingo, septiembre 24, 2017" class="rcWeekend"><a href="#">24</a></td>
        </tr><tr class="rcRow">
            <th id="FechaConcesionDatePicker_calendar_Top_rs_5" scope="row">40</th><td title="lunes, septiembre 25, 2017"><a href="#">25</a></td><td title="martes, septiembre 26, 2017"><a href="#">26</a></td><td title="miércoles, septiembre 27, 2017"><a href="#">27</a></td><td title="jueves, septiembre 28, 2017"><a href="#">28</a></td><td title="viernes, septiembre 29, 2017"><a href="#">29</a></td><td title="sábado, septiembre 30, 2017" class="rcWeekend"><a href="#">30</a></td><td title="domingo, octubre 01, 2017" class="rcOtherMonth"><a href="#">1</a></td>
        </tr><tr class="rcRow">
            <th id="FechaConcesionDatePicker_calendar_Top_rs_6" scope="row">41</th><td title="lunes, octubre 02, 2017" class="rcOtherMonth"><a href="#">2</a></td><td title="martes, octubre 03, 2017" class="rcOtherMonth"><a href="#">3</a></td><td title="miércoles, octubre 04, 2017" class="rcOtherMonth"><a href="#">4</a></td><td title="jueves, octubre 05, 2017" class="rcOtherMonth"><a href="#">5</a></td><td title="viernes, octubre 06, 2017" class="rcOtherMonth"><a href="#">6</a></td><td title="sábado, octubre 07, 2017" class="rcOtherMonth"><a href="#">7</a></td><td title="domingo, octubre 08, 2017" class="rcOtherMonth"><a href="#">8</a></td>
        </tr>
    </tbody>
</table></td>
    </tr>
</tbody>
                        </table><input name="FechaConcesionDatePicker_calendar_SD" id="FechaConcesionDatePicker_calendar_SD" type="hidden" value="[]"><input name="FechaConcesionDatePicker_calendar_AD" id="FechaConcesionDatePicker_calendar_AD" type="hidden" value="[[1980,1,1],[2099,12,30],[2017,9,12]]">
                    </div></td>
                </tr>
            </tbody>
        </table><input name="FechaConcesionDatePicker_ClientState" id="FechaConcesionDatePicker_ClientState" type="hidden" autocomplete="off">
    </div>

So first the class of whole datepicker changes and some elements inside has distinct structure

Here is the datepicker

<div class="input-group" style="margin-left: 15px; margin-top: 15px;">
                <span class="input-group-addon">Fecha concesión: </span>
                <asp:Label CssClass="form-control" ID="FechaLabel" Width="302px" runat="server"></asp:Label>
                <telerik:RadDatePicker RenderMode="Lightweight" ID="FechaConcesionDatePicker" Width="95px" OnSelectedDateChanged="FechaConcesionDatePicker_SelectedDateChanged" AutoPostBack="true" runat="server">
                    <Calendar runat="server">
                        <FastNavigationSettings CancelButtonCaption="Cerrar" TodayButtonCaption="Hoy"></FastNavigationSettings>
                    </Calendar>
                </telerik:RadDatePicker>
                <asp:ImageButton runat="server" ID="resetDateButton" OnClick="resetDateButton_Click" ImageUrl="icons/clear.png" ImageAlign="AbsMiddle" />
            </div>


        .RadInput {
            width: 85px !important;
            height: 34px !important;
        }

        .rcCalPopup {
            width: 75px !important;
        }

So why is it changing it's content? how do i do to view the same in localhost than in serverside?
Arnau
Top achievements
Rank 1
 answered on 12 Sep 2017
2 answers
742 views

Hello,

 I'm New to telerik..Can any one tell me how to get preview of the image and also save to database ..Im using RadAsyncUpload...this is the code I'm Using 

  protected void RadAsyncUpload_FileUploaded(object sender, FileUploadedEventArgs e)
        {
            string path = Server.MapPath("~/Uploads/");
            e.File.SaveAs(path + e.File.GetName());
            string ext = e.File.GetExtension();
        }

 

Thank you 

lakshmi
Top achievements
Rank 1
 answered on 12 Sep 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?