Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
146 views
Hello,

I have two RadDatePicker on a page with property ClientIDMode of them setted to Static.
The problem is, the calendar is only openning on first RadDatePicker.
If I remove ClientIDMode, letting it be automatically generated, the page works nicelly.
Is there any way to make it work?

<telerik:RadDatePicker ID="iInicioPeriodo" ClientIDMode="Static" runat="server" Width="80" Style="margin-right: 10px;" DateFormat="dd/MM/yyyy">
</telerik:RadDatePicker>
até
<telerik:RadDatePicker ID="iTerminoPeriodo" ClientIDMode="Static" runat="server" Width="80" Style="margin-left: 10px;" DateFormat="dd/MM/yyyy">
</telerik:RadDatePicker>

Best regards,

Henrique
Marin Bratanov
Telerik team
 answered on 15 May 2015
1 answer
67 views

Hi. When we use the old version of telerik and write code like this

<telerik:RadGrid runat="server" ID="RadGridDocuments" AllowPaging="True"
    Width="100%" Height="100%" 
    <PagerStyle Mode="NextPrevAndNumeric" HorizontalAlign="Right" AlwaysVisible="True" />
    <ClientSettings EnableAlternatingItems="True" EnableRowHoverStyle="True">
ResizeGridOnColumnResize="True" />
    </ClientSettings>
    <MasterTableView  TableLayout="Auto" >
          <Columns>
            <telerik:GridTemplateColumn HeaderText="<%$Resources:Resource, Document_Name%>" UniqueName="DocumentName" SortExpression="DocumentName">
                <ItemStyle Wrap="False" />
                <ItemTemplate>
                    <telerik:RadButton ID="LinkButtonDocumentName" ButtonType="LinkButton" CssClass="LinkButton" runat="server" ToolTip='<%# DataBinder.Eval(Container.DataItem, "DocumentName")%>'
                                       Text='<%# DataBinder.Eval(Container.DataItem, "DocumentName")%>' />
                </ItemTemplate>
            </telerik:GridTemplateColumn>

</Columns>

</MasterTableView>
</telerik:RadGrid>

 

that generate radbutton with type linkbutton to anchor element

<a id="ctl00_ContentPlaceHolder1_RadGridUploadedFiles_ctl00_ctl04_LinkButtonUploadedFileName" title="testUpload" class="RadButton RadButton_Default rbLinkButton LinkButton" href="/AppNew/FileManagement/ViewerModel.aspx?source_id=1efdf640-793d-434f-a41a-fcbc263a57f6&amp;viewer_code=ecodomus&amp;facility_id=2fb3a9f8-da52-4d71-aa98-13c526a5eb50"><span class="rbText">testUpload (EcoDomus Model Viewer)</span><input id="ctl00_ContentPlaceHolder1_RadGridUploadedFiles_ctl00_ctl04_LinkButtonUploadedFileName_ClientState" name="ctl00_ContentPlaceHolder1_RadGridUploadedFiles_ctl00_ctl04_LinkButtonUploadedFileName_ClientState" type="hidden" autocomplete="off"></a>

 

but last version of telerik generate a span

 <span id="ctl00_ContentPlaceHolder1_RadGridUploadedFiles_ctl00_ctl04_LinkButtonUploadedFileName" title="house" class="RadButton RadButton_Default rbLinkButton LinkButton rbHovered" tabindex="0"><span class="rbText">house (EcoDomus Model Viewer)</span><input id="ctl00_ContentPlaceHolder1_RadGridUploadedFiles_ctl00_ctl04_LinkButtonUploadedFileName_ClientState" name="ctl00_ContentPlaceHolder1_RadGridUploadedFiles_ctl00_ctl04_LinkButtonUploadedFileName_ClientState" type="hidden" autocomplete="off"></span>

I want anchor element, how can I make telerik to generate the correct markup?

Danail Vasilev
Telerik team
 answered on 15 May 2015
2 answers
85 views

Hi!

Q1 2015 - .Net 4.0 - IE11

Just a simple save of the editor content, which is inside a RadAjaxPanel. It won't save.
I've added the App_Browser IE11 Fix. Also have hidden Div with an editor in it.
The only way I can get it to save is by using the developer tools in IE and emulating IE8

Everything working as expected on all other browsers.

All help appreciated.

Cheers,

Jon

Jon
Top achievements
Rank 1
 answered on 15 May 2015
15 answers
629 views
Hi there, so, my problem is, I have a RadCombobox that's filled from the codebehind. But depending on what record is selected, it fires the SelectedIndexChanged on every postback.

After testing EVERY item from my Combobox, I found this:

My combo has these items:

  1. Foo
  2. Bar
  3. Foo Bar

If I select 'Foo Bar', I have this issue, and SelectedIndexChanged is fired everywhere.
This is because the space character that is comming from my database is the character 160(non-breaking space, \u00A0) and not the usual character 32. And according to this blog post(http://www.adamkoch.com/2009/07/25/white-space-and-character-160/), IE handles them diferently.
If after loading my items, I replace the 160 char for the 32, everything works just fine.

My question is: Did anybody have this problem? is this a bug? Am I doing something wrong?
Nencho
Telerik team
 answered on 15 May 2015
8 answers
443 views

Hi - I have used formdecorator to skin a site quickly. all is great, except disabled text boxes have the exact same style as a none disabled text box. I have used the telerik visual style builder to create a custom skin based on web20, and have applied this to the site.

 

i am not doing anything clever to disable the textboxes - they simply have their asp.net property enabled set to false. the text box is set to multiline and is inside a radgrid edit template.

 

the rendered ouput is as follows:

 

<tr>
<td><label for="ctl00_ContentPlaceHolder1_RadGrid1_ctl00_ctl05_notesTextBox">Completion Notes:</label></td><td id="ctl00_ContentPlaceHolder1_RadGrid1_ctl00_ctl05_EditCell__notes">
<textarea name="ctl00$ContentPlaceHolder1$RadGrid1$ctl00$ctl05$notesTextBox" rows="4" cols="60" id="ctl00_ContentPlaceHolder1_RadGrid1_ctl00_ctl05_notesTextBox" disabled="disabled">
</textarea>
</td>
</tr>

 

the disabled stlye is not being applied to it - it looks identical to the enabled text box.

 

the style does seem to be applied if i have a disabled text box outside of the radgrid edit form though.

 

 

 

 

James
Top achievements
Rank 1
 answered on 15 May 2015
1 answer
127 views

I have one old project that uses .NET Framework 2.0 and RadControls AJAX (very old version 2.8).

I have to migrate it to Framework version to 4.0 and keep all controls without upgrading. This was successful, but I come across one problem with RadCombobox. The thing is that once RadComboBox is opened I cannot choose any item by mouse (items are not hovered and clicking is not successfull as well). The only way to choose items are key arrows.
RadComboBox uses Load on demand and item templates as well.

Is there any workaround for that?

Peter Filipov
Telerik team
 answered on 15 May 2015
3 answers
182 views

I found the RadComboBox (RenderMode=Natvie) will render as block (not inline in other modes).
How could I let it display as inline? 

<telerik:RadComboBox ID="RadComboBox1" runat="server" RenderMode="Native">
    <Items>
        <telerik:RadComboBoxItem Text="A" Value="A"/>
        <telerik:RadComboBoxItem Text="B" Value="B"/>
    </Items>
</telerik:RadComboBox>

tomexou
Top achievements
Rank 1
 answered on 15 May 2015
1 answer
116 views

I'd like to emulate the look and feel of the demo page for RadCloudUpload but use it instead to upload to my server just like an async upload.

Is this possible with RadCloudUpload or do I have to rework using the async upload controls?

 

thanks

 

jON

Hristo Valyavicharski
Telerik team
 answered on 15 May 2015
1 answer
91 views

how can i hide time from pop up start time end time.

also i would like to know from where can i make changes in task pop up.

Dimitar Terziev
Telerik team
 answered on 15 May 2015
1 answer
48 views

As I understand the control, you type a search term and requests are fired with the queried search term grouped by the speed you type, i.e. type fast and you get one request for the whole term or type slowly and get one request for each character.

If you type really fast, there is no issue. And if you type really slowly allowing the request to complete and update the results on screen before typing the next character, there is also no issue. However, type like you only use one finger (allowing a request to start but not complete before you type the next character) and we have problems. It would appear that only the first request fired is respected in the results and it will not update again unless you type another character, i,e, type 1...5...0 and only see the results for '1', then type 0 and get the results for '1500', what happened to the results for '150'?

I have been through the documentation and forums and this appears to have been an issue for sometime, below are a couple of the closest forum posts - from 2013!

  • http://www.telerik.com/forums/abort-previous-requests-on-keypress
  • http://www.telerik.com/forums/webservicesettings-delay-issue-handling-of-requests-in-order

Was this issue ever resolved?​

Plamen
Telerik team
 answered on 15 May 2015
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?