Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
130 views
I have an Error Tooltip when start my application:
Image bellow.
Can you help me.
(tinhdamsugia@yahoo.com)
Misho
Telerik team
 answered on 07 May 2013
3 answers
1.1K+ views
Is there a way to change the label color of an Input control in code-behind, w/o using LabelCssClass? Attribute?

I have custom theming and it changes in the ItemCreated event. Could be all kinds of colors, reading from a internal Class. So i need it to change in the server-side code. RadTextBox.ForeColor - works great, what about the Label?

Thanks!
Brian
Venelin
Telerik team
 answered on 07 May 2013
3 answers
91 views
I have a RadGrid with header and details. I have the ParentTableRelation set up.  What I want to do is set up a CommandItemTemplate that contains a link that calls a JavaScript function that in turn does a window.radopen.  So far the Add New Detail link works fine.  

However what I want is something like this:  <a href="#" onclick="return AddDetail(DetailId);">Add New Detail</a>

What is the simplest way to add the DetailId to that call?

<MasterTableView EditMode="PopUp" DataKeyNames="HeaderId" ClientDataKeyNames="HeaderId" Name="Header" CommandItemDisplay="Top" AllowPaging="True">
                    <DetailTables>
                        <telerik:GridTableView runat="server" DataKeyNames="HeaderId,DetailId" ClientDataKeyNames="HeaderId, DetailId" DataMember="Details"  Name="Details" CommandItemDisplay="Top" NoDetailRecordsText="No Detail records to display." HeaderStyle-BackColor="LightCyan"
                            AlternatingItemStyle-BackColor="LightCyan">
                            <CommandItemTemplate>
                               <table style="width: 100%">
                                    <tr>
                                        <td style="width: 160px">
                                            <a href="#" onclick="return AddDetail();">Add New Detail</a>
                                        </td>                                    
                                    </tr>
                                </table>
                            </CommandItemTemplate>

Sorry.  Too fast again.  The solution was to change that to an Asp:Hyperlink and do a call in the ItemCreated event.
if (e.Item is GridCommandItem)
{
      GridCommandItem commandItem = e.Item as GridCommandItem;
      HyperLink editLink = (HyperLink)commandItem.FindControl("AddDetail");
      editLink.Attributes["href"] = "#";
     editLink.Attributes["onclick"] = String.Format("return AddDetail('{0}');", e.Item.OwnerTableView.ParentItem.GetDataKeyValue("DetailId"));
}

Andrey
Telerik team
 answered on 07 May 2013
1 answer
67 views
Hello Sir/Madam,


Currently i am using Rad Grid in my project and am facing problem with grid lining. i have attached screen shot so that you can clearly understand my actual requirements. As you can see in my screen shot header lining and data lining is not matching with their header section itself and i am not able to get it right so please tell me asap...

Thanx in advance
Venelin
Telerik team
 answered on 07 May 2013
7 answers
151 views
Hi,

I have created drop down lists within the <AdvancedInsertTemplate>...</AdvancedInsertTemplate> tag of a Rad scheduler. I set the Selected Value of the drop down list using the Bind method like SelectedValue='<%# Bind("TaskStatus") %>' (the TaskStatus is a custom attribute). When I insert a new appointment using the AdvancedInsertTemplate, it will give me the following error:

Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.

I have done the same to the AdvancedEditTemplate without any error, anyone knows how to solve this problem please?

Cheers
Chi
Kate
Telerik team
 answered on 07 May 2013
5 answers
244 views
Hi -

I have a button, that when clicked... I want it to disable the menu until an action is taken, then have the menu operational (enabled) again by clicking a different button.  The purpose of my actions is to not let the user navigate off the page until they have finished editing and then have saved their work. 

I have been going through the postings and haven't found anything that works (I've tried many examples...Visible...EnableSelection...Enabled...etc). 

My menu is located on the Master page, and my calling code is located on the SOI page.

Here is the code I have so far...
      private void EnableNavigation(bool enabled)  
      {  
        RadMenu menu = (RadMenu)(Master.FindControl("RadMenu1"));  
        menu.Enabled = enabled;  
      } 

This is how I call it from my Edit button click method... 
EnableNavigation(false);

Any other suggestions?  Should I be going about this in a different way?

wen
Kate
Telerik team
 answered on 07 May 2013
1 answer
164 views
In my grid if I have GridCellSelectionMode set to SingleCell, pressing the space bar does not select the row, even if I am on the checkbox cell. Setting it to None allows the selection to work. Is there a way to select the row selection checkbox with the selection mode set to SingleCell?

BTW, it needs to be single cell for the assistive tech reader to read the contents of the cell.

-Don
Eyup
Telerik team
 answered on 07 May 2013
8 answers
690 views
I have several rad combo boxes in an ASPX project. You can click inside the combo box or slightly to the right and it will expand. But when clicking on the actual drop down arrow nothing happens.

FYI: I am using the ajax tool script manager & Telerik Web UI vers 2012.1.411.35.

I have also created a test project and am UNABLE to reproduce.

<td>
<telerik:RadComboBox ID="radStatus" Runat="server" AutoPostBack="True"
onselectedindexchanged="radStatus_SelectedIndexChanged" Skin="Outlook">
<Items>
<telerik:RadComboBoxItem runat="server" Text="New Disputes"
Value="New Disputes" />
<telerik:RadComboBoxItem runat="server" Text="Pending"
Value="Pending TPG" />
<telerik:RadComboBoxItem runat="server" Text="Completed" Value="Completed" />
</Items>
</telerik:RadComboBox>
</td>


Plamen
Telerik team
 answered on 07 May 2013
5 answers
161 views
I need to load a lot of data into RADGrid (300,000 rows) . The grid itself seems to handle this nicely, but it takes a while for me to load the data from underlying persistent storage. This results in the grid displaying the loading animation for quite a while, before it actually displays any data.

I would like to load the first 1000 rows or so first (would be very quick), and get that data displayed to the user as fast as possible, and then load the rest of the data in the background. Is this supported ? I am aware that there will be some implications with regards to sorting.

Regards,
Dennis Riis
Noha
Top achievements
Rank 1
 answered on 07 May 2013
1 answer
65 views

Could you tell me if are any future plans to add to the RadSkinManager the ability to set the EnableEmbeddedSkins Property.
The architecture of our application makes it unfeasible to make this setting within the web.config.
We have multiple clients that have there own masterpage and skins, who share much of the user controls / pages.
Setting this on every control would require a creating a custom solution and was hoping to avoid this.
I really hoping that this was on your radar, if yes is there any idea of when.

Thanks

Maria Ilieva
Telerik team
 answered on 07 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?