Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
183 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
332 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
205 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
975 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
138 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
749 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
3 answers
401 views

When I uncheck an item in my RadCheckBoxList I would like to update something indicating that the use no longer wishes to include this item.  I figured using the SelectedIndexChanged event along with the SelectedItem.value property would be the way to go.  Boy was I wrong.  Works great when you check an item...when you uncheck one you get a big value of nothing. 

 

How do I get the ID of the item that was just unchecked in a RadCheckBoxList?

Loïc
Top achievements
Rank 1
 answered on 12 Sep 2017
0 answers
69 views
Hi everybody,

I am having a trouble with a small application. My customer required me build a app to list file from database like directory structure. The data is storage on MongoDB. Each database maybe up to million record. Each record will have a file path like this "root/folder1/folder2/folder3 ... / file.extension". Each "/" will be an folder.

The problem of me is the data too big. I don't know how to show it on Tree View. I was completed when made the Grid as a Node on Tree View, but the paging isn't working. I also tried to use the Tree List, but the paging is working illogical   , i need to paging the file, but the tree list see both of folder and file is a record. I also  make the grid inside the gird, customize the parent grid like a folder structure, and make child grid like a normal grid. But it isn't what customer wants.

So now,  I don't know how to resolve it. Any idea that you have. Please tell me. Thanks you very much.
Uyen
Top achievements
Rank 1
 asked on 12 Sep 2017
1 answer
73 views

I downloaded the patch which only included Telerik.Web.UI.dll.  After adding to my project, I got an error, please see the attach file.

Here is the setting in the config file

<add key="Telerik.Skin" value="WebBlue">

I understand both Teleik.Web.UI.dll and Telerik.Web.UI.Skin.dll must be the same version.  But it is not found in the patch.

Anyone has the same issue?

 

 

Marin Bratanov
Telerik team
 answered on 12 Sep 2017
1 answer
357 views

I'm trying to implement a MaintainScrollPositionOnPostBack because I've had to move the 'overflow' from my BODY element to a child DIV (to resolve a touch-scrolling issue with RadComboBoxes in newer versions of Chrome.) The problem I'm running into is getting my hidden field AJAXified with the rest of my controls.

If I disable AJAX entirely, the script works perfectly (because the hidden field value is being persisted across postbacks.)

If I enable AJAX but exclude the hidden field from the RadAjaxManager AjaxSettings AjaxUpdatedControl the page works as expected, but the script doesn't (because the hidden field value isn't being persisted across postbacks.)

If I enable AJAX and include the hidden field in the RadAjaxManager's AjaxSettings AjaxUpdatedControl I get a "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)." exception.

The page in question has no scripts on it. The MasterPage's scripts are all wrapped in RadCodeBlock tags. I can't remove the HEAD element's runat="server" because of use. The problem occurs with both  and input "s. Wrapping the hidden field in a RadCodeBlock prevents the exception, but does not persist the hidden field's value across postbacks.

Any suggestions you could offer that might point me in the right direction would be appreciated. (And no, I can't post the code--the site part of is proprietary and extremely sprawling.)

Eyup
Telerik team
 answered on 12 Sep 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?