Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
126 views
I have a rad treeview and a checkbox in my web page. I want to allow the node to expand only if the checkbox is checked
Ivana
Telerik team
 answered on 12 Jul 2012
2 answers
145 views
I have an image map on my page, and when the image map is clicked I woud like to set which item in the panel is displayed. So I have set it up like this:

protected void ImageMap1_Click(object sender, ImageMapEventArgs e)
   {
       foreach (RadPanelItem item in rdPanelMapKey.Items)
       {
           item.Expanded = false;
       }
       rdPanelMapKey.Items[0].Expanded = true;
   }

<telerik:RadPanelBar runat="server" Skin="Vista" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false"
        ID="rdPanelMapKey" Width="220" ExpandMode="SingleExpandedItem" PersistStateInCookie="false" ViewStateMode="Disabled">
        <Items>
            <telerik:RadPanelItem Text="DETAILS" Expanded="false">
                <ContentTemplate>
                    <telerik:RadAjaxPanel ID="RadAjaxPanel2" runat="server" EnableAJAX="true" LoadingPanelID="RadAjaxLoadingPanel2">
                        <uc:AccommodationTooltip runat="server" ID="ucAccommodationTooltip" />    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
        <script type='text/javascript'>
            $('.map').maphilight({ "stroke": false });
        </script>
    </telerik:RadScriptBlock>
                    </telerik:RadAjaxPanel>
                     
 
                </ContentTemplate>
            </telerik:RadPanelItem>
            <telerik:RadPanelItem Text="IMAGE" Expanded="true">
                <ContentTemplate>
                    <img src="images/key.gif" />
                </ContentTemplate>
            </telerik:RadPanelItem>
        </Items>
    </telerik:RadPanelBar>

But it doesn't work.
Kate
Telerik team
 answered on 12 Jul 2012
1 answer
102 views
In the monthly, one day events move forward, and when going to edit them, the date it is true, as well as other events on the same day (More. ..), it writes the correct day.
The problem appears only in some computers.
Ivana
Telerik team
 answered on 12 Jul 2012
1 answer
294 views

I have searching around figuring out how to add tooltips to my dynamically generated radcomboxbox, but it's not working.

I used the code in this article:

http://www.telerik.com/support/kb/aspnet-ajax/tooltip/radtooltip-for-radcombobox.aspx

but not tooltip shows up?



My scenario is a little different. I have a grid and inside the edit template I have a RadComboBox that is generated with a Web Service and want to show a tooltip for that. Here is the code I have so far: 


<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" CellSpacing="0"
                   GridLines="None" EnableLinqExpressions="False"
                   onneeddatasource="RadGrid1_NeedDataSource">
                   <ClientSettings>
                       <Selecting CellSelectionMode="None"></Selecting>
                   </ClientSettings>
                   <MasterTableView CommandItemDisplay="Top" EditMode="PopUp">
                       <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                       <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                           <HeaderStyle Width="20px"></HeaderStyle>
                       </RowIndicatorColumn>
                       <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                           <HeaderStyle Width="20px"></HeaderStyle>
                       </ExpandCollapseColumn>
                       <Columns>
                           <telerik:GridEditCommandColumn ButtonType="ImageButton" />
                           <telerik:GridButtonColumn ConfirmText="Delete this product?" ConfirmDialogType="RadWindow"
                               ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" />
                           <telerik:GridTemplateColumn FilterControlAltText="Filter cptcode column" HeaderText="Procedure Code"
                               UniqueName="cptcode" DataField="cptcode">
                           </telerik:GridTemplateColumn>
                           <telerik:GridTemplateColumn FilterControlAltText="Filter units column" HeaderText="Units"
                               UniqueName="units" DataField="units">
                           </telerik:GridTemplateColumn>
                           <telerik:GridTemplateColumn FilterControlAltText="Filter charges column" HeaderText="Charges"
                               UniqueName="charges" DataField="charges">
                           </telerik:GridTemplateColumn>
                           <telerik:GridTemplateColumn FilterControlAltText="Filter mod1 column" HeaderText="Mod 1"
                               UniqueName="mod1" DataField="mod1">
                           </telerik:GridTemplateColumn>
                           <telerik:GridTemplateColumn FilterControlAltText="Filter mod2 column" HeaderText="Mod 2"
                               UniqueName="mod2" DataField="mod2">
                           </telerik:GridTemplateColumn>
                           <telerik:GridTemplateColumn FilterControlAltText="Filter mod3 column" HeaderText="Mod 3"
                               UniqueName="mod3" DataField="mod3">
                           </telerik:GridTemplateColumn>
                           <telerik:GridTemplateColumn FilterControlAltText="Filter mod4 column" HeaderText="Mod 4"
                               UniqueName="mod4" DataField="mod4">
                           </telerik:GridTemplateColumn>
                           <telerik:GridTemplateColumn FilterControlAltText="Filter IcdCode1 column" HeaderText="ICD Code 1"
                               UniqueName="IcdCode1" DataField="IcdCode1">
                           </telerik:GridTemplateColumn>
                           <telerik:GridTemplateColumn FilterControlAltText="Filter IcdCode2 column" HeaderText="ICD Code 2"
                               UniqueName="IcdCode2" DataField="IcdCode2">
                           </telerik:GridTemplateColumn>
                           <telerik:GridTemplateColumn FilterControlAltText="Filter ICDCode3 column" HeaderText="ICD Code 3"
                               UniqueName="ICDCode3" DataField="ICDCode3">
                           </telerik:GridTemplateColumn>
                           <telerik:GridTemplateColumn FilterControlAltText="Filter IcdCode4 column" HeaderText="ICD Code 4"
                               UniqueName="IcdCode4" DataField="IcdCode4">
                           </telerik:GridTemplateColumn>
                       </Columns>
                       <EditFormSettings InsertCaption="Insert New CPT" PopUpSettings-Modal="true" EditFormType="Template">
                           <FormTemplate>
                           <table id="Table1" cellpadding="1" cellspacing="1" width="400" border="0">
                            
                           <tr>
                           <td>
                            
                           </td>
                           </tr>
 
                           <tr>
                           <td>
                           CPT Code:
                           </td>
                           <td>
                               <telerik:RadComboBox ID="RadComboBox1" runat="server" EnableLoadOnDemand="true"
                       ShowMoreResultsBox="true" EnableVirtualScrolling="true" EmptyMessage="Enter here..."
                       DropDownWidth="170px">
                       <ItemTemplate>
                        
                       <asp:Label runat="server" ID="Label1" Text='<%# Eval("displayValue") %>'></asp:Label>
                       <telerik:RadToolTip ID="RadToolTip1" runat="server" Width="100" Height="10" TargetControlID="Label1"
                   Position="BottomRight" Text='<%# Eval("displayValue") %>'>
               </telerik:RadToolTip>
 
                       </ItemTemplate>
                       <WebServiceSettings Path="/Services/WebServices.svc" Method="GetCPTCodes" />
                               </telerik:RadComboBox>
                           </td>
                           </tr>
 
                           </table>
                           </FormTemplate>
                       </EditFormSettings>
                   </MasterTableView>
                   <FilterMenu EnableImageSprites="False">
                   </FilterMenu>
               </telerik:RadGrid>


What am I doing wrong? Or is this too complicated
Ivana
Telerik team
 answered on 12 Jul 2012
1 answer
106 views
I have a Radgrid which was working fine on most popular browsers including iphones and bb's, after upgrading my telerik libraries to 2012.2.607.35, the popup to enter a new record stop working on the iphone and blackberry,  ( have not tested android, but probably it has the same problem ), I downloaded an small app to change the user agent on the phone, and the grid worked fine again, problem is I cannot force all my users ( ~5000 ) to download the same app. Is there a solution for this? a patch maybe?

This is the error Im getting:
TypeError: 'undefined' is not a function (evaluating '$telerik.$(this.get_element()).doubletap(this._dblclick)') 

Attached you will find screenshot of the errors : 

Steps to reproduce on a pc: 

1. open safari and change user agent to iphone ( 1.png )
3. open telerik grid popup ( 2.png )


Thanks

Marin
Telerik team
 answered on 12 Jul 2012
6 answers
231 views
Hi
We have a requirement that we need to display the gap in the Linechart on certain condition i.e Display Gap in between last data poin and next data point as shown in attachment.
Please REPLY ASAp
Evgenia
Telerik team
 answered on 12 Jul 2012
1 answer
64 views
Hi all,

I have a radgrid in which, I have GridEditCommandcolumn, in that I need GridTemplateColumns to be editable and the GridBoundColumns to be non editable. How can I do this?

Thanks
Shinu
Top achievements
Rank 2
 answered on 12 Jul 2012
5 answers
200 views
I have been following the instructions here to update my calendar and was wondering if there is a way of doing this without using javascipt?
Ideally I would like to be able to set the disabled dates in the server code and not have to replicate it into javavscript. I have quite a few complicated calculations to do, and lookups in a databas to determine if a date should be disabled, and need to set this on the page load. The minimum and maximum dates also which I set on page load seem to be ignored once a user navigates to the next or previous month.
Thanks
Maria Ilieva
Telerik team
 answered on 12 Jul 2012
1 answer
97 views
Hello Sir,


I am using Rad Editor with version - 7.1.2.0 in .net 2.0  and I run my application on IE9 then  cursor is not in writable mode on Rad Editor.

So Please help me How Should I resolve it or Should I use latest version for resolve it.

Thanks,

Alok
Rumen
Telerik team
 answered on 12 Jul 2012
1 answer
94 views

Hi all,

In my radgrid, there are 3 columns. Is it possible to show the column headers when the grid is not connected to the datasource? Please provide some solutions.

Thanks in advance
Princy
Top achievements
Rank 2
 answered on 12 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?